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 | c79c156 | 2018-06-08 17:01:18 -0700 | [diff] [blame] | 27 | set(PACKAGE_VERSION "1.14.0-dev") |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 28 | set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") |
| 29 | set(PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}") |
| 30 | set(PACKAGE_BUGREPORT "https://github.com/grpc/grpc/issues/") |
| 31 | project(${PACKAGE_NAME} C CXX) |
| 32 | |
Stefan Hacker | 471a5dc | 2018-01-14 13:38:20 +0100 | [diff] [blame] | 33 | set(gRPC_INSTALL_BINDIR "bin" CACHE STRING "Installation directory for executables") |
| 34 | set(gRPC_INSTALL_LIBDIR "lib" CACHE STRING "Installation directory for libraries") |
| 35 | set(gRPC_INSTALL_INCLUDEDIR "include" CACHE STRING "Installation directory for headers") |
| 36 | set(gRPC_INSTALL_CMAKEDIR "lib/cmake/${PACKAGE_NAME}" CACHE STRING "Installation directory for cmake config files") |
Jan Tattermusch | 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) |
Jozef Izso | ec47794 | 2018-06-19 17:33:48 +0200 | [diff] [blame] | 42 | option(gRPC_BUILD_CSHARP_EXT "Build C# extensions" ON) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 43 | |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 44 | set(gRPC_INSTALL_default ON) |
Alex Merry | a65f006 | 2017-05-15 22:59:37 +0100 | [diff] [blame] | 45 | if (NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) |
| 46 | # Disable gRPC_INSTALL by default if building as a submodule |
| 47 | set(gRPC_INSTALL_default OFF) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 48 | endif() |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 49 | set(gRPC_INSTALL ${gRPC_INSTALL_default} CACHE BOOL |
| 50 | "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] | 51 | |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 52 | # Providers for third-party dependencies (gRPC_*_PROVIDER properties): |
| 53 | # "module": build the dependency using sources from git submodule (under third_party) |
| 54 | # "package": use cmake's find_package functionality to locate a pre-installed dependency |
| 55 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 56 | set(gRPC_ZLIB_PROVIDER "module" CACHE STRING "Provider of zlib library") |
| 57 | set_property(CACHE gRPC_ZLIB_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 58 | |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 59 | set(gRPC_CARES_PROVIDER "module" CACHE STRING "Provider of c-ares library") |
| 60 | set_property(CACHE gRPC_CARES_PROVIDER PROPERTY STRINGS "module" "package") |
| 61 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 62 | set(gRPC_SSL_PROVIDER "module" CACHE STRING "Provider of ssl library") |
| 63 | set_property(CACHE gRPC_SSL_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | a72712e | 2016-07-06 10:30:25 +0100 | [diff] [blame] | 64 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 65 | set(gRPC_PROTOBUF_PROVIDER "module" CACHE STRING "Provider of protobuf library") |
| 66 | set_property(CACHE gRPC_PROTOBUF_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 67 | |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 68 | set(gRPC_PROTOBUF_PACKAGE_TYPE "" CACHE STRING "Algorithm for searching protobuf package") |
| 69 | set_property(CACHE gRPC_PROTOBUF_PACKAGE_TYPE PROPERTY STRINGS "CONFIG" "MODULE") |
| 70 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 71 | set(gRPC_GFLAGS_PROVIDER "module" CACHE STRING "Provider of gflags library") |
| 72 | set_property(CACHE gRPC_GFLAGS_PROVIDER PROPERTY STRINGS "module" "package") |
| 73 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 74 | set(gRPC_BENCHMARK_PROVIDER "module" CACHE STRING "Provider of benchmark library") |
| 75 | set_property(CACHE gRPC_BENCHMARK_PROVIDER PROPERTY STRINGS "module" "package") |
| 76 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 77 | 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] | 78 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 79 | if(UNIX) |
| 80 | if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") |
| 81 | set(_gRPC_PLATFORM_LINUX ON) |
| 82 | elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") |
| 83 | set(_gRPC_PLATFORM_MAC ON) |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 84 | elseif(${CMAKE_SYSTEM_NAME} MATCHES "Android") |
| 85 | set(_gRPC_PLATFORM_ANDROID ON) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 86 | else() |
| 87 | set(_gRPC_PLATFORM_POSIX ON) |
| 88 | endif() |
| 89 | endif() |
| 90 | if(WIN32) |
| 91 | set(_gRPC_PLATFORM_WINDOWS ON) |
| 92 | endif() |
| 93 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 94 | set(CMAKE_POSITION_INDEPENDENT_CODE TRUE) |
| 95 | |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 96 | add_definitions(-DPB_FIELD_16BIT) |
| 97 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 98 | if (MSVC) |
Jan Tattermusch | 5140791 | 2017-02-02 20:44:22 +0100 | [diff] [blame] | 99 | include(cmake/msvc_static_runtime.cmake) |
Jan Tattermusch | 3aab96f | 2017-01-11 16:12:46 +0100 | [diff] [blame] | 100 | 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] | 101 | # needed to compile protobuf |
| 102 | add_definitions(/wd4065 /wd4506) |
| 103 | # TODO(jtattermusch): revisit C4267 occurrences throughout the code |
| 104 | add_definitions(/wd4267) |
Jan Tattermusch | 07d2092 | 2017-08-23 16:05:43 +0200 | [diff] [blame] | 105 | # TODO(jtattermusch): needed to build boringssl with VS2017, revisit later |
| 106 | add_definitions(/wd4987 /wd4774 /wd4819 /wd4996 /wd4619) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 107 | endif() |
| 108 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 109 | if (gRPC_USE_PROTO_LITE) |
| 110 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf-lite") |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 111 | add_definitions("-DGRPC_USE_PROTO_LITE") |
| 112 | else() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 113 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 114 | endif() |
| 115 | |
Jan Tattermusch | f38b152 | 2017-12-19 14:05:41 -0800 | [diff] [blame] | 116 | include(cmake/zlib.cmake) |
| 117 | include(cmake/cares.cmake) |
| 118 | include(cmake/protobuf.cmake) |
| 119 | include(cmake/ssl.cmake) |
| 120 | include(cmake/gflags.cmake) |
| 121 | include(cmake/benchmark.cmake) |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 122 | include(cmake/address_sorting.cmake) |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 123 | include(cmake/nanopb.cmake) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 124 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 125 | if(NOT MSVC) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 126 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 127 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |
| 128 | endif() |
| 129 | |
Mehrdad Afshari | 79ec0ff | 2017-04-19 03:14:26 -0700 | [diff] [blame] | 130 | if(_gRPC_PLATFORM_MAC) |
| 131 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m pthread) |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 132 | elseif(_gRPC_PLATFORM_ANDROID) |
| 133 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m) |
Mehrdad Afshari | 79ec0ff | 2017-04-19 03:14:26 -0700 | [diff] [blame] | 134 | elseif(UNIX) |
| 135 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} rt m pthread) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 136 | endif() |
| 137 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 138 | if(WIN32 AND MSVC) |
| 139 | set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32) |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 140 | endif() |
| 141 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 142 | # Create directory for generated .proto files |
| 143 | set(_gRPC_PROTO_GENS_DIR ${CMAKE_BINARY_DIR}/gens) |
| 144 | file(MAKE_DIRECTORY ${_gRPC_PROTO_GENS_DIR}) |
| 145 | |
| 146 | # protobuf_generate_grpc_cpp |
| 147 | # -------------------------- |
| 148 | # |
| 149 | # Add custom commands to process ``.proto`` files to C++ using protoc and |
| 150 | # GRPC plugin:: |
| 151 | # |
| 152 | # protobuf_generate_grpc_cpp [<ARGN>...] |
| 153 | # |
| 154 | # ``ARGN`` |
| 155 | # ``.proto`` files |
| 156 | # |
| 157 | function(protobuf_generate_grpc_cpp) |
| 158 | if(NOT ARGN) |
| 159 | message(SEND_ERROR "Error: PROTOBUF_GENERATE_GRPC_CPP() called without any proto files") |
| 160 | return() |
| 161 | endif() |
| 162 | |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 163 | set(_protobuf_include_path -I . -I ${_gRPC_PROTOBUF_WELLKNOWN_INCLUDE_DIR}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 164 | foreach(FIL ${ARGN}) |
| 165 | get_filename_component(ABS_FIL ${FIL} ABSOLUTE) |
| 166 | get_filename_component(FIL_WE ${FIL} NAME_WE) |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 167 | file(RELATIVE_PATH REL_FIL ${CMAKE_CURRENT_SOURCE_DIR} ${ABS_FIL}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 168 | get_filename_component(REL_DIR ${REL_FIL} DIRECTORY) |
| 169 | set(RELFIL_WE "${REL_DIR}/${FIL_WE}") |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 170 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 171 | add_custom_command( |
| 172 | OUTPUT "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.cc" |
| 173 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.h" |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 174 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}_mock.grpc.pb.h" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 175 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc" |
| 176 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h" |
Jan Tattermusch | 210f2a5 | 2017-08-24 17:51:47 +0200 | [diff] [blame] | 177 | COMMAND ${_gRPC_PROTOBUF_PROTOC_EXECUTABLE} |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 178 | ARGS --grpc_out=generate_mock_code=true:${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 179 | --cpp_out=${_gRPC_PROTO_GENS_DIR} |
| 180 | --plugin=protoc-gen-grpc=$<TARGET_FILE:grpc_cpp_plugin> |
| 181 | ${_protobuf_include_path} |
| 182 | ${REL_FIL} |
| 183 | DEPENDS ${ABS_FIL} ${_gRPC_PROTOBUF_PROTOC} grpc_cpp_plugin |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 184 | WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 185 | COMMENT "Running gRPC C++ protocol buffer compiler on ${FIL}" |
| 186 | VERBATIM) |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 187 | |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 188 | 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] | 189 | endforeach() |
| 190 | endfunction() |
| 191 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 192 | add_custom_target(plugins |
| 193 | DEPENDS |
| 194 | grpc_cpp_plugin |
| 195 | grpc_csharp_plugin |
| 196 | grpc_node_plugin |
| 197 | grpc_objective_c_plugin |
| 198 | grpc_php_plugin |
| 199 | grpc_python_plugin |
| 200 | grpc_ruby_plugin |
| 201 | ) |
| 202 | |
| 203 | add_custom_target(tools_c |
| 204 | DEPENDS |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 205 | check_epollexclusive |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 206 | grpc_create_jwt |
| 207 | grpc_print_google_default_creds_token |
| 208 | grpc_verify_jwt |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 209 | gen_hpack_tables |
| 210 | gen_legal_metadata_characters |
| 211 | gen_percent_encoding_tables |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 212 | ) |
| 213 | |
| 214 | add_custom_target(tools_cxx |
| 215 | DEPENDS |
| 216 | ) |
| 217 | |
| 218 | add_custom_target(tools |
| 219 | DEPENDS tools_c tools_cxx) |
| 220 | |
| 221 | if (gRPC_BUILD_TESTS) |
| 222 | add_custom_target(buildtests_c) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 223 | add_dependencies(buildtests_c algorithm_test) |
| 224 | add_dependencies(buildtests_c alloc_test) |
| 225 | add_dependencies(buildtests_c alpn_test) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 226 | add_dependencies(buildtests_c arena_test) |
Vijay Pai | 8f4fbb1 | 2018-02-08 10:04:08 -0800 | [diff] [blame] | 227 | add_dependencies(buildtests_c avl_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 228 | add_dependencies(buildtests_c bad_server_response_test) |
| 229 | add_dependencies(buildtests_c bin_decoder_test) |
| 230 | add_dependencies(buildtests_c bin_encoder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 231 | add_dependencies(buildtests_c channel_create_test) |
| 232 | add_dependencies(buildtests_c chttp2_hpack_encoder_test) |
| 233 | add_dependencies(buildtests_c chttp2_stream_map_test) |
| 234 | add_dependencies(buildtests_c chttp2_varint_test) |
Vijay Pai | 8a99fdb | 2018-01-25 15:38:20 -0800 | [diff] [blame] | 235 | add_dependencies(buildtests_c cmdline_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 236 | add_dependencies(buildtests_c combiner_test) |
| 237 | add_dependencies(buildtests_c compression_test) |
| 238 | add_dependencies(buildtests_c concurrent_connectivity_test) |
| 239 | add_dependencies(buildtests_c connection_refused_test) |
| 240 | add_dependencies(buildtests_c dns_resolver_connectivity_test) |
David Garcia Quintas | 956fe5e | 2018-01-30 15:47:20 -0800 | [diff] [blame] | 241 | add_dependencies(buildtests_c dns_resolver_cooldown_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 242 | add_dependencies(buildtests_c dns_resolver_test) |
| 243 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 244 | add_dependencies(buildtests_c dualstack_socket_test) |
| 245 | endif() |
| 246 | add_dependencies(buildtests_c endpoint_pair_test) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 247 | add_dependencies(buildtests_c error_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 248 | if(_gRPC_PLATFORM_LINUX) |
Sree Kuchibhotla | 16ad9b8 | 2018-06-16 12:14:30 -0700 | [diff] [blame] | 249 | add_dependencies(buildtests_c ev_epollex_linux_test) |
| 250 | endif() |
| 251 | if(_gRPC_PLATFORM_LINUX) |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 252 | add_dependencies(buildtests_c ev_epollsig_linux_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 253 | endif() |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 254 | add_dependencies(buildtests_c fake_resolver_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 255 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 256 | add_dependencies(buildtests_c fake_transport_security_test) |
| 257 | endif() |
| 258 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 259 | add_dependencies(buildtests_c fd_conservation_posix_test) |
| 260 | endif() |
| 261 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 262 | add_dependencies(buildtests_c fd_posix_test) |
| 263 | endif() |
| 264 | add_dependencies(buildtests_c fling_client) |
| 265 | add_dependencies(buildtests_c fling_server) |
| 266 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 267 | add_dependencies(buildtests_c fling_stream_test) |
| 268 | endif() |
| 269 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 270 | add_dependencies(buildtests_c fling_test) |
| 271 | endif() |
kpayson64 | 38ab21e | 2018-03-08 15:47:40 -0800 | [diff] [blame] | 272 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC) |
| 273 | add_dependencies(buildtests_c fork_test) |
| 274 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 275 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 276 | add_dependencies(buildtests_c goaway_server_test) |
| 277 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 278 | add_dependencies(buildtests_c gpr_cpu_test) |
| 279 | add_dependencies(buildtests_c gpr_env_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 280 | add_dependencies(buildtests_c gpr_host_port_test) |
| 281 | add_dependencies(buildtests_c gpr_log_test) |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 282 | add_dependencies(buildtests_c gpr_manual_constructor_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 283 | add_dependencies(buildtests_c gpr_mpscq_test) |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 284 | add_dependencies(buildtests_c gpr_spinlock_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 285 | add_dependencies(buildtests_c gpr_string_test) |
| 286 | add_dependencies(buildtests_c gpr_sync_test) |
| 287 | add_dependencies(buildtests_c gpr_thd_test) |
| 288 | add_dependencies(buildtests_c gpr_time_test) |
| 289 | add_dependencies(buildtests_c gpr_tls_test) |
| 290 | add_dependencies(buildtests_c gpr_useful_test) |
| 291 | add_dependencies(buildtests_c grpc_auth_context_test) |
| 292 | add_dependencies(buildtests_c grpc_b64_test) |
| 293 | add_dependencies(buildtests_c grpc_byte_buffer_reader_test) |
| 294 | add_dependencies(buildtests_c grpc_channel_args_test) |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 295 | add_dependencies(buildtests_c grpc_channel_stack_builder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 296 | add_dependencies(buildtests_c grpc_channel_stack_test) |
| 297 | add_dependencies(buildtests_c grpc_completion_queue_test) |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 298 | add_dependencies(buildtests_c grpc_completion_queue_threading_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 299 | add_dependencies(buildtests_c grpc_credentials_test) |
| 300 | add_dependencies(buildtests_c grpc_fetch_oauth2) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 301 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 302 | add_dependencies(buildtests_c grpc_json_token_test) |
| 303 | endif() |
| 304 | add_dependencies(buildtests_c grpc_jwt_verifier_test) |
| 305 | add_dependencies(buildtests_c grpc_security_connector_test) |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 306 | add_dependencies(buildtests_c grpc_ssl_credentials_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 307 | if(_gRPC_PLATFORM_LINUX) |
| 308 | add_dependencies(buildtests_c handshake_client) |
| 309 | endif() |
| 310 | if(_gRPC_PLATFORM_LINUX) |
| 311 | add_dependencies(buildtests_c handshake_server) |
| 312 | endif() |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 313 | if(_gRPC_PLATFORM_LINUX) |
| 314 | add_dependencies(buildtests_c handshake_server_with_readahead_handshaker) |
| 315 | endif() |
Ian Haken | 68eff58 | 2017-10-26 14:34:15 -0700 | [diff] [blame] | 316 | if(_gRPC_PLATFORM_LINUX) |
| 317 | add_dependencies(buildtests_c handshake_verify_peer_options) |
| 318 | endif() |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 319 | add_dependencies(buildtests_c histogram_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 320 | add_dependencies(buildtests_c hpack_parser_test) |
| 321 | add_dependencies(buildtests_c hpack_table_test) |
| 322 | add_dependencies(buildtests_c http_parser_test) |
| 323 | add_dependencies(buildtests_c httpcli_format_request_test) |
| 324 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 325 | add_dependencies(buildtests_c httpcli_test) |
| 326 | endif() |
| 327 | if(_gRPC_PLATFORM_LINUX) |
| 328 | add_dependencies(buildtests_c httpscli_test) |
| 329 | endif() |
| 330 | add_dependencies(buildtests_c init_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 331 | add_dependencies(buildtests_c invalid_call_argument_test) |
| 332 | add_dependencies(buildtests_c json_rewrite) |
| 333 | add_dependencies(buildtests_c json_rewrite_test) |
| 334 | add_dependencies(buildtests_c json_stream_error_test) |
| 335 | add_dependencies(buildtests_c json_test) |
| 336 | add_dependencies(buildtests_c lame_client_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 337 | add_dependencies(buildtests_c load_file_test) |
| 338 | add_dependencies(buildtests_c memory_profile_client) |
| 339 | add_dependencies(buildtests_c memory_profile_server) |
| 340 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 341 | add_dependencies(buildtests_c memory_profile_test) |
| 342 | endif() |
| 343 | add_dependencies(buildtests_c message_compress_test) |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 344 | add_dependencies(buildtests_c minimal_stack_is_minimal_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 345 | add_dependencies(buildtests_c multiple_server_queues_test) |
| 346 | add_dependencies(buildtests_c murmur_hash_test) |
| 347 | add_dependencies(buildtests_c no_server_test) |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 348 | add_dependencies(buildtests_c num_external_connectivity_watchers_test) |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 349 | add_dependencies(buildtests_c parse_address_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 350 | add_dependencies(buildtests_c percent_encoding_test) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 351 | if(_gRPC_PLATFORM_LINUX) |
| 352 | add_dependencies(buildtests_c pollset_set_test) |
| 353 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 354 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 355 | add_dependencies(buildtests_c resolve_address_posix_test) |
| 356 | endif() |
| 357 | add_dependencies(buildtests_c resolve_address_test) |
| 358 | add_dependencies(buildtests_c resource_quota_test) |
| 359 | add_dependencies(buildtests_c secure_channel_create_test) |
| 360 | add_dependencies(buildtests_c secure_endpoint_test) |
| 361 | add_dependencies(buildtests_c sequential_connectivity_test) |
| 362 | add_dependencies(buildtests_c server_chttp2_test) |
| 363 | add_dependencies(buildtests_c server_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 364 | add_dependencies(buildtests_c slice_buffer_test) |
| 365 | add_dependencies(buildtests_c slice_string_helpers_test) |
| 366 | add_dependencies(buildtests_c slice_test) |
| 367 | add_dependencies(buildtests_c sockaddr_resolver_test) |
| 368 | add_dependencies(buildtests_c sockaddr_utils_test) |
| 369 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 370 | add_dependencies(buildtests_c socket_utils_test) |
| 371 | endif() |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 372 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 373 | add_dependencies(buildtests_c ssl_transport_security_test) |
| 374 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 375 | add_dependencies(buildtests_c status_conversion_test) |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 376 | add_dependencies(buildtests_c stream_compression_test) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 377 | add_dependencies(buildtests_c stream_owned_slice_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 378 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 379 | add_dependencies(buildtests_c tcp_client_posix_test) |
| 380 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 381 | add_dependencies(buildtests_c tcp_client_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 382 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 383 | add_dependencies(buildtests_c tcp_posix_test) |
| 384 | endif() |
| 385 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 386 | add_dependencies(buildtests_c tcp_server_posix_test) |
| 387 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 388 | add_dependencies(buildtests_c tcp_server_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 389 | add_dependencies(buildtests_c time_averaged_stats_test) |
| 390 | add_dependencies(buildtests_c timeout_encoding_test) |
| 391 | add_dependencies(buildtests_c timer_heap_test) |
| 392 | add_dependencies(buildtests_c timer_list_test) |
| 393 | add_dependencies(buildtests_c transport_connectivity_state_test) |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 394 | add_dependencies(buildtests_c transport_metadata_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 395 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 396 | add_dependencies(buildtests_c transport_security_test) |
| 397 | endif() |
| 398 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 399 | add_dependencies(buildtests_c udp_server_test) |
| 400 | endif() |
| 401 | add_dependencies(buildtests_c uri_parser_test) |
| 402 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 403 | add_dependencies(buildtests_c wakeup_fd_cv_test) |
| 404 | endif() |
| 405 | add_dependencies(buildtests_c public_headers_must_be_c89) |
| 406 | add_dependencies(buildtests_c badreq_bad_client_test) |
| 407 | add_dependencies(buildtests_c connection_prefix_bad_client_test) |
Ken Payson | 1dc0833 | 2018-01-25 16:52:51 -0800 | [diff] [blame] | 408 | add_dependencies(buildtests_c duplicate_header_bad_client_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 409 | add_dependencies(buildtests_c head_of_line_blocking_bad_client_test) |
| 410 | add_dependencies(buildtests_c headers_bad_client_test) |
| 411 | add_dependencies(buildtests_c initial_settings_frame_bad_client_test) |
Yash Tibrewal | 1791df0 | 2018-01-19 18:23:20 -0800 | [diff] [blame] | 412 | add_dependencies(buildtests_c large_metadata_bad_client_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 413 | add_dependencies(buildtests_c server_registered_method_bad_client_test) |
| 414 | add_dependencies(buildtests_c simple_request_bad_client_test) |
| 415 | add_dependencies(buildtests_c unknown_frame_bad_client_test) |
| 416 | add_dependencies(buildtests_c window_overflow_bad_client_test) |
| 417 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 418 | add_dependencies(buildtests_c bad_ssl_cert_server) |
| 419 | endif() |
| 420 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 421 | add_dependencies(buildtests_c bad_ssl_cert_test) |
| 422 | endif() |
| 423 | add_dependencies(buildtests_c h2_census_test) |
| 424 | add_dependencies(buildtests_c h2_compress_test) |
| 425 | add_dependencies(buildtests_c h2_fakesec_test) |
| 426 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 427 | add_dependencies(buildtests_c h2_fd_test) |
| 428 | endif() |
| 429 | add_dependencies(buildtests_c h2_full_test) |
| 430 | if(_gRPC_PLATFORM_LINUX) |
| 431 | add_dependencies(buildtests_c h2_full+pipe_test) |
| 432 | endif() |
| 433 | add_dependencies(buildtests_c h2_full+trace_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 434 | add_dependencies(buildtests_c h2_full+workarounds_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 435 | add_dependencies(buildtests_c h2_http_proxy_test) |
Yihua Zhang | c5f1eda | 2018-07-02 13:29:27 -0700 | [diff] [blame] | 436 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 437 | add_dependencies(buildtests_c h2_local_test) |
| 438 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 439 | add_dependencies(buildtests_c h2_oauth2_test) |
| 440 | add_dependencies(buildtests_c h2_proxy_test) |
| 441 | add_dependencies(buildtests_c h2_sockpair_test) |
| 442 | add_dependencies(buildtests_c h2_sockpair+trace_test) |
| 443 | add_dependencies(buildtests_c h2_sockpair_1byte_test) |
| 444 | add_dependencies(buildtests_c h2_ssl_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 445 | add_dependencies(buildtests_c h2_ssl_proxy_test) |
| 446 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 447 | add_dependencies(buildtests_c h2_uds_test) |
| 448 | endif() |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 449 | add_dependencies(buildtests_c inproc_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 450 | add_dependencies(buildtests_c h2_census_nosec_test) |
| 451 | add_dependencies(buildtests_c h2_compress_nosec_test) |
| 452 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 453 | add_dependencies(buildtests_c h2_fd_nosec_test) |
| 454 | endif() |
| 455 | add_dependencies(buildtests_c h2_full_nosec_test) |
| 456 | if(_gRPC_PLATFORM_LINUX) |
| 457 | add_dependencies(buildtests_c h2_full+pipe_nosec_test) |
| 458 | endif() |
| 459 | add_dependencies(buildtests_c h2_full+trace_nosec_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 460 | add_dependencies(buildtests_c h2_full+workarounds_nosec_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 461 | add_dependencies(buildtests_c h2_http_proxy_nosec_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 462 | add_dependencies(buildtests_c h2_proxy_nosec_test) |
| 463 | add_dependencies(buildtests_c h2_sockpair_nosec_test) |
| 464 | add_dependencies(buildtests_c h2_sockpair+trace_nosec_test) |
| 465 | add_dependencies(buildtests_c h2_sockpair_1byte_nosec_test) |
| 466 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 467 | add_dependencies(buildtests_c h2_uds_nosec_test) |
| 468 | endif() |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 469 | add_dependencies(buildtests_c inproc_nosec_test) |
Yihua Zhang | cc93663 | 2018-05-08 10:15:03 -0700 | [diff] [blame] | 470 | add_dependencies(buildtests_c alts_credentials_fuzzer_one_entry) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 471 | add_dependencies(buildtests_c api_fuzzer_one_entry) |
| 472 | add_dependencies(buildtests_c client_fuzzer_one_entry) |
| 473 | add_dependencies(buildtests_c hpack_parser_fuzzer_test_one_entry) |
| 474 | add_dependencies(buildtests_c http_request_fuzzer_test_one_entry) |
| 475 | add_dependencies(buildtests_c http_response_fuzzer_test_one_entry) |
| 476 | add_dependencies(buildtests_c json_fuzzer_test_one_entry) |
| 477 | add_dependencies(buildtests_c nanopb_fuzzer_response_test_one_entry) |
| 478 | add_dependencies(buildtests_c nanopb_fuzzer_serverlist_test_one_entry) |
| 479 | add_dependencies(buildtests_c percent_decode_fuzzer_one_entry) |
| 480 | add_dependencies(buildtests_c percent_encode_fuzzer_one_entry) |
| 481 | add_dependencies(buildtests_c server_fuzzer_one_entry) |
| 482 | add_dependencies(buildtests_c ssl_server_fuzzer_one_entry) |
| 483 | add_dependencies(buildtests_c uri_fuzzer_test_one_entry) |
| 484 | |
| 485 | add_custom_target(buildtests_cxx) |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 486 | add_dependencies(buildtests_cxx alarm_test) |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 487 | add_dependencies(buildtests_cxx alts_counter_test) |
| 488 | add_dependencies(buildtests_cxx alts_crypt_test) |
| 489 | add_dependencies(buildtests_cxx alts_crypter_test) |
| 490 | add_dependencies(buildtests_cxx alts_frame_handler_test) |
| 491 | add_dependencies(buildtests_cxx alts_frame_protector_test) |
| 492 | add_dependencies(buildtests_cxx alts_grpc_record_protocol_test) |
| 493 | add_dependencies(buildtests_cxx alts_handshaker_client_test) |
| 494 | add_dependencies(buildtests_cxx alts_handshaker_service_api_test) |
| 495 | add_dependencies(buildtests_cxx alts_iovec_record_protocol_test) |
| 496 | add_dependencies(buildtests_cxx alts_security_connector_test) |
| 497 | add_dependencies(buildtests_cxx alts_tsi_handshaker_test) |
| 498 | add_dependencies(buildtests_cxx alts_tsi_utils_test) |
| 499 | add_dependencies(buildtests_cxx alts_zero_copy_grpc_protector_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 500 | add_dependencies(buildtests_cxx async_end2end_test) |
| 501 | add_dependencies(buildtests_cxx auth_property_iterator_test) |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 502 | add_dependencies(buildtests_cxx backoff_test) |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 503 | add_dependencies(buildtests_cxx bdp_estimator_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 504 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 505 | add_dependencies(buildtests_cxx bm_arena) |
| 506 | endif() |
| 507 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 508 | add_dependencies(buildtests_cxx bm_call_create) |
| 509 | endif() |
| 510 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
ncteisen | 7747230 | 2018-06-13 15:58:17 -0700 | [diff] [blame] | 511 | add_dependencies(buildtests_cxx bm_channel) |
| 512 | endif() |
| 513 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 514 | add_dependencies(buildtests_cxx bm_chttp2_hpack) |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 515 | endif() |
| 516 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 517 | add_dependencies(buildtests_cxx bm_chttp2_transport) |
| 518 | endif() |
| 519 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 520 | add_dependencies(buildtests_cxx bm_closure) |
| 521 | endif() |
| 522 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 523 | add_dependencies(buildtests_cxx bm_cq) |
| 524 | endif() |
| 525 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 526 | add_dependencies(buildtests_cxx bm_cq_multiple_threads) |
| 527 | endif() |
| 528 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 529 | add_dependencies(buildtests_cxx bm_error) |
| 530 | endif() |
| 531 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 532 | add_dependencies(buildtests_cxx bm_fullstack_streaming_ping_pong) |
| 533 | endif() |
| 534 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 535 | add_dependencies(buildtests_cxx bm_fullstack_streaming_pump) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 536 | endif() |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 537 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 538 | add_dependencies(buildtests_cxx bm_fullstack_trickle) |
| 539 | endif() |
| 540 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 541 | add_dependencies(buildtests_cxx bm_fullstack_unary_ping_pong) |
| 542 | endif() |
| 543 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 544 | add_dependencies(buildtests_cxx bm_metadata) |
| 545 | endif() |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 546 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 547 | add_dependencies(buildtests_cxx bm_pollset) |
| 548 | endif() |
Mark D. Roth | 3d8b32d | 2018-03-09 13:25:40 -0800 | [diff] [blame] | 549 | add_dependencies(buildtests_cxx byte_stream_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 550 | add_dependencies(buildtests_cxx channel_arguments_test) |
| 551 | add_dependencies(buildtests_cxx channel_filter_test) |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 552 | add_dependencies(buildtests_cxx channel_trace_test) |
ncteisen | 16b42ca | 2018-05-11 11:59:38 -0400 | [diff] [blame] | 553 | add_dependencies(buildtests_cxx channelz_registry_test) |
ncteisen | c194528 | 2018-07-16 22:24:53 -0700 | [diff] [blame] | 554 | add_dependencies(buildtests_cxx channelz_service_test) |
ncteisen | c3c6e06 | 2018-05-09 11:10:21 -0700 | [diff] [blame] | 555 | add_dependencies(buildtests_cxx channelz_test) |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 556 | add_dependencies(buildtests_cxx check_gcp_environment_linux_test) |
| 557 | add_dependencies(buildtests_cxx check_gcp_environment_windows_test) |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 558 | add_dependencies(buildtests_cxx chttp2_settings_timeout_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 559 | add_dependencies(buildtests_cxx cli_call_test) |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 560 | add_dependencies(buildtests_cxx client_channel_stress_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 561 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 562 | add_dependencies(buildtests_cxx client_crash_test) |
| 563 | endif() |
| 564 | add_dependencies(buildtests_cxx client_crash_test_server) |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 565 | add_dependencies(buildtests_cxx client_lb_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 566 | add_dependencies(buildtests_cxx codegen_test_full) |
| 567 | add_dependencies(buildtests_cxx codegen_test_minimal) |
| 568 | add_dependencies(buildtests_cxx credentials_test) |
| 569 | add_dependencies(buildtests_cxx cxx_byte_buffer_test) |
| 570 | add_dependencies(buildtests_cxx cxx_slice_test) |
| 571 | add_dependencies(buildtests_cxx cxx_string_ref_test) |
| 572 | add_dependencies(buildtests_cxx cxx_time_test) |
| 573 | add_dependencies(buildtests_cxx end2end_test) |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 574 | add_dependencies(buildtests_cxx error_details_test) |
Vijay Pai | 8fc3715 | 2017-12-18 14:33:51 -0800 | [diff] [blame] | 575 | add_dependencies(buildtests_cxx exception_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 576 | add_dependencies(buildtests_cxx filter_end2end_test) |
| 577 | add_dependencies(buildtests_cxx generic_end2end_test) |
| 578 | add_dependencies(buildtests_cxx golden_file_test) |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 579 | add_dependencies(buildtests_cxx grpc_alts_credentials_options_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 580 | add_dependencies(buildtests_cxx grpc_cli) |
| 581 | add_dependencies(buildtests_cxx grpc_tool_test) |
| 582 | add_dependencies(buildtests_cxx grpclb_api_test) |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 583 | add_dependencies(buildtests_cxx grpclb_end2end_test) |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 584 | add_dependencies(buildtests_cxx h2_ssl_cert_test) |
Ruslan Nigmatullin | 99d0cee | 2018-03-20 09:18:29 -0700 | [diff] [blame] | 585 | add_dependencies(buildtests_cxx h2_ssl_session_reuse_test) |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 586 | add_dependencies(buildtests_cxx health_service_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 587 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 588 | add_dependencies(buildtests_cxx http2_client) |
| 589 | endif() |
| 590 | add_dependencies(buildtests_cxx hybrid_end2end_test) |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 591 | add_dependencies(buildtests_cxx inlined_vector_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 592 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 593 | add_dependencies(buildtests_cxx inproc_sync_unary_ping_pong_test) |
| 594 | endif() |
| 595 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 596 | add_dependencies(buildtests_cxx interop_client) |
| 597 | endif() |
| 598 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 599 | add_dependencies(buildtests_cxx interop_server) |
| 600 | endif() |
| 601 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 602 | add_dependencies(buildtests_cxx interop_test) |
| 603 | endif() |
| 604 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 605 | add_dependencies(buildtests_cxx json_run_localhost) |
| 606 | endif() |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 607 | add_dependencies(buildtests_cxx memory_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 608 | add_dependencies(buildtests_cxx metrics_client) |
| 609 | add_dependencies(buildtests_cxx mock_test) |
Vijay Pai | 132efa0 | 2018-02-09 15:28:14 -0800 | [diff] [blame] | 610 | add_dependencies(buildtests_cxx nonblocking_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 611 | add_dependencies(buildtests_cxx noop-benchmark) |
Mark D. Roth | 324703d | 2018-01-11 07:41:31 -0800 | [diff] [blame] | 612 | add_dependencies(buildtests_cxx orphanable_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 613 | add_dependencies(buildtests_cxx proto_server_reflection_test) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 614 | add_dependencies(buildtests_cxx proto_utils_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 615 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 616 | add_dependencies(buildtests_cxx qps_interarrival_test) |
| 617 | endif() |
| 618 | add_dependencies(buildtests_cxx qps_json_driver) |
| 619 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 620 | add_dependencies(buildtests_cxx qps_openloop_test) |
| 621 | endif() |
| 622 | add_dependencies(buildtests_cxx qps_worker) |
ncteisen | a0a5953 | 2018-06-28 18:26:22 -0700 | [diff] [blame] | 623 | add_dependencies(buildtests_cxx raw_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 624 | add_dependencies(buildtests_cxx reconnect_interop_client) |
| 625 | add_dependencies(buildtests_cxx reconnect_interop_server) |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 626 | add_dependencies(buildtests_cxx ref_counted_ptr_test) |
| 627 | add_dependencies(buildtests_cxx ref_counted_test) |
Mark D. Roth | 9db86fc | 2018-03-28 07:42:20 -0700 | [diff] [blame] | 628 | add_dependencies(buildtests_cxx retry_throttle_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 629 | add_dependencies(buildtests_cxx secure_auth_context_test) |
| 630 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 631 | add_dependencies(buildtests_cxx secure_sync_unary_ping_pong_test) |
| 632 | endif() |
| 633 | add_dependencies(buildtests_cxx server_builder_plugin_test) |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 634 | add_dependencies(buildtests_cxx server_builder_test) |
Alexander Polcyn | ac8b72f | 2018-05-04 17:18:27 -0700 | [diff] [blame] | 635 | if(_gRPC_PLATFORM_POSIX) |
| 636 | add_dependencies(buildtests_cxx server_builder_with_socket_mutator_test) |
| 637 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 638 | add_dependencies(buildtests_cxx server_context_test_spouse_test) |
| 639 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 640 | add_dependencies(buildtests_cxx server_crash_test) |
| 641 | endif() |
| 642 | add_dependencies(buildtests_cxx server_crash_test_client) |
yang-g | 98cd36e | 2018-01-18 15:34:01 -0800 | [diff] [blame] | 643 | add_dependencies(buildtests_cxx server_early_return_test) |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 644 | add_dependencies(buildtests_cxx server_request_call_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 645 | add_dependencies(buildtests_cxx shutdown_test) |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 646 | add_dependencies(buildtests_cxx slice_hash_table_test) |
David Garcia Quintas | 396d49d | 2018-02-28 16:06:30 -0800 | [diff] [blame] | 647 | add_dependencies(buildtests_cxx slice_weak_hash_table_test) |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 648 | add_dependencies(buildtests_cxx stats_test) |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 649 | add_dependencies(buildtests_cxx status_metadata_test) |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 650 | add_dependencies(buildtests_cxx status_util_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 651 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 652 | add_dependencies(buildtests_cxx streaming_throughput_test) |
| 653 | endif() |
| 654 | add_dependencies(buildtests_cxx stress_test) |
| 655 | add_dependencies(buildtests_cxx thread_manager_test) |
| 656 | add_dependencies(buildtests_cxx thread_stress_test) |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 657 | add_dependencies(buildtests_cxx transport_pid_controller_test) |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 658 | add_dependencies(buildtests_cxx transport_security_common_api_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 659 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 660 | add_dependencies(buildtests_cxx writes_per_rpc_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 661 | endif() |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 662 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 663 | add_dependencies(buildtests_cxx resolver_component_test_unsecure) |
| 664 | endif() |
| 665 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 666 | add_dependencies(buildtests_cxx resolver_component_test) |
| 667 | endif() |
| 668 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 669 | add_dependencies(buildtests_cxx resolver_component_tests_runner_invoker_unsecure) |
| 670 | endif() |
| 671 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 672 | add_dependencies(buildtests_cxx resolver_component_tests_runner_invoker) |
| 673 | endif() |
Alexander Polcyn | 690dde6 | 2017-10-18 00:20:33 -0700 | [diff] [blame] | 674 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 675 | add_dependencies(buildtests_cxx address_sorting_test_unsecure) |
| 676 | endif() |
| 677 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 678 | add_dependencies(buildtests_cxx address_sorting_test) |
| 679 | endif() |
Alexander Polcyn | d2e357b | 2018-06-08 14:19:46 -0700 | [diff] [blame] | 680 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 681 | add_dependencies(buildtests_cxx cancel_ares_query_test) |
| 682 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 683 | |
| 684 | add_custom_target(buildtests |
| 685 | DEPENDS buildtests_c buildtests_cxx) |
| 686 | endif (gRPC_BUILD_TESTS) |
| 687 | |
Alexander Polcyn | 690dde6 | 2017-10-18 00:20:33 -0700 | [diff] [blame] | 688 | |
| 689 | add_library(address_sorting |
| 690 | third_party/address_sorting/address_sorting.c |
| 691 | third_party/address_sorting/address_sorting_posix.c |
| 692 | third_party/address_sorting/address_sorting_windows.c |
| 693 | ) |
| 694 | |
| 695 | if(WIN32 AND MSVC) |
| 696 | set_target_properties(address_sorting PROPERTIES COMPILE_PDB_NAME "address_sorting" |
| 697 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 698 | ) |
| 699 | if (gRPC_INSTALL) |
| 700 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/address_sorting.pdb |
| 701 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 702 | ) |
| 703 | endif() |
| 704 | endif() |
| 705 | |
| 706 | |
| 707 | target_include_directories(address_sorting |
| 708 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
| 709 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 710 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 711 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 712 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 713 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 714 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 715 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 716 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 717 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Alexander Polcyn | 690dde6 | 2017-10-18 00:20:33 -0700 | [diff] [blame] | 718 | ) |
| 719 | |
| 720 | target_link_libraries(address_sorting |
Alexander Polcyn | 18caf6d | 2018-06-06 12:06:52 -0700 | [diff] [blame] | 721 | ${_gRPC_BASELIB_LIBRARIES} |
Alexander Polcyn | 690dde6 | 2017-10-18 00:20:33 -0700 | [diff] [blame] | 722 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 723 | ) |
| 724 | |
| 725 | |
| 726 | |
| 727 | if (gRPC_INSTALL) |
| 728 | install(TARGETS address_sorting EXPORT gRPCTargets |
| 729 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 730 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 731 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 732 | ) |
| 733 | endif() |
| 734 | |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 735 | if (gRPC_BUILD_TESTS) |
| 736 | |
| 737 | add_library(alts_test_util |
| 738 | test/core/tsi/alts/crypt/gsec_test_util.cc |
| 739 | test/core/tsi/alts/handshaker/alts_handshaker_service_api_test_lib.cc |
| 740 | ) |
| 741 | |
| 742 | if(WIN32 AND MSVC) |
| 743 | set_target_properties(alts_test_util PROPERTIES COMPILE_PDB_NAME "alts_test_util" |
| 744 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 745 | ) |
| 746 | if (gRPC_INSTALL) |
| 747 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/alts_test_util.pdb |
| 748 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 749 | ) |
| 750 | endif() |
| 751 | endif() |
| 752 | |
| 753 | |
| 754 | target_include_directories(alts_test_util |
| 755 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
| 756 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 757 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 758 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 759 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 760 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 761 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 762 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 763 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 764 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 765 | ) |
| 766 | |
| 767 | target_link_libraries(alts_test_util |
| 768 | ${_gRPC_SSL_LIBRARIES} |
| 769 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 770 | grpc |
| 771 | ) |
| 772 | |
| 773 | |
| 774 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 775 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 776 | add_library(gpr |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 777 | src/core/lib/gpr/alloc.cc |
| 778 | src/core/lib/gpr/arena.cc |
| 779 | src/core/lib/gpr/atm.cc |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 780 | src/core/lib/gpr/cpu_iphone.cc |
| 781 | src/core/lib/gpr/cpu_linux.cc |
| 782 | src/core/lib/gpr/cpu_posix.cc |
| 783 | src/core/lib/gpr/cpu_windows.cc |
| 784 | src/core/lib/gpr/env_linux.cc |
| 785 | src/core/lib/gpr/env_posix.cc |
| 786 | src/core/lib/gpr/env_windows.cc |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 787 | src/core/lib/gpr/host_port.cc |
| 788 | src/core/lib/gpr/log.cc |
| 789 | src/core/lib/gpr/log_android.cc |
| 790 | src/core/lib/gpr/log_linux.cc |
| 791 | src/core/lib/gpr/log_posix.cc |
| 792 | src/core/lib/gpr/log_windows.cc |
| 793 | src/core/lib/gpr/mpscq.cc |
| 794 | src/core/lib/gpr/murmur_hash.cc |
| 795 | src/core/lib/gpr/string.cc |
| 796 | src/core/lib/gpr/string_posix.cc |
| 797 | src/core/lib/gpr/string_util_windows.cc |
| 798 | src/core/lib/gpr/string_windows.cc |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 799 | src/core/lib/gpr/sync.cc |
| 800 | src/core/lib/gpr/sync_posix.cc |
| 801 | src/core/lib/gpr/sync_windows.cc |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 802 | src/core/lib/gpr/time.cc |
| 803 | src/core/lib/gpr/time_posix.cc |
| 804 | src/core/lib/gpr/time_precise.cc |
| 805 | src/core/lib/gpr/time_windows.cc |
| 806 | src/core/lib/gpr/tls_pthread.cc |
| 807 | src/core/lib/gpr/tmpfile_msys.cc |
| 808 | src/core/lib/gpr/tmpfile_posix.cc |
| 809 | src/core/lib/gpr/tmpfile_windows.cc |
| 810 | src/core/lib/gpr/wrap_memcpy.cc |
kpayson64 | 701e70d | 2018-04-30 17:40:00 -0700 | [diff] [blame] | 811 | src/core/lib/gprpp/fork.cc |
Vijay Pai | da69355 | 2018-02-16 22:59:03 -0800 | [diff] [blame] | 812 | src/core/lib/gprpp/thd_posix.cc |
| 813 | src/core/lib/gprpp/thd_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 814 | src/core/lib/profiling/basic_timers.cc |
| 815 | src/core/lib/profiling/stap_timers.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 816 | ) |
| 817 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 818 | if(WIN32 AND MSVC) |
| 819 | set_target_properties(gpr PROPERTIES COMPILE_PDB_NAME "gpr" |
| 820 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 821 | ) |
| 822 | if (gRPC_INSTALL) |
| 823 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 824 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 825 | ) |
| 826 | endif() |
| 827 | endif() |
| 828 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 829 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 830 | target_include_directories(gpr |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 831 | 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] | 832 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 833 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 834 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 835 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 836 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 837 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 838 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 839 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 840 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 841 | ) |
| 842 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 843 | target_link_libraries(gpr |
| 844 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 845 | ) |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 846 | if (_gRPC_PLATFORM_ANDROID) |
| 847 | target_link_libraries(gpr |
| 848 | android |
| 849 | log |
| 850 | ) |
| 851 | endif (_gRPC_PLATFORM_ANDROID) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 852 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 853 | foreach(_hdr |
| 854 | include/grpc/support/alloc.h |
| 855 | include/grpc/support/atm.h |
| 856 | include/grpc/support/atm_gcc_atomic.h |
| 857 | include/grpc/support/atm_gcc_sync.h |
| 858 | include/grpc/support/atm_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 859 | include/grpc/support/cpu.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 860 | include/grpc/support/log.h |
| 861 | include/grpc/support/log_windows.h |
| 862 | include/grpc/support/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 863 | include/grpc/support/string_util.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 864 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 865 | include/grpc/support/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 866 | include/grpc/support/sync_generic.h |
| 867 | include/grpc/support/sync_posix.h |
| 868 | include/grpc/support/sync_windows.h |
Vijay Pai | c745690 | 2018-02-12 10:28:24 -0800 | [diff] [blame] | 869 | include/grpc/support/thd_id.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 870 | include/grpc/support/time.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 871 | include/grpc/impl/codegen/atm.h |
| 872 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 873 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 874 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 875 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 876 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 877 | include/grpc/impl/codegen/gpr_types.h |
ncteisen | 93a90e6 | 2018-06-18 18:39:56 -0700 | [diff] [blame] | 878 | include/grpc/impl/codegen/log.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 879 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 880 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 881 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 882 | include/grpc/impl/codegen/sync_generic.h |
| 883 | include/grpc/impl/codegen/sync_posix.h |
| 884 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 885 | ) |
| 886 | string(REPLACE "include/" "" _path ${_hdr}) |
| 887 | get_filename_component(_path ${_path} PATH) |
| 888 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 889 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 890 | ) |
| 891 | endforeach() |
| 892 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 893 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 894 | if (gRPC_INSTALL) |
| 895 | install(TARGETS gpr EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 896 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 897 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 898 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 899 | ) |
| 900 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 901 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 902 | if (gRPC_BUILD_TESTS) |
| 903 | |
| 904 | add_library(gpr_test_util |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 905 | test/core/util/test_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 906 | ) |
| 907 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 908 | if(WIN32 AND MSVC) |
| 909 | set_target_properties(gpr_test_util PROPERTIES COMPILE_PDB_NAME "gpr_test_util" |
| 910 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 911 | ) |
| 912 | if (gRPC_INSTALL) |
| 913 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 914 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 915 | ) |
| 916 | endif() |
| 917 | endif() |
| 918 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 919 | |
| 920 | target_include_directories(gpr_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 921 | 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] | 922 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 923 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 924 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 925 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 926 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 927 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 928 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 929 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 930 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 931 | ) |
| 932 | |
| 933 | target_link_libraries(gpr_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 934 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 935 | gpr |
| 936 | ) |
| 937 | |
| 938 | |
| 939 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 940 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 941 | add_library(grpc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 942 | src/core/lib/surface/init.cc |
Vijay Pai | 8f4fbb1 | 2018-02-08 10:04:08 -0800 | [diff] [blame] | 943 | src/core/lib/avl/avl.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 944 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 945 | src/core/lib/channel/channel_args.cc |
| 946 | src/core/lib/channel/channel_stack.cc |
| 947 | src/core/lib/channel/channel_stack_builder.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 948 | src/core/lib/channel/channel_trace.cc |
ncteisen | c3c6e06 | 2018-05-09 11:10:21 -0700 | [diff] [blame] | 949 | src/core/lib/channel/channelz.cc |
ncteisen | bba8840 | 2018-05-11 11:54:41 -0400 | [diff] [blame] | 950 | src/core/lib/channel/channelz_registry.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 951 | src/core/lib/channel/connected_channel.cc |
| 952 | src/core/lib/channel/handshaker.cc |
| 953 | src/core/lib/channel/handshaker_factory.cc |
| 954 | src/core/lib/channel/handshaker_registry.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 955 | src/core/lib/channel/status_util.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 956 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 957 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 958 | src/core/lib/compression/message_compress.cc |
| 959 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 960 | src/core/lib/compression/stream_compression_gzip.cc |
| 961 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 962 | src/core/lib/debug/stats.cc |
| 963 | src/core/lib/debug/stats_data.cc |
| 964 | src/core/lib/http/format_request.cc |
| 965 | src/core/lib/http/httpcli.cc |
| 966 | src/core/lib/http/parser.cc |
| 967 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 968 | src/core/lib/iomgr/combiner.cc |
| 969 | src/core/lib/iomgr/endpoint.cc |
| 970 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 971 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 972 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 973 | src/core/lib/iomgr/error.cc |
| 974 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 975 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 976 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 977 | src/core/lib/iomgr/ev_poll_posix.cc |
| 978 | src/core/lib/iomgr/ev_posix.cc |
| 979 | src/core/lib/iomgr/ev_windows.cc |
| 980 | src/core/lib/iomgr/exec_ctx.cc |
| 981 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 982 | src/core/lib/iomgr/fork_posix.cc |
| 983 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 984 | src/core/lib/iomgr/gethostname_fallback.cc |
| 985 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 986 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 987 | src/core/lib/iomgr/iocp_windows.cc |
| 988 | src/core/lib/iomgr/iomgr.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 989 | src/core/lib/iomgr/iomgr_custom.cc |
| 990 | src/core/lib/iomgr/iomgr_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 991 | src/core/lib/iomgr/iomgr_posix.cc |
| 992 | src/core/lib/iomgr/iomgr_uv.cc |
| 993 | src/core/lib/iomgr/iomgr_windows.cc |
| 994 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 995 | src/core/lib/iomgr/load_file.cc |
| 996 | src/core/lib/iomgr/lockfree_event.cc |
| 997 | src/core/lib/iomgr/network_status_tracker.cc |
| 998 | src/core/lib/iomgr/polling_entity.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 999 | src/core/lib/iomgr/pollset.cc |
| 1000 | src/core/lib/iomgr/pollset_custom.cc |
| 1001 | src/core/lib/iomgr/pollset_set.cc |
| 1002 | src/core/lib/iomgr/pollset_set_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1003 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1004 | src/core/lib/iomgr/pollset_uv.cc |
| 1005 | src/core/lib/iomgr/pollset_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1006 | src/core/lib/iomgr/resolve_address.cc |
| 1007 | src/core/lib/iomgr/resolve_address_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1008 | src/core/lib/iomgr/resolve_address_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1009 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1010 | src/core/lib/iomgr/resource_quota.cc |
| 1011 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1012 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1013 | src/core/lib/iomgr/socket_mutator.cc |
| 1014 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1015 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1016 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1017 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1018 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1019 | src/core/lib/iomgr/socket_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1020 | src/core/lib/iomgr/tcp_client.cc |
| 1021 | src/core/lib/iomgr/tcp_client_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1022 | src/core/lib/iomgr/tcp_client_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1023 | src/core/lib/iomgr/tcp_client_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1024 | src/core/lib/iomgr/tcp_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1025 | src/core/lib/iomgr/tcp_posix.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1026 | src/core/lib/iomgr/tcp_server.cc |
| 1027 | src/core/lib/iomgr/tcp_server_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1028 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1029 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1030 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1031 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1032 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1033 | src/core/lib/iomgr/tcp_uv.cc |
| 1034 | src/core/lib/iomgr/tcp_windows.cc |
| 1035 | src/core/lib/iomgr/time_averaged_stats.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1036 | src/core/lib/iomgr/timer.cc |
| 1037 | src/core/lib/iomgr/timer_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1038 | src/core/lib/iomgr/timer_generic.cc |
| 1039 | src/core/lib/iomgr/timer_heap.cc |
| 1040 | src/core/lib/iomgr/timer_manager.cc |
| 1041 | src/core/lib/iomgr/timer_uv.cc |
| 1042 | src/core/lib/iomgr/udp_server.cc |
| 1043 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1044 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1045 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1046 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1047 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1048 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1049 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1050 | src/core/lib/json/json.cc |
| 1051 | src/core/lib/json/json_reader.cc |
| 1052 | src/core/lib/json/json_string.cc |
| 1053 | src/core/lib/json/json_writer.cc |
| 1054 | src/core/lib/slice/b64.cc |
| 1055 | src/core/lib/slice/percent_encoding.cc |
| 1056 | src/core/lib/slice/slice.cc |
| 1057 | src/core/lib/slice/slice_buffer.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1058 | src/core/lib/slice/slice_intern.cc |
| 1059 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1060 | src/core/lib/surface/api_trace.cc |
| 1061 | src/core/lib/surface/byte_buffer.cc |
| 1062 | src/core/lib/surface/byte_buffer_reader.cc |
| 1063 | src/core/lib/surface/call.cc |
| 1064 | src/core/lib/surface/call_details.cc |
| 1065 | src/core/lib/surface/call_log_batch.cc |
| 1066 | src/core/lib/surface/channel.cc |
| 1067 | src/core/lib/surface/channel_init.cc |
| 1068 | src/core/lib/surface/channel_ping.cc |
| 1069 | src/core/lib/surface/channel_stack_type.cc |
| 1070 | src/core/lib/surface/completion_queue.cc |
| 1071 | src/core/lib/surface/completion_queue_factory.cc |
| 1072 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1073 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1074 | src/core/lib/surface/metadata_array.cc |
| 1075 | src/core/lib/surface/server.cc |
| 1076 | src/core/lib/surface/validate_metadata.cc |
| 1077 | src/core/lib/surface/version.cc |
| 1078 | src/core/lib/transport/bdp_estimator.cc |
| 1079 | src/core/lib/transport/byte_stream.cc |
| 1080 | src/core/lib/transport/connectivity_state.cc |
| 1081 | src/core/lib/transport/error_utils.cc |
| 1082 | src/core/lib/transport/metadata.cc |
| 1083 | src/core/lib/transport/metadata_batch.cc |
| 1084 | src/core/lib/transport/pid_controller.cc |
| 1085 | src/core/lib/transport/service_config.cc |
| 1086 | src/core/lib/transport/static_metadata.cc |
| 1087 | src/core/lib/transport/status_conversion.cc |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 1088 | src/core/lib/transport/status_metadata.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1089 | src/core/lib/transport/timeout_encoding.cc |
| 1090 | src/core/lib/transport/transport.cc |
| 1091 | src/core/lib/transport/transport_op_string.cc |
| 1092 | src/core/lib/debug/trace.cc |
| 1093 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc |
| 1094 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1095 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1096 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1097 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1098 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1099 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1100 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1101 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1102 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1103 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1104 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1105 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1106 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1107 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1108 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1109 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1110 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1111 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1112 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1113 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1114 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1115 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1116 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1117 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1118 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1119 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1120 | src/core/ext/filters/http/server/http_server_filter.cc |
| 1121 | src/core/lib/http/httpcli_security_connector.cc |
| 1122 | src/core/lib/security/context/security_context.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1123 | src/core/lib/security/credentials/alts/alts_credentials.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1124 | src/core/lib/security/credentials/composite/composite_credentials.cc |
| 1125 | src/core/lib/security/credentials/credentials.cc |
| 1126 | src/core/lib/security/credentials/credentials_metadata.cc |
| 1127 | src/core/lib/security/credentials/fake/fake_credentials.cc |
| 1128 | src/core/lib/security/credentials/google_default/credentials_generic.cc |
| 1129 | src/core/lib/security/credentials/google_default/google_default_credentials.cc |
| 1130 | src/core/lib/security/credentials/iam/iam_credentials.cc |
| 1131 | src/core/lib/security/credentials/jwt/json_token.cc |
| 1132 | src/core/lib/security/credentials/jwt/jwt_credentials.cc |
| 1133 | src/core/lib/security/credentials/jwt/jwt_verifier.cc |
Yihua Zhang | c5f1eda | 2018-07-02 13:29:27 -0700 | [diff] [blame] | 1134 | src/core/lib/security/credentials/local/local_credentials.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1135 | src/core/lib/security/credentials/oauth2/oauth2_credentials.cc |
| 1136 | src/core/lib/security/credentials/plugin/plugin_credentials.cc |
| 1137 | src/core/lib/security/credentials/ssl/ssl_credentials.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1138 | src/core/lib/security/security_connector/alts_security_connector.cc |
Yihua Zhang | c5f1eda | 2018-07-02 13:29:27 -0700 | [diff] [blame] | 1139 | src/core/lib/security/security_connector/local_security_connector.cc |
Yihua Zhang | 75f0a9f | 2018-02-20 10:09:47 -0800 | [diff] [blame] | 1140 | src/core/lib/security/security_connector/security_connector.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1141 | src/core/lib/security/transport/client_auth_filter.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1142 | src/core/lib/security/transport/secure_endpoint.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1143 | src/core/lib/security/transport/security_handshaker.cc |
| 1144 | src/core/lib/security/transport/server_auth_filter.cc |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 1145 | src/core/lib/security/transport/target_authority_table.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1146 | src/core/lib/security/transport/tsi_error.cc |
| 1147 | src/core/lib/security/util/json_util.cc |
| 1148 | src/core/lib/surface/init_secure.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1149 | src/core/tsi/alts/crypt/aes_gcm.cc |
| 1150 | src/core/tsi/alts/crypt/gsec.cc |
| 1151 | src/core/tsi/alts/frame_protector/alts_counter.cc |
| 1152 | src/core/tsi/alts/frame_protector/alts_crypter.cc |
| 1153 | src/core/tsi/alts/frame_protector/alts_frame_protector.cc |
| 1154 | src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.cc |
| 1155 | src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc |
| 1156 | src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc |
| 1157 | src/core/tsi/alts/frame_protector/frame_handler.cc |
| 1158 | src/core/tsi/alts/handshaker/alts_handshaker_client.cc |
| 1159 | src/core/tsi/alts/handshaker/alts_tsi_event.cc |
| 1160 | src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc |
| 1161 | src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc |
| 1162 | src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc |
| 1163 | src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc |
| 1164 | src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc |
| 1165 | src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc |
| 1166 | src/core/lib/security/credentials/alts/check_gcp_environment.cc |
| 1167 | src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc |
| 1168 | src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc |
| 1169 | src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc |
| 1170 | src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc |
| 1171 | src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc |
| 1172 | src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc |
| 1173 | src/core/tsi/alts/handshaker/alts_handshaker_service_api.cc |
| 1174 | src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.cc |
| 1175 | src/core/tsi/alts/handshaker/alts_tsi_utils.cc |
| 1176 | src/core/tsi/alts/handshaker/transport_security_common_api.cc |
| 1177 | src/core/tsi/alts/handshaker/altscontext.pb.c |
| 1178 | src/core/tsi/alts/handshaker/handshaker.pb.c |
| 1179 | src/core/tsi/alts/handshaker/transport_security_common.pb.c |
| 1180 | third_party/nanopb/pb_common.c |
| 1181 | third_party/nanopb/pb_decode.c |
| 1182 | third_party/nanopb/pb_encode.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1183 | src/core/tsi/transport_security.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1184 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 1185 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
David Garcia Quintas | 49f625f | 2018-03-27 11:23:49 -0700 | [diff] [blame] | 1186 | src/core/ext/transport/chttp2/client/authority.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1187 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1188 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1189 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1190 | src/core/ext/filters/client_channel/client_channel.cc |
ncteisen | afb9829 | 2018-06-28 18:04:24 -0700 | [diff] [blame] | 1191 | src/core/ext/filters/client_channel/client_channel_channelz.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1192 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1193 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1194 | src/core/ext/filters/client_channel/connector.cc |
| 1195 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1196 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1197 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1198 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1199 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 1200 | src/core/ext/filters/client_channel/method_params.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1201 | src/core/ext/filters/client_channel/parse_address.cc |
| 1202 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1203 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1204 | src/core/ext/filters/client_channel/resolver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1205 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1206 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1207 | src/core/ext/filters/client_channel/subchannel.cc |
| 1208 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1209 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1210 | src/core/ext/filters/deadline/deadline_filter.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1211 | src/core/tsi/alts_transport_security.cc |
| 1212 | src/core/tsi/fake_transport_security.cc |
Yihua Zhang | c5f1eda | 2018-07-02 13:29:27 -0700 | [diff] [blame] | 1213 | src/core/tsi/local_transport_security.cc |
Ruslan Nigmatullin | 99d0cee | 2018-03-20 09:18:29 -0700 | [diff] [blame] | 1214 | src/core/tsi/ssl/session_cache/ssl_session_boringssl.cc |
| 1215 | src/core/tsi/ssl/session_cache/ssl_session_cache.cc |
| 1216 | src/core/tsi/ssl/session_cache/ssl_session_openssl.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1217 | src/core/tsi/ssl_transport_security.cc |
| 1218 | src/core/tsi/transport_security_grpc.cc |
| 1219 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
| 1220 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1221 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 1222 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1223 | src/core/ext/transport/inproc/inproc_plugin.cc |
| 1224 | src/core/ext/transport/inproc/inproc_transport.cc |
| 1225 | src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc |
| 1226 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc |
| 1227 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc |
| 1228 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc |
| 1229 | src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc |
David Garcia Quintas | f3955ba | 2018-06-21 15:15:10 -0700 | [diff] [blame] | 1230 | src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.c |
| 1231 | src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1232 | 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] | 1233 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
| 1234 | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc |
| 1235 | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc |
| 1236 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc |
Alexander Polcyn | 7eda619 | 2018-06-14 23:07:33 -0700 | [diff] [blame] | 1237 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1238 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc |
| 1239 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc |
| 1240 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc |
| 1241 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc |
| 1242 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc |
Vizerai | 41e4ced | 2018-04-13 18:19:21 -0700 | [diff] [blame] | 1243 | src/cpp/ext/filters/census/grpc_context.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1244 | src/core/ext/filters/max_age/max_age_filter.cc |
| 1245 | src/core/ext/filters/message_size/message_size_filter.cc |
David Garcia Quintas | 961353a | 2018-03-15 16:11:05 -0700 | [diff] [blame] | 1246 | src/core/ext/filters/http/client_authority_filter.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1247 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc |
| 1248 | src/core/ext/filters/workarounds/workaround_utils.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 1249 | src/core/plugin_registry/grpc_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1250 | ) |
| 1251 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1252 | if(WIN32 AND MSVC) |
| 1253 | set_target_properties(grpc PROPERTIES COMPILE_PDB_NAME "grpc" |
| 1254 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1255 | ) |
| 1256 | if (gRPC_INSTALL) |
| 1257 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1258 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1259 | ) |
| 1260 | endif() |
| 1261 | endif() |
| 1262 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1263 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1264 | target_include_directories(grpc |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1265 | 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] | 1266 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1267 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 1268 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 1269 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 1270 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 1271 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 1272 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 1273 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 1274 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1275 | ) |
| 1276 | |
| 1277 | target_link_libraries(grpc |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1278 | ${_gRPC_BASELIB_LIBRARIES} |
| 1279 | ${_gRPC_SSL_LIBRARIES} |
| 1280 | ${_gRPC_ZLIB_LIBRARIES} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1281 | ${_gRPC_CARES_LIBRARIES} |
Alexander Polcyn | 690dde6 | 2017-10-18 00:20:33 -0700 | [diff] [blame] | 1282 | ${_gRPC_ADDRESS_SORTING_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1283 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1284 | gpr |
| 1285 | ) |
| 1286 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1287 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1288 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1289 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1290 | include/grpc/impl/codegen/compression_types.h |
| 1291 | include/grpc/impl/codegen/connectivity_state.h |
| 1292 | include/grpc/impl/codegen/grpc_types.h |
| 1293 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1294 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1295 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1296 | include/grpc/impl/codegen/atm.h |
| 1297 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1298 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1299 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1300 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1301 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1302 | include/grpc/impl/codegen/gpr_types.h |
ncteisen | 93a90e6 | 2018-06-18 18:39:56 -0700 | [diff] [blame] | 1303 | include/grpc/impl/codegen/log.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1304 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1305 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1306 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1307 | include/grpc/impl/codegen/sync_generic.h |
| 1308 | include/grpc/impl/codegen/sync_posix.h |
| 1309 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1310 | include/grpc/grpc_security.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1311 | include/grpc/byte_buffer.h |
| 1312 | include/grpc/byte_buffer_reader.h |
| 1313 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1314 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1315 | include/grpc/grpc.h |
| 1316 | include/grpc/grpc_posix.h |
| 1317 | include/grpc/grpc_security_constants.h |
| 1318 | include/grpc/load_reporting.h |
| 1319 | include/grpc/slice.h |
| 1320 | include/grpc/slice_buffer.h |
| 1321 | include/grpc/status.h |
| 1322 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1323 | include/grpc/census.h |
| 1324 | ) |
| 1325 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1326 | get_filename_component(_path ${_path} PATH) |
| 1327 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1328 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1329 | ) |
| 1330 | endforeach() |
| 1331 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1332 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1333 | if (gRPC_INSTALL) |
| 1334 | install(TARGETS grpc EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1335 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1336 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1337 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1338 | ) |
| 1339 | endif() |
| 1340 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1341 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1342 | add_library(grpc_cronet |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1343 | src/core/lib/surface/init.cc |
Vijay Pai | 8f4fbb1 | 2018-02-08 10:04:08 -0800 | [diff] [blame] | 1344 | src/core/lib/avl/avl.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1345 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1346 | src/core/lib/channel/channel_args.cc |
| 1347 | src/core/lib/channel/channel_stack.cc |
| 1348 | src/core/lib/channel/channel_stack_builder.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 1349 | src/core/lib/channel/channel_trace.cc |
ncteisen | c3c6e06 | 2018-05-09 11:10:21 -0700 | [diff] [blame] | 1350 | src/core/lib/channel/channelz.cc |
ncteisen | bba8840 | 2018-05-11 11:54:41 -0400 | [diff] [blame] | 1351 | src/core/lib/channel/channelz_registry.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1352 | src/core/lib/channel/connected_channel.cc |
| 1353 | src/core/lib/channel/handshaker.cc |
| 1354 | src/core/lib/channel/handshaker_factory.cc |
| 1355 | src/core/lib/channel/handshaker_registry.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 1356 | src/core/lib/channel/status_util.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1357 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 1358 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1359 | src/core/lib/compression/message_compress.cc |
| 1360 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1361 | src/core/lib/compression/stream_compression_gzip.cc |
| 1362 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1363 | src/core/lib/debug/stats.cc |
| 1364 | src/core/lib/debug/stats_data.cc |
| 1365 | src/core/lib/http/format_request.cc |
| 1366 | src/core/lib/http/httpcli.cc |
| 1367 | src/core/lib/http/parser.cc |
| 1368 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1369 | src/core/lib/iomgr/combiner.cc |
| 1370 | src/core/lib/iomgr/endpoint.cc |
| 1371 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1372 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1373 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1374 | src/core/lib/iomgr/error.cc |
| 1375 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1376 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1377 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1378 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1379 | src/core/lib/iomgr/ev_posix.cc |
| 1380 | src/core/lib/iomgr/ev_windows.cc |
| 1381 | src/core/lib/iomgr/exec_ctx.cc |
| 1382 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 1383 | src/core/lib/iomgr/fork_posix.cc |
| 1384 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1385 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1386 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1387 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1388 | src/core/lib/iomgr/iocp_windows.cc |
| 1389 | src/core/lib/iomgr/iomgr.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1390 | src/core/lib/iomgr/iomgr_custom.cc |
| 1391 | src/core/lib/iomgr/iomgr_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1392 | src/core/lib/iomgr/iomgr_posix.cc |
| 1393 | src/core/lib/iomgr/iomgr_uv.cc |
| 1394 | src/core/lib/iomgr/iomgr_windows.cc |
| 1395 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1396 | src/core/lib/iomgr/load_file.cc |
| 1397 | src/core/lib/iomgr/lockfree_event.cc |
| 1398 | src/core/lib/iomgr/network_status_tracker.cc |
| 1399 | src/core/lib/iomgr/polling_entity.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1400 | src/core/lib/iomgr/pollset.cc |
| 1401 | src/core/lib/iomgr/pollset_custom.cc |
| 1402 | src/core/lib/iomgr/pollset_set.cc |
| 1403 | src/core/lib/iomgr/pollset_set_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1404 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1405 | src/core/lib/iomgr/pollset_uv.cc |
| 1406 | src/core/lib/iomgr/pollset_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1407 | src/core/lib/iomgr/resolve_address.cc |
| 1408 | src/core/lib/iomgr/resolve_address_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1409 | src/core/lib/iomgr/resolve_address_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1410 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1411 | src/core/lib/iomgr/resource_quota.cc |
| 1412 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1413 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1414 | src/core/lib/iomgr/socket_mutator.cc |
| 1415 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1416 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1417 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1418 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1419 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1420 | src/core/lib/iomgr/socket_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1421 | src/core/lib/iomgr/tcp_client.cc |
| 1422 | src/core/lib/iomgr/tcp_client_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1423 | src/core/lib/iomgr/tcp_client_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1424 | src/core/lib/iomgr/tcp_client_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1425 | src/core/lib/iomgr/tcp_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1426 | src/core/lib/iomgr/tcp_posix.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1427 | src/core/lib/iomgr/tcp_server.cc |
| 1428 | src/core/lib/iomgr/tcp_server_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1429 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1430 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1431 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1432 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1433 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1434 | src/core/lib/iomgr/tcp_uv.cc |
| 1435 | src/core/lib/iomgr/tcp_windows.cc |
| 1436 | src/core/lib/iomgr/time_averaged_stats.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1437 | src/core/lib/iomgr/timer.cc |
| 1438 | src/core/lib/iomgr/timer_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1439 | src/core/lib/iomgr/timer_generic.cc |
| 1440 | src/core/lib/iomgr/timer_heap.cc |
| 1441 | src/core/lib/iomgr/timer_manager.cc |
| 1442 | src/core/lib/iomgr/timer_uv.cc |
| 1443 | src/core/lib/iomgr/udp_server.cc |
| 1444 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1445 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1446 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1447 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1448 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1449 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1450 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1451 | src/core/lib/json/json.cc |
| 1452 | src/core/lib/json/json_reader.cc |
| 1453 | src/core/lib/json/json_string.cc |
| 1454 | src/core/lib/json/json_writer.cc |
| 1455 | src/core/lib/slice/b64.cc |
| 1456 | src/core/lib/slice/percent_encoding.cc |
| 1457 | src/core/lib/slice/slice.cc |
| 1458 | src/core/lib/slice/slice_buffer.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1459 | src/core/lib/slice/slice_intern.cc |
| 1460 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1461 | src/core/lib/surface/api_trace.cc |
| 1462 | src/core/lib/surface/byte_buffer.cc |
| 1463 | src/core/lib/surface/byte_buffer_reader.cc |
| 1464 | src/core/lib/surface/call.cc |
| 1465 | src/core/lib/surface/call_details.cc |
| 1466 | src/core/lib/surface/call_log_batch.cc |
| 1467 | src/core/lib/surface/channel.cc |
| 1468 | src/core/lib/surface/channel_init.cc |
| 1469 | src/core/lib/surface/channel_ping.cc |
| 1470 | src/core/lib/surface/channel_stack_type.cc |
| 1471 | src/core/lib/surface/completion_queue.cc |
| 1472 | src/core/lib/surface/completion_queue_factory.cc |
| 1473 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1474 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1475 | src/core/lib/surface/metadata_array.cc |
| 1476 | src/core/lib/surface/server.cc |
| 1477 | src/core/lib/surface/validate_metadata.cc |
| 1478 | src/core/lib/surface/version.cc |
| 1479 | src/core/lib/transport/bdp_estimator.cc |
| 1480 | src/core/lib/transport/byte_stream.cc |
| 1481 | src/core/lib/transport/connectivity_state.cc |
| 1482 | src/core/lib/transport/error_utils.cc |
| 1483 | src/core/lib/transport/metadata.cc |
| 1484 | src/core/lib/transport/metadata_batch.cc |
| 1485 | src/core/lib/transport/pid_controller.cc |
| 1486 | src/core/lib/transport/service_config.cc |
| 1487 | src/core/lib/transport/static_metadata.cc |
| 1488 | src/core/lib/transport/status_conversion.cc |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 1489 | src/core/lib/transport/status_metadata.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1490 | src/core/lib/transport/timeout_encoding.cc |
| 1491 | src/core/lib/transport/transport.cc |
| 1492 | src/core/lib/transport/transport_op_string.cc |
| 1493 | src/core/lib/debug/trace.cc |
| 1494 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc |
| 1495 | src/core/ext/transport/cronet/transport/cronet_api_dummy.cc |
| 1496 | src/core/ext/transport/cronet/transport/cronet_transport.cc |
| 1497 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc |
| 1498 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1499 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1500 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1501 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1502 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1503 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1504 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1505 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1506 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1507 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1508 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1509 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1510 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1511 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1512 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1513 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1514 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1515 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1516 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1517 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1518 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1519 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1520 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1521 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1522 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1523 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1524 | src/core/ext/filters/http/server/http_server_filter.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1525 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1526 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1527 | src/core/ext/filters/client_channel/client_channel.cc |
ncteisen | afb9829 | 2018-06-28 18:04:24 -0700 | [diff] [blame] | 1528 | src/core/ext/filters/client_channel/client_channel_channelz.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1529 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1530 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1531 | src/core/ext/filters/client_channel/connector.cc |
| 1532 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1533 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1534 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1535 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1536 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 1537 | src/core/ext/filters/client_channel/method_params.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1538 | src/core/ext/filters/client_channel/parse_address.cc |
| 1539 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1540 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1541 | src/core/ext/filters/client_channel/resolver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1542 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1543 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1544 | src/core/ext/filters/client_channel/subchannel.cc |
| 1545 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1546 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1547 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1548 | src/core/lib/http/httpcli_security_connector.cc |
| 1549 | src/core/lib/security/context/security_context.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1550 | src/core/lib/security/credentials/alts/alts_credentials.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1551 | src/core/lib/security/credentials/composite/composite_credentials.cc |
| 1552 | src/core/lib/security/credentials/credentials.cc |
| 1553 | src/core/lib/security/credentials/credentials_metadata.cc |
| 1554 | src/core/lib/security/credentials/fake/fake_credentials.cc |
| 1555 | src/core/lib/security/credentials/google_default/credentials_generic.cc |
| 1556 | src/core/lib/security/credentials/google_default/google_default_credentials.cc |
| 1557 | src/core/lib/security/credentials/iam/iam_credentials.cc |
| 1558 | src/core/lib/security/credentials/jwt/json_token.cc |
| 1559 | src/core/lib/security/credentials/jwt/jwt_credentials.cc |
| 1560 | src/core/lib/security/credentials/jwt/jwt_verifier.cc |
Yihua Zhang | c5f1eda | 2018-07-02 13:29:27 -0700 | [diff] [blame] | 1561 | src/core/lib/security/credentials/local/local_credentials.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1562 | src/core/lib/security/credentials/oauth2/oauth2_credentials.cc |
| 1563 | src/core/lib/security/credentials/plugin/plugin_credentials.cc |
| 1564 | src/core/lib/security/credentials/ssl/ssl_credentials.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1565 | src/core/lib/security/security_connector/alts_security_connector.cc |
Yihua Zhang | c5f1eda | 2018-07-02 13:29:27 -0700 | [diff] [blame] | 1566 | src/core/lib/security/security_connector/local_security_connector.cc |
Yihua Zhang | 75f0a9f | 2018-02-20 10:09:47 -0800 | [diff] [blame] | 1567 | src/core/lib/security/security_connector/security_connector.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1568 | src/core/lib/security/transport/client_auth_filter.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1569 | src/core/lib/security/transport/secure_endpoint.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1570 | src/core/lib/security/transport/security_handshaker.cc |
| 1571 | src/core/lib/security/transport/server_auth_filter.cc |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 1572 | src/core/lib/security/transport/target_authority_table.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1573 | src/core/lib/security/transport/tsi_error.cc |
| 1574 | src/core/lib/security/util/json_util.cc |
| 1575 | src/core/lib/surface/init_secure.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1576 | src/core/tsi/alts/crypt/aes_gcm.cc |
| 1577 | src/core/tsi/alts/crypt/gsec.cc |
| 1578 | src/core/tsi/alts/frame_protector/alts_counter.cc |
| 1579 | src/core/tsi/alts/frame_protector/alts_crypter.cc |
| 1580 | src/core/tsi/alts/frame_protector/alts_frame_protector.cc |
| 1581 | src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.cc |
| 1582 | src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc |
| 1583 | src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc |
| 1584 | src/core/tsi/alts/frame_protector/frame_handler.cc |
| 1585 | src/core/tsi/alts/handshaker/alts_handshaker_client.cc |
| 1586 | src/core/tsi/alts/handshaker/alts_tsi_event.cc |
| 1587 | src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc |
| 1588 | src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc |
| 1589 | src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc |
| 1590 | src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc |
| 1591 | src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc |
| 1592 | src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc |
| 1593 | src/core/lib/security/credentials/alts/check_gcp_environment.cc |
| 1594 | src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc |
| 1595 | src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc |
| 1596 | src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc |
| 1597 | src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc |
| 1598 | src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc |
| 1599 | src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc |
| 1600 | src/core/tsi/alts/handshaker/alts_handshaker_service_api.cc |
| 1601 | src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.cc |
| 1602 | src/core/tsi/alts/handshaker/alts_tsi_utils.cc |
| 1603 | src/core/tsi/alts/handshaker/transport_security_common_api.cc |
| 1604 | src/core/tsi/alts/handshaker/altscontext.pb.c |
| 1605 | src/core/tsi/alts/handshaker/handshaker.pb.c |
| 1606 | src/core/tsi/alts/handshaker/transport_security_common.pb.c |
| 1607 | third_party/nanopb/pb_common.c |
| 1608 | third_party/nanopb/pb_decode.c |
| 1609 | third_party/nanopb/pb_encode.c |
| 1610 | src/core/tsi/transport_security.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1611 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 1612 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
David Garcia Quintas | 49f625f | 2018-03-27 11:23:49 -0700 | [diff] [blame] | 1613 | src/core/ext/transport/chttp2/client/authority.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1614 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
Yihua Zhang | d36fe07 | 2018-01-23 10:40:45 -0800 | [diff] [blame] | 1615 | src/core/tsi/alts_transport_security.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1616 | src/core/tsi/fake_transport_security.cc |
Yihua Zhang | c5f1eda | 2018-07-02 13:29:27 -0700 | [diff] [blame] | 1617 | src/core/tsi/local_transport_security.cc |
Ruslan Nigmatullin | 99d0cee | 2018-03-20 09:18:29 -0700 | [diff] [blame] | 1618 | src/core/tsi/ssl/session_cache/ssl_session_boringssl.cc |
| 1619 | src/core/tsi/ssl/session_cache/ssl_session_cache.cc |
| 1620 | src/core/tsi/ssl/session_cache/ssl_session_openssl.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1621 | src/core/tsi/ssl_transport_security.cc |
| 1622 | src/core/tsi/transport_security_grpc.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 1623 | src/core/plugin_registry/grpc_cronet_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1624 | ) |
| 1625 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1626 | if(WIN32 AND MSVC) |
| 1627 | set_target_properties(grpc_cronet PROPERTIES COMPILE_PDB_NAME "grpc_cronet" |
| 1628 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1629 | ) |
| 1630 | if (gRPC_INSTALL) |
| 1631 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1632 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1633 | ) |
| 1634 | endif() |
| 1635 | endif() |
| 1636 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1637 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1638 | target_include_directories(grpc_cronet |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1639 | 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] | 1640 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1641 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 1642 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 1643 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 1644 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 1645 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 1646 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 1647 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 1648 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1649 | ) |
| 1650 | |
| 1651 | target_link_libraries(grpc_cronet |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1652 | ${_gRPC_BASELIB_LIBRARIES} |
| 1653 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 1654 | ${_gRPC_ZLIB_LIBRARIES} |
| 1655 | ${_gRPC_CARES_LIBRARIES} |
Alexander Polcyn | 690dde6 | 2017-10-18 00:20:33 -0700 | [diff] [blame] | 1656 | ${_gRPC_ADDRESS_SORTING_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1657 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1658 | gpr |
| 1659 | ) |
| 1660 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1661 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1662 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1663 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1664 | include/grpc/impl/codegen/compression_types.h |
| 1665 | include/grpc/impl/codegen/connectivity_state.h |
| 1666 | include/grpc/impl/codegen/grpc_types.h |
| 1667 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1668 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1669 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1670 | include/grpc/impl/codegen/atm.h |
| 1671 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1672 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1673 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1674 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1675 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1676 | include/grpc/impl/codegen/gpr_types.h |
ncteisen | 93a90e6 | 2018-06-18 18:39:56 -0700 | [diff] [blame] | 1677 | include/grpc/impl/codegen/log.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1678 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1679 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1680 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1681 | include/grpc/impl/codegen/sync_generic.h |
| 1682 | include/grpc/impl/codegen/sync_posix.h |
| 1683 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1684 | include/grpc/grpc_cronet.h |
| 1685 | include/grpc/grpc_security.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1686 | include/grpc/grpc_security_constants.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1687 | ) |
| 1688 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1689 | get_filename_component(_path ${_path} PATH) |
| 1690 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1691 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1692 | ) |
| 1693 | endforeach() |
| 1694 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1695 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1696 | if (gRPC_INSTALL) |
| 1697 | install(TARGETS grpc_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1698 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1699 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1700 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1701 | ) |
| 1702 | endif() |
| 1703 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1704 | if (gRPC_BUILD_TESTS) |
| 1705 | |
| 1706 | add_library(grpc_test_util |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1707 | test/core/end2end/data/client_certs.cc |
| 1708 | test/core/end2end/data/server1_cert.cc |
| 1709 | test/core/end2end/data/server1_key.cc |
| 1710 | test/core/end2end/data/test_root_cert.cc |
| 1711 | test/core/security/oauth2_utils.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1712 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1713 | test/core/end2end/cq_verifier.cc |
| 1714 | test/core/end2end/fixtures/http_proxy_fixture.cc |
| 1715 | test/core/end2end/fixtures/proxy.cc |
| 1716 | test/core/iomgr/endpoint_tests.cc |
Craig Tiller | 9222606 | 2017-10-08 21:16:12 -0700 | [diff] [blame] | 1717 | test/core/util/debugger_macros.cc |
Yihua Zhang | cc93663 | 2018-05-08 10:15:03 -0700 | [diff] [blame] | 1718 | test/core/util/fuzzer_util.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1719 | test/core/util/grpc_profiler.cc |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 1720 | test/core/util/histogram.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1721 | test/core/util/memory_counters.cc |
| 1722 | test/core/util/mock_endpoint.cc |
| 1723 | test/core/util/parse_hexstring.cc |
| 1724 | test/core/util/passthru_endpoint.cc |
| 1725 | test/core/util/port.cc |
Adele Zhou | 5b7cdef | 2017-11-29 16:25:17 -0800 | [diff] [blame] | 1726 | test/core/util/port_isolated_runtime_environment.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1727 | test/core/util/port_server_client.cc |
| 1728 | test/core/util/slice_splitter.cc |
Vijay Pai | 8a99fdb | 2018-01-25 15:38:20 -0800 | [diff] [blame] | 1729 | test/core/util/subprocess_posix.cc |
| 1730 | test/core/util/subprocess_windows.cc |
ncteisen | aa3b197 | 2017-11-17 15:56:27 -0800 | [diff] [blame] | 1731 | test/core/util/tracer_util.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1732 | test/core/util/trickle_endpoint.cc |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 1733 | test/core/util/cmdline.cc |
Vijay Pai | 8f4fbb1 | 2018-02-08 10:04:08 -0800 | [diff] [blame] | 1734 | src/core/lib/avl/avl.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1735 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1736 | src/core/lib/channel/channel_args.cc |
| 1737 | src/core/lib/channel/channel_stack.cc |
| 1738 | src/core/lib/channel/channel_stack_builder.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 1739 | src/core/lib/channel/channel_trace.cc |
ncteisen | c3c6e06 | 2018-05-09 11:10:21 -0700 | [diff] [blame] | 1740 | src/core/lib/channel/channelz.cc |
ncteisen | bba8840 | 2018-05-11 11:54:41 -0400 | [diff] [blame] | 1741 | src/core/lib/channel/channelz_registry.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1742 | src/core/lib/channel/connected_channel.cc |
| 1743 | src/core/lib/channel/handshaker.cc |
| 1744 | src/core/lib/channel/handshaker_factory.cc |
| 1745 | src/core/lib/channel/handshaker_registry.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 1746 | src/core/lib/channel/status_util.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1747 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 1748 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1749 | src/core/lib/compression/message_compress.cc |
| 1750 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1751 | src/core/lib/compression/stream_compression_gzip.cc |
| 1752 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1753 | src/core/lib/debug/stats.cc |
| 1754 | src/core/lib/debug/stats_data.cc |
| 1755 | src/core/lib/http/format_request.cc |
| 1756 | src/core/lib/http/httpcli.cc |
| 1757 | src/core/lib/http/parser.cc |
| 1758 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1759 | src/core/lib/iomgr/combiner.cc |
| 1760 | src/core/lib/iomgr/endpoint.cc |
| 1761 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1762 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1763 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1764 | src/core/lib/iomgr/error.cc |
| 1765 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1766 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1767 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1768 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1769 | src/core/lib/iomgr/ev_posix.cc |
| 1770 | src/core/lib/iomgr/ev_windows.cc |
| 1771 | src/core/lib/iomgr/exec_ctx.cc |
| 1772 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 1773 | src/core/lib/iomgr/fork_posix.cc |
| 1774 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1775 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1776 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1777 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1778 | src/core/lib/iomgr/iocp_windows.cc |
| 1779 | src/core/lib/iomgr/iomgr.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1780 | src/core/lib/iomgr/iomgr_custom.cc |
| 1781 | src/core/lib/iomgr/iomgr_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1782 | src/core/lib/iomgr/iomgr_posix.cc |
| 1783 | src/core/lib/iomgr/iomgr_uv.cc |
| 1784 | src/core/lib/iomgr/iomgr_windows.cc |
| 1785 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1786 | src/core/lib/iomgr/load_file.cc |
| 1787 | src/core/lib/iomgr/lockfree_event.cc |
| 1788 | src/core/lib/iomgr/network_status_tracker.cc |
| 1789 | src/core/lib/iomgr/polling_entity.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1790 | src/core/lib/iomgr/pollset.cc |
| 1791 | src/core/lib/iomgr/pollset_custom.cc |
| 1792 | src/core/lib/iomgr/pollset_set.cc |
| 1793 | src/core/lib/iomgr/pollset_set_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1794 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1795 | src/core/lib/iomgr/pollset_uv.cc |
| 1796 | src/core/lib/iomgr/pollset_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1797 | src/core/lib/iomgr/resolve_address.cc |
| 1798 | src/core/lib/iomgr/resolve_address_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1799 | src/core/lib/iomgr/resolve_address_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1800 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1801 | src/core/lib/iomgr/resource_quota.cc |
| 1802 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1803 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1804 | src/core/lib/iomgr/socket_mutator.cc |
| 1805 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1806 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1807 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1808 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1809 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1810 | src/core/lib/iomgr/socket_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1811 | src/core/lib/iomgr/tcp_client.cc |
| 1812 | src/core/lib/iomgr/tcp_client_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1813 | src/core/lib/iomgr/tcp_client_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1814 | src/core/lib/iomgr/tcp_client_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1815 | src/core/lib/iomgr/tcp_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1816 | src/core/lib/iomgr/tcp_posix.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1817 | src/core/lib/iomgr/tcp_server.cc |
| 1818 | src/core/lib/iomgr/tcp_server_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1819 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1820 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1821 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1822 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1823 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1824 | src/core/lib/iomgr/tcp_uv.cc |
| 1825 | src/core/lib/iomgr/tcp_windows.cc |
| 1826 | src/core/lib/iomgr/time_averaged_stats.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1827 | src/core/lib/iomgr/timer.cc |
| 1828 | src/core/lib/iomgr/timer_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1829 | src/core/lib/iomgr/timer_generic.cc |
| 1830 | src/core/lib/iomgr/timer_heap.cc |
| 1831 | src/core/lib/iomgr/timer_manager.cc |
| 1832 | src/core/lib/iomgr/timer_uv.cc |
| 1833 | src/core/lib/iomgr/udp_server.cc |
| 1834 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1835 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1836 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1837 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1838 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1839 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1840 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1841 | src/core/lib/json/json.cc |
| 1842 | src/core/lib/json/json_reader.cc |
| 1843 | src/core/lib/json/json_string.cc |
| 1844 | src/core/lib/json/json_writer.cc |
| 1845 | src/core/lib/slice/b64.cc |
| 1846 | src/core/lib/slice/percent_encoding.cc |
| 1847 | src/core/lib/slice/slice.cc |
| 1848 | src/core/lib/slice/slice_buffer.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1849 | src/core/lib/slice/slice_intern.cc |
| 1850 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1851 | src/core/lib/surface/api_trace.cc |
| 1852 | src/core/lib/surface/byte_buffer.cc |
| 1853 | src/core/lib/surface/byte_buffer_reader.cc |
| 1854 | src/core/lib/surface/call.cc |
| 1855 | src/core/lib/surface/call_details.cc |
| 1856 | src/core/lib/surface/call_log_batch.cc |
| 1857 | src/core/lib/surface/channel.cc |
| 1858 | src/core/lib/surface/channel_init.cc |
| 1859 | src/core/lib/surface/channel_ping.cc |
| 1860 | src/core/lib/surface/channel_stack_type.cc |
| 1861 | src/core/lib/surface/completion_queue.cc |
| 1862 | src/core/lib/surface/completion_queue_factory.cc |
| 1863 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1864 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1865 | src/core/lib/surface/metadata_array.cc |
| 1866 | src/core/lib/surface/server.cc |
| 1867 | src/core/lib/surface/validate_metadata.cc |
| 1868 | src/core/lib/surface/version.cc |
| 1869 | src/core/lib/transport/bdp_estimator.cc |
| 1870 | src/core/lib/transport/byte_stream.cc |
| 1871 | src/core/lib/transport/connectivity_state.cc |
| 1872 | src/core/lib/transport/error_utils.cc |
| 1873 | src/core/lib/transport/metadata.cc |
| 1874 | src/core/lib/transport/metadata_batch.cc |
| 1875 | src/core/lib/transport/pid_controller.cc |
| 1876 | src/core/lib/transport/service_config.cc |
| 1877 | src/core/lib/transport/static_metadata.cc |
| 1878 | src/core/lib/transport/status_conversion.cc |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 1879 | src/core/lib/transport/status_metadata.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1880 | src/core/lib/transport/timeout_encoding.cc |
| 1881 | src/core/lib/transport/transport.cc |
| 1882 | src/core/lib/transport/transport_op_string.cc |
| 1883 | src/core/lib/debug/trace.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1884 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1885 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1886 | src/core/ext/filters/client_channel/client_channel.cc |
ncteisen | afb9829 | 2018-06-28 18:04:24 -0700 | [diff] [blame] | 1887 | src/core/ext/filters/client_channel/client_channel_channelz.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1888 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1889 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1890 | src/core/ext/filters/client_channel/connector.cc |
| 1891 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1892 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1893 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1894 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1895 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 1896 | src/core/ext/filters/client_channel/method_params.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1897 | src/core/ext/filters/client_channel/parse_address.cc |
| 1898 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1899 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1900 | src/core/ext/filters/client_channel/resolver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1901 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1902 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1903 | src/core/ext/filters/client_channel/subchannel.cc |
| 1904 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1905 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1906 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1907 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1908 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1909 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1910 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1911 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1912 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1913 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1914 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1915 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1916 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1917 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1918 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1919 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1920 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1921 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1922 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1923 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1924 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1925 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1926 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1927 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1928 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1929 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1930 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1931 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1932 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1933 | src/core/ext/filters/http/server/http_server_filter.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1934 | ) |
| 1935 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1936 | if(WIN32 AND MSVC) |
| 1937 | set_target_properties(grpc_test_util PROPERTIES COMPILE_PDB_NAME "grpc_test_util" |
| 1938 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1939 | ) |
| 1940 | if (gRPC_INSTALL) |
| 1941 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1942 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1943 | ) |
| 1944 | endif() |
| 1945 | endif() |
| 1946 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1947 | |
| 1948 | target_include_directories(grpc_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1949 | 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] | 1950 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1951 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 1952 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 1953 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 1954 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 1955 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 1956 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 1957 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 1958 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1959 | ) |
| 1960 | |
| 1961 | target_link_libraries(grpc_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1962 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1963 | gpr_test_util |
| 1964 | gpr |
| 1965 | grpc |
| 1966 | ) |
| 1967 | |
| 1968 | foreach(_hdr |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 1969 | include/grpc/support/alloc.h |
| 1970 | include/grpc/support/atm.h |
| 1971 | include/grpc/support/atm_gcc_atomic.h |
| 1972 | include/grpc/support/atm_gcc_sync.h |
| 1973 | include/grpc/support/atm_windows.h |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 1974 | include/grpc/support/cpu.h |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 1975 | include/grpc/support/log.h |
| 1976 | include/grpc/support/log_windows.h |
| 1977 | include/grpc/support/port_platform.h |
| 1978 | include/grpc/support/string_util.h |
| 1979 | include/grpc/support/sync.h |
| 1980 | include/grpc/support/sync_custom.h |
| 1981 | include/grpc/support/sync_generic.h |
| 1982 | include/grpc/support/sync_posix.h |
| 1983 | include/grpc/support/sync_windows.h |
Vijay Pai | c745690 | 2018-02-12 10:28:24 -0800 | [diff] [blame] | 1984 | include/grpc/support/thd_id.h |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 1985 | include/grpc/support/time.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1986 | include/grpc/impl/codegen/atm.h |
| 1987 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1988 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1989 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1990 | include/grpc/impl/codegen/fork.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1991 | include/grpc/impl/codegen/gpr_slice.h |
| 1992 | include/grpc/impl/codegen/gpr_types.h |
ncteisen | 93a90e6 | 2018-06-18 18:39:56 -0700 | [diff] [blame] | 1993 | include/grpc/impl/codegen/log.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1994 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1995 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1996 | include/grpc/impl/codegen/sync_custom.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1997 | include/grpc/impl/codegen/sync_generic.h |
| 1998 | include/grpc/impl/codegen/sync_posix.h |
| 1999 | include/grpc/impl/codegen/sync_windows.h |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 2000 | include/grpc/impl/codegen/byte_buffer.h |
| 2001 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2002 | include/grpc/impl/codegen/compression_types.h |
| 2003 | include/grpc/impl/codegen/connectivity_state.h |
| 2004 | include/grpc/impl/codegen/grpc_types.h |
| 2005 | include/grpc/impl/codegen/propagation_bits.h |
| 2006 | include/grpc/impl/codegen/slice.h |
| 2007 | include/grpc/impl/codegen/status.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2008 | ) |
| 2009 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2010 | get_filename_component(_path ${_path} PATH) |
| 2011 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2012 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2013 | ) |
| 2014 | endforeach() |
| 2015 | |
| 2016 | endif (gRPC_BUILD_TESTS) |
| 2017 | if (gRPC_BUILD_TESTS) |
| 2018 | |
| 2019 | add_library(grpc_test_util_unsecure |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2020 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2021 | test/core/end2end/cq_verifier.cc |
| 2022 | test/core/end2end/fixtures/http_proxy_fixture.cc |
| 2023 | test/core/end2end/fixtures/proxy.cc |
| 2024 | test/core/iomgr/endpoint_tests.cc |
Craig Tiller | 9222606 | 2017-10-08 21:16:12 -0700 | [diff] [blame] | 2025 | test/core/util/debugger_macros.cc |
Yihua Zhang | cc93663 | 2018-05-08 10:15:03 -0700 | [diff] [blame] | 2026 | test/core/util/fuzzer_util.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2027 | test/core/util/grpc_profiler.cc |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 2028 | test/core/util/histogram.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2029 | test/core/util/memory_counters.cc |
| 2030 | test/core/util/mock_endpoint.cc |
| 2031 | test/core/util/parse_hexstring.cc |
| 2032 | test/core/util/passthru_endpoint.cc |
| 2033 | test/core/util/port.cc |
Adele Zhou | 5b7cdef | 2017-11-29 16:25:17 -0800 | [diff] [blame] | 2034 | test/core/util/port_isolated_runtime_environment.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2035 | test/core/util/port_server_client.cc |
| 2036 | test/core/util/slice_splitter.cc |
Vijay Pai | 8a99fdb | 2018-01-25 15:38:20 -0800 | [diff] [blame] | 2037 | test/core/util/subprocess_posix.cc |
| 2038 | test/core/util/subprocess_windows.cc |
ncteisen | aa3b197 | 2017-11-17 15:56:27 -0800 | [diff] [blame] | 2039 | test/core/util/tracer_util.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2040 | test/core/util/trickle_endpoint.cc |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 2041 | test/core/util/cmdline.cc |
Vijay Pai | 8f4fbb1 | 2018-02-08 10:04:08 -0800 | [diff] [blame] | 2042 | src/core/lib/avl/avl.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 2043 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2044 | src/core/lib/channel/channel_args.cc |
| 2045 | src/core/lib/channel/channel_stack.cc |
| 2046 | src/core/lib/channel/channel_stack_builder.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 2047 | src/core/lib/channel/channel_trace.cc |
ncteisen | c3c6e06 | 2018-05-09 11:10:21 -0700 | [diff] [blame] | 2048 | src/core/lib/channel/channelz.cc |
ncteisen | bba8840 | 2018-05-11 11:54:41 -0400 | [diff] [blame] | 2049 | src/core/lib/channel/channelz_registry.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2050 | src/core/lib/channel/connected_channel.cc |
| 2051 | src/core/lib/channel/handshaker.cc |
| 2052 | src/core/lib/channel/handshaker_factory.cc |
| 2053 | src/core/lib/channel/handshaker_registry.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 2054 | src/core/lib/channel/status_util.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2055 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 2056 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2057 | src/core/lib/compression/message_compress.cc |
| 2058 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 2059 | src/core/lib/compression/stream_compression_gzip.cc |
| 2060 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2061 | src/core/lib/debug/stats.cc |
| 2062 | src/core/lib/debug/stats_data.cc |
| 2063 | src/core/lib/http/format_request.cc |
| 2064 | src/core/lib/http/httpcli.cc |
| 2065 | src/core/lib/http/parser.cc |
| 2066 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2067 | src/core/lib/iomgr/combiner.cc |
| 2068 | src/core/lib/iomgr/endpoint.cc |
| 2069 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 2070 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 2071 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 2072 | src/core/lib/iomgr/error.cc |
| 2073 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 2074 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 2075 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 2076 | src/core/lib/iomgr/ev_poll_posix.cc |
| 2077 | src/core/lib/iomgr/ev_posix.cc |
| 2078 | src/core/lib/iomgr/ev_windows.cc |
| 2079 | src/core/lib/iomgr/exec_ctx.cc |
| 2080 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 2081 | src/core/lib/iomgr/fork_posix.cc |
| 2082 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2083 | src/core/lib/iomgr/gethostname_fallback.cc |
| 2084 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 2085 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 2086 | src/core/lib/iomgr/iocp_windows.cc |
| 2087 | src/core/lib/iomgr/iomgr.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2088 | src/core/lib/iomgr/iomgr_custom.cc |
| 2089 | src/core/lib/iomgr/iomgr_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2090 | src/core/lib/iomgr/iomgr_posix.cc |
| 2091 | src/core/lib/iomgr/iomgr_uv.cc |
| 2092 | src/core/lib/iomgr/iomgr_windows.cc |
| 2093 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 2094 | src/core/lib/iomgr/load_file.cc |
| 2095 | src/core/lib/iomgr/lockfree_event.cc |
| 2096 | src/core/lib/iomgr/network_status_tracker.cc |
| 2097 | src/core/lib/iomgr/polling_entity.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2098 | src/core/lib/iomgr/pollset.cc |
| 2099 | src/core/lib/iomgr/pollset_custom.cc |
| 2100 | src/core/lib/iomgr/pollset_set.cc |
| 2101 | src/core/lib/iomgr/pollset_set_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2102 | src/core/lib/iomgr/pollset_set_windows.cc |
| 2103 | src/core/lib/iomgr/pollset_uv.cc |
| 2104 | src/core/lib/iomgr/pollset_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2105 | src/core/lib/iomgr/resolve_address.cc |
| 2106 | src/core/lib/iomgr/resolve_address_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2107 | src/core/lib/iomgr/resolve_address_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2108 | src/core/lib/iomgr/resolve_address_windows.cc |
| 2109 | src/core/lib/iomgr/resource_quota.cc |
| 2110 | src/core/lib/iomgr/sockaddr_utils.cc |
| 2111 | src/core/lib/iomgr/socket_factory_posix.cc |
| 2112 | src/core/lib/iomgr/socket_mutator.cc |
| 2113 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 2114 | src/core/lib/iomgr/socket_utils_linux.cc |
| 2115 | src/core/lib/iomgr/socket_utils_posix.cc |
| 2116 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 2117 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2118 | src/core/lib/iomgr/socket_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2119 | src/core/lib/iomgr/tcp_client.cc |
| 2120 | src/core/lib/iomgr/tcp_client_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2121 | src/core/lib/iomgr/tcp_client_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2122 | src/core/lib/iomgr/tcp_client_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2123 | src/core/lib/iomgr/tcp_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2124 | src/core/lib/iomgr/tcp_posix.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2125 | src/core/lib/iomgr/tcp_server.cc |
| 2126 | src/core/lib/iomgr/tcp_server_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2127 | src/core/lib/iomgr/tcp_server_posix.cc |
| 2128 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 2129 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 2130 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2131 | src/core/lib/iomgr/tcp_server_windows.cc |
| 2132 | src/core/lib/iomgr/tcp_uv.cc |
| 2133 | src/core/lib/iomgr/tcp_windows.cc |
| 2134 | src/core/lib/iomgr/time_averaged_stats.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2135 | src/core/lib/iomgr/timer.cc |
| 2136 | src/core/lib/iomgr/timer_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2137 | src/core/lib/iomgr/timer_generic.cc |
| 2138 | src/core/lib/iomgr/timer_heap.cc |
| 2139 | src/core/lib/iomgr/timer_manager.cc |
| 2140 | src/core/lib/iomgr/timer_uv.cc |
| 2141 | src/core/lib/iomgr/udp_server.cc |
| 2142 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 2143 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 2144 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 2145 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 2146 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 2147 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 2148 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 2149 | src/core/lib/json/json.cc |
| 2150 | src/core/lib/json/json_reader.cc |
| 2151 | src/core/lib/json/json_string.cc |
| 2152 | src/core/lib/json/json_writer.cc |
| 2153 | src/core/lib/slice/b64.cc |
| 2154 | src/core/lib/slice/percent_encoding.cc |
| 2155 | src/core/lib/slice/slice.cc |
| 2156 | src/core/lib/slice/slice_buffer.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2157 | src/core/lib/slice/slice_intern.cc |
| 2158 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2159 | src/core/lib/surface/api_trace.cc |
| 2160 | src/core/lib/surface/byte_buffer.cc |
| 2161 | src/core/lib/surface/byte_buffer_reader.cc |
| 2162 | src/core/lib/surface/call.cc |
| 2163 | src/core/lib/surface/call_details.cc |
| 2164 | src/core/lib/surface/call_log_batch.cc |
| 2165 | src/core/lib/surface/channel.cc |
| 2166 | src/core/lib/surface/channel_init.cc |
| 2167 | src/core/lib/surface/channel_ping.cc |
| 2168 | src/core/lib/surface/channel_stack_type.cc |
| 2169 | src/core/lib/surface/completion_queue.cc |
| 2170 | src/core/lib/surface/completion_queue_factory.cc |
| 2171 | src/core/lib/surface/event_string.cc |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2172 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2173 | src/core/lib/surface/metadata_array.cc |
| 2174 | src/core/lib/surface/server.cc |
| 2175 | src/core/lib/surface/validate_metadata.cc |
| 2176 | src/core/lib/surface/version.cc |
| 2177 | src/core/lib/transport/bdp_estimator.cc |
| 2178 | src/core/lib/transport/byte_stream.cc |
| 2179 | src/core/lib/transport/connectivity_state.cc |
| 2180 | src/core/lib/transport/error_utils.cc |
| 2181 | src/core/lib/transport/metadata.cc |
| 2182 | src/core/lib/transport/metadata_batch.cc |
| 2183 | src/core/lib/transport/pid_controller.cc |
| 2184 | src/core/lib/transport/service_config.cc |
| 2185 | src/core/lib/transport/static_metadata.cc |
| 2186 | src/core/lib/transport/status_conversion.cc |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 2187 | src/core/lib/transport/status_metadata.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2188 | src/core/lib/transport/timeout_encoding.cc |
| 2189 | src/core/lib/transport/transport.cc |
| 2190 | src/core/lib/transport/transport_op_string.cc |
| 2191 | src/core/lib/debug/trace.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 2192 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2193 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 2194 | src/core/ext/filters/client_channel/client_channel.cc |
ncteisen | afb9829 | 2018-06-28 18:04:24 -0700 | [diff] [blame] | 2195 | src/core/ext/filters/client_channel/client_channel_channelz.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2196 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 2197 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 2198 | src/core/ext/filters/client_channel/connector.cc |
| 2199 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 2200 | src/core/ext/filters/client_channel/http_proxy.cc |
| 2201 | src/core/ext/filters/client_channel/lb_policy.cc |
| 2202 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 2203 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 2204 | src/core/ext/filters/client_channel/method_params.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2205 | src/core/ext/filters/client_channel/parse_address.cc |
| 2206 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 2207 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 2208 | src/core/ext/filters/client_channel/resolver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2209 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 2210 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 2211 | src/core/ext/filters/client_channel/subchannel.cc |
| 2212 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 2213 | src/core/ext/filters/client_channel/uri_parser.cc |
| 2214 | src/core/ext/filters/deadline/deadline_filter.cc |
| 2215 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 2216 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 2217 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 2218 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 2219 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 2220 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 2221 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 2222 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 2223 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 2224 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 2225 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 2226 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 2227 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 2228 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 2229 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 2230 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 2231 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 2232 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 2233 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 2234 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 2235 | src/core/ext/transport/chttp2/transport/varint.cc |
| 2236 | src/core/ext/transport/chttp2/transport/writing.cc |
| 2237 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 2238 | src/core/ext/filters/http/client/http_client_filter.cc |
| 2239 | src/core/ext/filters/http/http_filters_plugin.cc |
| 2240 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 2241 | src/core/ext/filters/http/server/http_server_filter.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2242 | ) |
| 2243 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2244 | if(WIN32 AND MSVC) |
| 2245 | set_target_properties(grpc_test_util_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_test_util_unsecure" |
| 2246 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2247 | ) |
| 2248 | if (gRPC_INSTALL) |
| 2249 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2250 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2251 | ) |
| 2252 | endif() |
| 2253 | endif() |
| 2254 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2255 | |
| 2256 | target_include_directories(grpc_test_util_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2257 | 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] | 2258 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2259 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2260 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2261 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2262 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2263 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2264 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 2265 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 2266 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2267 | ) |
| 2268 | |
| 2269 | target_link_libraries(grpc_test_util_unsecure |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2270 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2271 | gpr |
| 2272 | gpr_test_util |
| 2273 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2274 | ) |
| 2275 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2276 | foreach(_hdr |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 2277 | include/grpc/support/alloc.h |
| 2278 | include/grpc/support/atm.h |
| 2279 | include/grpc/support/atm_gcc_atomic.h |
| 2280 | include/grpc/support/atm_gcc_sync.h |
| 2281 | include/grpc/support/atm_windows.h |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 2282 | include/grpc/support/cpu.h |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 2283 | include/grpc/support/log.h |
| 2284 | include/grpc/support/log_windows.h |
| 2285 | include/grpc/support/port_platform.h |
| 2286 | include/grpc/support/string_util.h |
| 2287 | include/grpc/support/sync.h |
| 2288 | include/grpc/support/sync_custom.h |
| 2289 | include/grpc/support/sync_generic.h |
| 2290 | include/grpc/support/sync_posix.h |
| 2291 | include/grpc/support/sync_windows.h |
Vijay Pai | c745690 | 2018-02-12 10:28:24 -0800 | [diff] [blame] | 2292 | include/grpc/support/thd_id.h |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 2293 | include/grpc/support/time.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2294 | include/grpc/impl/codegen/atm.h |
| 2295 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2296 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2297 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2298 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2299 | include/grpc/impl/codegen/gpr_slice.h |
| 2300 | include/grpc/impl/codegen/gpr_types.h |
ncteisen | 93a90e6 | 2018-06-18 18:39:56 -0700 | [diff] [blame] | 2301 | include/grpc/impl/codegen/log.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2302 | include/grpc/impl/codegen/port_platform.h |
| 2303 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2304 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2305 | include/grpc/impl/codegen/sync_generic.h |
| 2306 | include/grpc/impl/codegen/sync_posix.h |
| 2307 | include/grpc/impl/codegen/sync_windows.h |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 2308 | include/grpc/impl/codegen/byte_buffer.h |
| 2309 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2310 | include/grpc/impl/codegen/compression_types.h |
| 2311 | include/grpc/impl/codegen/connectivity_state.h |
| 2312 | include/grpc/impl/codegen/grpc_types.h |
| 2313 | include/grpc/impl/codegen/propagation_bits.h |
| 2314 | include/grpc/impl/codegen/slice.h |
| 2315 | include/grpc/impl/codegen/status.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2316 | ) |
| 2317 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2318 | get_filename_component(_path ${_path} PATH) |
| 2319 | install(FILES ${_hdr} |
| 2320 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 2321 | ) |
| 2322 | endforeach() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2323 | |
| 2324 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2325 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2326 | add_library(grpc_unsecure |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2327 | src/core/lib/surface/init.cc |
| 2328 | src/core/lib/surface/init_unsecure.cc |
Vijay Pai | 8f4fbb1 | 2018-02-08 10:04:08 -0800 | [diff] [blame] | 2329 | src/core/lib/avl/avl.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 2330 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2331 | src/core/lib/channel/channel_args.cc |
| 2332 | src/core/lib/channel/channel_stack.cc |
| 2333 | src/core/lib/channel/channel_stack_builder.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 2334 | src/core/lib/channel/channel_trace.cc |
ncteisen | c3c6e06 | 2018-05-09 11:10:21 -0700 | [diff] [blame] | 2335 | src/core/lib/channel/channelz.cc |
ncteisen | bba8840 | 2018-05-11 11:54:41 -0400 | [diff] [blame] | 2336 | src/core/lib/channel/channelz_registry.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2337 | src/core/lib/channel/connected_channel.cc |
| 2338 | src/core/lib/channel/handshaker.cc |
| 2339 | src/core/lib/channel/handshaker_factory.cc |
| 2340 | src/core/lib/channel/handshaker_registry.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 2341 | src/core/lib/channel/status_util.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2342 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 2343 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2344 | src/core/lib/compression/message_compress.cc |
| 2345 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 2346 | src/core/lib/compression/stream_compression_gzip.cc |
| 2347 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2348 | src/core/lib/debug/stats.cc |
| 2349 | src/core/lib/debug/stats_data.cc |
| 2350 | src/core/lib/http/format_request.cc |
| 2351 | src/core/lib/http/httpcli.cc |
| 2352 | src/core/lib/http/parser.cc |
| 2353 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2354 | src/core/lib/iomgr/combiner.cc |
| 2355 | src/core/lib/iomgr/endpoint.cc |
| 2356 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 2357 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 2358 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 2359 | src/core/lib/iomgr/error.cc |
| 2360 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 2361 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 2362 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 2363 | src/core/lib/iomgr/ev_poll_posix.cc |
| 2364 | src/core/lib/iomgr/ev_posix.cc |
| 2365 | src/core/lib/iomgr/ev_windows.cc |
| 2366 | src/core/lib/iomgr/exec_ctx.cc |
| 2367 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 2368 | src/core/lib/iomgr/fork_posix.cc |
| 2369 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2370 | src/core/lib/iomgr/gethostname_fallback.cc |
| 2371 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 2372 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 2373 | src/core/lib/iomgr/iocp_windows.cc |
| 2374 | src/core/lib/iomgr/iomgr.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2375 | src/core/lib/iomgr/iomgr_custom.cc |
| 2376 | src/core/lib/iomgr/iomgr_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2377 | src/core/lib/iomgr/iomgr_posix.cc |
| 2378 | src/core/lib/iomgr/iomgr_uv.cc |
| 2379 | src/core/lib/iomgr/iomgr_windows.cc |
| 2380 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 2381 | src/core/lib/iomgr/load_file.cc |
| 2382 | src/core/lib/iomgr/lockfree_event.cc |
| 2383 | src/core/lib/iomgr/network_status_tracker.cc |
| 2384 | src/core/lib/iomgr/polling_entity.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2385 | src/core/lib/iomgr/pollset.cc |
| 2386 | src/core/lib/iomgr/pollset_custom.cc |
| 2387 | src/core/lib/iomgr/pollset_set.cc |
| 2388 | src/core/lib/iomgr/pollset_set_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2389 | src/core/lib/iomgr/pollset_set_windows.cc |
| 2390 | src/core/lib/iomgr/pollset_uv.cc |
| 2391 | src/core/lib/iomgr/pollset_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2392 | src/core/lib/iomgr/resolve_address.cc |
| 2393 | src/core/lib/iomgr/resolve_address_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2394 | src/core/lib/iomgr/resolve_address_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2395 | src/core/lib/iomgr/resolve_address_windows.cc |
| 2396 | src/core/lib/iomgr/resource_quota.cc |
| 2397 | src/core/lib/iomgr/sockaddr_utils.cc |
| 2398 | src/core/lib/iomgr/socket_factory_posix.cc |
| 2399 | src/core/lib/iomgr/socket_mutator.cc |
| 2400 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 2401 | src/core/lib/iomgr/socket_utils_linux.cc |
| 2402 | src/core/lib/iomgr/socket_utils_posix.cc |
| 2403 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 2404 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2405 | src/core/lib/iomgr/socket_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2406 | src/core/lib/iomgr/tcp_client.cc |
| 2407 | src/core/lib/iomgr/tcp_client_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2408 | src/core/lib/iomgr/tcp_client_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2409 | src/core/lib/iomgr/tcp_client_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2410 | src/core/lib/iomgr/tcp_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2411 | src/core/lib/iomgr/tcp_posix.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2412 | src/core/lib/iomgr/tcp_server.cc |
| 2413 | src/core/lib/iomgr/tcp_server_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2414 | src/core/lib/iomgr/tcp_server_posix.cc |
| 2415 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 2416 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 2417 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2418 | src/core/lib/iomgr/tcp_server_windows.cc |
| 2419 | src/core/lib/iomgr/tcp_uv.cc |
| 2420 | src/core/lib/iomgr/tcp_windows.cc |
| 2421 | src/core/lib/iomgr/time_averaged_stats.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2422 | src/core/lib/iomgr/timer.cc |
| 2423 | src/core/lib/iomgr/timer_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2424 | src/core/lib/iomgr/timer_generic.cc |
| 2425 | src/core/lib/iomgr/timer_heap.cc |
| 2426 | src/core/lib/iomgr/timer_manager.cc |
| 2427 | src/core/lib/iomgr/timer_uv.cc |
| 2428 | src/core/lib/iomgr/udp_server.cc |
| 2429 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 2430 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 2431 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 2432 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 2433 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 2434 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 2435 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 2436 | src/core/lib/json/json.cc |
| 2437 | src/core/lib/json/json_reader.cc |
| 2438 | src/core/lib/json/json_string.cc |
| 2439 | src/core/lib/json/json_writer.cc |
| 2440 | src/core/lib/slice/b64.cc |
| 2441 | src/core/lib/slice/percent_encoding.cc |
| 2442 | src/core/lib/slice/slice.cc |
| 2443 | src/core/lib/slice/slice_buffer.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2444 | src/core/lib/slice/slice_intern.cc |
| 2445 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2446 | src/core/lib/surface/api_trace.cc |
| 2447 | src/core/lib/surface/byte_buffer.cc |
| 2448 | src/core/lib/surface/byte_buffer_reader.cc |
| 2449 | src/core/lib/surface/call.cc |
| 2450 | src/core/lib/surface/call_details.cc |
| 2451 | src/core/lib/surface/call_log_batch.cc |
| 2452 | src/core/lib/surface/channel.cc |
| 2453 | src/core/lib/surface/channel_init.cc |
| 2454 | src/core/lib/surface/channel_ping.cc |
| 2455 | src/core/lib/surface/channel_stack_type.cc |
| 2456 | src/core/lib/surface/completion_queue.cc |
| 2457 | src/core/lib/surface/completion_queue_factory.cc |
| 2458 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 2459 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2460 | src/core/lib/surface/metadata_array.cc |
| 2461 | src/core/lib/surface/server.cc |
| 2462 | src/core/lib/surface/validate_metadata.cc |
| 2463 | src/core/lib/surface/version.cc |
| 2464 | src/core/lib/transport/bdp_estimator.cc |
| 2465 | src/core/lib/transport/byte_stream.cc |
| 2466 | src/core/lib/transport/connectivity_state.cc |
| 2467 | src/core/lib/transport/error_utils.cc |
| 2468 | src/core/lib/transport/metadata.cc |
| 2469 | src/core/lib/transport/metadata_batch.cc |
| 2470 | src/core/lib/transport/pid_controller.cc |
| 2471 | src/core/lib/transport/service_config.cc |
| 2472 | src/core/lib/transport/static_metadata.cc |
| 2473 | src/core/lib/transport/status_conversion.cc |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 2474 | src/core/lib/transport/status_metadata.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2475 | src/core/lib/transport/timeout_encoding.cc |
| 2476 | src/core/lib/transport/transport.cc |
| 2477 | src/core/lib/transport/transport_op_string.cc |
| 2478 | src/core/lib/debug/trace.cc |
| 2479 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 2480 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 2481 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 2482 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 2483 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 2484 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 2485 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 2486 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 2487 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 2488 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 2489 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 2490 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 2491 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 2492 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 2493 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 2494 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 2495 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 2496 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 2497 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 2498 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 2499 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 2500 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 2501 | src/core/ext/transport/chttp2/transport/varint.cc |
| 2502 | src/core/ext/transport/chttp2/transport/writing.cc |
| 2503 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 2504 | src/core/ext/filters/http/client/http_client_filter.cc |
| 2505 | src/core/ext/filters/http/http_filters_plugin.cc |
| 2506 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 2507 | src/core/ext/filters/http/server/http_server_filter.cc |
| 2508 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
| 2509 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 2510 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
David Garcia Quintas | 49f625f | 2018-03-27 11:23:49 -0700 | [diff] [blame] | 2511 | src/core/ext/transport/chttp2/client/authority.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2512 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 2513 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2514 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 2515 | src/core/ext/filters/client_channel/client_channel.cc |
ncteisen | afb9829 | 2018-06-28 18:04:24 -0700 | [diff] [blame] | 2516 | src/core/ext/filters/client_channel/client_channel_channelz.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2517 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 2518 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 2519 | src/core/ext/filters/client_channel/connector.cc |
| 2520 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 2521 | src/core/ext/filters/client_channel/http_proxy.cc |
| 2522 | src/core/ext/filters/client_channel/lb_policy.cc |
| 2523 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 2524 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 2525 | src/core/ext/filters/client_channel/method_params.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2526 | src/core/ext/filters/client_channel/parse_address.cc |
| 2527 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 2528 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 2529 | src/core/ext/filters/client_channel/resolver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2530 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 2531 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 2532 | src/core/ext/filters/client_channel/subchannel.cc |
| 2533 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 2534 | src/core/ext/filters/client_channel/uri_parser.cc |
| 2535 | src/core/ext/filters/deadline/deadline_filter.cc |
| 2536 | src/core/ext/transport/inproc/inproc_plugin.cc |
| 2537 | src/core/ext/transport/inproc/inproc_transport.cc |
| 2538 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc |
Alexander Polcyn | 7eda619 | 2018-06-14 23:07:33 -0700 | [diff] [blame] | 2539 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2540 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc |
| 2541 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc |
| 2542 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc |
| 2543 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc |
| 2544 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc |
| 2545 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2546 | src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc |
| 2547 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc |
| 2548 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc |
| 2549 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc |
| 2550 | src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc |
David Garcia Quintas | f3955ba | 2018-06-21 15:15:10 -0700 | [diff] [blame] | 2551 | src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.c |
| 2552 | src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2553 | 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] | 2554 | third_party/nanopb/pb_common.c |
| 2555 | third_party/nanopb/pb_decode.c |
| 2556 | third_party/nanopb/pb_encode.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2557 | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc |
| 2558 | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc |
Vizerai | 41e4ced | 2018-04-13 18:19:21 -0700 | [diff] [blame] | 2559 | src/cpp/ext/filters/census/grpc_context.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2560 | src/core/ext/filters/max_age/max_age_filter.cc |
| 2561 | src/core/ext/filters/message_size/message_size_filter.cc |
David Garcia Quintas | 961353a | 2018-03-15 16:11:05 -0700 | [diff] [blame] | 2562 | src/core/ext/filters/http/client_authority_filter.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2563 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc |
| 2564 | src/core/ext/filters/workarounds/workaround_utils.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 2565 | src/core/plugin_registry/grpc_unsecure_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2566 | ) |
| 2567 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2568 | if(WIN32 AND MSVC) |
| 2569 | set_target_properties(grpc_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_unsecure" |
| 2570 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2571 | ) |
| 2572 | if (gRPC_INSTALL) |
| 2573 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2574 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2575 | ) |
| 2576 | endif() |
| 2577 | endif() |
| 2578 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2579 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2580 | target_include_directories(grpc_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2581 | 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] | 2582 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2583 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2584 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2585 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2586 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2587 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2588 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 2589 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 2590 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2591 | ) |
| 2592 | |
| 2593 | target_link_libraries(grpc_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2594 | ${_gRPC_BASELIB_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 2595 | ${_gRPC_ZLIB_LIBRARIES} |
| 2596 | ${_gRPC_CARES_LIBRARIES} |
Alexander Polcyn | 690dde6 | 2017-10-18 00:20:33 -0700 | [diff] [blame] | 2597 | ${_gRPC_ADDRESS_SORTING_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2598 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2599 | gpr |
| 2600 | ) |
| 2601 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2602 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2603 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2604 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2605 | include/grpc/impl/codegen/compression_types.h |
| 2606 | include/grpc/impl/codegen/connectivity_state.h |
| 2607 | include/grpc/impl/codegen/grpc_types.h |
| 2608 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2609 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2610 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2611 | include/grpc/impl/codegen/atm.h |
| 2612 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2613 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2614 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2615 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2616 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 2617 | include/grpc/impl/codegen/gpr_types.h |
ncteisen | 93a90e6 | 2018-06-18 18:39:56 -0700 | [diff] [blame] | 2618 | include/grpc/impl/codegen/log.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2619 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2620 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2621 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2622 | include/grpc/impl/codegen/sync_generic.h |
| 2623 | include/grpc/impl/codegen/sync_posix.h |
| 2624 | include/grpc/impl/codegen/sync_windows.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2625 | include/grpc/byte_buffer.h |
| 2626 | include/grpc/byte_buffer_reader.h |
| 2627 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2628 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2629 | include/grpc/grpc.h |
| 2630 | include/grpc/grpc_posix.h |
| 2631 | include/grpc/grpc_security_constants.h |
| 2632 | include/grpc/load_reporting.h |
| 2633 | include/grpc/slice.h |
| 2634 | include/grpc/slice_buffer.h |
| 2635 | include/grpc/status.h |
| 2636 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2637 | include/grpc/census.h |
| 2638 | ) |
| 2639 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2640 | get_filename_component(_path ${_path} PATH) |
| 2641 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2642 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2643 | ) |
| 2644 | endforeach() |
| 2645 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2646 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2647 | if (gRPC_INSTALL) |
| 2648 | install(TARGETS grpc_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2649 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2650 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2651 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2652 | ) |
| 2653 | endif() |
| 2654 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2655 | if (gRPC_BUILD_TESTS) |
| 2656 | |
| 2657 | add_library(reconnect_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2658 | test/core/util/reconnect_server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2659 | ) |
| 2660 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2661 | if(WIN32 AND MSVC) |
| 2662 | set_target_properties(reconnect_server PROPERTIES COMPILE_PDB_NAME "reconnect_server" |
| 2663 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2664 | ) |
| 2665 | if (gRPC_INSTALL) |
| 2666 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/reconnect_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2667 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2668 | ) |
| 2669 | endif() |
| 2670 | endif() |
| 2671 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2672 | |
| 2673 | target_include_directories(reconnect_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2674 | 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] | 2675 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2676 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2677 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2678 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2679 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2680 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2681 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 2682 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 2683 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2684 | ) |
| 2685 | |
| 2686 | target_link_libraries(reconnect_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2687 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2688 | test_tcp_server |
| 2689 | grpc_test_util |
| 2690 | grpc |
| 2691 | gpr_test_util |
| 2692 | gpr |
| 2693 | ) |
| 2694 | |
| 2695 | |
| 2696 | endif (gRPC_BUILD_TESTS) |
| 2697 | if (gRPC_BUILD_TESTS) |
| 2698 | |
| 2699 | add_library(test_tcp_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2700 | test/core/util/test_tcp_server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2701 | ) |
| 2702 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2703 | if(WIN32 AND MSVC) |
| 2704 | set_target_properties(test_tcp_server PROPERTIES COMPILE_PDB_NAME "test_tcp_server" |
| 2705 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2706 | ) |
| 2707 | if (gRPC_INSTALL) |
| 2708 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/test_tcp_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2709 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2710 | ) |
| 2711 | endif() |
| 2712 | endif() |
| 2713 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2714 | |
| 2715 | target_include_directories(test_tcp_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2716 | 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] | 2717 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2718 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2719 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2720 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2721 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2722 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2723 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 2724 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 2725 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2726 | ) |
| 2727 | |
| 2728 | target_link_libraries(test_tcp_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2729 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2730 | grpc_test_util |
| 2731 | grpc |
| 2732 | gpr_test_util |
| 2733 | gpr |
| 2734 | ) |
| 2735 | |
| 2736 | |
| 2737 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2738 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2739 | add_library(grpc++ |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2740 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2741 | src/cpp/client/secure_credentials.cc |
| 2742 | src/cpp/common/auth_property_iterator.cc |
| 2743 | src/cpp/common/secure_auth_context.cc |
| 2744 | src/cpp/common/secure_channel_arguments.cc |
| 2745 | src/cpp/common/secure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2746 | src/cpp/server/insecure_server_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2747 | src/cpp/server/secure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2748 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2749 | src/cpp/client/client_context.cc |
| 2750 | src/cpp/client/create_channel.cc |
| 2751 | src/cpp/client/create_channel_internal.cc |
| 2752 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2753 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2754 | src/cpp/client/generic_stub.cc |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 2755 | src/cpp/common/alarm.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2756 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 2757 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2758 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2759 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2760 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2761 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2762 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2763 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2764 | src/cpp/server/channel_argument_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2765 | src/cpp/server/create_default_thread_pool.cc |
| 2766 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2767 | src/cpp/server/health/default_health_check_service.cc |
| 2768 | src/cpp/server/health/health.pb.c |
| 2769 | src/cpp/server/health/health_check_service.cc |
| 2770 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2771 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2772 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2773 | src/cpp/server/server_context.cc |
| 2774 | src/cpp/server/server_credentials.cc |
| 2775 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 2776 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2777 | src/cpp/util/byte_buffer_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2778 | src/cpp/util/status.cc |
| 2779 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2780 | src/cpp/util/time_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2781 | src/cpp/codegen/codegen_init.cc |
| 2782 | ) |
| 2783 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2784 | if(WIN32 AND MSVC) |
| 2785 | set_target_properties(grpc++ PROPERTIES COMPILE_PDB_NAME "grpc++" |
| 2786 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2787 | ) |
| 2788 | if (gRPC_INSTALL) |
| 2789 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2790 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2791 | ) |
| 2792 | endif() |
| 2793 | endif() |
| 2794 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2795 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2796 | target_include_directories(grpc++ |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2797 | 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] | 2798 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2799 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2800 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2801 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2802 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2803 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2804 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 2805 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 2806 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2807 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2808 | ) |
| 2809 | |
| 2810 | target_link_libraries(grpc++ |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2811 | ${_gRPC_BASELIB_LIBRARIES} |
| 2812 | ${_gRPC_SSL_LIBRARIES} |
| 2813 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2814 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2815 | grpc |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2816 | gpr |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2817 | ) |
| 2818 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2819 | foreach(_hdr |
| 2820 | include/grpc++/alarm.h |
| 2821 | include/grpc++/channel.h |
| 2822 | include/grpc++/client_context.h |
| 2823 | include/grpc++/completion_queue.h |
| 2824 | include/grpc++/create_channel.h |
| 2825 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2826 | include/grpc++/ext/health_check_service_server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2827 | include/grpc++/generic/async_generic_service.h |
| 2828 | include/grpc++/generic/generic_stub.h |
| 2829 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2830 | include/grpc++/health_check_service_interface.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2831 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2832 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2833 | include/grpc++/impl/client_unary_call.h |
| 2834 | include/grpc++/impl/codegen/core_codegen.h |
| 2835 | include/grpc++/impl/grpc_library.h |
| 2836 | include/grpc++/impl/method_handler_impl.h |
| 2837 | include/grpc++/impl/rpc_method.h |
| 2838 | include/grpc++/impl/rpc_service_method.h |
| 2839 | include/grpc++/impl/serialization_traits.h |
| 2840 | include/grpc++/impl/server_builder_option.h |
| 2841 | include/grpc++/impl/server_builder_plugin.h |
| 2842 | include/grpc++/impl/server_initializer.h |
| 2843 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2844 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2845 | include/grpc++/security/auth_context.h |
| 2846 | include/grpc++/security/auth_metadata_processor.h |
| 2847 | include/grpc++/security/credentials.h |
| 2848 | include/grpc++/security/server_credentials.h |
| 2849 | include/grpc++/server.h |
| 2850 | include/grpc++/server_builder.h |
| 2851 | include/grpc++/server_context.h |
| 2852 | include/grpc++/server_posix.h |
| 2853 | include/grpc++/support/async_stream.h |
| 2854 | include/grpc++/support/async_unary_call.h |
| 2855 | include/grpc++/support/byte_buffer.h |
| 2856 | include/grpc++/support/channel_arguments.h |
| 2857 | include/grpc++/support/config.h |
| 2858 | include/grpc++/support/slice.h |
| 2859 | include/grpc++/support/status.h |
| 2860 | include/grpc++/support/status_code_enum.h |
| 2861 | include/grpc++/support/string_ref.h |
| 2862 | include/grpc++/support/stub_options.h |
| 2863 | include/grpc++/support/sync_stream.h |
| 2864 | include/grpc++/support/time.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 2865 | include/grpcpp/alarm.h |
| 2866 | include/grpcpp/channel.h |
| 2867 | include/grpcpp/client_context.h |
| 2868 | include/grpcpp/completion_queue.h |
| 2869 | include/grpcpp/create_channel.h |
| 2870 | include/grpcpp/create_channel_posix.h |
| 2871 | include/grpcpp/ext/health_check_service_server_builder_option.h |
| 2872 | include/grpcpp/generic/async_generic_service.h |
| 2873 | include/grpcpp/generic/generic_stub.h |
| 2874 | include/grpcpp/grpcpp.h |
| 2875 | include/grpcpp/health_check_service_interface.h |
| 2876 | include/grpcpp/impl/call.h |
| 2877 | include/grpcpp/impl/channel_argument_option.h |
| 2878 | include/grpcpp/impl/client_unary_call.h |
| 2879 | include/grpcpp/impl/codegen/core_codegen.h |
| 2880 | include/grpcpp/impl/grpc_library.h |
| 2881 | include/grpcpp/impl/method_handler_impl.h |
| 2882 | include/grpcpp/impl/rpc_method.h |
| 2883 | include/grpcpp/impl/rpc_service_method.h |
| 2884 | include/grpcpp/impl/serialization_traits.h |
| 2885 | include/grpcpp/impl/server_builder_option.h |
| 2886 | include/grpcpp/impl/server_builder_plugin.h |
| 2887 | include/grpcpp/impl/server_initializer.h |
| 2888 | include/grpcpp/impl/service_type.h |
| 2889 | include/grpcpp/resource_quota.h |
| 2890 | include/grpcpp/security/auth_context.h |
| 2891 | include/grpcpp/security/auth_metadata_processor.h |
| 2892 | include/grpcpp/security/credentials.h |
| 2893 | include/grpcpp/security/server_credentials.h |
| 2894 | include/grpcpp/server.h |
| 2895 | include/grpcpp/server_builder.h |
| 2896 | include/grpcpp/server_context.h |
| 2897 | include/grpcpp/server_posix.h |
| 2898 | include/grpcpp/support/async_stream.h |
| 2899 | include/grpcpp/support/async_unary_call.h |
| 2900 | include/grpcpp/support/byte_buffer.h |
| 2901 | include/grpcpp/support/channel_arguments.h |
| 2902 | include/grpcpp/support/config.h |
ncteisen | cf5b266 | 2018-02-27 11:55:10 -0800 | [diff] [blame] | 2903 | include/grpcpp/support/proto_buffer_reader.h |
| 2904 | include/grpcpp/support/proto_buffer_writer.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 2905 | include/grpcpp/support/slice.h |
| 2906 | include/grpcpp/support/status.h |
| 2907 | include/grpcpp/support/status_code_enum.h |
| 2908 | include/grpcpp/support/string_ref.h |
| 2909 | include/grpcpp/support/stub_options.h |
| 2910 | include/grpcpp/support/sync_stream.h |
| 2911 | include/grpcpp/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2912 | include/grpc/support/alloc.h |
| 2913 | include/grpc/support/atm.h |
| 2914 | include/grpc/support/atm_gcc_atomic.h |
| 2915 | include/grpc/support/atm_gcc_sync.h |
| 2916 | include/grpc/support/atm_windows.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2917 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2918 | include/grpc/support/log.h |
| 2919 | include/grpc/support/log_windows.h |
| 2920 | include/grpc/support/port_platform.h |
| 2921 | include/grpc/support/string_util.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2922 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2923 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2924 | include/grpc/support/sync_generic.h |
| 2925 | include/grpc/support/sync_posix.h |
| 2926 | include/grpc/support/sync_windows.h |
Vijay Pai | c745690 | 2018-02-12 10:28:24 -0800 | [diff] [blame] | 2927 | include/grpc/support/thd_id.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2928 | include/grpc/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2929 | include/grpc/impl/codegen/atm.h |
| 2930 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2931 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2932 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2933 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2934 | include/grpc/impl/codegen/gpr_slice.h |
| 2935 | include/grpc/impl/codegen/gpr_types.h |
ncteisen | 93a90e6 | 2018-06-18 18:39:56 -0700 | [diff] [blame] | 2936 | include/grpc/impl/codegen/log.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2937 | include/grpc/impl/codegen/port_platform.h |
| 2938 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2939 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2940 | include/grpc/impl/codegen/sync_generic.h |
| 2941 | include/grpc/impl/codegen/sync_posix.h |
| 2942 | include/grpc/impl/codegen/sync_windows.h |
| 2943 | include/grpc/byte_buffer.h |
| 2944 | include/grpc/byte_buffer_reader.h |
| 2945 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2946 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2947 | include/grpc/grpc.h |
| 2948 | include/grpc/grpc_posix.h |
| 2949 | include/grpc/grpc_security_constants.h |
| 2950 | include/grpc/load_reporting.h |
| 2951 | include/grpc/slice.h |
| 2952 | include/grpc/slice_buffer.h |
| 2953 | include/grpc/status.h |
| 2954 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2955 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2956 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2957 | include/grpc/impl/codegen/compression_types.h |
| 2958 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2959 | include/grpc/impl/codegen/grpc_types.h |
| 2960 | include/grpc/impl/codegen/propagation_bits.h |
| 2961 | include/grpc/impl/codegen/slice.h |
| 2962 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2963 | include/grpc++/impl/codegen/async_stream.h |
| 2964 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2965 | include/grpc++/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2966 | include/grpc++/impl/codegen/call.h |
| 2967 | include/grpc++/impl/codegen/call_hook.h |
| 2968 | include/grpc++/impl/codegen/channel_interface.h |
| 2969 | include/grpc++/impl/codegen/client_context.h |
| 2970 | include/grpc++/impl/codegen/client_unary_call.h |
| 2971 | include/grpc++/impl/codegen/completion_queue.h |
| 2972 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2973 | include/grpc++/impl/codegen/config.h |
| 2974 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2975 | include/grpc++/impl/codegen/create_auth_context.h |
| 2976 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 2977 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2978 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2979 | include/grpc++/impl/codegen/rpc_method.h |
| 2980 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2981 | include/grpc++/impl/codegen/security/auth_context.h |
| 2982 | include/grpc++/impl/codegen/serialization_traits.h |
| 2983 | include/grpc++/impl/codegen/server_context.h |
| 2984 | include/grpc++/impl/codegen/server_interface.h |
| 2985 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2986 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2987 | include/grpc++/impl/codegen/status.h |
| 2988 | include/grpc++/impl/codegen/status_code_enum.h |
| 2989 | include/grpc++/impl/codegen/string_ref.h |
| 2990 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2991 | include/grpc++/impl/codegen/sync_stream.h |
| 2992 | include/grpc++/impl/codegen/time.h |
ncteisen | 93a90e6 | 2018-06-18 18:39:56 -0700 | [diff] [blame] | 2993 | include/grpcpp/impl/codegen/async_generic_service.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 2994 | include/grpcpp/impl/codegen/async_stream.h |
| 2995 | include/grpcpp/impl/codegen/async_unary_call.h |
| 2996 | include/grpcpp/impl/codegen/byte_buffer.h |
| 2997 | include/grpcpp/impl/codegen/call.h |
| 2998 | include/grpcpp/impl/codegen/call_hook.h |
| 2999 | include/grpcpp/impl/codegen/channel_interface.h |
| 3000 | include/grpcpp/impl/codegen/client_context.h |
| 3001 | include/grpcpp/impl/codegen/client_unary_call.h |
| 3002 | include/grpcpp/impl/codegen/completion_queue.h |
| 3003 | include/grpcpp/impl/codegen/completion_queue_tag.h |
| 3004 | include/grpcpp/impl/codegen/config.h |
| 3005 | include/grpcpp/impl/codegen/core_codegen_interface.h |
| 3006 | include/grpcpp/impl/codegen/create_auth_context.h |
| 3007 | include/grpcpp/impl/codegen/grpc_library.h |
| 3008 | include/grpcpp/impl/codegen/metadata_map.h |
| 3009 | include/grpcpp/impl/codegen/method_handler_impl.h |
| 3010 | include/grpcpp/impl/codegen/rpc_method.h |
| 3011 | include/grpcpp/impl/codegen/rpc_service_method.h |
| 3012 | include/grpcpp/impl/codegen/security/auth_context.h |
| 3013 | include/grpcpp/impl/codegen/serialization_traits.h |
| 3014 | include/grpcpp/impl/codegen/server_context.h |
| 3015 | include/grpcpp/impl/codegen/server_interface.h |
| 3016 | include/grpcpp/impl/codegen/service_type.h |
| 3017 | include/grpcpp/impl/codegen/slice.h |
| 3018 | include/grpcpp/impl/codegen/status.h |
| 3019 | include/grpcpp/impl/codegen/status_code_enum.h |
| 3020 | include/grpcpp/impl/codegen/string_ref.h |
| 3021 | include/grpcpp/impl/codegen/stub_options.h |
| 3022 | include/grpcpp/impl/codegen/sync_stream.h |
| 3023 | include/grpcpp/impl/codegen/time.h |
Piotr Pietraszkiewicz | a5fac1f | 2017-02-09 11:15:44 +0100 | [diff] [blame] | 3024 | include/grpc++/impl/codegen/proto_utils.h |
ncteisen | cf5b266 | 2018-02-27 11:55:10 -0800 | [diff] [blame] | 3025 | include/grpcpp/impl/codegen/proto_buffer_reader.h |
| 3026 | include/grpcpp/impl/codegen/proto_buffer_writer.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 3027 | include/grpcpp/impl/codegen/proto_utils.h |
Piotr Pietraszkiewicz | a5fac1f | 2017-02-09 11:15:44 +0100 | [diff] [blame] | 3028 | include/grpc++/impl/codegen/config_protobuf.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 3029 | include/grpcpp/impl/codegen/config_protobuf.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3030 | ) |
| 3031 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3032 | get_filename_component(_path ${_path} PATH) |
| 3033 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3034 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3035 | ) |
| 3036 | endforeach() |
| 3037 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3038 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3039 | if (gRPC_INSTALL) |
| 3040 | install(TARGETS grpc++ EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3041 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3042 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3043 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3044 | ) |
| 3045 | endif() |
| 3046 | |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 3047 | if (gRPC_BUILD_TESTS) |
| 3048 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 3049 | if (gRPC_BUILD_CODEGEN) |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 3050 | add_library(grpc++_core_stats |
| 3051 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.pb.cc |
| 3052 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.grpc.pb.cc |
| 3053 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.pb.h |
| 3054 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.grpc.pb.h |
| 3055 | src/cpp/util/core_stats.cc |
| 3056 | ) |
| 3057 | |
| 3058 | if(WIN32 AND MSVC) |
| 3059 | set_target_properties(grpc++_core_stats PROPERTIES COMPILE_PDB_NAME "grpc++_core_stats" |
| 3060 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3061 | ) |
| 3062 | if (gRPC_INSTALL) |
| 3063 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_core_stats.pdb |
| 3064 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 3065 | ) |
| 3066 | endif() |
| 3067 | endif() |
| 3068 | |
| 3069 | protobuf_generate_grpc_cpp( |
| 3070 | src/proto/grpc/core/stats.proto |
| 3071 | ) |
| 3072 | |
| 3073 | target_include_directories(grpc++_core_stats |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3074 | 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] | 3075 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3076 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3077 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3078 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3079 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3080 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3081 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 3082 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 3083 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 3084 | PRIVATE third_party/googletest/googletest/include |
| 3085 | PRIVATE third_party/googletest/googletest |
| 3086 | PRIVATE third_party/googletest/googlemock/include |
| 3087 | PRIVATE third_party/googletest/googlemock |
| 3088 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3089 | ) |
| 3090 | |
| 3091 | target_link_libraries(grpc++_core_stats |
| 3092 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3093 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3094 | grpc++ |
| 3095 | ) |
| 3096 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 3097 | endif (gRPC_BUILD_CODEGEN) |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 3098 | |
| 3099 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3100 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3101 | add_library(grpc++_cronet |
| 3102 | src/cpp/client/cronet_credentials.cc |
| 3103 | src/cpp/client/insecure_credentials.cc |
| 3104 | src/cpp/common/insecure_create_auth_context.cc |
| 3105 | src/cpp/server/insecure_server_credentials.cc |
| 3106 | src/cpp/client/channel_cc.cc |
| 3107 | src/cpp/client/client_context.cc |
| 3108 | src/cpp/client/create_channel.cc |
| 3109 | src/cpp/client/create_channel_internal.cc |
| 3110 | src/cpp/client/create_channel_posix.cc |
| 3111 | src/cpp/client/credentials_cc.cc |
| 3112 | src/cpp/client/generic_stub.cc |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 3113 | src/cpp/common/alarm.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3114 | src/cpp/common/channel_arguments.cc |
| 3115 | src/cpp/common/channel_filter.cc |
| 3116 | src/cpp/common/completion_queue_cc.cc |
| 3117 | src/cpp/common/core_codegen.cc |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 3118 | src/cpp/common/resource_quota_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3119 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 3120 | src/cpp/common/version_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3121 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 3122 | src/cpp/server/channel_argument_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3123 | src/cpp/server/create_default_thread_pool.cc |
| 3124 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 3125 | src/cpp/server/health/default_health_check_service.cc |
| 3126 | src/cpp/server/health/health.pb.c |
| 3127 | src/cpp/server/health/health_check_service.cc |
| 3128 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3129 | src/cpp/server/server_builder.cc |
| 3130 | src/cpp/server/server_cc.cc |
| 3131 | src/cpp/server/server_context.cc |
| 3132 | src/cpp/server/server_credentials.cc |
| 3133 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 33d5494 | 2016-10-25 10:03:52 -0700 | [diff] [blame] | 3134 | src/cpp/thread_manager/thread_manager.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3135 | src/cpp/util/byte_buffer_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3136 | src/cpp/util/status.cc |
| 3137 | src/cpp/util/string_ref.cc |
| 3138 | src/cpp/util/time_cc.cc |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 3139 | src/cpp/codegen/codegen_init.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3140 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 3141 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
David Garcia Quintas | 49f625f | 2018-03-27 11:23:49 -0700 | [diff] [blame] | 3142 | src/core/ext/transport/chttp2/client/authority.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3143 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 3144 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 3145 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 3146 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 3147 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 3148 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 3149 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 3150 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 3151 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 3152 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 3153 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 3154 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 3155 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 3156 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 3157 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 3158 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 3159 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 3160 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 3161 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 3162 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 3163 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 3164 | src/core/ext/transport/chttp2/transport/varint.cc |
| 3165 | src/core/ext/transport/chttp2/transport/writing.cc |
Vijay Pai | 8f4fbb1 | 2018-02-08 10:04:08 -0800 | [diff] [blame] | 3166 | src/core/lib/avl/avl.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 3167 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3168 | src/core/lib/channel/channel_args.cc |
| 3169 | src/core/lib/channel/channel_stack.cc |
| 3170 | src/core/lib/channel/channel_stack_builder.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 3171 | src/core/lib/channel/channel_trace.cc |
ncteisen | c3c6e06 | 2018-05-09 11:10:21 -0700 | [diff] [blame] | 3172 | src/core/lib/channel/channelz.cc |
ncteisen | bba8840 | 2018-05-11 11:54:41 -0400 | [diff] [blame] | 3173 | src/core/lib/channel/channelz_registry.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3174 | src/core/lib/channel/connected_channel.cc |
| 3175 | src/core/lib/channel/handshaker.cc |
| 3176 | src/core/lib/channel/handshaker_factory.cc |
| 3177 | src/core/lib/channel/handshaker_registry.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 3178 | src/core/lib/channel/status_util.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3179 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 3180 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3181 | src/core/lib/compression/message_compress.cc |
| 3182 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 3183 | src/core/lib/compression/stream_compression_gzip.cc |
| 3184 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3185 | src/core/lib/debug/stats.cc |
| 3186 | src/core/lib/debug/stats_data.cc |
| 3187 | src/core/lib/http/format_request.cc |
| 3188 | src/core/lib/http/httpcli.cc |
| 3189 | src/core/lib/http/parser.cc |
| 3190 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3191 | src/core/lib/iomgr/combiner.cc |
| 3192 | src/core/lib/iomgr/endpoint.cc |
| 3193 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 3194 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 3195 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 3196 | src/core/lib/iomgr/error.cc |
| 3197 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 3198 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 3199 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 3200 | src/core/lib/iomgr/ev_poll_posix.cc |
| 3201 | src/core/lib/iomgr/ev_posix.cc |
| 3202 | src/core/lib/iomgr/ev_windows.cc |
| 3203 | src/core/lib/iomgr/exec_ctx.cc |
| 3204 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 3205 | src/core/lib/iomgr/fork_posix.cc |
| 3206 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3207 | src/core/lib/iomgr/gethostname_fallback.cc |
| 3208 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 3209 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 3210 | src/core/lib/iomgr/iocp_windows.cc |
| 3211 | src/core/lib/iomgr/iomgr.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 3212 | src/core/lib/iomgr/iomgr_custom.cc |
| 3213 | src/core/lib/iomgr/iomgr_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3214 | src/core/lib/iomgr/iomgr_posix.cc |
| 3215 | src/core/lib/iomgr/iomgr_uv.cc |
| 3216 | src/core/lib/iomgr/iomgr_windows.cc |
| 3217 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 3218 | src/core/lib/iomgr/load_file.cc |
| 3219 | src/core/lib/iomgr/lockfree_event.cc |
| 3220 | src/core/lib/iomgr/network_status_tracker.cc |
| 3221 | src/core/lib/iomgr/polling_entity.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 3222 | src/core/lib/iomgr/pollset.cc |
| 3223 | src/core/lib/iomgr/pollset_custom.cc |
| 3224 | src/core/lib/iomgr/pollset_set.cc |
| 3225 | src/core/lib/iomgr/pollset_set_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3226 | src/core/lib/iomgr/pollset_set_windows.cc |
| 3227 | src/core/lib/iomgr/pollset_uv.cc |
| 3228 | src/core/lib/iomgr/pollset_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 3229 | src/core/lib/iomgr/resolve_address.cc |
| 3230 | src/core/lib/iomgr/resolve_address_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3231 | src/core/lib/iomgr/resolve_address_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3232 | src/core/lib/iomgr/resolve_address_windows.cc |
| 3233 | src/core/lib/iomgr/resource_quota.cc |
| 3234 | src/core/lib/iomgr/sockaddr_utils.cc |
| 3235 | src/core/lib/iomgr/socket_factory_posix.cc |
| 3236 | src/core/lib/iomgr/socket_mutator.cc |
| 3237 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 3238 | src/core/lib/iomgr/socket_utils_linux.cc |
| 3239 | src/core/lib/iomgr/socket_utils_posix.cc |
| 3240 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 3241 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3242 | src/core/lib/iomgr/socket_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 3243 | src/core/lib/iomgr/tcp_client.cc |
| 3244 | src/core/lib/iomgr/tcp_client_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3245 | src/core/lib/iomgr/tcp_client_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3246 | src/core/lib/iomgr/tcp_client_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 3247 | src/core/lib/iomgr/tcp_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3248 | src/core/lib/iomgr/tcp_posix.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 3249 | src/core/lib/iomgr/tcp_server.cc |
| 3250 | src/core/lib/iomgr/tcp_server_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3251 | src/core/lib/iomgr/tcp_server_posix.cc |
| 3252 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 3253 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 3254 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3255 | src/core/lib/iomgr/tcp_server_windows.cc |
| 3256 | src/core/lib/iomgr/tcp_uv.cc |
| 3257 | src/core/lib/iomgr/tcp_windows.cc |
| 3258 | src/core/lib/iomgr/time_averaged_stats.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 3259 | src/core/lib/iomgr/timer.cc |
| 3260 | src/core/lib/iomgr/timer_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3261 | src/core/lib/iomgr/timer_generic.cc |
| 3262 | src/core/lib/iomgr/timer_heap.cc |
| 3263 | src/core/lib/iomgr/timer_manager.cc |
| 3264 | src/core/lib/iomgr/timer_uv.cc |
| 3265 | src/core/lib/iomgr/udp_server.cc |
| 3266 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 3267 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 3268 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 3269 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 3270 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 3271 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 3272 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 3273 | src/core/lib/json/json.cc |
| 3274 | src/core/lib/json/json_reader.cc |
| 3275 | src/core/lib/json/json_string.cc |
| 3276 | src/core/lib/json/json_writer.cc |
| 3277 | src/core/lib/slice/b64.cc |
| 3278 | src/core/lib/slice/percent_encoding.cc |
| 3279 | src/core/lib/slice/slice.cc |
| 3280 | src/core/lib/slice/slice_buffer.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3281 | src/core/lib/slice/slice_intern.cc |
| 3282 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3283 | src/core/lib/surface/api_trace.cc |
| 3284 | src/core/lib/surface/byte_buffer.cc |
| 3285 | src/core/lib/surface/byte_buffer_reader.cc |
| 3286 | src/core/lib/surface/call.cc |
| 3287 | src/core/lib/surface/call_details.cc |
| 3288 | src/core/lib/surface/call_log_batch.cc |
| 3289 | src/core/lib/surface/channel.cc |
| 3290 | src/core/lib/surface/channel_init.cc |
| 3291 | src/core/lib/surface/channel_ping.cc |
| 3292 | src/core/lib/surface/channel_stack_type.cc |
| 3293 | src/core/lib/surface/completion_queue.cc |
| 3294 | src/core/lib/surface/completion_queue_factory.cc |
| 3295 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 3296 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3297 | src/core/lib/surface/metadata_array.cc |
| 3298 | src/core/lib/surface/server.cc |
| 3299 | src/core/lib/surface/validate_metadata.cc |
| 3300 | src/core/lib/surface/version.cc |
| 3301 | src/core/lib/transport/bdp_estimator.cc |
| 3302 | src/core/lib/transport/byte_stream.cc |
| 3303 | src/core/lib/transport/connectivity_state.cc |
| 3304 | src/core/lib/transport/error_utils.cc |
| 3305 | src/core/lib/transport/metadata.cc |
| 3306 | src/core/lib/transport/metadata_batch.cc |
| 3307 | src/core/lib/transport/pid_controller.cc |
| 3308 | src/core/lib/transport/service_config.cc |
| 3309 | src/core/lib/transport/static_metadata.cc |
| 3310 | src/core/lib/transport/status_conversion.cc |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 3311 | src/core/lib/transport/status_metadata.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3312 | src/core/lib/transport/timeout_encoding.cc |
| 3313 | src/core/lib/transport/transport.cc |
| 3314 | src/core/lib/transport/transport_op_string.cc |
| 3315 | src/core/lib/debug/trace.cc |
| 3316 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 3317 | src/core/ext/filters/http/client/http_client_filter.cc |
| 3318 | src/core/ext/filters/http/http_filters_plugin.cc |
| 3319 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 3320 | src/core/ext/filters/http/server/http_server_filter.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 3321 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3322 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 3323 | src/core/ext/filters/client_channel/client_channel.cc |
ncteisen | afb9829 | 2018-06-28 18:04:24 -0700 | [diff] [blame] | 3324 | src/core/ext/filters/client_channel/client_channel_channelz.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3325 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 3326 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 3327 | src/core/ext/filters/client_channel/connector.cc |
| 3328 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 3329 | src/core/ext/filters/client_channel/http_proxy.cc |
| 3330 | src/core/ext/filters/client_channel/lb_policy.cc |
| 3331 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 3332 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 3333 | src/core/ext/filters/client_channel/method_params.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3334 | src/core/ext/filters/client_channel/parse_address.cc |
| 3335 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 3336 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 3337 | src/core/ext/filters/client_channel/resolver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3338 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 3339 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 3340 | src/core/ext/filters/client_channel/subchannel.cc |
| 3341 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 3342 | src/core/ext/filters/client_channel/uri_parser.cc |
| 3343 | src/core/ext/filters/deadline/deadline_filter.cc |
| 3344 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 3345 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 3346 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
Vizerai | 41e4ced | 2018-04-13 18:19:21 -0700 | [diff] [blame] | 3347 | src/cpp/ext/filters/census/grpc_context.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3348 | ) |
| 3349 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3350 | if(WIN32 AND MSVC) |
| 3351 | set_target_properties(grpc++_cronet PROPERTIES COMPILE_PDB_NAME "grpc++_cronet" |
| 3352 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3353 | ) |
| 3354 | if (gRPC_INSTALL) |
| 3355 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3356 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3357 | ) |
| 3358 | endif() |
| 3359 | endif() |
| 3360 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3361 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3362 | target_include_directories(grpc++_cronet |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3363 | 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] | 3364 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3365 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3366 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3367 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3368 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3369 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3370 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 3371 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 3372 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3373 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3374 | ) |
| 3375 | |
| 3376 | target_link_libraries(grpc++_cronet |
| 3377 | ${_gRPC_BASELIB_LIBRARIES} |
| 3378 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3379 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3380 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3381 | gpr |
| 3382 | grpc_cronet |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 3383 | grpc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3384 | ) |
| 3385 | |
| 3386 | foreach(_hdr |
| 3387 | include/grpc++/alarm.h |
| 3388 | include/grpc++/channel.h |
| 3389 | include/grpc++/client_context.h |
| 3390 | include/grpc++/completion_queue.h |
| 3391 | include/grpc++/create_channel.h |
| 3392 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 3393 | include/grpc++/ext/health_check_service_server_builder_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3394 | include/grpc++/generic/async_generic_service.h |
| 3395 | include/grpc++/generic/generic_stub.h |
| 3396 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 3397 | include/grpc++/health_check_service_interface.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3398 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 3399 | include/grpc++/impl/channel_argument_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3400 | include/grpc++/impl/client_unary_call.h |
| 3401 | include/grpc++/impl/codegen/core_codegen.h |
| 3402 | include/grpc++/impl/grpc_library.h |
| 3403 | include/grpc++/impl/method_handler_impl.h |
| 3404 | include/grpc++/impl/rpc_method.h |
| 3405 | include/grpc++/impl/rpc_service_method.h |
| 3406 | include/grpc++/impl/serialization_traits.h |
| 3407 | include/grpc++/impl/server_builder_option.h |
| 3408 | include/grpc++/impl/server_builder_plugin.h |
| 3409 | include/grpc++/impl/server_initializer.h |
| 3410 | include/grpc++/impl/service_type.h |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 3411 | include/grpc++/resource_quota.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3412 | include/grpc++/security/auth_context.h |
| 3413 | include/grpc++/security/auth_metadata_processor.h |
| 3414 | include/grpc++/security/credentials.h |
| 3415 | include/grpc++/security/server_credentials.h |
| 3416 | include/grpc++/server.h |
| 3417 | include/grpc++/server_builder.h |
| 3418 | include/grpc++/server_context.h |
| 3419 | include/grpc++/server_posix.h |
| 3420 | include/grpc++/support/async_stream.h |
| 3421 | include/grpc++/support/async_unary_call.h |
| 3422 | include/grpc++/support/byte_buffer.h |
| 3423 | include/grpc++/support/channel_arguments.h |
| 3424 | include/grpc++/support/config.h |
| 3425 | include/grpc++/support/slice.h |
| 3426 | include/grpc++/support/status.h |
| 3427 | include/grpc++/support/status_code_enum.h |
| 3428 | include/grpc++/support/string_ref.h |
| 3429 | include/grpc++/support/stub_options.h |
| 3430 | include/grpc++/support/sync_stream.h |
| 3431 | include/grpc++/support/time.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 3432 | include/grpcpp/alarm.h |
| 3433 | include/grpcpp/channel.h |
| 3434 | include/grpcpp/client_context.h |
| 3435 | include/grpcpp/completion_queue.h |
| 3436 | include/grpcpp/create_channel.h |
| 3437 | include/grpcpp/create_channel_posix.h |
| 3438 | include/grpcpp/ext/health_check_service_server_builder_option.h |
| 3439 | include/grpcpp/generic/async_generic_service.h |
| 3440 | include/grpcpp/generic/generic_stub.h |
| 3441 | include/grpcpp/grpcpp.h |
| 3442 | include/grpcpp/health_check_service_interface.h |
| 3443 | include/grpcpp/impl/call.h |
| 3444 | include/grpcpp/impl/channel_argument_option.h |
| 3445 | include/grpcpp/impl/client_unary_call.h |
| 3446 | include/grpcpp/impl/codegen/core_codegen.h |
| 3447 | include/grpcpp/impl/grpc_library.h |
| 3448 | include/grpcpp/impl/method_handler_impl.h |
| 3449 | include/grpcpp/impl/rpc_method.h |
| 3450 | include/grpcpp/impl/rpc_service_method.h |
| 3451 | include/grpcpp/impl/serialization_traits.h |
| 3452 | include/grpcpp/impl/server_builder_option.h |
| 3453 | include/grpcpp/impl/server_builder_plugin.h |
| 3454 | include/grpcpp/impl/server_initializer.h |
| 3455 | include/grpcpp/impl/service_type.h |
| 3456 | include/grpcpp/resource_quota.h |
| 3457 | include/grpcpp/security/auth_context.h |
| 3458 | include/grpcpp/security/auth_metadata_processor.h |
| 3459 | include/grpcpp/security/credentials.h |
| 3460 | include/grpcpp/security/server_credentials.h |
| 3461 | include/grpcpp/server.h |
| 3462 | include/grpcpp/server_builder.h |
| 3463 | include/grpcpp/server_context.h |
| 3464 | include/grpcpp/server_posix.h |
| 3465 | include/grpcpp/support/async_stream.h |
| 3466 | include/grpcpp/support/async_unary_call.h |
| 3467 | include/grpcpp/support/byte_buffer.h |
| 3468 | include/grpcpp/support/channel_arguments.h |
| 3469 | include/grpcpp/support/config.h |
ncteisen | cf5b266 | 2018-02-27 11:55:10 -0800 | [diff] [blame] | 3470 | include/grpcpp/support/proto_buffer_reader.h |
| 3471 | include/grpcpp/support/proto_buffer_writer.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 3472 | include/grpcpp/support/slice.h |
| 3473 | include/grpcpp/support/status.h |
| 3474 | include/grpcpp/support/status_code_enum.h |
| 3475 | include/grpcpp/support/string_ref.h |
| 3476 | include/grpcpp/support/stub_options.h |
| 3477 | include/grpcpp/support/sync_stream.h |
| 3478 | include/grpcpp/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3479 | include/grpc/support/alloc.h |
| 3480 | include/grpc/support/atm.h |
| 3481 | include/grpc/support/atm_gcc_atomic.h |
| 3482 | include/grpc/support/atm_gcc_sync.h |
| 3483 | include/grpc/support/atm_windows.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3484 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3485 | include/grpc/support/log.h |
| 3486 | include/grpc/support/log_windows.h |
| 3487 | include/grpc/support/port_platform.h |
| 3488 | include/grpc/support/string_util.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3489 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3490 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3491 | include/grpc/support/sync_generic.h |
| 3492 | include/grpc/support/sync_posix.h |
| 3493 | include/grpc/support/sync_windows.h |
Vijay Pai | c745690 | 2018-02-12 10:28:24 -0800 | [diff] [blame] | 3494 | include/grpc/support/thd_id.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3495 | include/grpc/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3496 | include/grpc/impl/codegen/atm.h |
| 3497 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3498 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3499 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3500 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3501 | include/grpc/impl/codegen/gpr_slice.h |
| 3502 | include/grpc/impl/codegen/gpr_types.h |
ncteisen | 93a90e6 | 2018-06-18 18:39:56 -0700 | [diff] [blame] | 3503 | include/grpc/impl/codegen/log.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3504 | include/grpc/impl/codegen/port_platform.h |
| 3505 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3506 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3507 | include/grpc/impl/codegen/sync_generic.h |
| 3508 | include/grpc/impl/codegen/sync_posix.h |
| 3509 | include/grpc/impl/codegen/sync_windows.h |
| 3510 | include/grpc/byte_buffer.h |
| 3511 | include/grpc/byte_buffer_reader.h |
| 3512 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3513 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3514 | include/grpc/grpc.h |
| 3515 | include/grpc/grpc_posix.h |
| 3516 | include/grpc/grpc_security_constants.h |
| 3517 | include/grpc/load_reporting.h |
| 3518 | include/grpc/slice.h |
| 3519 | include/grpc/slice_buffer.h |
| 3520 | include/grpc/status.h |
| 3521 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3522 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3523 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3524 | include/grpc/impl/codegen/compression_types.h |
| 3525 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3526 | include/grpc/impl/codegen/grpc_types.h |
| 3527 | include/grpc/impl/codegen/propagation_bits.h |
| 3528 | include/grpc/impl/codegen/slice.h |
| 3529 | include/grpc/impl/codegen/status.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3530 | include/grpc++/impl/codegen/async_stream.h |
| 3531 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3532 | include/grpc++/impl/codegen/byte_buffer.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3533 | include/grpc++/impl/codegen/call.h |
| 3534 | include/grpc++/impl/codegen/call_hook.h |
| 3535 | include/grpc++/impl/codegen/channel_interface.h |
| 3536 | include/grpc++/impl/codegen/client_context.h |
| 3537 | include/grpc++/impl/codegen/client_unary_call.h |
| 3538 | include/grpc++/impl/codegen/completion_queue.h |
| 3539 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3540 | include/grpc++/impl/codegen/config.h |
| 3541 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3542 | include/grpc++/impl/codegen/create_auth_context.h |
| 3543 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3544 | include/grpc++/impl/codegen/metadata_map.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3545 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3546 | include/grpc++/impl/codegen/rpc_method.h |
| 3547 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3548 | include/grpc++/impl/codegen/security/auth_context.h |
| 3549 | include/grpc++/impl/codegen/serialization_traits.h |
| 3550 | include/grpc++/impl/codegen/server_context.h |
| 3551 | include/grpc++/impl/codegen/server_interface.h |
| 3552 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3553 | include/grpc++/impl/codegen/slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3554 | include/grpc++/impl/codegen/status.h |
| 3555 | include/grpc++/impl/codegen/status_code_enum.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3556 | include/grpc++/impl/codegen/string_ref.h |
| 3557 | include/grpc++/impl/codegen/stub_options.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3558 | include/grpc++/impl/codegen/sync_stream.h |
| 3559 | include/grpc++/impl/codegen/time.h |
ncteisen | 93a90e6 | 2018-06-18 18:39:56 -0700 | [diff] [blame] | 3560 | include/grpcpp/impl/codegen/async_generic_service.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 3561 | include/grpcpp/impl/codegen/async_stream.h |
| 3562 | include/grpcpp/impl/codegen/async_unary_call.h |
| 3563 | include/grpcpp/impl/codegen/byte_buffer.h |
| 3564 | include/grpcpp/impl/codegen/call.h |
| 3565 | include/grpcpp/impl/codegen/call_hook.h |
| 3566 | include/grpcpp/impl/codegen/channel_interface.h |
| 3567 | include/grpcpp/impl/codegen/client_context.h |
| 3568 | include/grpcpp/impl/codegen/client_unary_call.h |
| 3569 | include/grpcpp/impl/codegen/completion_queue.h |
| 3570 | include/grpcpp/impl/codegen/completion_queue_tag.h |
| 3571 | include/grpcpp/impl/codegen/config.h |
| 3572 | include/grpcpp/impl/codegen/core_codegen_interface.h |
| 3573 | include/grpcpp/impl/codegen/create_auth_context.h |
| 3574 | include/grpcpp/impl/codegen/grpc_library.h |
| 3575 | include/grpcpp/impl/codegen/metadata_map.h |
| 3576 | include/grpcpp/impl/codegen/method_handler_impl.h |
| 3577 | include/grpcpp/impl/codegen/rpc_method.h |
| 3578 | include/grpcpp/impl/codegen/rpc_service_method.h |
| 3579 | include/grpcpp/impl/codegen/security/auth_context.h |
| 3580 | include/grpcpp/impl/codegen/serialization_traits.h |
| 3581 | include/grpcpp/impl/codegen/server_context.h |
| 3582 | include/grpcpp/impl/codegen/server_interface.h |
| 3583 | include/grpcpp/impl/codegen/service_type.h |
| 3584 | include/grpcpp/impl/codegen/slice.h |
| 3585 | include/grpcpp/impl/codegen/status.h |
| 3586 | include/grpcpp/impl/codegen/status_code_enum.h |
| 3587 | include/grpcpp/impl/codegen/string_ref.h |
| 3588 | include/grpcpp/impl/codegen/stub_options.h |
| 3589 | include/grpcpp/impl/codegen/sync_stream.h |
| 3590 | include/grpcpp/impl/codegen/time.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 3591 | include/grpc/census.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3592 | ) |
| 3593 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3594 | get_filename_component(_path ${_path} PATH) |
| 3595 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3596 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3597 | ) |
| 3598 | endforeach() |
| 3599 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3600 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3601 | if (gRPC_INSTALL) |
| 3602 | install(TARGETS grpc++_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3603 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3604 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3605 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3606 | ) |
| 3607 | endif() |
| 3608 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3609 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 3610 | if (gRPC_BUILD_CODEGEN) |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3611 | add_library(grpc++_error_details |
| 3612 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.cc |
| 3613 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.cc |
| 3614 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.h |
| 3615 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.h |
| 3616 | src/cpp/util/error_details.cc |
| 3617 | ) |
| 3618 | |
| 3619 | if(WIN32 AND MSVC) |
| 3620 | set_target_properties(grpc++_error_details PROPERTIES COMPILE_PDB_NAME "grpc++_error_details" |
| 3621 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3622 | ) |
| 3623 | if (gRPC_INSTALL) |
| 3624 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_error_details.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3625 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3626 | ) |
| 3627 | endif() |
| 3628 | endif() |
| 3629 | |
| 3630 | protobuf_generate_grpc_cpp( |
| 3631 | src/proto/grpc/status/status.proto |
| 3632 | ) |
| 3633 | |
| 3634 | target_include_directories(grpc++_error_details |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3635 | 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] | 3636 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3637 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3638 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3639 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3640 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3641 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3642 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 3643 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 3644 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3645 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3646 | ) |
| 3647 | |
| 3648 | target_link_libraries(grpc++_error_details |
| 3649 | ${_gRPC_BASELIB_LIBRARIES} |
| 3650 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3651 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3652 | grpc++ |
| 3653 | ) |
| 3654 | |
| 3655 | foreach(_hdr |
| 3656 | include/grpc++/support/error_details.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 3657 | include/grpcpp/support/error_details.h |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3658 | ) |
| 3659 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3660 | get_filename_component(_path ${_path} PATH) |
| 3661 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3662 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3663 | ) |
| 3664 | endforeach() |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 3665 | endif (gRPC_BUILD_CODEGEN) |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3666 | |
| 3667 | |
| 3668 | if (gRPC_INSTALL) |
| 3669 | install(TARGETS grpc++_error_details EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3670 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3671 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3672 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3673 | ) |
| 3674 | endif() |
| 3675 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3676 | if (gRPC_BUILD_TESTS) |
| 3677 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 3678 | if (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3679 | add_library(grpc++_proto_reflection_desc_db |
| 3680 | test/cpp/util/proto_reflection_descriptor_database.cc |
| 3681 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3682 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3683 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3684 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3685 | ) |
| 3686 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3687 | if(WIN32 AND MSVC) |
| 3688 | set_target_properties(grpc++_proto_reflection_desc_db PROPERTIES COMPILE_PDB_NAME "grpc++_proto_reflection_desc_db" |
| 3689 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3690 | ) |
| 3691 | if (gRPC_INSTALL) |
| 3692 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_proto_reflection_desc_db.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3693 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3694 | ) |
| 3695 | endif() |
| 3696 | endif() |
| 3697 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3698 | protobuf_generate_grpc_cpp( |
| 3699 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3700 | ) |
| 3701 | |
| 3702 | target_include_directories(grpc++_proto_reflection_desc_db |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3703 | 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] | 3704 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3705 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3706 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3707 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3708 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3709 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3710 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 3711 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 3712 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3713 | PRIVATE third_party/googletest/googletest/include |
| 3714 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3715 | PRIVATE third_party/googletest/googlemock/include |
| 3716 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3717 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3718 | ) |
| 3719 | |
| 3720 | target_link_libraries(grpc++_proto_reflection_desc_db |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3721 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3722 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3723 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3724 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3725 | ) |
| 3726 | |
| 3727 | foreach(_hdr |
| 3728 | include/grpc++/impl/codegen/config_protobuf.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 3729 | include/grpcpp/impl/codegen/config_protobuf.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3730 | ) |
| 3731 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3732 | get_filename_component(_path ${_path} PATH) |
| 3733 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3734 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3735 | ) |
| 3736 | endforeach() |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 3737 | endif (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3738 | |
| 3739 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3740 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 3741 | if (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3742 | add_library(grpc++_reflection |
| 3743 | src/cpp/ext/proto_server_reflection.cc |
| 3744 | src/cpp/ext/proto_server_reflection_plugin.cc |
| 3745 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3746 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3747 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3748 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3749 | ) |
| 3750 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3751 | if(WIN32 AND MSVC) |
| 3752 | set_target_properties(grpc++_reflection PROPERTIES COMPILE_PDB_NAME "grpc++_reflection" |
| 3753 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3754 | ) |
| 3755 | if (gRPC_INSTALL) |
| 3756 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_reflection.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3757 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3758 | ) |
| 3759 | endif() |
| 3760 | endif() |
| 3761 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3762 | protobuf_generate_grpc_cpp( |
| 3763 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3764 | ) |
| 3765 | |
| 3766 | target_include_directories(grpc++_reflection |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3767 | 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] | 3768 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3769 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3770 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3771 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3772 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3773 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3774 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 3775 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 3776 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3777 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3778 | ) |
| 3779 | |
| 3780 | target_link_libraries(grpc++_reflection |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3781 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3782 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3783 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3784 | grpc |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3785 | ) |
| 3786 | |
| 3787 | foreach(_hdr |
| 3788 | include/grpc++/ext/proto_server_reflection_plugin.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 3789 | include/grpcpp/ext/proto_server_reflection_plugin.h |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3790 | ) |
| 3791 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3792 | get_filename_component(_path ${_path} PATH) |
| 3793 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3794 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3795 | ) |
| 3796 | endforeach() |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 3797 | endif (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3798 | |
| 3799 | |
| 3800 | if (gRPC_INSTALL) |
| 3801 | install(TARGETS grpc++_reflection EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3802 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3803 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3804 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3805 | ) |
| 3806 | endif() |
| 3807 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3808 | if (gRPC_BUILD_TESTS) |
| 3809 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3810 | add_library(grpc++_test_config |
| 3811 | test/cpp/util/test_config_cc.cc |
| 3812 | ) |
| 3813 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3814 | if(WIN32 AND MSVC) |
| 3815 | set_target_properties(grpc++_test_config PROPERTIES COMPILE_PDB_NAME "grpc++_test_config" |
| 3816 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3817 | ) |
| 3818 | if (gRPC_INSTALL) |
| 3819 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_config.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3820 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3821 | ) |
| 3822 | endif() |
| 3823 | endif() |
| 3824 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3825 | |
| 3826 | target_include_directories(grpc++_test_config |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3827 | 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] | 3828 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3829 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3830 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3831 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3832 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3833 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3834 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 3835 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 3836 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3837 | PRIVATE third_party/googletest/googletest/include |
| 3838 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3839 | PRIVATE third_party/googletest/googlemock/include |
| 3840 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3841 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3842 | ) |
| 3843 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3844 | target_link_libraries(grpc++_test_config |
| 3845 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3846 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3847 | ) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3848 | |
| 3849 | |
| 3850 | endif (gRPC_BUILD_TESTS) |
| 3851 | if (gRPC_BUILD_TESTS) |
| 3852 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 3853 | if (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3854 | add_library(grpc++_test_util |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 3855 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.cc |
| 3856 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.cc |
| 3857 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.h |
| 3858 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.h |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3859 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3860 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3861 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3862 | ${_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] | 3863 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3864 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3865 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3866 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3867 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3868 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3869 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3870 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3871 | ${_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] | 3872 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3873 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3874 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3875 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3876 | test/cpp/end2end/test_service_impl.cc |
| 3877 | test/cpp/util/byte_buffer_proto_helper.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 3878 | test/cpp/util/channel_trace_proto_helper.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3879 | test/cpp/util/create_test_channel.cc |
| 3880 | test/cpp/util/string_ref_helper.cc |
| 3881 | test/cpp/util/subprocess.cc |
| 3882 | test/cpp/util/test_credentials_provider.cc |
| 3883 | src/cpp/codegen/codegen_init.cc |
| 3884 | ) |
| 3885 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3886 | if(WIN32 AND MSVC) |
| 3887 | set_target_properties(grpc++_test_util PROPERTIES COMPILE_PDB_NAME "grpc++_test_util" |
| 3888 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3889 | ) |
| 3890 | if (gRPC_INSTALL) |
| 3891 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3892 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3893 | ) |
| 3894 | endif() |
| 3895 | endif() |
| 3896 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3897 | protobuf_generate_grpc_cpp( |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 3898 | src/proto/grpc/channelz/channelz.proto |
| 3899 | ) |
| 3900 | protobuf_generate_grpc_cpp( |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3901 | src/proto/grpc/health/v1/health.proto |
| 3902 | ) |
| 3903 | protobuf_generate_grpc_cpp( |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3904 | src/proto/grpc/testing/echo_messages.proto |
| 3905 | ) |
| 3906 | protobuf_generate_grpc_cpp( |
| 3907 | src/proto/grpc/testing/echo.proto |
| 3908 | ) |
| 3909 | protobuf_generate_grpc_cpp( |
| 3910 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3911 | ) |
| 3912 | |
| 3913 | target_include_directories(grpc++_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3914 | 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] | 3915 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3916 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3917 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3918 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3919 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3920 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3921 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 3922 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 3923 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3924 | PRIVATE third_party/googletest/googletest/include |
| 3925 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3926 | PRIVATE third_party/googletest/googlemock/include |
| 3927 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3928 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3929 | ) |
| 3930 | |
| 3931 | target_link_libraries(grpc++_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3932 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3933 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3934 | grpc++ |
| 3935 | grpc_test_util |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3936 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3937 | ) |
| 3938 | |
| 3939 | foreach(_hdr |
| 3940 | include/grpc++/impl/codegen/async_stream.h |
| 3941 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3942 | include/grpc++/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3943 | include/grpc++/impl/codegen/call.h |
| 3944 | include/grpc++/impl/codegen/call_hook.h |
| 3945 | include/grpc++/impl/codegen/channel_interface.h |
| 3946 | include/grpc++/impl/codegen/client_context.h |
| 3947 | include/grpc++/impl/codegen/client_unary_call.h |
| 3948 | include/grpc++/impl/codegen/completion_queue.h |
| 3949 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3950 | include/grpc++/impl/codegen/config.h |
| 3951 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3952 | include/grpc++/impl/codegen/create_auth_context.h |
| 3953 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3954 | include/grpc++/impl/codegen/metadata_map.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3955 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3956 | include/grpc++/impl/codegen/rpc_method.h |
| 3957 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3958 | include/grpc++/impl/codegen/security/auth_context.h |
| 3959 | include/grpc++/impl/codegen/serialization_traits.h |
| 3960 | include/grpc++/impl/codegen/server_context.h |
| 3961 | include/grpc++/impl/codegen/server_interface.h |
| 3962 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3963 | include/grpc++/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3964 | include/grpc++/impl/codegen/status.h |
| 3965 | include/grpc++/impl/codegen/status_code_enum.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3966 | include/grpc++/impl/codegen/string_ref.h |
| 3967 | include/grpc++/impl/codegen/stub_options.h |
| 3968 | include/grpc++/impl/codegen/sync_stream.h |
| 3969 | include/grpc++/impl/codegen/time.h |
ncteisen | 93a90e6 | 2018-06-18 18:39:56 -0700 | [diff] [blame] | 3970 | include/grpcpp/impl/codegen/async_generic_service.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 3971 | include/grpcpp/impl/codegen/async_stream.h |
| 3972 | include/grpcpp/impl/codegen/async_unary_call.h |
| 3973 | include/grpcpp/impl/codegen/byte_buffer.h |
| 3974 | include/grpcpp/impl/codegen/call.h |
| 3975 | include/grpcpp/impl/codegen/call_hook.h |
| 3976 | include/grpcpp/impl/codegen/channel_interface.h |
| 3977 | include/grpcpp/impl/codegen/client_context.h |
| 3978 | include/grpcpp/impl/codegen/client_unary_call.h |
| 3979 | include/grpcpp/impl/codegen/completion_queue.h |
| 3980 | include/grpcpp/impl/codegen/completion_queue_tag.h |
| 3981 | include/grpcpp/impl/codegen/config.h |
| 3982 | include/grpcpp/impl/codegen/core_codegen_interface.h |
| 3983 | include/grpcpp/impl/codegen/create_auth_context.h |
| 3984 | include/grpcpp/impl/codegen/grpc_library.h |
| 3985 | include/grpcpp/impl/codegen/metadata_map.h |
| 3986 | include/grpcpp/impl/codegen/method_handler_impl.h |
| 3987 | include/grpcpp/impl/codegen/rpc_method.h |
| 3988 | include/grpcpp/impl/codegen/rpc_service_method.h |
| 3989 | include/grpcpp/impl/codegen/security/auth_context.h |
| 3990 | include/grpcpp/impl/codegen/serialization_traits.h |
| 3991 | include/grpcpp/impl/codegen/server_context.h |
| 3992 | include/grpcpp/impl/codegen/server_interface.h |
| 3993 | include/grpcpp/impl/codegen/service_type.h |
| 3994 | include/grpcpp/impl/codegen/slice.h |
| 3995 | include/grpcpp/impl/codegen/status.h |
| 3996 | include/grpcpp/impl/codegen/status_code_enum.h |
| 3997 | include/grpcpp/impl/codegen/string_ref.h |
| 3998 | include/grpcpp/impl/codegen/stub_options.h |
| 3999 | include/grpcpp/impl/codegen/sync_stream.h |
| 4000 | include/grpcpp/impl/codegen/time.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 4001 | include/grpc/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4002 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 4003 | include/grpc/impl/codegen/compression_types.h |
| 4004 | include/grpc/impl/codegen/connectivity_state.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4005 | include/grpc/impl/codegen/grpc_types.h |
| 4006 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 4007 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4008 | include/grpc/impl/codegen/status.h |
| 4009 | include/grpc/impl/codegen/atm.h |
| 4010 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 4011 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 4012 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 4013 | include/grpc/impl/codegen/fork.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4014 | include/grpc/impl/codegen/gpr_slice.h |
| 4015 | include/grpc/impl/codegen/gpr_types.h |
ncteisen | 93a90e6 | 2018-06-18 18:39:56 -0700 | [diff] [blame] | 4016 | include/grpc/impl/codegen/log.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4017 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4018 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 4019 | include/grpc/impl/codegen/sync_custom.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4020 | include/grpc/impl/codegen/sync_generic.h |
| 4021 | include/grpc/impl/codegen/sync_posix.h |
| 4022 | include/grpc/impl/codegen/sync_windows.h |
| 4023 | include/grpc++/impl/codegen/proto_utils.h |
ncteisen | cf5b266 | 2018-02-27 11:55:10 -0800 | [diff] [blame] | 4024 | include/grpcpp/impl/codegen/proto_buffer_reader.h |
| 4025 | include/grpcpp/impl/codegen/proto_buffer_writer.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 4026 | include/grpcpp/impl/codegen/proto_utils.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4027 | include/grpc++/impl/codegen/config_protobuf.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 4028 | include/grpcpp/impl/codegen/config_protobuf.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4029 | ) |
| 4030 | string(REPLACE "include/" "" _path ${_hdr}) |
| 4031 | get_filename_component(_path ${_path} PATH) |
| 4032 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4033 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4034 | ) |
| 4035 | endforeach() |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4036 | endif (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4037 | |
| 4038 | endif (gRPC_BUILD_TESTS) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 4039 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4040 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4041 | if (gRPC_BUILD_CODEGEN) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 4042 | add_library(grpc++_test_util_unsecure |
| 4043 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 4044 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 4045 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 4046 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.h |
| 4047 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 4048 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 4049 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 4050 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 4051 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 4052 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 4053 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 4054 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 4055 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_mock.grpc.pb.h |
| 4056 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 4057 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 4058 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 4059 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 4060 | test/cpp/end2end/test_service_impl.cc |
| 4061 | test/cpp/util/byte_buffer_proto_helper.cc |
| 4062 | test/cpp/util/string_ref_helper.cc |
| 4063 | test/cpp/util/subprocess.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4064 | src/cpp/codegen/codegen_init.cc |
| 4065 | ) |
| 4066 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4067 | if(WIN32 AND MSVC) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 4068 | 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] | 4069 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4070 | ) |
| 4071 | if (gRPC_INSTALL) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 4072 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4073 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4074 | ) |
| 4075 | endif() |
| 4076 | endif() |
| 4077 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 4078 | protobuf_generate_grpc_cpp( |
| 4079 | src/proto/grpc/health/v1/health.proto |
| 4080 | ) |
| 4081 | protobuf_generate_grpc_cpp( |
| 4082 | src/proto/grpc/testing/echo_messages.proto |
| 4083 | ) |
| 4084 | protobuf_generate_grpc_cpp( |
| 4085 | src/proto/grpc/testing/echo.proto |
| 4086 | ) |
| 4087 | protobuf_generate_grpc_cpp( |
| 4088 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 4089 | ) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4090 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 4091 | target_include_directories(grpc++_test_util_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4092 | 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] | 4093 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4094 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4095 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4096 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4097 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4098 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4099 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 4100 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 4101 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 4102 | PRIVATE third_party/googletest/googletest/include |
| 4103 | PRIVATE third_party/googletest/googletest |
| 4104 | PRIVATE third_party/googletest/googlemock/include |
| 4105 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4106 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4107 | ) |
| 4108 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 4109 | target_link_libraries(grpc++_test_util_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 4110 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4111 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 4112 | grpc++_unsecure |
| 4113 | grpc_test_util_unsecure |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4114 | grpc_unsecure |
| 4115 | ) |
| 4116 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4117 | foreach(_hdr |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4118 | include/grpc++/impl/codegen/async_stream.h |
| 4119 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 4120 | include/grpc++/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4121 | include/grpc++/impl/codegen/call.h |
| 4122 | include/grpc++/impl/codegen/call_hook.h |
| 4123 | include/grpc++/impl/codegen/channel_interface.h |
| 4124 | include/grpc++/impl/codegen/client_context.h |
| 4125 | include/grpc++/impl/codegen/client_unary_call.h |
| 4126 | include/grpc++/impl/codegen/completion_queue.h |
| 4127 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 4128 | include/grpc++/impl/codegen/config.h |
| 4129 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 4130 | include/grpc++/impl/codegen/create_auth_context.h |
| 4131 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 4132 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4133 | include/grpc++/impl/codegen/method_handler_impl.h |
| 4134 | include/grpc++/impl/codegen/rpc_method.h |
| 4135 | include/grpc++/impl/codegen/rpc_service_method.h |
| 4136 | include/grpc++/impl/codegen/security/auth_context.h |
| 4137 | include/grpc++/impl/codegen/serialization_traits.h |
| 4138 | include/grpc++/impl/codegen/server_context.h |
| 4139 | include/grpc++/impl/codegen/server_interface.h |
| 4140 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 4141 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4142 | include/grpc++/impl/codegen/status.h |
| 4143 | include/grpc++/impl/codegen/status_code_enum.h |
| 4144 | include/grpc++/impl/codegen/string_ref.h |
| 4145 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4146 | include/grpc++/impl/codegen/sync_stream.h |
| 4147 | include/grpc++/impl/codegen/time.h |
ncteisen | 93a90e6 | 2018-06-18 18:39:56 -0700 | [diff] [blame] | 4148 | include/grpcpp/impl/codegen/async_generic_service.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 4149 | include/grpcpp/impl/codegen/async_stream.h |
| 4150 | include/grpcpp/impl/codegen/async_unary_call.h |
| 4151 | include/grpcpp/impl/codegen/byte_buffer.h |
| 4152 | include/grpcpp/impl/codegen/call.h |
| 4153 | include/grpcpp/impl/codegen/call_hook.h |
| 4154 | include/grpcpp/impl/codegen/channel_interface.h |
| 4155 | include/grpcpp/impl/codegen/client_context.h |
| 4156 | include/grpcpp/impl/codegen/client_unary_call.h |
| 4157 | include/grpcpp/impl/codegen/completion_queue.h |
| 4158 | include/grpcpp/impl/codegen/completion_queue_tag.h |
| 4159 | include/grpcpp/impl/codegen/config.h |
| 4160 | include/grpcpp/impl/codegen/core_codegen_interface.h |
| 4161 | include/grpcpp/impl/codegen/create_auth_context.h |
| 4162 | include/grpcpp/impl/codegen/grpc_library.h |
| 4163 | include/grpcpp/impl/codegen/metadata_map.h |
| 4164 | include/grpcpp/impl/codegen/method_handler_impl.h |
| 4165 | include/grpcpp/impl/codegen/rpc_method.h |
| 4166 | include/grpcpp/impl/codegen/rpc_service_method.h |
| 4167 | include/grpcpp/impl/codegen/security/auth_context.h |
| 4168 | include/grpcpp/impl/codegen/serialization_traits.h |
| 4169 | include/grpcpp/impl/codegen/server_context.h |
| 4170 | include/grpcpp/impl/codegen/server_interface.h |
| 4171 | include/grpcpp/impl/codegen/service_type.h |
| 4172 | include/grpcpp/impl/codegen/slice.h |
| 4173 | include/grpcpp/impl/codegen/status.h |
| 4174 | include/grpcpp/impl/codegen/status_code_enum.h |
| 4175 | include/grpcpp/impl/codegen/string_ref.h |
| 4176 | include/grpcpp/impl/codegen/stub_options.h |
| 4177 | include/grpcpp/impl/codegen/sync_stream.h |
| 4178 | include/grpcpp/impl/codegen/time.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 4179 | include/grpc/impl/codegen/byte_buffer.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 4180 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 4181 | include/grpc/impl/codegen/compression_types.h |
| 4182 | include/grpc/impl/codegen/connectivity_state.h |
| 4183 | include/grpc/impl/codegen/grpc_types.h |
| 4184 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 4185 | include/grpc/impl/codegen/slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 4186 | include/grpc/impl/codegen/status.h |
| 4187 | include/grpc/impl/codegen/atm.h |
| 4188 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 4189 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 4190 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 4191 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 4192 | include/grpc/impl/codegen/gpr_slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 4193 | include/grpc/impl/codegen/gpr_types.h |
ncteisen | 93a90e6 | 2018-06-18 18:39:56 -0700 | [diff] [blame] | 4194 | include/grpc/impl/codegen/log.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 4195 | include/grpc/impl/codegen/port_platform.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 4196 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 4197 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4198 | include/grpc/impl/codegen/sync_generic.h |
| 4199 | include/grpc/impl/codegen/sync_posix.h |
| 4200 | include/grpc/impl/codegen/sync_windows.h |
| 4201 | include/grpc++/impl/codegen/proto_utils.h |
ncteisen | cf5b266 | 2018-02-27 11:55:10 -0800 | [diff] [blame] | 4202 | include/grpcpp/impl/codegen/proto_buffer_reader.h |
| 4203 | include/grpcpp/impl/codegen/proto_buffer_writer.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 4204 | include/grpcpp/impl/codegen/proto_utils.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4205 | include/grpc++/impl/codegen/config_protobuf.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 4206 | include/grpcpp/impl/codegen/config_protobuf.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4207 | ) |
| 4208 | string(REPLACE "include/" "" _path ${_hdr}) |
| 4209 | get_filename_component(_path ${_path} PATH) |
| 4210 | install(FILES ${_hdr} |
| 4211 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 4212 | ) |
| 4213 | endforeach() |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4214 | endif (gRPC_BUILD_CODEGEN) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4215 | |
| 4216 | endif (gRPC_BUILD_TESTS) |
| 4217 | |
| 4218 | add_library(grpc++_unsecure |
| 4219 | src/cpp/client/insecure_credentials.cc |
| 4220 | src/cpp/common/insecure_create_auth_context.cc |
| 4221 | src/cpp/server/insecure_server_credentials.cc |
| 4222 | src/cpp/client/channel_cc.cc |
| 4223 | src/cpp/client/client_context.cc |
| 4224 | src/cpp/client/create_channel.cc |
| 4225 | src/cpp/client/create_channel_internal.cc |
| 4226 | src/cpp/client/create_channel_posix.cc |
| 4227 | src/cpp/client/credentials_cc.cc |
| 4228 | src/cpp/client/generic_stub.cc |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 4229 | src/cpp/common/alarm.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4230 | src/cpp/common/channel_arguments.cc |
| 4231 | src/cpp/common/channel_filter.cc |
| 4232 | src/cpp/common/completion_queue_cc.cc |
| 4233 | src/cpp/common/core_codegen.cc |
| 4234 | src/cpp/common/resource_quota_cc.cc |
| 4235 | src/cpp/common/rpc_method.cc |
| 4236 | src/cpp/common/version_cc.cc |
| 4237 | src/cpp/server/async_generic_service.cc |
| 4238 | src/cpp/server/channel_argument_option.cc |
| 4239 | src/cpp/server/create_default_thread_pool.cc |
| 4240 | src/cpp/server/dynamic_thread_pool.cc |
| 4241 | src/cpp/server/health/default_health_check_service.cc |
| 4242 | src/cpp/server/health/health.pb.c |
| 4243 | src/cpp/server/health/health_check_service.cc |
| 4244 | src/cpp/server/health/health_check_service_server_builder_option.cc |
| 4245 | src/cpp/server/server_builder.cc |
| 4246 | src/cpp/server/server_cc.cc |
| 4247 | src/cpp/server/server_context.cc |
| 4248 | src/cpp/server/server_credentials.cc |
| 4249 | src/cpp/server/server_posix.cc |
| 4250 | src/cpp/thread_manager/thread_manager.cc |
| 4251 | src/cpp/util/byte_buffer_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4252 | src/cpp/util/status.cc |
| 4253 | src/cpp/util/string_ref.cc |
| 4254 | src/cpp/util/time_cc.cc |
| 4255 | src/cpp/codegen/codegen_init.cc |
| 4256 | ) |
| 4257 | |
| 4258 | if(WIN32 AND MSVC) |
| 4259 | set_target_properties(grpc++_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_unsecure" |
| 4260 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4261 | ) |
| 4262 | if (gRPC_INSTALL) |
| 4263 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_unsecure.pdb |
| 4264 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 4265 | ) |
| 4266 | endif() |
| 4267 | endif() |
| 4268 | |
| 4269 | |
| 4270 | target_include_directories(grpc++_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4271 | 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] | 4272 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4273 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4274 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4275 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4276 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4277 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4278 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 4279 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 4280 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4281 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4282 | ) |
| 4283 | |
| 4284 | target_link_libraries(grpc++_unsecure |
| 4285 | ${_gRPC_BASELIB_LIBRARIES} |
| 4286 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4287 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4288 | gpr |
| 4289 | grpc_unsecure |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4290 | ) |
| 4291 | |
| 4292 | foreach(_hdr |
| 4293 | include/grpc++/alarm.h |
| 4294 | include/grpc++/channel.h |
| 4295 | include/grpc++/client_context.h |
| 4296 | include/grpc++/completion_queue.h |
| 4297 | include/grpc++/create_channel.h |
| 4298 | include/grpc++/create_channel_posix.h |
| 4299 | include/grpc++/ext/health_check_service_server_builder_option.h |
| 4300 | include/grpc++/generic/async_generic_service.h |
| 4301 | include/grpc++/generic/generic_stub.h |
| 4302 | include/grpc++/grpc++.h |
| 4303 | include/grpc++/health_check_service_interface.h |
| 4304 | include/grpc++/impl/call.h |
| 4305 | include/grpc++/impl/channel_argument_option.h |
| 4306 | include/grpc++/impl/client_unary_call.h |
| 4307 | include/grpc++/impl/codegen/core_codegen.h |
| 4308 | include/grpc++/impl/grpc_library.h |
| 4309 | include/grpc++/impl/method_handler_impl.h |
| 4310 | include/grpc++/impl/rpc_method.h |
| 4311 | include/grpc++/impl/rpc_service_method.h |
| 4312 | include/grpc++/impl/serialization_traits.h |
| 4313 | include/grpc++/impl/server_builder_option.h |
| 4314 | include/grpc++/impl/server_builder_plugin.h |
| 4315 | include/grpc++/impl/server_initializer.h |
| 4316 | include/grpc++/impl/service_type.h |
| 4317 | include/grpc++/resource_quota.h |
| 4318 | include/grpc++/security/auth_context.h |
| 4319 | include/grpc++/security/auth_metadata_processor.h |
| 4320 | include/grpc++/security/credentials.h |
| 4321 | include/grpc++/security/server_credentials.h |
| 4322 | include/grpc++/server.h |
| 4323 | include/grpc++/server_builder.h |
| 4324 | include/grpc++/server_context.h |
| 4325 | include/grpc++/server_posix.h |
| 4326 | include/grpc++/support/async_stream.h |
| 4327 | include/grpc++/support/async_unary_call.h |
| 4328 | include/grpc++/support/byte_buffer.h |
| 4329 | include/grpc++/support/channel_arguments.h |
| 4330 | include/grpc++/support/config.h |
| 4331 | include/grpc++/support/slice.h |
| 4332 | include/grpc++/support/status.h |
| 4333 | include/grpc++/support/status_code_enum.h |
| 4334 | include/grpc++/support/string_ref.h |
| 4335 | include/grpc++/support/stub_options.h |
| 4336 | include/grpc++/support/sync_stream.h |
| 4337 | include/grpc++/support/time.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 4338 | include/grpcpp/alarm.h |
| 4339 | include/grpcpp/channel.h |
| 4340 | include/grpcpp/client_context.h |
| 4341 | include/grpcpp/completion_queue.h |
| 4342 | include/grpcpp/create_channel.h |
| 4343 | include/grpcpp/create_channel_posix.h |
| 4344 | include/grpcpp/ext/health_check_service_server_builder_option.h |
| 4345 | include/grpcpp/generic/async_generic_service.h |
| 4346 | include/grpcpp/generic/generic_stub.h |
| 4347 | include/grpcpp/grpcpp.h |
| 4348 | include/grpcpp/health_check_service_interface.h |
| 4349 | include/grpcpp/impl/call.h |
| 4350 | include/grpcpp/impl/channel_argument_option.h |
| 4351 | include/grpcpp/impl/client_unary_call.h |
| 4352 | include/grpcpp/impl/codegen/core_codegen.h |
| 4353 | include/grpcpp/impl/grpc_library.h |
| 4354 | include/grpcpp/impl/method_handler_impl.h |
| 4355 | include/grpcpp/impl/rpc_method.h |
| 4356 | include/grpcpp/impl/rpc_service_method.h |
| 4357 | include/grpcpp/impl/serialization_traits.h |
| 4358 | include/grpcpp/impl/server_builder_option.h |
| 4359 | include/grpcpp/impl/server_builder_plugin.h |
| 4360 | include/grpcpp/impl/server_initializer.h |
| 4361 | include/grpcpp/impl/service_type.h |
| 4362 | include/grpcpp/resource_quota.h |
| 4363 | include/grpcpp/security/auth_context.h |
| 4364 | include/grpcpp/security/auth_metadata_processor.h |
| 4365 | include/grpcpp/security/credentials.h |
| 4366 | include/grpcpp/security/server_credentials.h |
| 4367 | include/grpcpp/server.h |
| 4368 | include/grpcpp/server_builder.h |
| 4369 | include/grpcpp/server_context.h |
| 4370 | include/grpcpp/server_posix.h |
| 4371 | include/grpcpp/support/async_stream.h |
| 4372 | include/grpcpp/support/async_unary_call.h |
| 4373 | include/grpcpp/support/byte_buffer.h |
| 4374 | include/grpcpp/support/channel_arguments.h |
| 4375 | include/grpcpp/support/config.h |
ncteisen | cf5b266 | 2018-02-27 11:55:10 -0800 | [diff] [blame] | 4376 | include/grpcpp/support/proto_buffer_reader.h |
| 4377 | include/grpcpp/support/proto_buffer_writer.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 4378 | include/grpcpp/support/slice.h |
| 4379 | include/grpcpp/support/status.h |
| 4380 | include/grpcpp/support/status_code_enum.h |
| 4381 | include/grpcpp/support/string_ref.h |
| 4382 | include/grpcpp/support/stub_options.h |
| 4383 | include/grpcpp/support/sync_stream.h |
| 4384 | include/grpcpp/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4385 | include/grpc/support/alloc.h |
| 4386 | include/grpc/support/atm.h |
| 4387 | include/grpc/support/atm_gcc_atomic.h |
| 4388 | include/grpc/support/atm_gcc_sync.h |
| 4389 | include/grpc/support/atm_windows.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4390 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4391 | include/grpc/support/log.h |
| 4392 | include/grpc/support/log_windows.h |
| 4393 | include/grpc/support/port_platform.h |
| 4394 | include/grpc/support/string_util.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4395 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 4396 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4397 | include/grpc/support/sync_generic.h |
| 4398 | include/grpc/support/sync_posix.h |
| 4399 | include/grpc/support/sync_windows.h |
Vijay Pai | c745690 | 2018-02-12 10:28:24 -0800 | [diff] [blame] | 4400 | include/grpc/support/thd_id.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4401 | include/grpc/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4402 | include/grpc/impl/codegen/atm.h |
| 4403 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 4404 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 4405 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 4406 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4407 | include/grpc/impl/codegen/gpr_slice.h |
| 4408 | include/grpc/impl/codegen/gpr_types.h |
ncteisen | 93a90e6 | 2018-06-18 18:39:56 -0700 | [diff] [blame] | 4409 | include/grpc/impl/codegen/log.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4410 | include/grpc/impl/codegen/port_platform.h |
| 4411 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 4412 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4413 | include/grpc/impl/codegen/sync_generic.h |
| 4414 | include/grpc/impl/codegen/sync_posix.h |
| 4415 | include/grpc/impl/codegen/sync_windows.h |
| 4416 | include/grpc/byte_buffer.h |
| 4417 | include/grpc/byte_buffer_reader.h |
| 4418 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 4419 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4420 | include/grpc/grpc.h |
| 4421 | include/grpc/grpc_posix.h |
| 4422 | include/grpc/grpc_security_constants.h |
| 4423 | include/grpc/load_reporting.h |
| 4424 | include/grpc/slice.h |
| 4425 | include/grpc/slice_buffer.h |
| 4426 | include/grpc/status.h |
| 4427 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 4428 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4429 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 4430 | include/grpc/impl/codegen/compression_types.h |
| 4431 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4432 | include/grpc/impl/codegen/grpc_types.h |
| 4433 | include/grpc/impl/codegen/propagation_bits.h |
| 4434 | include/grpc/impl/codegen/slice.h |
| 4435 | include/grpc/impl/codegen/status.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4436 | include/grpc++/impl/codegen/async_stream.h |
| 4437 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 4438 | include/grpc++/impl/codegen/byte_buffer.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4439 | include/grpc++/impl/codegen/call.h |
| 4440 | include/grpc++/impl/codegen/call_hook.h |
| 4441 | include/grpc++/impl/codegen/channel_interface.h |
| 4442 | include/grpc++/impl/codegen/client_context.h |
| 4443 | include/grpc++/impl/codegen/client_unary_call.h |
| 4444 | include/grpc++/impl/codegen/completion_queue.h |
| 4445 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 4446 | include/grpc++/impl/codegen/config.h |
| 4447 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 4448 | include/grpc++/impl/codegen/create_auth_context.h |
| 4449 | include/grpc++/impl/codegen/grpc_library.h |
| 4450 | include/grpc++/impl/codegen/metadata_map.h |
| 4451 | include/grpc++/impl/codegen/method_handler_impl.h |
| 4452 | include/grpc++/impl/codegen/rpc_method.h |
| 4453 | include/grpc++/impl/codegen/rpc_service_method.h |
| 4454 | include/grpc++/impl/codegen/security/auth_context.h |
| 4455 | include/grpc++/impl/codegen/serialization_traits.h |
| 4456 | include/grpc++/impl/codegen/server_context.h |
| 4457 | include/grpc++/impl/codegen/server_interface.h |
| 4458 | include/grpc++/impl/codegen/service_type.h |
| 4459 | include/grpc++/impl/codegen/slice.h |
| 4460 | include/grpc++/impl/codegen/status.h |
| 4461 | include/grpc++/impl/codegen/status_code_enum.h |
| 4462 | include/grpc++/impl/codegen/string_ref.h |
| 4463 | include/grpc++/impl/codegen/stub_options.h |
| 4464 | include/grpc++/impl/codegen/sync_stream.h |
| 4465 | include/grpc++/impl/codegen/time.h |
ncteisen | 93a90e6 | 2018-06-18 18:39:56 -0700 | [diff] [blame] | 4466 | include/grpcpp/impl/codegen/async_generic_service.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 4467 | include/grpcpp/impl/codegen/async_stream.h |
| 4468 | include/grpcpp/impl/codegen/async_unary_call.h |
| 4469 | include/grpcpp/impl/codegen/byte_buffer.h |
| 4470 | include/grpcpp/impl/codegen/call.h |
| 4471 | include/grpcpp/impl/codegen/call_hook.h |
| 4472 | include/grpcpp/impl/codegen/channel_interface.h |
| 4473 | include/grpcpp/impl/codegen/client_context.h |
| 4474 | include/grpcpp/impl/codegen/client_unary_call.h |
| 4475 | include/grpcpp/impl/codegen/completion_queue.h |
| 4476 | include/grpcpp/impl/codegen/completion_queue_tag.h |
| 4477 | include/grpcpp/impl/codegen/config.h |
| 4478 | include/grpcpp/impl/codegen/core_codegen_interface.h |
| 4479 | include/grpcpp/impl/codegen/create_auth_context.h |
| 4480 | include/grpcpp/impl/codegen/grpc_library.h |
| 4481 | include/grpcpp/impl/codegen/metadata_map.h |
| 4482 | include/grpcpp/impl/codegen/method_handler_impl.h |
| 4483 | include/grpcpp/impl/codegen/rpc_method.h |
| 4484 | include/grpcpp/impl/codegen/rpc_service_method.h |
| 4485 | include/grpcpp/impl/codegen/security/auth_context.h |
| 4486 | include/grpcpp/impl/codegen/serialization_traits.h |
| 4487 | include/grpcpp/impl/codegen/server_context.h |
| 4488 | include/grpcpp/impl/codegen/server_interface.h |
| 4489 | include/grpcpp/impl/codegen/service_type.h |
| 4490 | include/grpcpp/impl/codegen/slice.h |
| 4491 | include/grpcpp/impl/codegen/status.h |
| 4492 | include/grpcpp/impl/codegen/status_code_enum.h |
| 4493 | include/grpcpp/impl/codegen/string_ref.h |
| 4494 | include/grpcpp/impl/codegen/stub_options.h |
| 4495 | include/grpcpp/impl/codegen/sync_stream.h |
| 4496 | include/grpcpp/impl/codegen/time.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4497 | ) |
| 4498 | string(REPLACE "include/" "" _path ${_hdr}) |
| 4499 | get_filename_component(_path ${_path} PATH) |
| 4500 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4501 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4502 | ) |
| 4503 | endforeach() |
| 4504 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4505 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 4506 | if (gRPC_INSTALL) |
| 4507 | install(TARGETS grpc++_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4508 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4509 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4510 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 4511 | ) |
| 4512 | endif() |
| 4513 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4514 | if (gRPC_BUILD_TESTS) |
| 4515 | |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4516 | add_library(grpc_benchmark |
Craig Tiller | f09ec59 | 2017-03-03 16:52:37 -0800 | [diff] [blame] | 4517 | test/cpp/microbenchmarks/helpers.cc |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4518 | ) |
| 4519 | |
| 4520 | if(WIN32 AND MSVC) |
| 4521 | set_target_properties(grpc_benchmark PROPERTIES COMPILE_PDB_NAME "grpc_benchmark" |
| 4522 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4523 | ) |
| 4524 | if (gRPC_INSTALL) |
| 4525 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_benchmark.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4526 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4527 | ) |
| 4528 | endif() |
| 4529 | endif() |
| 4530 | |
| 4531 | |
| 4532 | target_include_directories(grpc_benchmark |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4533 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4534 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4535 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4536 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4537 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4538 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4539 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4540 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 4541 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 4542 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4543 | PRIVATE third_party/googletest/googletest/include |
| 4544 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4545 | PRIVATE third_party/googletest/googlemock/include |
| 4546 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4547 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4548 | ) |
| 4549 | |
| 4550 | target_link_libraries(grpc_benchmark |
| 4551 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4552 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4553 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 4554 | grpc++_unsecure |
| 4555 | grpc_test_util_unsecure |
| 4556 | grpc_unsecure |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4557 | ${_gRPC_GFLAGS_LIBRARIES} |
| 4558 | ) |
| 4559 | |
| 4560 | |
| 4561 | endif (gRPC_BUILD_TESTS) |
| 4562 | if (gRPC_BUILD_TESTS) |
| 4563 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4564 | if (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4565 | add_library(grpc_cli_libs |
| 4566 | test/cpp/util/cli_call.cc |
| 4567 | test/cpp/util/cli_credentials.cc |
| 4568 | test/cpp/util/grpc_tool.cc |
| 4569 | test/cpp/util/proto_file_parser.cc |
| 4570 | test/cpp/util/service_describer.cc |
| 4571 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 4572 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 4573 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 4574 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 4575 | ) |
| 4576 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4577 | if(WIN32 AND MSVC) |
| 4578 | set_target_properties(grpc_cli_libs PROPERTIES COMPILE_PDB_NAME "grpc_cli_libs" |
| 4579 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4580 | ) |
| 4581 | if (gRPC_INSTALL) |
| 4582 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cli_libs.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4583 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4584 | ) |
| 4585 | endif() |
| 4586 | endif() |
| 4587 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4588 | protobuf_generate_grpc_cpp( |
| 4589 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 4590 | ) |
| 4591 | |
| 4592 | target_include_directories(grpc_cli_libs |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4593 | 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] | 4594 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4595 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4596 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4597 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4598 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4599 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4600 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 4601 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 4602 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4603 | PRIVATE third_party/googletest/googletest/include |
| 4604 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4605 | PRIVATE third_party/googletest/googlemock/include |
| 4606 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4607 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4608 | ) |
| 4609 | |
| 4610 | target_link_libraries(grpc_cli_libs |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4611 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4612 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4613 | grpc++_proto_reflection_desc_db |
| 4614 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 4615 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4616 | ) |
| 4617 | |
| 4618 | foreach(_hdr |
| 4619 | include/grpc++/impl/codegen/config_protobuf.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 4620 | include/grpcpp/impl/codegen/config_protobuf.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4621 | ) |
| 4622 | string(REPLACE "include/" "" _path ${_hdr}) |
| 4623 | get_filename_component(_path ${_path} PATH) |
| 4624 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4625 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4626 | ) |
| 4627 | endforeach() |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4628 | endif (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4629 | |
| 4630 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4631 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4632 | add_library(grpc_plugin_support |
| 4633 | src/compiler/cpp_generator.cc |
| 4634 | src/compiler/csharp_generator.cc |
| 4635 | src/compiler/node_generator.cc |
| 4636 | src/compiler/objective_c_generator.cc |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 4637 | src/compiler/php_generator.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4638 | src/compiler/python_generator.cc |
| 4639 | src/compiler/ruby_generator.cc |
| 4640 | ) |
| 4641 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4642 | if(WIN32 AND MSVC) |
| 4643 | set_target_properties(grpc_plugin_support PROPERTIES COMPILE_PDB_NAME "grpc_plugin_support" |
| 4644 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4645 | ) |
| 4646 | if (gRPC_INSTALL) |
| 4647 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_plugin_support.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4648 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4649 | ) |
| 4650 | endif() |
| 4651 | endif() |
| 4652 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4653 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4654 | target_include_directories(grpc_plugin_support |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4655 | 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] | 4656 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4657 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4658 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4659 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4660 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4661 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4662 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 4663 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 4664 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4665 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4666 | ) |
| 4667 | |
| 4668 | target_link_libraries(grpc_plugin_support |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 4669 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4670 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4671 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4672 | ) |
| 4673 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4674 | foreach(_hdr |
| 4675 | include/grpc++/impl/codegen/config_protobuf.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 4676 | include/grpcpp/impl/codegen/config_protobuf.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4677 | ) |
| 4678 | string(REPLACE "include/" "" _path ${_hdr}) |
| 4679 | get_filename_component(_path ${_path} PATH) |
| 4680 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4681 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4682 | ) |
| 4683 | endforeach() |
| 4684 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4685 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 4686 | if (gRPC_INSTALL) |
| 4687 | install(TARGETS grpc_plugin_support EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4688 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4689 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4690 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 4691 | ) |
| 4692 | endif() |
| 4693 | |
ncteisen | c194528 | 2018-07-16 22:24:53 -0700 | [diff] [blame] | 4694 | |
| 4695 | if (gRPC_BUILD_CODEGEN) |
| 4696 | add_library(grpcpp_channelz |
| 4697 | src/cpp/server/channelz/channelz_service.cc |
| 4698 | src/cpp/server/channelz/channelz_service_plugin.cc |
| 4699 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.cc |
| 4700 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.cc |
| 4701 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.h |
| 4702 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.h |
| 4703 | ) |
| 4704 | |
| 4705 | if(WIN32 AND MSVC) |
| 4706 | set_target_properties(grpcpp_channelz PROPERTIES COMPILE_PDB_NAME "grpcpp_channelz" |
| 4707 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4708 | ) |
| 4709 | if (gRPC_INSTALL) |
| 4710 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpcpp_channelz.pdb |
| 4711 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 4712 | ) |
| 4713 | endif() |
| 4714 | endif() |
| 4715 | |
| 4716 | protobuf_generate_grpc_cpp( |
| 4717 | src/proto/grpc/channelz/channelz.proto |
| 4718 | ) |
| 4719 | |
| 4720 | target_include_directories(grpcpp_channelz |
| 4721 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
| 4722 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4723 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 4724 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4725 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4726 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4727 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4728 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 4729 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
| 4730 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
| 4731 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4732 | ) |
| 4733 | |
| 4734 | target_link_libraries(grpcpp_channelz |
| 4735 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4736 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4737 | grpc++ |
| 4738 | grpc |
| 4739 | ) |
| 4740 | |
ncteisen | 6104e4f | 2018-07-19 14:59:10 -0700 | [diff] [blame] | 4741 | foreach(_hdr |
| 4742 | include/grpcpp/ext/channelz_service_plugin.h |
| 4743 | ) |
| 4744 | string(REPLACE "include/" "" _path ${_hdr}) |
| 4745 | get_filename_component(_path ${_path} PATH) |
| 4746 | install(FILES ${_hdr} |
| 4747 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 4748 | ) |
| 4749 | endforeach() |
ncteisen | c194528 | 2018-07-16 22:24:53 -0700 | [diff] [blame] | 4750 | endif (gRPC_BUILD_CODEGEN) |
| 4751 | |
| 4752 | |
| 4753 | if (gRPC_INSTALL) |
| 4754 | install(TARGETS grpcpp_channelz EXPORT gRPCTargets |
| 4755 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4756 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4757 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4758 | ) |
| 4759 | endif() |
| 4760 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4761 | if (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4762 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4763 | if (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4764 | add_library(http2_client_main |
| 4765 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4766 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4767 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4768 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4769 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4770 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4771 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4772 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4773 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4774 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4775 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4776 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4777 | test/cpp/interop/http2_client.cc |
| 4778 | ) |
| 4779 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4780 | if(WIN32 AND MSVC) |
| 4781 | set_target_properties(http2_client_main PROPERTIES COMPILE_PDB_NAME "http2_client_main" |
| 4782 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4783 | ) |
| 4784 | if (gRPC_INSTALL) |
| 4785 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/http2_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4786 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4787 | ) |
| 4788 | endif() |
| 4789 | endif() |
| 4790 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4791 | protobuf_generate_grpc_cpp( |
| 4792 | src/proto/grpc/testing/empty.proto |
| 4793 | ) |
| 4794 | protobuf_generate_grpc_cpp( |
| 4795 | src/proto/grpc/testing/messages.proto |
| 4796 | ) |
| 4797 | protobuf_generate_grpc_cpp( |
| 4798 | src/proto/grpc/testing/test.proto |
| 4799 | ) |
| 4800 | |
| 4801 | target_include_directories(http2_client_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4802 | 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] | 4803 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4804 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4805 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4806 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4807 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4808 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4809 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 4810 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 4811 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4812 | PRIVATE third_party/googletest/googletest/include |
| 4813 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4814 | PRIVATE third_party/googletest/googlemock/include |
| 4815 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4816 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4817 | ) |
| 4818 | |
| 4819 | target_link_libraries(http2_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4820 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4821 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4822 | grpc++_test_util |
| 4823 | grpc_test_util |
| 4824 | grpc++ |
| 4825 | grpc |
| 4826 | grpc++_test_config |
| 4827 | ) |
| 4828 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4829 | endif (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4830 | |
| 4831 | endif (gRPC_BUILD_TESTS) |
| 4832 | if (gRPC_BUILD_TESTS) |
| 4833 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4834 | if (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4835 | add_library(interop_client_helper |
| 4836 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4837 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4838 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4839 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4840 | test/cpp/interop/client_helper.cc |
| 4841 | ) |
| 4842 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4843 | if(WIN32 AND MSVC) |
| 4844 | set_target_properties(interop_client_helper PROPERTIES COMPILE_PDB_NAME "interop_client_helper" |
| 4845 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4846 | ) |
| 4847 | if (gRPC_INSTALL) |
| 4848 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4849 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4850 | ) |
| 4851 | endif() |
| 4852 | endif() |
| 4853 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4854 | protobuf_generate_grpc_cpp( |
| 4855 | src/proto/grpc/testing/messages.proto |
| 4856 | ) |
| 4857 | |
| 4858 | target_include_directories(interop_client_helper |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4859 | 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] | 4860 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4861 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4862 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4863 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4864 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4865 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4866 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 4867 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 4868 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4869 | PRIVATE third_party/googletest/googletest/include |
| 4870 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4871 | PRIVATE third_party/googletest/googlemock/include |
| 4872 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4873 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4874 | ) |
| 4875 | |
| 4876 | target_link_libraries(interop_client_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4877 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4878 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4879 | grpc++_test_util |
| 4880 | grpc_test_util |
| 4881 | grpc++ |
| 4882 | grpc |
| 4883 | gpr |
| 4884 | ) |
| 4885 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4886 | endif (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4887 | |
| 4888 | endif (gRPC_BUILD_TESTS) |
| 4889 | if (gRPC_BUILD_TESTS) |
| 4890 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4891 | if (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4892 | add_library(interop_client_main |
| 4893 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4894 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4895 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4896 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4897 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4898 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4899 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4900 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4901 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4902 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4903 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4904 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4905 | test/cpp/interop/client.cc |
| 4906 | test/cpp/interop/interop_client.cc |
| 4907 | ) |
| 4908 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4909 | if(WIN32 AND MSVC) |
| 4910 | set_target_properties(interop_client_main PROPERTIES COMPILE_PDB_NAME "interop_client_main" |
| 4911 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4912 | ) |
| 4913 | if (gRPC_INSTALL) |
| 4914 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4915 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4916 | ) |
| 4917 | endif() |
| 4918 | endif() |
| 4919 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4920 | protobuf_generate_grpc_cpp( |
| 4921 | src/proto/grpc/testing/empty.proto |
| 4922 | ) |
| 4923 | protobuf_generate_grpc_cpp( |
| 4924 | src/proto/grpc/testing/messages.proto |
| 4925 | ) |
| 4926 | protobuf_generate_grpc_cpp( |
| 4927 | src/proto/grpc/testing/test.proto |
| 4928 | ) |
| 4929 | |
| 4930 | target_include_directories(interop_client_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4931 | 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] | 4932 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4933 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4934 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4935 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4936 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4937 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4938 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 4939 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 4940 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4941 | PRIVATE third_party/googletest/googletest/include |
| 4942 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4943 | PRIVATE third_party/googletest/googlemock/include |
| 4944 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4945 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4946 | ) |
| 4947 | |
| 4948 | target_link_libraries(interop_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4949 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4950 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4951 | interop_client_helper |
| 4952 | grpc++_test_util |
| 4953 | grpc_test_util |
| 4954 | grpc++ |
| 4955 | grpc |
| 4956 | gpr_test_util |
| 4957 | gpr |
| 4958 | grpc++_test_config |
| 4959 | ) |
| 4960 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4961 | endif (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4962 | |
| 4963 | endif (gRPC_BUILD_TESTS) |
| 4964 | if (gRPC_BUILD_TESTS) |
| 4965 | |
| 4966 | add_library(interop_server_helper |
| 4967 | test/cpp/interop/server_helper.cc |
| 4968 | ) |
| 4969 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4970 | if(WIN32 AND MSVC) |
| 4971 | set_target_properties(interop_server_helper PROPERTIES COMPILE_PDB_NAME "interop_server_helper" |
| 4972 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4973 | ) |
| 4974 | if (gRPC_INSTALL) |
| 4975 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4976 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4977 | ) |
| 4978 | endif() |
| 4979 | endif() |
| 4980 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4981 | |
| 4982 | target_include_directories(interop_server_helper |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4983 | 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] | 4984 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4985 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4986 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4987 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4988 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4989 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4990 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 4991 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 4992 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4993 | PRIVATE third_party/googletest/googletest/include |
| 4994 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4995 | PRIVATE third_party/googletest/googlemock/include |
| 4996 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4997 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4998 | ) |
| 4999 | |
| 5000 | target_link_libraries(interop_server_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5001 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 5002 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5003 | grpc++_test_util |
| 5004 | grpc_test_util |
| 5005 | grpc++ |
| 5006 | grpc |
| 5007 | gpr |
| 5008 | ) |
| 5009 | |
| 5010 | |
| 5011 | endif (gRPC_BUILD_TESTS) |
| 5012 | if (gRPC_BUILD_TESTS) |
| 5013 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 5014 | if (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5015 | add_library(interop_server_lib |
| 5016 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 5017 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 5018 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 5019 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 5020 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 5021 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 5022 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 5023 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 5024 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 5025 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 5026 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 5027 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 5028 | test/cpp/interop/interop_server.cc |
| 5029 | ) |
| 5030 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5031 | if(WIN32 AND MSVC) |
| 5032 | set_target_properties(interop_server_lib PROPERTIES COMPILE_PDB_NAME "interop_server_lib" |
| 5033 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 5034 | ) |
| 5035 | if (gRPC_INSTALL) |
| 5036 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_lib.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5037 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5038 | ) |
| 5039 | endif() |
| 5040 | endif() |
| 5041 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5042 | protobuf_generate_grpc_cpp( |
| 5043 | src/proto/grpc/testing/empty.proto |
| 5044 | ) |
| 5045 | protobuf_generate_grpc_cpp( |
| 5046 | src/proto/grpc/testing/messages.proto |
| 5047 | ) |
| 5048 | protobuf_generate_grpc_cpp( |
| 5049 | src/proto/grpc/testing/test.proto |
| 5050 | ) |
| 5051 | |
| 5052 | target_include_directories(interop_server_lib |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 5053 | 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] | 5054 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5055 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5056 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5057 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5058 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5059 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5060 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5061 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5062 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 5063 | PRIVATE third_party/googletest/googletest/include |
| 5064 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 5065 | PRIVATE third_party/googletest/googlemock/include |
| 5066 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5067 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 5068 | ) |
| 5069 | |
| 5070 | target_link_libraries(interop_server_lib |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5071 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 5072 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5073 | interop_server_helper |
| 5074 | grpc++_test_util |
| 5075 | grpc_test_util |
| 5076 | grpc++ |
| 5077 | grpc |
| 5078 | gpr_test_util |
| 5079 | gpr |
| 5080 | grpc++_test_config |
| 5081 | ) |
| 5082 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 5083 | endif (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5084 | |
| 5085 | endif (gRPC_BUILD_TESTS) |
| 5086 | if (gRPC_BUILD_TESTS) |
| 5087 | |
| 5088 | add_library(interop_server_main |
| 5089 | test/cpp/interop/interop_server_bootstrap.cc |
| 5090 | ) |
| 5091 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5092 | if(WIN32 AND MSVC) |
| 5093 | set_target_properties(interop_server_main PROPERTIES COMPILE_PDB_NAME "interop_server_main" |
| 5094 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 5095 | ) |
| 5096 | if (gRPC_INSTALL) |
| 5097 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5098 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5099 | ) |
| 5100 | endif() |
| 5101 | endif() |
| 5102 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5103 | |
| 5104 | target_include_directories(interop_server_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 5105 | 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] | 5106 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5107 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5108 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5109 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5110 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5111 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5112 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5113 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5114 | PRIVATE ${_gRPC_NANOPB_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 | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5119 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5120 | ) |
| 5121 | |
| 5122 | target_link_libraries(interop_server_main |
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 | interop_server_lib |
| 5126 | ) |
| 5127 | |
| 5128 | |
| 5129 | endif (gRPC_BUILD_TESTS) |
| 5130 | if (gRPC_BUILD_TESTS) |
| 5131 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 5132 | if (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5133 | add_library(qps |
| 5134 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 5135 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 5136 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 5137 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 5138 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 5139 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 5140 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 5141 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 5142 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 5143 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 5144 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 5145 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
| 5146 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 5147 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 5148 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 5149 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
kpayson64 | 7a20c96 | 2018-04-18 15:19:55 -0700 | [diff] [blame] | 5150 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.pb.cc |
| 5151 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.grpc.pb.cc |
| 5152 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.pb.h |
| 5153 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.grpc.pb.h |
| 5154 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.pb.cc |
| 5155 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.cc |
| 5156 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.pb.h |
| 5157 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.h |
| 5158 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.pb.cc |
| 5159 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.grpc.pb.cc |
| 5160 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.pb.h |
| 5161 | ${_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] | 5162 | test/cpp/qps/benchmark_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5163 | test/cpp/qps/client_async.cc |
| 5164 | test/cpp/qps/client_sync.cc |
| 5165 | test/cpp/qps/driver.cc |
| 5166 | test/cpp/qps/parse_json.cc |
| 5167 | test/cpp/qps/qps_worker.cc |
| 5168 | test/cpp/qps/report.cc |
| 5169 | test/cpp/qps/server_async.cc |
| 5170 | test/cpp/qps/server_sync.cc |
| 5171 | test/cpp/qps/usage_timer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5172 | ) |
| 5173 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5174 | if(WIN32 AND MSVC) |
| 5175 | set_target_properties(qps PROPERTIES COMPILE_PDB_NAME "qps" |
| 5176 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 5177 | ) |
| 5178 | if (gRPC_INSTALL) |
| 5179 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qps.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5180 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5181 | ) |
| 5182 | endif() |
| 5183 | endif() |
| 5184 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5185 | protobuf_generate_grpc_cpp( |
| 5186 | src/proto/grpc/testing/messages.proto |
| 5187 | ) |
| 5188 | protobuf_generate_grpc_cpp( |
| 5189 | src/proto/grpc/testing/payloads.proto |
| 5190 | ) |
| 5191 | protobuf_generate_grpc_cpp( |
| 5192 | src/proto/grpc/testing/stats.proto |
| 5193 | ) |
| 5194 | protobuf_generate_grpc_cpp( |
| 5195 | src/proto/grpc/testing/control.proto |
| 5196 | ) |
| 5197 | protobuf_generate_grpc_cpp( |
kpayson64 | 7a20c96 | 2018-04-18 15:19:55 -0700 | [diff] [blame] | 5198 | src/proto/grpc/testing/benchmark_service.proto |
| 5199 | ) |
| 5200 | protobuf_generate_grpc_cpp( |
| 5201 | src/proto/grpc/testing/report_qps_scenario_service.proto |
| 5202 | ) |
| 5203 | protobuf_generate_grpc_cpp( |
| 5204 | src/proto/grpc/testing/worker_service.proto |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5205 | ) |
| 5206 | |
| 5207 | target_include_directories(qps |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 5208 | 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] | 5209 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5210 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5211 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5212 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5213 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5214 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5215 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5216 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5217 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 5218 | PRIVATE third_party/googletest/googletest/include |
| 5219 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 5220 | PRIVATE third_party/googletest/googlemock/include |
| 5221 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5222 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 5223 | ) |
| 5224 | |
| 5225 | target_link_libraries(qps |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5226 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 5227 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5228 | grpc_test_util |
| 5229 | grpc++_test_util |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 5230 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5231 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 5232 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5233 | ) |
| 5234 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 5235 | endif (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5236 | |
| 5237 | endif (gRPC_BUILD_TESTS) |
Jozef Izso | ec47794 | 2018-06-19 17:33:48 +0200 | [diff] [blame] | 5238 | if (gRPC_BUILD_CSHARP_EXT) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5239 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 5240 | add_library(grpc_csharp_ext SHARED |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5241 | src/csharp/ext/grpc_csharp_ext.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5242 | ) |
| 5243 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5244 | if(WIN32 AND MSVC) |
| 5245 | set_target_properties(grpc_csharp_ext PROPERTIES COMPILE_PDB_NAME "grpc_csharp_ext" |
| 5246 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 5247 | ) |
| 5248 | if (gRPC_INSTALL) |
| 5249 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_csharp_ext.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5250 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5251 | ) |
| 5252 | endif() |
| 5253 | endif() |
| 5254 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5255 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5256 | target_include_directories(grpc_csharp_ext |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 5257 | 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] | 5258 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5259 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5260 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5261 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5262 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5263 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5264 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5265 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5266 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5267 | ) |
| 5268 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5269 | target_link_libraries(grpc_csharp_ext |
| 5270 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5271 | grpc |
| 5272 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5273 | ) |
| 5274 | |
| 5275 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5276 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5277 | if (gRPC_INSTALL) |
| 5278 | install(TARGETS grpc_csharp_ext EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5279 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 5280 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 5281 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5282 | ) |
| 5283 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5284 | |
Jozef Izso | ec47794 | 2018-06-19 17:33:48 +0200 | [diff] [blame] | 5285 | endif (gRPC_BUILD_CSHARP_EXT) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5286 | if (gRPC_BUILD_TESTS) |
| 5287 | |
| 5288 | add_library(bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5289 | test/core/bad_client/bad_client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5290 | ) |
| 5291 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5292 | if(WIN32 AND MSVC) |
| 5293 | set_target_properties(bad_client_test PROPERTIES COMPILE_PDB_NAME "bad_client_test" |
| 5294 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 5295 | ) |
| 5296 | if (gRPC_INSTALL) |
| 5297 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_client_test.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5298 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5299 | ) |
| 5300 | endif() |
| 5301 | endif() |
| 5302 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5303 | |
| 5304 | target_include_directories(bad_client_test |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 5305 | 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] | 5306 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5307 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5308 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5309 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5310 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5311 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5312 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5313 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5314 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5315 | ) |
| 5316 | |
| 5317 | target_link_libraries(bad_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5318 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5319 | grpc_test_util_unsecure |
| 5320 | grpc_unsecure |
| 5321 | gpr_test_util |
| 5322 | gpr |
| 5323 | ) |
| 5324 | |
| 5325 | |
| 5326 | endif (gRPC_BUILD_TESTS) |
| 5327 | if (gRPC_BUILD_TESTS) |
| 5328 | |
| 5329 | add_library(bad_ssl_test_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5330 | test/core/bad_ssl/server_common.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5331 | ) |
| 5332 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5333 | if(WIN32 AND MSVC) |
| 5334 | set_target_properties(bad_ssl_test_server PROPERTIES COMPILE_PDB_NAME "bad_ssl_test_server" |
| 5335 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 5336 | ) |
| 5337 | if (gRPC_INSTALL) |
| 5338 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_ssl_test_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5339 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5340 | ) |
| 5341 | endif() |
| 5342 | endif() |
| 5343 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5344 | |
| 5345 | target_include_directories(bad_ssl_test_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 5346 | 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] | 5347 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5348 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5349 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5350 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5351 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5352 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5353 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5354 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5355 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5356 | ) |
| 5357 | |
| 5358 | target_link_libraries(bad_ssl_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5359 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5360 | grpc_test_util |
| 5361 | grpc |
| 5362 | gpr_test_util |
| 5363 | gpr |
| 5364 | ) |
| 5365 | |
| 5366 | |
| 5367 | endif (gRPC_BUILD_TESTS) |
| 5368 | if (gRPC_BUILD_TESTS) |
| 5369 | |
| 5370 | add_library(end2end_tests |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5371 | test/core/end2end/end2end_tests.cc |
| 5372 | test/core/end2end/end2end_test_utils.cc |
| 5373 | test/core/end2end/tests/authority_not_supported.cc |
| 5374 | test/core/end2end/tests/bad_hostname.cc |
| 5375 | test/core/end2end/tests/bad_ping.cc |
| 5376 | test/core/end2end/tests/binary_metadata.cc |
| 5377 | test/core/end2end/tests/call_creds.cc |
David Garcia Quintas | 861363d | 2018-03-26 15:57:33 -0700 | [diff] [blame] | 5378 | test/core/end2end/tests/call_host_override.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5379 | test/core/end2end/tests/cancel_after_accept.cc |
| 5380 | test/core/end2end/tests/cancel_after_client_done.cc |
| 5381 | test/core/end2end/tests/cancel_after_invoke.cc |
| 5382 | test/core/end2end/tests/cancel_after_round_trip.cc |
| 5383 | test/core/end2end/tests/cancel_before_invoke.cc |
| 5384 | test/core/end2end/tests/cancel_in_a_vacuum.cc |
| 5385 | test/core/end2end/tests/cancel_with_status.cc |
ncteisen | b8a52e0 | 2018-06-07 18:58:03 -0700 | [diff] [blame] | 5386 | test/core/end2end/tests/channelz.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5387 | test/core/end2end/tests/compressed_payload.cc |
| 5388 | test/core/end2end/tests/connectivity.cc |
| 5389 | test/core/end2end/tests/default_host.cc |
| 5390 | test/core/end2end/tests/disappearing_server.cc |
| 5391 | test/core/end2end/tests/empty_batch.cc |
| 5392 | test/core/end2end/tests/filter_call_init_fails.cc |
| 5393 | test/core/end2end/tests/filter_causes_close.cc |
| 5394 | test/core/end2end/tests/filter_latency.cc |
Ken Payson | b353297 | 2018-01-11 20:25:30 -0800 | [diff] [blame] | 5395 | test/core/end2end/tests/filter_status_code.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5396 | test/core/end2end/tests/graceful_server_shutdown.cc |
| 5397 | test/core/end2end/tests/high_initial_seqno.cc |
| 5398 | test/core/end2end/tests/hpack_size.cc |
| 5399 | test/core/end2end/tests/idempotent_request.cc |
| 5400 | test/core/end2end/tests/invoke_large_request.cc |
| 5401 | test/core/end2end/tests/keepalive_timeout.cc |
| 5402 | test/core/end2end/tests/large_metadata.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5403 | test/core/end2end/tests/max_concurrent_streams.cc |
| 5404 | test/core/end2end/tests/max_connection_age.cc |
| 5405 | test/core/end2end/tests/max_connection_idle.cc |
| 5406 | test/core/end2end/tests/max_message_length.cc |
| 5407 | test/core/end2end/tests/negative_deadline.cc |
| 5408 | test/core/end2end/tests/network_status_change.cc |
ncteisen | a94896f | 2018-06-07 16:08:48 -0700 | [diff] [blame] | 5409 | test/core/end2end/tests/no_error_on_hotpath.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5410 | test/core/end2end/tests/no_logging.cc |
| 5411 | test/core/end2end/tests/no_op.cc |
| 5412 | test/core/end2end/tests/payload.cc |
| 5413 | test/core/end2end/tests/ping.cc |
| 5414 | test/core/end2end/tests/ping_pong_streaming.cc |
| 5415 | test/core/end2end/tests/proxy_auth.cc |
| 5416 | test/core/end2end/tests/registered_call.cc |
| 5417 | test/core/end2end/tests/request_with_flags.cc |
| 5418 | test/core/end2end/tests/request_with_payload.cc |
| 5419 | test/core/end2end/tests/resource_quota_server.cc |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 5420 | test/core/end2end/tests/retry.cc |
| 5421 | test/core/end2end/tests/retry_cancellation.cc |
| 5422 | test/core/end2end/tests/retry_disabled.cc |
| 5423 | test/core/end2end/tests/retry_exceeds_buffer_size_in_initial_batch.cc |
| 5424 | test/core/end2end/tests/retry_exceeds_buffer_size_in_subsequent_batch.cc |
| 5425 | test/core/end2end/tests/retry_non_retriable_status.cc |
Mark D. Roth | de077ac | 2018-04-12 08:05:44 -0700 | [diff] [blame] | 5426 | 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] | 5427 | test/core/end2end/tests/retry_recv_initial_metadata.cc |
| 5428 | test/core/end2end/tests/retry_recv_message.cc |
| 5429 | test/core/end2end/tests/retry_server_pushback_delay.cc |
| 5430 | test/core/end2end/tests/retry_server_pushback_disabled.cc |
| 5431 | test/core/end2end/tests/retry_streaming.cc |
| 5432 | test/core/end2end/tests/retry_streaming_after_commit.cc |
| 5433 | test/core/end2end/tests/retry_streaming_succeeds_before_replay_finished.cc |
| 5434 | test/core/end2end/tests/retry_throttled.cc |
| 5435 | test/core/end2end/tests/retry_too_many_attempts.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5436 | test/core/end2end/tests/server_finishes_request.cc |
| 5437 | test/core/end2end/tests/shutdown_finishes_calls.cc |
| 5438 | test/core/end2end/tests/shutdown_finishes_tags.cc |
| 5439 | test/core/end2end/tests/simple_cacheable_request.cc |
| 5440 | test/core/end2end/tests/simple_delayed_request.cc |
| 5441 | test/core/end2end/tests/simple_metadata.cc |
| 5442 | test/core/end2end/tests/simple_request.cc |
| 5443 | test/core/end2end/tests/stream_compression_compressed_payload.cc |
| 5444 | test/core/end2end/tests/stream_compression_payload.cc |
| 5445 | test/core/end2end/tests/stream_compression_ping_pong_streaming.cc |
| 5446 | test/core/end2end/tests/streaming_error_response.cc |
| 5447 | test/core/end2end/tests/trailing_metadata.cc |
| 5448 | test/core/end2end/tests/workaround_cronet_compression.cc |
| 5449 | test/core/end2end/tests/write_buffering.cc |
| 5450 | test/core/end2end/tests/write_buffering_at_end.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5451 | ) |
| 5452 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5453 | if(WIN32 AND MSVC) |
| 5454 | set_target_properties(end2end_tests PROPERTIES COMPILE_PDB_NAME "end2end_tests" |
| 5455 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 5456 | ) |
| 5457 | if (gRPC_INSTALL) |
| 5458 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5459 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5460 | ) |
| 5461 | endif() |
| 5462 | endif() |
| 5463 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5464 | |
| 5465 | target_include_directories(end2end_tests |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 5466 | 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] | 5467 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5468 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5469 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5470 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5471 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5472 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5473 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5474 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5475 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5476 | ) |
| 5477 | |
| 5478 | target_link_libraries(end2end_tests |
| 5479 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5480 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5481 | grpc_test_util |
| 5482 | grpc |
| 5483 | gpr_test_util |
| 5484 | gpr |
| 5485 | ) |
| 5486 | |
| 5487 | |
| 5488 | endif (gRPC_BUILD_TESTS) |
| 5489 | if (gRPC_BUILD_TESTS) |
| 5490 | |
| 5491 | add_library(end2end_nosec_tests |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5492 | test/core/end2end/end2end_nosec_tests.cc |
| 5493 | test/core/end2end/end2end_test_utils.cc |
| 5494 | test/core/end2end/tests/authority_not_supported.cc |
| 5495 | test/core/end2end/tests/bad_hostname.cc |
| 5496 | test/core/end2end/tests/bad_ping.cc |
| 5497 | test/core/end2end/tests/binary_metadata.cc |
David Garcia Quintas | 861363d | 2018-03-26 15:57:33 -0700 | [diff] [blame] | 5498 | test/core/end2end/tests/call_host_override.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5499 | test/core/end2end/tests/cancel_after_accept.cc |
| 5500 | test/core/end2end/tests/cancel_after_client_done.cc |
| 5501 | test/core/end2end/tests/cancel_after_invoke.cc |
| 5502 | test/core/end2end/tests/cancel_after_round_trip.cc |
| 5503 | test/core/end2end/tests/cancel_before_invoke.cc |
| 5504 | test/core/end2end/tests/cancel_in_a_vacuum.cc |
| 5505 | test/core/end2end/tests/cancel_with_status.cc |
ncteisen | b8a52e0 | 2018-06-07 18:58:03 -0700 | [diff] [blame] | 5506 | test/core/end2end/tests/channelz.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5507 | test/core/end2end/tests/compressed_payload.cc |
| 5508 | test/core/end2end/tests/connectivity.cc |
| 5509 | test/core/end2end/tests/default_host.cc |
| 5510 | test/core/end2end/tests/disappearing_server.cc |
| 5511 | test/core/end2end/tests/empty_batch.cc |
| 5512 | test/core/end2end/tests/filter_call_init_fails.cc |
| 5513 | test/core/end2end/tests/filter_causes_close.cc |
| 5514 | test/core/end2end/tests/filter_latency.cc |
Ken Payson | b353297 | 2018-01-11 20:25:30 -0800 | [diff] [blame] | 5515 | test/core/end2end/tests/filter_status_code.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5516 | test/core/end2end/tests/graceful_server_shutdown.cc |
| 5517 | test/core/end2end/tests/high_initial_seqno.cc |
| 5518 | test/core/end2end/tests/hpack_size.cc |
| 5519 | test/core/end2end/tests/idempotent_request.cc |
| 5520 | test/core/end2end/tests/invoke_large_request.cc |
| 5521 | test/core/end2end/tests/keepalive_timeout.cc |
| 5522 | test/core/end2end/tests/large_metadata.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5523 | test/core/end2end/tests/max_concurrent_streams.cc |
| 5524 | test/core/end2end/tests/max_connection_age.cc |
| 5525 | test/core/end2end/tests/max_connection_idle.cc |
| 5526 | test/core/end2end/tests/max_message_length.cc |
| 5527 | test/core/end2end/tests/negative_deadline.cc |
| 5528 | test/core/end2end/tests/network_status_change.cc |
ncteisen | a94896f | 2018-06-07 16:08:48 -0700 | [diff] [blame] | 5529 | test/core/end2end/tests/no_error_on_hotpath.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5530 | test/core/end2end/tests/no_logging.cc |
| 5531 | test/core/end2end/tests/no_op.cc |
| 5532 | test/core/end2end/tests/payload.cc |
| 5533 | test/core/end2end/tests/ping.cc |
| 5534 | test/core/end2end/tests/ping_pong_streaming.cc |
| 5535 | test/core/end2end/tests/proxy_auth.cc |
| 5536 | test/core/end2end/tests/registered_call.cc |
| 5537 | test/core/end2end/tests/request_with_flags.cc |
| 5538 | test/core/end2end/tests/request_with_payload.cc |
| 5539 | test/core/end2end/tests/resource_quota_server.cc |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 5540 | test/core/end2end/tests/retry.cc |
| 5541 | test/core/end2end/tests/retry_cancellation.cc |
| 5542 | test/core/end2end/tests/retry_disabled.cc |
| 5543 | test/core/end2end/tests/retry_exceeds_buffer_size_in_initial_batch.cc |
| 5544 | test/core/end2end/tests/retry_exceeds_buffer_size_in_subsequent_batch.cc |
| 5545 | test/core/end2end/tests/retry_non_retriable_status.cc |
Mark D. Roth | de077ac | 2018-04-12 08:05:44 -0700 | [diff] [blame] | 5546 | 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] | 5547 | test/core/end2end/tests/retry_recv_initial_metadata.cc |
| 5548 | test/core/end2end/tests/retry_recv_message.cc |
| 5549 | test/core/end2end/tests/retry_server_pushback_delay.cc |
| 5550 | test/core/end2end/tests/retry_server_pushback_disabled.cc |
| 5551 | test/core/end2end/tests/retry_streaming.cc |
| 5552 | test/core/end2end/tests/retry_streaming_after_commit.cc |
| 5553 | test/core/end2end/tests/retry_streaming_succeeds_before_replay_finished.cc |
| 5554 | test/core/end2end/tests/retry_throttled.cc |
| 5555 | test/core/end2end/tests/retry_too_many_attempts.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5556 | test/core/end2end/tests/server_finishes_request.cc |
| 5557 | test/core/end2end/tests/shutdown_finishes_calls.cc |
| 5558 | test/core/end2end/tests/shutdown_finishes_tags.cc |
| 5559 | test/core/end2end/tests/simple_cacheable_request.cc |
| 5560 | test/core/end2end/tests/simple_delayed_request.cc |
| 5561 | test/core/end2end/tests/simple_metadata.cc |
| 5562 | test/core/end2end/tests/simple_request.cc |
| 5563 | test/core/end2end/tests/stream_compression_compressed_payload.cc |
| 5564 | test/core/end2end/tests/stream_compression_payload.cc |
| 5565 | test/core/end2end/tests/stream_compression_ping_pong_streaming.cc |
| 5566 | test/core/end2end/tests/streaming_error_response.cc |
| 5567 | test/core/end2end/tests/trailing_metadata.cc |
| 5568 | test/core/end2end/tests/workaround_cronet_compression.cc |
| 5569 | test/core/end2end/tests/write_buffering.cc |
| 5570 | test/core/end2end/tests/write_buffering_at_end.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5571 | ) |
| 5572 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5573 | if(WIN32 AND MSVC) |
| 5574 | set_target_properties(end2end_nosec_tests PROPERTIES COMPILE_PDB_NAME "end2end_nosec_tests" |
| 5575 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 5576 | ) |
| 5577 | if (gRPC_INSTALL) |
| 5578 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_nosec_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5579 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5580 | ) |
| 5581 | endif() |
| 5582 | endif() |
| 5583 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5584 | |
| 5585 | target_include_directories(end2end_nosec_tests |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 5586 | 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] | 5587 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5588 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5589 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5590 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5591 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5592 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5593 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5594 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5595 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5596 | ) |
| 5597 | |
| 5598 | target_link_libraries(end2end_nosec_tests |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5599 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5600 | grpc_test_util_unsecure |
| 5601 | grpc_unsecure |
| 5602 | gpr_test_util |
| 5603 | gpr |
| 5604 | ) |
| 5605 | |
| 5606 | |
| 5607 | endif (gRPC_BUILD_TESTS) |
| 5608 | |
| 5609 | if (gRPC_BUILD_TESTS) |
| 5610 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5611 | add_executable(algorithm_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5612 | test/core/compression/algorithm_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5613 | ) |
| 5614 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5615 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5616 | target_include_directories(algorithm_test |
| 5617 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5618 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5619 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5620 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5621 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5622 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5623 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5624 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5625 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5626 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5627 | ) |
| 5628 | |
| 5629 | target_link_libraries(algorithm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5630 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5631 | grpc_test_util |
| 5632 | grpc |
| 5633 | gpr_test_util |
| 5634 | gpr |
| 5635 | ) |
| 5636 | |
| 5637 | endif (gRPC_BUILD_TESTS) |
| 5638 | if (gRPC_BUILD_TESTS) |
| 5639 | |
| 5640 | add_executable(alloc_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5641 | test/core/gpr/alloc_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5642 | ) |
| 5643 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5644 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5645 | target_include_directories(alloc_test |
| 5646 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5647 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5648 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5649 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5650 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5651 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5652 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5653 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5654 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5655 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5656 | ) |
| 5657 | |
| 5658 | target_link_libraries(alloc_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5659 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5660 | gpr_test_util |
| 5661 | gpr |
| 5662 | ) |
| 5663 | |
| 5664 | endif (gRPC_BUILD_TESTS) |
| 5665 | if (gRPC_BUILD_TESTS) |
| 5666 | |
| 5667 | add_executable(alpn_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5668 | test/core/transport/chttp2/alpn_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5669 | ) |
| 5670 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5671 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5672 | target_include_directories(alpn_test |
| 5673 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5674 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5675 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5676 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5677 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5678 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5679 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5680 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5681 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5682 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5683 | ) |
| 5684 | |
| 5685 | target_link_libraries(alpn_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5686 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5687 | grpc_test_util |
| 5688 | grpc |
| 5689 | gpr_test_util |
| 5690 | gpr |
| 5691 | ) |
| 5692 | |
| 5693 | endif (gRPC_BUILD_TESTS) |
| 5694 | if (gRPC_BUILD_TESTS) |
| 5695 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 5696 | add_executable(arena_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5697 | test/core/gpr/arena_test.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 5698 | ) |
| 5699 | |
| 5700 | |
| 5701 | target_include_directories(arena_test |
| 5702 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5703 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5704 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5705 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5706 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5707 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5708 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5709 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5710 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5711 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 5712 | ) |
| 5713 | |
| 5714 | target_link_libraries(arena_test |
| 5715 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5716 | gpr_test_util |
| 5717 | gpr |
| 5718 | ) |
| 5719 | |
| 5720 | endif (gRPC_BUILD_TESTS) |
| 5721 | if (gRPC_BUILD_TESTS) |
| 5722 | |
Vijay Pai | 8f4fbb1 | 2018-02-08 10:04:08 -0800 | [diff] [blame] | 5723 | add_executable(avl_test |
| 5724 | test/core/avl/avl_test.cc |
| 5725 | ) |
| 5726 | |
| 5727 | |
| 5728 | target_include_directories(avl_test |
| 5729 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5730 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5731 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 5732 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5733 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5734 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5735 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5736 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5737 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5738 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Vijay Pai | 8f4fbb1 | 2018-02-08 10:04:08 -0800 | [diff] [blame] | 5739 | ) |
| 5740 | |
| 5741 | target_link_libraries(avl_test |
| 5742 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5743 | gpr_test_util |
| 5744 | gpr |
| 5745 | grpc |
| 5746 | ) |
| 5747 | |
| 5748 | endif (gRPC_BUILD_TESTS) |
| 5749 | if (gRPC_BUILD_TESTS) |
| 5750 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5751 | add_executable(bad_server_response_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5752 | test/core/end2end/bad_server_response_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5753 | ) |
| 5754 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5755 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5756 | target_include_directories(bad_server_response_test |
| 5757 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5758 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5759 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5760 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5761 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5762 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5763 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5764 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5765 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5766 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5767 | ) |
| 5768 | |
| 5769 | target_link_libraries(bad_server_response_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5770 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5771 | test_tcp_server |
| 5772 | grpc_test_util |
| 5773 | grpc |
| 5774 | gpr_test_util |
| 5775 | gpr |
| 5776 | ) |
| 5777 | |
| 5778 | endif (gRPC_BUILD_TESTS) |
| 5779 | if (gRPC_BUILD_TESTS) |
| 5780 | |
| 5781 | add_executable(bin_decoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5782 | test/core/transport/chttp2/bin_decoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5783 | ) |
| 5784 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5785 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5786 | target_include_directories(bin_decoder_test |
| 5787 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5788 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5789 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5790 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5791 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5792 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5793 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5794 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5795 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5796 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5797 | ) |
| 5798 | |
| 5799 | target_link_libraries(bin_decoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5800 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5801 | grpc_test_util |
| 5802 | grpc |
| 5803 | ) |
| 5804 | |
| 5805 | endif (gRPC_BUILD_TESTS) |
| 5806 | if (gRPC_BUILD_TESTS) |
| 5807 | |
| 5808 | add_executable(bin_encoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5809 | test/core/transport/chttp2/bin_encoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5810 | ) |
| 5811 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5812 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5813 | target_include_directories(bin_encoder_test |
| 5814 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5815 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5816 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5817 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5818 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5819 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5820 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5821 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5822 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5823 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5824 | ) |
| 5825 | |
| 5826 | target_link_libraries(bin_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5827 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5828 | grpc_test_util |
| 5829 | grpc |
| 5830 | ) |
| 5831 | |
| 5832 | endif (gRPC_BUILD_TESTS) |
| 5833 | if (gRPC_BUILD_TESTS) |
| 5834 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5835 | add_executable(channel_create_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5836 | test/core/surface/channel_create_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5837 | ) |
| 5838 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5839 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5840 | target_include_directories(channel_create_test |
| 5841 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5842 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5843 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5844 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5845 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5846 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5847 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5848 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5849 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5850 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5851 | ) |
| 5852 | |
| 5853 | target_link_libraries(channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5854 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5855 | grpc_test_util |
| 5856 | grpc |
| 5857 | gpr_test_util |
| 5858 | gpr |
| 5859 | ) |
| 5860 | |
| 5861 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5862 | |
| 5863 | add_executable(check_epollexclusive |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 5864 | test/build/check_epollexclusive.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5865 | ) |
| 5866 | |
| 5867 | |
| 5868 | target_include_directories(check_epollexclusive |
| 5869 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5870 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5871 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5872 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5873 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5874 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5875 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5876 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5877 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5878 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5879 | ) |
| 5880 | |
| 5881 | target_link_libraries(check_epollexclusive |
| 5882 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5883 | grpc |
| 5884 | gpr |
| 5885 | ) |
| 5886 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5887 | if (gRPC_BUILD_TESTS) |
| 5888 | |
| 5889 | add_executable(chttp2_hpack_encoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5890 | test/core/transport/chttp2/hpack_encoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5891 | ) |
| 5892 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5893 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5894 | target_include_directories(chttp2_hpack_encoder_test |
| 5895 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5896 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5897 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5898 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5899 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5900 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5901 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5902 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5903 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5904 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5905 | ) |
| 5906 | |
| 5907 | target_link_libraries(chttp2_hpack_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5908 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5909 | grpc_test_util |
| 5910 | grpc |
| 5911 | gpr_test_util |
| 5912 | gpr |
| 5913 | ) |
| 5914 | |
| 5915 | endif (gRPC_BUILD_TESTS) |
| 5916 | if (gRPC_BUILD_TESTS) |
| 5917 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5918 | add_executable(chttp2_stream_map_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5919 | test/core/transport/chttp2/stream_map_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5920 | ) |
| 5921 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5922 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5923 | target_include_directories(chttp2_stream_map_test |
| 5924 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5925 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5926 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5927 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5928 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5929 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5930 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5931 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5932 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5933 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5934 | ) |
| 5935 | |
| 5936 | target_link_libraries(chttp2_stream_map_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5937 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5938 | grpc_test_util |
| 5939 | grpc |
| 5940 | gpr_test_util |
| 5941 | gpr |
| 5942 | ) |
| 5943 | |
| 5944 | endif (gRPC_BUILD_TESTS) |
| 5945 | if (gRPC_BUILD_TESTS) |
| 5946 | |
| 5947 | add_executable(chttp2_varint_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5948 | test/core/transport/chttp2/varint_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5949 | ) |
| 5950 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5951 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5952 | target_include_directories(chttp2_varint_test |
| 5953 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5954 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5955 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5956 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5957 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5958 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5959 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5960 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5961 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5962 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5963 | ) |
| 5964 | |
| 5965 | target_link_libraries(chttp2_varint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5966 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5967 | grpc_test_util |
| 5968 | grpc |
| 5969 | gpr_test_util |
| 5970 | gpr |
| 5971 | ) |
| 5972 | |
| 5973 | endif (gRPC_BUILD_TESTS) |
| 5974 | if (gRPC_BUILD_TESTS) |
| 5975 | |
Vijay Pai | 8a99fdb | 2018-01-25 15:38:20 -0800 | [diff] [blame] | 5976 | add_executable(cmdline_test |
| 5977 | test/core/util/cmdline_test.cc |
| 5978 | ) |
| 5979 | |
| 5980 | |
| 5981 | target_include_directories(cmdline_test |
| 5982 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5983 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5984 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 5985 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5986 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5987 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5988 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5989 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5990 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 5991 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Vijay Pai | 8a99fdb | 2018-01-25 15:38:20 -0800 | [diff] [blame] | 5992 | ) |
| 5993 | |
| 5994 | target_link_libraries(cmdline_test |
| 5995 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5996 | gpr |
| 5997 | gpr_test_util |
| 5998 | grpc_test_util |
| 5999 | ) |
| 6000 | |
| 6001 | endif (gRPC_BUILD_TESTS) |
| 6002 | if (gRPC_BUILD_TESTS) |
| 6003 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6004 | add_executable(combiner_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6005 | test/core/iomgr/combiner_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6006 | ) |
| 6007 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6008 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6009 | target_include_directories(combiner_test |
| 6010 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6011 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6012 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6013 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6014 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6015 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6016 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6017 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6018 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6019 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6020 | ) |
| 6021 | |
| 6022 | target_link_libraries(combiner_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6023 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6024 | grpc_test_util |
| 6025 | grpc |
| 6026 | gpr_test_util |
| 6027 | gpr |
| 6028 | ) |
| 6029 | |
| 6030 | endif (gRPC_BUILD_TESTS) |
| 6031 | if (gRPC_BUILD_TESTS) |
| 6032 | |
| 6033 | add_executable(compression_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6034 | test/core/compression/compression_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6035 | ) |
| 6036 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6037 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6038 | target_include_directories(compression_test |
| 6039 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6040 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6041 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6042 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6043 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6044 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6045 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6046 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6047 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6048 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6049 | ) |
| 6050 | |
| 6051 | target_link_libraries(compression_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6052 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6053 | grpc_test_util |
| 6054 | grpc |
| 6055 | gpr_test_util |
| 6056 | gpr |
| 6057 | ) |
| 6058 | |
| 6059 | endif (gRPC_BUILD_TESTS) |
| 6060 | if (gRPC_BUILD_TESTS) |
| 6061 | |
| 6062 | add_executable(concurrent_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6063 | test/core/surface/concurrent_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6064 | ) |
| 6065 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6066 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6067 | target_include_directories(concurrent_connectivity_test |
| 6068 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6069 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6070 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6071 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6072 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6073 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6074 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6075 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6076 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6077 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6078 | ) |
| 6079 | |
| 6080 | target_link_libraries(concurrent_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6081 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6082 | grpc_test_util |
| 6083 | grpc |
| 6084 | gpr_test_util |
| 6085 | gpr |
| 6086 | ) |
| 6087 | |
| 6088 | endif (gRPC_BUILD_TESTS) |
| 6089 | if (gRPC_BUILD_TESTS) |
| 6090 | |
| 6091 | add_executable(connection_refused_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6092 | test/core/end2end/connection_refused_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6093 | ) |
| 6094 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6095 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6096 | target_include_directories(connection_refused_test |
| 6097 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6098 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6099 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6100 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6101 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6102 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6103 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6104 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6105 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6106 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6107 | ) |
| 6108 | |
| 6109 | target_link_libraries(connection_refused_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6110 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6111 | grpc_test_util |
| 6112 | grpc |
| 6113 | gpr_test_util |
| 6114 | gpr |
| 6115 | ) |
| 6116 | |
| 6117 | endif (gRPC_BUILD_TESTS) |
| 6118 | if (gRPC_BUILD_TESTS) |
| 6119 | |
| 6120 | add_executable(dns_resolver_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6121 | test/core/client_channel/resolvers/dns_resolver_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6122 | ) |
| 6123 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6124 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6125 | target_include_directories(dns_resolver_connectivity_test |
| 6126 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6127 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6128 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6129 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6130 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6131 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6132 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6133 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6134 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6135 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6136 | ) |
| 6137 | |
| 6138 | target_link_libraries(dns_resolver_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6139 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6140 | grpc_test_util |
| 6141 | grpc |
| 6142 | gpr_test_util |
| 6143 | gpr |
| 6144 | ) |
| 6145 | |
| 6146 | endif (gRPC_BUILD_TESTS) |
| 6147 | if (gRPC_BUILD_TESTS) |
| 6148 | |
David Garcia Quintas | 956fe5e | 2018-01-30 15:47:20 -0800 | [diff] [blame] | 6149 | add_executable(dns_resolver_cooldown_test |
| 6150 | test/core/client_channel/resolvers/dns_resolver_cooldown_test.cc |
| 6151 | ) |
| 6152 | |
| 6153 | |
| 6154 | target_include_directories(dns_resolver_cooldown_test |
| 6155 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6156 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6157 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 6158 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6159 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6160 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6161 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6162 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6163 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6164 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
David Garcia Quintas | 956fe5e | 2018-01-30 15:47:20 -0800 | [diff] [blame] | 6165 | ) |
| 6166 | |
| 6167 | target_link_libraries(dns_resolver_cooldown_test |
| 6168 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6169 | grpc_test_util |
| 6170 | grpc |
| 6171 | gpr_test_util |
| 6172 | gpr |
| 6173 | ) |
| 6174 | |
| 6175 | endif (gRPC_BUILD_TESTS) |
| 6176 | if (gRPC_BUILD_TESTS) |
| 6177 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6178 | add_executable(dns_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6179 | test/core/client_channel/resolvers/dns_resolver_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6180 | ) |
| 6181 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6182 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6183 | target_include_directories(dns_resolver_test |
| 6184 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6185 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6186 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6187 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6188 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6189 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6190 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6191 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6192 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6193 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6194 | ) |
| 6195 | |
| 6196 | target_link_libraries(dns_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6197 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6198 | grpc_test_util |
| 6199 | grpc |
| 6200 | gpr_test_util |
| 6201 | gpr |
| 6202 | ) |
| 6203 | |
| 6204 | endif (gRPC_BUILD_TESTS) |
| 6205 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6206 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6207 | |
| 6208 | add_executable(dualstack_socket_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6209 | test/core/end2end/dualstack_socket_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6210 | ) |
| 6211 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6212 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6213 | target_include_directories(dualstack_socket_test |
| 6214 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6215 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6216 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6217 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6218 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6219 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6220 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6221 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6222 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6223 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6224 | ) |
| 6225 | |
| 6226 | target_link_libraries(dualstack_socket_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6227 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6228 | grpc_test_util |
| 6229 | grpc |
| 6230 | gpr_test_util |
| 6231 | gpr |
| 6232 | ) |
| 6233 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6234 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6235 | endif (gRPC_BUILD_TESTS) |
| 6236 | if (gRPC_BUILD_TESTS) |
| 6237 | |
| 6238 | add_executable(endpoint_pair_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6239 | test/core/iomgr/endpoint_pair_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6240 | ) |
| 6241 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6242 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6243 | target_include_directories(endpoint_pair_test |
| 6244 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6245 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6246 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6247 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6248 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6249 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6250 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6251 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6252 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6253 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6254 | ) |
| 6255 | |
| 6256 | target_link_libraries(endpoint_pair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6257 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6258 | grpc_test_util |
| 6259 | grpc |
| 6260 | gpr_test_util |
| 6261 | gpr |
| 6262 | ) |
| 6263 | |
| 6264 | endif (gRPC_BUILD_TESTS) |
| 6265 | if (gRPC_BUILD_TESTS) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 6266 | |
| 6267 | add_executable(error_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6268 | test/core/iomgr/error_test.cc |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 6269 | ) |
| 6270 | |
| 6271 | |
| 6272 | target_include_directories(error_test |
| 6273 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6274 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6275 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6276 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6277 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6278 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6279 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6280 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6281 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6282 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 6283 | ) |
| 6284 | |
| 6285 | target_link_libraries(error_test |
| 6286 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6287 | grpc_test_util |
| 6288 | grpc |
| 6289 | gpr_test_util |
| 6290 | gpr |
| 6291 | ) |
| 6292 | |
| 6293 | endif (gRPC_BUILD_TESTS) |
| 6294 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6295 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6296 | |
Sree Kuchibhotla | 16ad9b8 | 2018-06-16 12:14:30 -0700 | [diff] [blame] | 6297 | add_executable(ev_epollex_linux_test |
| 6298 | test/core/iomgr/ev_epollex_linux_test.cc |
| 6299 | ) |
| 6300 | |
| 6301 | |
| 6302 | target_include_directories(ev_epollex_linux_test |
| 6303 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6304 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6305 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 6306 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6307 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6308 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6309 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6310 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 6311 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Sree Kuchibhotla | 09d7da2 | 2018-06-18 09:37:46 -0700 | [diff] [blame] | 6312 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Sree Kuchibhotla | 16ad9b8 | 2018-06-16 12:14:30 -0700 | [diff] [blame] | 6313 | ) |
| 6314 | |
| 6315 | target_link_libraries(ev_epollex_linux_test |
| 6316 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6317 | grpc_test_util |
| 6318 | grpc |
| 6319 | gpr_test_util |
| 6320 | gpr |
| 6321 | ) |
| 6322 | |
| 6323 | endif() |
| 6324 | endif (gRPC_BUILD_TESTS) |
| 6325 | if (gRPC_BUILD_TESTS) |
| 6326 | if(_gRPC_PLATFORM_LINUX) |
| 6327 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 6328 | add_executable(ev_epollsig_linux_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6329 | test/core/iomgr/ev_epollsig_linux_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6330 | ) |
| 6331 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6332 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 6333 | target_include_directories(ev_epollsig_linux_test |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6334 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6335 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6336 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6337 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6338 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6339 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6340 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6341 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6342 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6343 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6344 | ) |
| 6345 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 6346 | target_link_libraries(ev_epollsig_linux_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6347 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6348 | grpc_test_util |
| 6349 | grpc |
| 6350 | gpr_test_util |
| 6351 | gpr |
| 6352 | ) |
| 6353 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6354 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6355 | endif (gRPC_BUILD_TESTS) |
| 6356 | if (gRPC_BUILD_TESTS) |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 6357 | |
| 6358 | add_executable(fake_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6359 | test/core/client_channel/resolvers/fake_resolver_test.cc |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 6360 | ) |
| 6361 | |
| 6362 | |
| 6363 | target_include_directories(fake_resolver_test |
| 6364 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6365 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6366 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6367 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6368 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6369 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6370 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6371 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6372 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6373 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 6374 | ) |
| 6375 | |
| 6376 | target_link_libraries(fake_resolver_test |
| 6377 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6378 | grpc_test_util |
| 6379 | grpc |
| 6380 | gpr_test_util |
| 6381 | gpr |
| 6382 | ) |
| 6383 | |
| 6384 | endif (gRPC_BUILD_TESTS) |
| 6385 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6386 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6387 | |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 6388 | add_executable(fake_transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6389 | test/core/tsi/fake_transport_security_test.cc |
| 6390 | test/core/tsi/transport_security_test_lib.cc |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 6391 | ) |
| 6392 | |
| 6393 | |
| 6394 | target_include_directories(fake_transport_security_test |
| 6395 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6396 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6397 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6398 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6399 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6400 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6401 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6402 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6403 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6404 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 6405 | ) |
| 6406 | |
| 6407 | target_link_libraries(fake_transport_security_test |
| 6408 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6409 | gpr_test_util |
| 6410 | gpr |
| 6411 | grpc |
| 6412 | ) |
| 6413 | |
| 6414 | endif() |
| 6415 | endif (gRPC_BUILD_TESTS) |
| 6416 | if (gRPC_BUILD_TESTS) |
| 6417 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 6418 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6419 | add_executable(fd_conservation_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6420 | test/core/iomgr/fd_conservation_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6421 | ) |
| 6422 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6423 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6424 | target_include_directories(fd_conservation_posix_test |
| 6425 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6426 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6427 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6428 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6429 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6430 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6431 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6432 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6433 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6434 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6435 | ) |
| 6436 | |
| 6437 | target_link_libraries(fd_conservation_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6438 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6439 | grpc_test_util |
| 6440 | grpc |
| 6441 | gpr_test_util |
| 6442 | gpr |
| 6443 | ) |
| 6444 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6445 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6446 | endif (gRPC_BUILD_TESTS) |
| 6447 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6448 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6449 | |
| 6450 | add_executable(fd_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6451 | test/core/iomgr/fd_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6452 | ) |
| 6453 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6454 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6455 | target_include_directories(fd_posix_test |
| 6456 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6457 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6458 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6459 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6460 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6461 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6462 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6463 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6464 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6465 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6466 | ) |
| 6467 | |
| 6468 | target_link_libraries(fd_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6469 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6470 | grpc_test_util |
| 6471 | grpc |
| 6472 | gpr_test_util |
| 6473 | gpr |
| 6474 | ) |
| 6475 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6476 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6477 | endif (gRPC_BUILD_TESTS) |
| 6478 | if (gRPC_BUILD_TESTS) |
| 6479 | |
| 6480 | add_executable(fling_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6481 | test/core/fling/client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6482 | ) |
| 6483 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6484 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6485 | target_include_directories(fling_client |
| 6486 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6487 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6488 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6489 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6490 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6491 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6492 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6493 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6494 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6495 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6496 | ) |
| 6497 | |
| 6498 | target_link_libraries(fling_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6499 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6500 | grpc_test_util |
| 6501 | grpc |
| 6502 | gpr_test_util |
| 6503 | gpr |
| 6504 | ) |
| 6505 | |
| 6506 | endif (gRPC_BUILD_TESTS) |
| 6507 | if (gRPC_BUILD_TESTS) |
| 6508 | |
| 6509 | add_executable(fling_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6510 | test/core/fling/server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6511 | ) |
| 6512 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6513 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6514 | target_include_directories(fling_server |
| 6515 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6516 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6517 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6518 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6519 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6520 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6521 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6522 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6523 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6524 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6525 | ) |
| 6526 | |
| 6527 | target_link_libraries(fling_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6528 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6529 | grpc_test_util |
| 6530 | grpc |
| 6531 | gpr_test_util |
| 6532 | gpr |
| 6533 | ) |
| 6534 | |
| 6535 | endif (gRPC_BUILD_TESTS) |
| 6536 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6537 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6538 | |
| 6539 | add_executable(fling_stream_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6540 | test/core/fling/fling_stream_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6541 | ) |
| 6542 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6543 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6544 | target_include_directories(fling_stream_test |
| 6545 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6546 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6547 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6548 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6549 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6550 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6551 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6552 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6553 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6554 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6555 | ) |
| 6556 | |
| 6557 | target_link_libraries(fling_stream_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6558 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6559 | grpc_test_util |
| 6560 | grpc |
| 6561 | gpr_test_util |
| 6562 | gpr |
| 6563 | ) |
| 6564 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6565 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6566 | endif (gRPC_BUILD_TESTS) |
| 6567 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6568 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6569 | |
| 6570 | add_executable(fling_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6571 | test/core/fling/fling_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6572 | ) |
| 6573 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6574 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6575 | target_include_directories(fling_test |
| 6576 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6577 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6578 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6579 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6580 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6581 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6582 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6583 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6584 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6585 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6586 | ) |
| 6587 | |
| 6588 | target_link_libraries(fling_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6589 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6590 | grpc_test_util |
| 6591 | grpc |
| 6592 | gpr_test_util |
| 6593 | gpr |
| 6594 | ) |
| 6595 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6596 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6597 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6598 | if (gRPC_BUILD_TESTS) |
kpayson64 | 38ab21e | 2018-03-08 15:47:40 -0800 | [diff] [blame] | 6599 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC) |
| 6600 | |
| 6601 | add_executable(fork_test |
kpayson64 | 701e70d | 2018-04-30 17:40:00 -0700 | [diff] [blame] | 6602 | test/core/gprpp/fork_test.cc |
kpayson64 | 38ab21e | 2018-03-08 15:47:40 -0800 | [diff] [blame] | 6603 | ) |
| 6604 | |
| 6605 | |
| 6606 | target_include_directories(fork_test |
| 6607 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6608 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6609 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 6610 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6611 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6612 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6613 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6614 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
kpayson64 | c934a2e | 2018-05-11 12:22:47 -0700 | [diff] [blame] | 6615 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6616 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
kpayson64 | 38ab21e | 2018-03-08 15:47:40 -0800 | [diff] [blame] | 6617 | ) |
| 6618 | |
| 6619 | target_link_libraries(fork_test |
| 6620 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6621 | gpr_test_util |
| 6622 | gpr |
| 6623 | ) |
| 6624 | |
| 6625 | endif() |
| 6626 | endif (gRPC_BUILD_TESTS) |
| 6627 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6628 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6629 | |
| 6630 | add_executable(goaway_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6631 | test/core/end2end/goaway_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6632 | ) |
| 6633 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6634 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6635 | target_include_directories(goaway_server_test |
| 6636 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6637 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6638 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6639 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6640 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6641 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6642 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6643 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6644 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6645 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6646 | ) |
| 6647 | |
| 6648 | target_link_libraries(goaway_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6649 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6650 | grpc_test_util |
| 6651 | grpc |
| 6652 | gpr_test_util |
| 6653 | gpr |
| 6654 | ) |
| 6655 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6656 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6657 | endif (gRPC_BUILD_TESTS) |
| 6658 | if (gRPC_BUILD_TESTS) |
| 6659 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6660 | add_executable(gpr_cpu_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6661 | test/core/gpr/cpu_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6662 | ) |
| 6663 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6664 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6665 | target_include_directories(gpr_cpu_test |
| 6666 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6667 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6668 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6669 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6670 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6671 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6672 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6673 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6674 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6675 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6676 | ) |
| 6677 | |
| 6678 | target_link_libraries(gpr_cpu_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6679 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6680 | gpr_test_util |
| 6681 | gpr |
| 6682 | ) |
| 6683 | |
| 6684 | endif (gRPC_BUILD_TESTS) |
| 6685 | if (gRPC_BUILD_TESTS) |
| 6686 | |
| 6687 | add_executable(gpr_env_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6688 | test/core/gpr/env_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6689 | ) |
| 6690 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6691 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6692 | target_include_directories(gpr_env_test |
| 6693 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6694 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6695 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6696 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6697 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6698 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6699 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6700 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6701 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6702 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6703 | ) |
| 6704 | |
| 6705 | target_link_libraries(gpr_env_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6706 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6707 | gpr_test_util |
| 6708 | gpr |
| 6709 | ) |
| 6710 | |
| 6711 | endif (gRPC_BUILD_TESTS) |
| 6712 | if (gRPC_BUILD_TESTS) |
| 6713 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6714 | add_executable(gpr_host_port_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6715 | test/core/gpr/host_port_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6716 | ) |
| 6717 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6718 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6719 | target_include_directories(gpr_host_port_test |
| 6720 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6721 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6722 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6723 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6724 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6725 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6726 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6727 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6728 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6729 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6730 | ) |
| 6731 | |
| 6732 | target_link_libraries(gpr_host_port_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6733 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6734 | gpr_test_util |
| 6735 | gpr |
| 6736 | ) |
| 6737 | |
| 6738 | endif (gRPC_BUILD_TESTS) |
| 6739 | if (gRPC_BUILD_TESTS) |
| 6740 | |
| 6741 | add_executable(gpr_log_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6742 | test/core/gpr/log_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6743 | ) |
| 6744 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6745 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6746 | target_include_directories(gpr_log_test |
| 6747 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6748 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6749 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6750 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6751 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6752 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6753 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6754 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6755 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6756 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6757 | ) |
| 6758 | |
| 6759 | target_link_libraries(gpr_log_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 | |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 6768 | add_executable(gpr_manual_constructor_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 6769 | test/core/gprpp/manual_constructor_test.cc |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 6770 | ) |
| 6771 | |
| 6772 | |
| 6773 | target_include_directories(gpr_manual_constructor_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} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6783 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 6784 | ) |
| 6785 | |
| 6786 | target_link_libraries(gpr_manual_constructor_test |
| 6787 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6788 | gpr_test_util |
| 6789 | gpr |
| 6790 | ) |
| 6791 | |
| 6792 | endif (gRPC_BUILD_TESTS) |
| 6793 | if (gRPC_BUILD_TESTS) |
| 6794 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6795 | add_executable(gpr_mpscq_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6796 | test/core/gpr/mpscq_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6797 | ) |
| 6798 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6799 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6800 | target_include_directories(gpr_mpscq_test |
| 6801 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6802 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6803 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6804 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6805 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6806 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6807 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6808 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6809 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6810 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6811 | ) |
| 6812 | |
| 6813 | target_link_libraries(gpr_mpscq_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6814 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6815 | gpr_test_util |
| 6816 | gpr |
| 6817 | ) |
| 6818 | |
| 6819 | endif (gRPC_BUILD_TESTS) |
| 6820 | if (gRPC_BUILD_TESTS) |
| 6821 | |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6822 | add_executable(gpr_spinlock_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6823 | test/core/gpr/spinlock_test.cc |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6824 | ) |
| 6825 | |
| 6826 | |
| 6827 | target_include_directories(gpr_spinlock_test |
| 6828 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6829 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6830 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6831 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6832 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6833 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6834 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6835 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6836 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6837 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6838 | ) |
| 6839 | |
| 6840 | target_link_libraries(gpr_spinlock_test |
| 6841 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6842 | gpr_test_util |
| 6843 | gpr |
| 6844 | ) |
| 6845 | |
| 6846 | endif (gRPC_BUILD_TESTS) |
| 6847 | if (gRPC_BUILD_TESTS) |
| 6848 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6849 | add_executable(gpr_string_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6850 | test/core/gpr/string_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6851 | ) |
| 6852 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6853 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6854 | target_include_directories(gpr_string_test |
| 6855 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6856 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6857 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6858 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6859 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6860 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6861 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6862 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6863 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6864 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6865 | ) |
| 6866 | |
| 6867 | target_link_libraries(gpr_string_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6868 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6869 | gpr_test_util |
| 6870 | gpr |
| 6871 | ) |
| 6872 | |
| 6873 | endif (gRPC_BUILD_TESTS) |
| 6874 | if (gRPC_BUILD_TESTS) |
| 6875 | |
| 6876 | add_executable(gpr_sync_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6877 | test/core/gpr/sync_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(gpr_sync_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} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6891 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6892 | ) |
| 6893 | |
| 6894 | target_link_libraries(gpr_sync_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6895 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6896 | gpr_test_util |
| 6897 | gpr |
| 6898 | ) |
| 6899 | |
| 6900 | endif (gRPC_BUILD_TESTS) |
| 6901 | if (gRPC_BUILD_TESTS) |
| 6902 | |
| 6903 | add_executable(gpr_thd_test |
Vijay Pai | da69355 | 2018-02-16 22:59:03 -0800 | [diff] [blame] | 6904 | test/core/gprpp/thd_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6905 | ) |
| 6906 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6907 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6908 | target_include_directories(gpr_thd_test |
| 6909 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6910 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6911 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6912 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6913 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6914 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6915 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6916 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6917 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6918 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6919 | ) |
| 6920 | |
| 6921 | target_link_libraries(gpr_thd_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 | gpr_test_util |
| 6924 | gpr |
| 6925 | ) |
| 6926 | |
| 6927 | endif (gRPC_BUILD_TESTS) |
| 6928 | if (gRPC_BUILD_TESTS) |
| 6929 | |
| 6930 | add_executable(gpr_time_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6931 | test/core/gpr/time_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6932 | ) |
| 6933 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6934 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6935 | target_include_directories(gpr_time_test |
| 6936 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6937 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6938 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6939 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6940 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6941 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6942 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6943 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6944 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6945 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6946 | ) |
| 6947 | |
| 6948 | target_link_libraries(gpr_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6949 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6950 | gpr_test_util |
| 6951 | gpr |
| 6952 | ) |
| 6953 | |
| 6954 | endif (gRPC_BUILD_TESTS) |
| 6955 | if (gRPC_BUILD_TESTS) |
| 6956 | |
| 6957 | add_executable(gpr_tls_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6958 | test/core/gpr/tls_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6959 | ) |
| 6960 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6961 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6962 | target_include_directories(gpr_tls_test |
| 6963 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6964 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6965 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6966 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6967 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6968 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6969 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6970 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6971 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6972 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6973 | ) |
| 6974 | |
| 6975 | target_link_libraries(gpr_tls_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6976 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6977 | gpr_test_util |
| 6978 | gpr |
| 6979 | ) |
| 6980 | |
| 6981 | endif (gRPC_BUILD_TESTS) |
| 6982 | if (gRPC_BUILD_TESTS) |
| 6983 | |
| 6984 | add_executable(gpr_useful_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6985 | test/core/gpr/useful_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6986 | ) |
| 6987 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6988 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6989 | target_include_directories(gpr_useful_test |
| 6990 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6991 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6992 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6993 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6994 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6995 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6996 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6997 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6998 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 6999 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7000 | ) |
| 7001 | |
| 7002 | target_link_libraries(gpr_useful_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7003 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7004 | gpr_test_util |
| 7005 | gpr |
| 7006 | ) |
| 7007 | |
| 7008 | endif (gRPC_BUILD_TESTS) |
| 7009 | if (gRPC_BUILD_TESTS) |
| 7010 | |
| 7011 | add_executable(grpc_auth_context_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7012 | test/core/security/auth_context_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7013 | ) |
| 7014 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7015 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7016 | target_include_directories(grpc_auth_context_test |
| 7017 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7018 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7019 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7020 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7021 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7022 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7023 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7024 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7025 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7026 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7027 | ) |
| 7028 | |
| 7029 | target_link_libraries(grpc_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7030 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7031 | grpc_test_util |
| 7032 | grpc |
| 7033 | gpr_test_util |
| 7034 | gpr |
| 7035 | ) |
| 7036 | |
| 7037 | endif (gRPC_BUILD_TESTS) |
| 7038 | if (gRPC_BUILD_TESTS) |
| 7039 | |
| 7040 | add_executable(grpc_b64_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7041 | test/core/slice/b64_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7042 | ) |
| 7043 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7044 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7045 | target_include_directories(grpc_b64_test |
| 7046 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7047 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7048 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7049 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7050 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7051 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7052 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7053 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7054 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7055 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7056 | ) |
| 7057 | |
| 7058 | target_link_libraries(grpc_b64_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7059 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7060 | grpc_test_util |
| 7061 | grpc |
| 7062 | gpr_test_util |
| 7063 | gpr |
| 7064 | ) |
| 7065 | |
| 7066 | endif (gRPC_BUILD_TESTS) |
| 7067 | if (gRPC_BUILD_TESTS) |
| 7068 | |
| 7069 | add_executable(grpc_byte_buffer_reader_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7070 | test/core/surface/byte_buffer_reader_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7071 | ) |
| 7072 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7073 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7074 | target_include_directories(grpc_byte_buffer_reader_test |
| 7075 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7076 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7077 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7078 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7079 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7080 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7081 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7082 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7083 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7084 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7085 | ) |
| 7086 | |
| 7087 | target_link_libraries(grpc_byte_buffer_reader_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_channel_args_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7099 | test/core/channel/channel_args_test.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_channel_args_test |
| 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} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7113 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7114 | ) |
| 7115 | |
| 7116 | target_link_libraries(grpc_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7117 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7118 | grpc_test_util |
| 7119 | grpc |
| 7120 | gpr_test_util |
| 7121 | gpr |
| 7122 | ) |
| 7123 | |
| 7124 | endif (gRPC_BUILD_TESTS) |
| 7125 | if (gRPC_BUILD_TESTS) |
| 7126 | |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 7127 | add_executable(grpc_channel_stack_builder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7128 | test/core/channel/channel_stack_builder_test.cc |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 7129 | ) |
| 7130 | |
| 7131 | |
| 7132 | target_include_directories(grpc_channel_stack_builder_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} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7142 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 7143 | ) |
| 7144 | |
| 7145 | target_link_libraries(grpc_channel_stack_builder_test |
| 7146 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7147 | grpc_test_util |
| 7148 | grpc |
| 7149 | gpr_test_util |
| 7150 | gpr |
| 7151 | ) |
| 7152 | |
| 7153 | endif (gRPC_BUILD_TESTS) |
| 7154 | if (gRPC_BUILD_TESTS) |
| 7155 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7156 | add_executable(grpc_channel_stack_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7157 | test/core/channel/channel_stack_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_channel_stack_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} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7171 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7172 | ) |
| 7173 | |
| 7174 | target_link_libraries(grpc_channel_stack_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7175 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7176 | grpc_test_util |
| 7177 | grpc |
| 7178 | gpr_test_util |
| 7179 | gpr |
| 7180 | ) |
| 7181 | |
| 7182 | endif (gRPC_BUILD_TESTS) |
| 7183 | if (gRPC_BUILD_TESTS) |
| 7184 | |
| 7185 | add_executable(grpc_completion_queue_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7186 | test/core/surface/completion_queue_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7187 | ) |
| 7188 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7189 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7190 | target_include_directories(grpc_completion_queue_test |
| 7191 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7192 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7193 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7194 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7195 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7196 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7197 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7198 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7199 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7200 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7201 | ) |
| 7202 | |
| 7203 | target_link_libraries(grpc_completion_queue_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7204 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7205 | grpc_test_util |
| 7206 | grpc |
| 7207 | gpr_test_util |
| 7208 | gpr |
| 7209 | ) |
| 7210 | |
| 7211 | endif (gRPC_BUILD_TESTS) |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7212 | if (gRPC_BUILD_TESTS) |
| 7213 | |
| 7214 | add_executable(grpc_completion_queue_threading_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7215 | test/core/surface/completion_queue_threading_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7216 | ) |
| 7217 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 7218 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7219 | target_include_directories(grpc_completion_queue_threading_test |
| 7220 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7221 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7222 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7223 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7224 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7225 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7226 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7227 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7228 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7229 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7230 | ) |
| 7231 | |
| 7232 | target_link_libraries(grpc_completion_queue_threading_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 7233 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7234 | grpc_test_util |
| 7235 | grpc |
| 7236 | gpr_test_util |
| 7237 | gpr |
| 7238 | ) |
| 7239 | |
| 7240 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 7241 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7242 | add_executable(grpc_create_jwt |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7243 | test/core/security/create_jwt.cc |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 7244 | test/core/util/cmdline.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7245 | ) |
| 7246 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7247 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7248 | target_include_directories(grpc_create_jwt |
| 7249 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7250 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7251 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7252 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7253 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7254 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7255 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7256 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7257 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7258 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7259 | ) |
| 7260 | |
| 7261 | target_link_libraries(grpc_create_jwt |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 7262 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7263 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7264 | grpc |
| 7265 | gpr |
| 7266 | ) |
| 7267 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7268 | if (gRPC_BUILD_TESTS) |
| 7269 | |
| 7270 | add_executable(grpc_credentials_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7271 | test/core/security/credentials_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7272 | ) |
| 7273 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7274 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7275 | target_include_directories(grpc_credentials_test |
| 7276 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7277 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7278 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7279 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7280 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7281 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7282 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7283 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7284 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7285 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7286 | ) |
| 7287 | |
| 7288 | target_link_libraries(grpc_credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7289 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7290 | grpc_test_util |
| 7291 | grpc |
| 7292 | gpr_test_util |
| 7293 | gpr |
| 7294 | ) |
| 7295 | |
| 7296 | endif (gRPC_BUILD_TESTS) |
| 7297 | if (gRPC_BUILD_TESTS) |
| 7298 | |
| 7299 | add_executable(grpc_fetch_oauth2 |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7300 | test/core/security/fetch_oauth2.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7301 | ) |
| 7302 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7303 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7304 | target_include_directories(grpc_fetch_oauth2 |
| 7305 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7306 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7307 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7308 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7309 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7310 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7311 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7312 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7313 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7314 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7315 | ) |
| 7316 | |
| 7317 | target_link_libraries(grpc_fetch_oauth2 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7318 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7319 | grpc_test_util |
| 7320 | grpc |
| 7321 | gpr_test_util |
| 7322 | gpr |
| 7323 | ) |
| 7324 | |
| 7325 | endif (gRPC_BUILD_TESTS) |
| 7326 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7327 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7328 | |
| 7329 | add_executable(grpc_json_token_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7330 | test/core/security/json_token_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7331 | ) |
| 7332 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7333 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7334 | target_include_directories(grpc_json_token_test |
| 7335 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7336 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7337 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7338 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7339 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7340 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7341 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7342 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7343 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7344 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7345 | ) |
| 7346 | |
| 7347 | target_link_libraries(grpc_json_token_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7348 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7349 | grpc_test_util |
| 7350 | grpc |
| 7351 | gpr_test_util |
| 7352 | gpr |
| 7353 | ) |
| 7354 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7355 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7356 | endif (gRPC_BUILD_TESTS) |
| 7357 | if (gRPC_BUILD_TESTS) |
| 7358 | |
| 7359 | add_executable(grpc_jwt_verifier_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7360 | test/core/security/jwt_verifier_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7361 | ) |
| 7362 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7363 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7364 | target_include_directories(grpc_jwt_verifier_test |
| 7365 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7366 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7367 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7368 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7369 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7370 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7371 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7372 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7373 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7374 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7375 | ) |
| 7376 | |
| 7377 | target_link_libraries(grpc_jwt_verifier_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7378 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7379 | grpc_test_util |
| 7380 | grpc |
| 7381 | gpr_test_util |
| 7382 | gpr |
| 7383 | ) |
| 7384 | |
| 7385 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 7386 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7387 | add_executable(grpc_print_google_default_creds_token |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7388 | test/core/security/print_google_default_creds_token.cc |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 7389 | test/core/util/cmdline.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7390 | ) |
| 7391 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7392 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7393 | target_include_directories(grpc_print_google_default_creds_token |
| 7394 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7395 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7396 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7397 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7398 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7399 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7400 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7401 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7402 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7403 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7404 | ) |
| 7405 | |
| 7406 | target_link_libraries(grpc_print_google_default_creds_token |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7407 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7408 | grpc |
| 7409 | gpr |
| 7410 | ) |
| 7411 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7412 | if (gRPC_BUILD_TESTS) |
| 7413 | |
| 7414 | add_executable(grpc_security_connector_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7415 | test/core/security/security_connector_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7416 | ) |
| 7417 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7418 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7419 | target_include_directories(grpc_security_connector_test |
| 7420 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7421 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7422 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7423 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7424 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7425 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7426 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7427 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7428 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7429 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7430 | ) |
| 7431 | |
| 7432 | target_link_libraries(grpc_security_connector_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7433 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7434 | grpc_test_util |
| 7435 | grpc |
| 7436 | gpr_test_util |
| 7437 | gpr |
| 7438 | ) |
| 7439 | |
| 7440 | endif (gRPC_BUILD_TESTS) |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 7441 | if (gRPC_BUILD_TESTS) |
| 7442 | |
| 7443 | add_executable(grpc_ssl_credentials_test |
Yash Tibrewal | af92246 | 2017-10-25 16:29:49 -0700 | [diff] [blame] | 7444 | test/core/security/ssl_credentials_test.cc |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 7445 | ) |
| 7446 | |
| 7447 | |
| 7448 | target_include_directories(grpc_ssl_credentials_test |
| 7449 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7450 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7451 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7452 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7453 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7454 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7455 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7456 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7457 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7458 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 7459 | ) |
| 7460 | |
| 7461 | target_link_libraries(grpc_ssl_credentials_test |
| 7462 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7463 | grpc_test_util |
| 7464 | grpc |
| 7465 | gpr_test_util |
| 7466 | gpr |
| 7467 | ) |
| 7468 | |
| 7469 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 7470 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7471 | add_executable(grpc_verify_jwt |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7472 | test/core/security/verify_jwt.cc |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 7473 | test/core/util/cmdline.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7474 | ) |
| 7475 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7476 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7477 | target_include_directories(grpc_verify_jwt |
| 7478 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7479 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7480 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7481 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7482 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7483 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7484 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7485 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7486 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7487 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7488 | ) |
| 7489 | |
| 7490 | target_link_libraries(grpc_verify_jwt |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7491 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7492 | grpc |
| 7493 | gpr |
| 7494 | ) |
| 7495 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7496 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7497 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7498 | |
| 7499 | add_executable(handshake_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7500 | test/core/handshake/client_ssl.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7501 | ) |
| 7502 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7503 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7504 | target_include_directories(handshake_client |
| 7505 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7506 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7507 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7508 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7509 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7510 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7511 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7512 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7513 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7514 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7515 | ) |
| 7516 | |
| 7517 | target_link_libraries(handshake_client |
| 7518 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7519 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7520 | grpc_test_util |
| 7521 | grpc |
| 7522 | gpr_test_util |
| 7523 | gpr |
| 7524 | ) |
| 7525 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7526 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7527 | endif (gRPC_BUILD_TESTS) |
| 7528 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7529 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7530 | |
| 7531 | add_executable(handshake_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7532 | test/core/handshake/server_ssl.cc |
Alexander Polcyn | 248c4f5 | 2017-11-13 16:31:27 -0800 | [diff] [blame] | 7533 | test/core/handshake/server_ssl_common.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7534 | ) |
| 7535 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7536 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7537 | target_include_directories(handshake_server |
| 7538 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7539 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7540 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7541 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7542 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7543 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7544 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7545 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7546 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7547 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7548 | ) |
| 7549 | |
| 7550 | target_link_libraries(handshake_server |
| 7551 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7552 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7553 | grpc_test_util |
| 7554 | grpc |
| 7555 | gpr_test_util |
| 7556 | gpr |
| 7557 | ) |
| 7558 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7559 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7560 | endif (gRPC_BUILD_TESTS) |
| 7561 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 7562 | if(_gRPC_PLATFORM_LINUX) |
| 7563 | |
| 7564 | add_executable(handshake_server_with_readahead_handshaker |
Alexander Polcyn | 248c4f5 | 2017-11-13 16:31:27 -0800 | [diff] [blame] | 7565 | test/core/handshake/readahead_handshaker_server_ssl.cc |
| 7566 | test/core/handshake/server_ssl_common.cc |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 7567 | ) |
| 7568 | |
| 7569 | |
| 7570 | target_include_directories(handshake_server_with_readahead_handshaker |
| 7571 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7572 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7573 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7574 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7575 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7576 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7577 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7578 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7579 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7580 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 7581 | ) |
| 7582 | |
| 7583 | target_link_libraries(handshake_server_with_readahead_handshaker |
| 7584 | ${_gRPC_SSL_LIBRARIES} |
| 7585 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7586 | grpc_test_util |
| 7587 | grpc |
| 7588 | gpr_test_util |
| 7589 | gpr |
| 7590 | ) |
| 7591 | |
| 7592 | endif() |
| 7593 | endif (gRPC_BUILD_TESTS) |
| 7594 | if (gRPC_BUILD_TESTS) |
Ian Haken | 68eff58 | 2017-10-26 14:34:15 -0700 | [diff] [blame] | 7595 | if(_gRPC_PLATFORM_LINUX) |
| 7596 | |
| 7597 | add_executable(handshake_verify_peer_options |
| 7598 | test/core/handshake/verify_peer_options.cc |
| 7599 | ) |
| 7600 | |
| 7601 | |
| 7602 | target_include_directories(handshake_verify_peer_options |
| 7603 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7604 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7605 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 7606 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7607 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7608 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7609 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7610 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 7611 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Noah Eisen | 76283c4 | 2018-06-19 16:43:18 -0700 | [diff] [blame] | 7612 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ian Haken | 68eff58 | 2017-10-26 14:34:15 -0700 | [diff] [blame] | 7613 | ) |
| 7614 | |
| 7615 | target_link_libraries(handshake_verify_peer_options |
| 7616 | ${_gRPC_SSL_LIBRARIES} |
| 7617 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7618 | grpc_test_util |
| 7619 | grpc |
| 7620 | gpr_test_util |
| 7621 | gpr |
| 7622 | ) |
| 7623 | |
| 7624 | endif() |
| 7625 | endif (gRPC_BUILD_TESTS) |
| 7626 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7627 | |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 7628 | add_executable(histogram_test |
| 7629 | test/core/util/histogram_test.cc |
| 7630 | ) |
| 7631 | |
| 7632 | |
| 7633 | target_include_directories(histogram_test |
| 7634 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7635 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7636 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7637 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7638 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7639 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7640 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7641 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7642 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7643 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 7644 | ) |
| 7645 | |
| 7646 | target_link_libraries(histogram_test |
| 7647 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7648 | grpc_test_util |
| 7649 | gpr |
| 7650 | ) |
| 7651 | |
| 7652 | endif (gRPC_BUILD_TESTS) |
| 7653 | if (gRPC_BUILD_TESTS) |
| 7654 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7655 | add_executable(hpack_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7656 | test/core/transport/chttp2/hpack_parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7657 | ) |
| 7658 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7659 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7660 | target_include_directories(hpack_parser_test |
| 7661 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7662 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7663 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7664 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7665 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7666 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7667 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7668 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7669 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7670 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7671 | ) |
| 7672 | |
| 7673 | target_link_libraries(hpack_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7674 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7675 | grpc_test_util |
| 7676 | grpc |
| 7677 | gpr_test_util |
| 7678 | gpr |
| 7679 | ) |
| 7680 | |
| 7681 | endif (gRPC_BUILD_TESTS) |
| 7682 | if (gRPC_BUILD_TESTS) |
| 7683 | |
| 7684 | add_executable(hpack_table_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7685 | test/core/transport/chttp2/hpack_table_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7686 | ) |
| 7687 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7688 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7689 | target_include_directories(hpack_table_test |
| 7690 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7691 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7692 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7693 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7694 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7695 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7696 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7697 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7698 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7699 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7700 | ) |
| 7701 | |
| 7702 | target_link_libraries(hpack_table_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7703 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7704 | grpc_test_util |
| 7705 | grpc |
| 7706 | gpr_test_util |
| 7707 | gpr |
| 7708 | ) |
| 7709 | |
| 7710 | endif (gRPC_BUILD_TESTS) |
| 7711 | if (gRPC_BUILD_TESTS) |
| 7712 | |
| 7713 | add_executable(http_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7714 | test/core/http/parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7715 | ) |
| 7716 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7717 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7718 | target_include_directories(http_parser_test |
| 7719 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7720 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7721 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7722 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7723 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7724 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7725 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7726 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7727 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7728 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7729 | ) |
| 7730 | |
| 7731 | target_link_libraries(http_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7732 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7733 | grpc_test_util |
| 7734 | grpc |
| 7735 | gpr_test_util |
| 7736 | gpr |
| 7737 | ) |
| 7738 | |
| 7739 | endif (gRPC_BUILD_TESTS) |
| 7740 | if (gRPC_BUILD_TESTS) |
| 7741 | |
| 7742 | add_executable(httpcli_format_request_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7743 | test/core/http/format_request_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7744 | ) |
| 7745 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7746 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7747 | target_include_directories(httpcli_format_request_test |
| 7748 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7749 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7750 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7751 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7752 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7753 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7754 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7755 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7756 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7757 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7758 | ) |
| 7759 | |
| 7760 | target_link_libraries(httpcli_format_request_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7761 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7762 | grpc_test_util |
| 7763 | grpc |
| 7764 | gpr_test_util |
| 7765 | gpr |
| 7766 | ) |
| 7767 | |
| 7768 | endif (gRPC_BUILD_TESTS) |
| 7769 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7770 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7771 | |
| 7772 | add_executable(httpcli_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7773 | test/core/http/httpcli_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7774 | ) |
| 7775 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7776 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7777 | target_include_directories(httpcli_test |
| 7778 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7779 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7780 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7781 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7782 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7783 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7784 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7785 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7786 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7787 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7788 | ) |
| 7789 | |
| 7790 | target_link_libraries(httpcli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7791 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7792 | grpc_test_util |
| 7793 | grpc |
| 7794 | gpr_test_util |
| 7795 | gpr |
| 7796 | ) |
| 7797 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7798 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7799 | endif (gRPC_BUILD_TESTS) |
| 7800 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7801 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7802 | |
| 7803 | add_executable(httpscli_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7804 | test/core/http/httpscli_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7805 | ) |
| 7806 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7807 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7808 | target_include_directories(httpscli_test |
| 7809 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7810 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7811 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7812 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7813 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7814 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7815 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7816 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7817 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7818 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7819 | ) |
| 7820 | |
| 7821 | target_link_libraries(httpscli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7822 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7823 | grpc_test_util |
| 7824 | grpc |
| 7825 | gpr_test_util |
| 7826 | gpr |
| 7827 | ) |
| 7828 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7829 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7830 | endif (gRPC_BUILD_TESTS) |
| 7831 | if (gRPC_BUILD_TESTS) |
| 7832 | |
| 7833 | add_executable(init_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7834 | test/core/surface/init_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7835 | ) |
| 7836 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7837 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7838 | target_include_directories(init_test |
| 7839 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7840 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7841 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7842 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7843 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7844 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7845 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7846 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7847 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7848 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7849 | ) |
| 7850 | |
| 7851 | target_link_libraries(init_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7852 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7853 | grpc_test_util |
| 7854 | grpc |
| 7855 | gpr_test_util |
| 7856 | gpr |
| 7857 | ) |
| 7858 | |
| 7859 | endif (gRPC_BUILD_TESTS) |
| 7860 | if (gRPC_BUILD_TESTS) |
| 7861 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7862 | add_executable(invalid_call_argument_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7863 | test/core/end2end/invalid_call_argument_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7864 | ) |
| 7865 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7866 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7867 | target_include_directories(invalid_call_argument_test |
| 7868 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7869 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7870 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7871 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7872 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7873 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7874 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7875 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7876 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7877 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7878 | ) |
| 7879 | |
| 7880 | target_link_libraries(invalid_call_argument_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7881 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7882 | grpc_test_util |
| 7883 | grpc |
| 7884 | gpr_test_util |
| 7885 | gpr |
| 7886 | ) |
| 7887 | |
| 7888 | endif (gRPC_BUILD_TESTS) |
| 7889 | if (gRPC_BUILD_TESTS) |
| 7890 | |
| 7891 | add_executable(json_rewrite |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7892 | test/core/json/json_rewrite.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7893 | ) |
| 7894 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7895 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7896 | target_include_directories(json_rewrite |
| 7897 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7898 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7899 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7900 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7901 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7902 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7903 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7904 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7905 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7906 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7907 | ) |
| 7908 | |
| 7909 | target_link_libraries(json_rewrite |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7910 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 8a99fdb | 2018-01-25 15:38:20 -0800 | [diff] [blame] | 7911 | grpc_test_util |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7912 | grpc |
Vijay Pai | 8a99fdb | 2018-01-25 15:38:20 -0800 | [diff] [blame] | 7913 | gpr_test_util |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7914 | gpr |
| 7915 | ) |
| 7916 | |
| 7917 | endif (gRPC_BUILD_TESTS) |
| 7918 | if (gRPC_BUILD_TESTS) |
| 7919 | |
| 7920 | add_executable(json_rewrite_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7921 | test/core/json/json_rewrite_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7922 | ) |
| 7923 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7924 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7925 | target_include_directories(json_rewrite_test |
| 7926 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7927 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7928 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7929 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7930 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7931 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7932 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7933 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7934 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7935 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7936 | ) |
| 7937 | |
| 7938 | target_link_libraries(json_rewrite_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7939 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 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 | |
| 7949 | add_executable(json_stream_error_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7950 | test/core/json/json_stream_error_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(json_stream_error_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} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7964 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7965 | ) |
| 7966 | |
| 7967 | target_link_libraries(json_stream_error_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7968 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7969 | grpc_test_util |
| 7970 | grpc |
| 7971 | gpr_test_util |
| 7972 | gpr |
| 7973 | ) |
| 7974 | |
| 7975 | endif (gRPC_BUILD_TESTS) |
| 7976 | if (gRPC_BUILD_TESTS) |
| 7977 | |
| 7978 | add_executable(json_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7979 | test/core/json/json_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7980 | ) |
| 7981 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7982 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7983 | target_include_directories(json_test |
| 7984 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7985 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7986 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7987 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7988 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7989 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7990 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7991 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7992 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 7993 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7994 | ) |
| 7995 | |
| 7996 | target_link_libraries(json_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7997 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7998 | grpc_test_util |
| 7999 | grpc |
| 8000 | gpr_test_util |
| 8001 | gpr |
| 8002 | ) |
| 8003 | |
| 8004 | endif (gRPC_BUILD_TESTS) |
| 8005 | if (gRPC_BUILD_TESTS) |
| 8006 | |
| 8007 | add_executable(lame_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8008 | test/core/surface/lame_client_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8009 | ) |
| 8010 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8011 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8012 | target_include_directories(lame_client_test |
| 8013 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8014 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8015 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8016 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8017 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8018 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8019 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8020 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8021 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8022 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8023 | ) |
| 8024 | |
| 8025 | target_link_libraries(lame_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8026 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8027 | grpc_test_util |
| 8028 | grpc |
| 8029 | gpr_test_util |
| 8030 | gpr |
| 8031 | ) |
| 8032 | |
| 8033 | endif (gRPC_BUILD_TESTS) |
| 8034 | if (gRPC_BUILD_TESTS) |
| 8035 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8036 | add_executable(load_file_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8037 | test/core/iomgr/load_file_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8038 | ) |
| 8039 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8040 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8041 | target_include_directories(load_file_test |
| 8042 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8043 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8044 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8045 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8046 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8047 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8048 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8049 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8050 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8051 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8052 | ) |
| 8053 | |
| 8054 | target_link_libraries(load_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8055 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8056 | grpc_test_util |
| 8057 | grpc |
| 8058 | gpr_test_util |
| 8059 | gpr |
| 8060 | ) |
| 8061 | |
| 8062 | endif (gRPC_BUILD_TESTS) |
| 8063 | if (gRPC_BUILD_TESTS) |
| 8064 | |
| 8065 | add_executable(memory_profile_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8066 | test/core/memory_usage/client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8067 | ) |
| 8068 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8069 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8070 | target_include_directories(memory_profile_client |
| 8071 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8072 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8073 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8074 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8075 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8076 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8077 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8078 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8079 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8080 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8081 | ) |
| 8082 | |
| 8083 | target_link_libraries(memory_profile_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8084 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8085 | grpc_test_util |
| 8086 | grpc |
| 8087 | gpr_test_util |
| 8088 | gpr |
| 8089 | ) |
| 8090 | |
| 8091 | endif (gRPC_BUILD_TESTS) |
| 8092 | if (gRPC_BUILD_TESTS) |
| 8093 | |
| 8094 | add_executable(memory_profile_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8095 | test/core/memory_usage/server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8096 | ) |
| 8097 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8098 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8099 | target_include_directories(memory_profile_server |
| 8100 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8101 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8102 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8103 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8104 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8105 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8106 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8107 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8108 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8109 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8110 | ) |
| 8111 | |
| 8112 | target_link_libraries(memory_profile_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8113 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8114 | grpc_test_util |
| 8115 | grpc |
| 8116 | gpr_test_util |
| 8117 | gpr |
| 8118 | ) |
| 8119 | |
| 8120 | endif (gRPC_BUILD_TESTS) |
| 8121 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8122 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8123 | |
| 8124 | add_executable(memory_profile_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8125 | test/core/memory_usage/memory_usage_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8126 | ) |
| 8127 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8128 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8129 | target_include_directories(memory_profile_test |
| 8130 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8131 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8132 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8133 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8134 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8135 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8136 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8137 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8138 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8139 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8140 | ) |
| 8141 | |
| 8142 | target_link_libraries(memory_profile_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8143 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8144 | grpc_test_util |
| 8145 | grpc |
| 8146 | gpr_test_util |
| 8147 | gpr |
| 8148 | ) |
| 8149 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8150 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8151 | endif (gRPC_BUILD_TESTS) |
| 8152 | if (gRPC_BUILD_TESTS) |
| 8153 | |
| 8154 | add_executable(message_compress_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8155 | test/core/compression/message_compress_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8156 | ) |
| 8157 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8158 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8159 | target_include_directories(message_compress_test |
| 8160 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8161 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8162 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8163 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8164 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8165 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8166 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8167 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8168 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8169 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8170 | ) |
| 8171 | |
| 8172 | target_link_libraries(message_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8173 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8174 | grpc_test_util |
| 8175 | grpc |
| 8176 | gpr_test_util |
| 8177 | gpr |
| 8178 | ) |
| 8179 | |
| 8180 | endif (gRPC_BUILD_TESTS) |
| 8181 | if (gRPC_BUILD_TESTS) |
| 8182 | |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 8183 | add_executable(minimal_stack_is_minimal_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8184 | test/core/channel/minimal_stack_is_minimal_test.cc |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 8185 | ) |
| 8186 | |
| 8187 | |
| 8188 | target_include_directories(minimal_stack_is_minimal_test |
| 8189 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8190 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8191 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8192 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8193 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8194 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8195 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8196 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8197 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8198 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 8199 | ) |
| 8200 | |
| 8201 | target_link_libraries(minimal_stack_is_minimal_test |
| 8202 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8203 | grpc_test_util |
| 8204 | grpc |
| 8205 | gpr_test_util |
| 8206 | gpr |
| 8207 | ) |
| 8208 | |
| 8209 | endif (gRPC_BUILD_TESTS) |
| 8210 | if (gRPC_BUILD_TESTS) |
| 8211 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8212 | add_executable(multiple_server_queues_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8213 | test/core/end2end/multiple_server_queues_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8214 | ) |
| 8215 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8216 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8217 | target_include_directories(multiple_server_queues_test |
| 8218 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8219 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8220 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8221 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8222 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8223 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8224 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8225 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8226 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8227 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8228 | ) |
| 8229 | |
| 8230 | target_link_libraries(multiple_server_queues_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8231 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8232 | grpc_test_util |
| 8233 | grpc |
| 8234 | gpr_test_util |
| 8235 | gpr |
| 8236 | ) |
| 8237 | |
| 8238 | endif (gRPC_BUILD_TESTS) |
| 8239 | if (gRPC_BUILD_TESTS) |
| 8240 | |
| 8241 | add_executable(murmur_hash_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 8242 | test/core/gpr/murmur_hash_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8243 | ) |
| 8244 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8245 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8246 | target_include_directories(murmur_hash_test |
| 8247 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8248 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8249 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8250 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8251 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8252 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8253 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8254 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8255 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8256 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8257 | ) |
| 8258 | |
| 8259 | target_link_libraries(murmur_hash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8260 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8261 | gpr_test_util |
| 8262 | gpr |
| 8263 | ) |
| 8264 | |
| 8265 | endif (gRPC_BUILD_TESTS) |
| 8266 | if (gRPC_BUILD_TESTS) |
| 8267 | |
| 8268 | add_executable(no_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8269 | test/core/end2end/no_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8270 | ) |
| 8271 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8272 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8273 | target_include_directories(no_server_test |
| 8274 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8275 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8276 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8277 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8278 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8279 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8280 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8281 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8282 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8283 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8284 | ) |
| 8285 | |
| 8286 | target_link_libraries(no_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8287 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8288 | grpc_test_util |
| 8289 | grpc |
| 8290 | gpr_test_util |
| 8291 | gpr |
| 8292 | ) |
| 8293 | |
| 8294 | endif (gRPC_BUILD_TESTS) |
| 8295 | if (gRPC_BUILD_TESTS) |
| 8296 | |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 8297 | add_executable(num_external_connectivity_watchers_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8298 | test/core/surface/num_external_connectivity_watchers_test.cc |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 8299 | ) |
| 8300 | |
| 8301 | |
| 8302 | target_include_directories(num_external_connectivity_watchers_test |
| 8303 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8304 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8305 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8306 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8307 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8308 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8309 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8310 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8311 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8312 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 8313 | ) |
| 8314 | |
| 8315 | target_link_libraries(num_external_connectivity_watchers_test |
| 8316 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8317 | grpc_test_util |
| 8318 | grpc |
| 8319 | gpr_test_util |
| 8320 | gpr |
| 8321 | ) |
| 8322 | |
| 8323 | endif (gRPC_BUILD_TESTS) |
| 8324 | if (gRPC_BUILD_TESTS) |
| 8325 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 8326 | add_executable(parse_address_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8327 | test/core/client_channel/parse_address_test.cc |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 8328 | ) |
| 8329 | |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 8330 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 8331 | target_include_directories(parse_address_test |
| 8332 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8333 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8334 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8335 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8336 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8337 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8338 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8339 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8340 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8341 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 8342 | ) |
| 8343 | |
| 8344 | target_link_libraries(parse_address_test |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 8345 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 8346 | grpc_test_util |
| 8347 | grpc |
| 8348 | gpr_test_util |
| 8349 | gpr |
| 8350 | ) |
| 8351 | |
| 8352 | endif (gRPC_BUILD_TESTS) |
| 8353 | if (gRPC_BUILD_TESTS) |
| 8354 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8355 | add_executable(percent_encoding_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8356 | test/core/slice/percent_encoding_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8357 | ) |
| 8358 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8359 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8360 | target_include_directories(percent_encoding_test |
| 8361 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8362 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8363 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8364 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8365 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8366 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8367 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8368 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8369 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8370 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8371 | ) |
| 8372 | |
| 8373 | target_link_libraries(percent_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8374 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8375 | grpc_test_util |
| 8376 | grpc |
| 8377 | gpr_test_util |
| 8378 | gpr |
| 8379 | ) |
| 8380 | |
| 8381 | endif (gRPC_BUILD_TESTS) |
| 8382 | if (gRPC_BUILD_TESTS) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 8383 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8384 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8385 | add_executable(pollset_set_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8386 | test/core/iomgr/pollset_set_test.cc |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8387 | ) |
| 8388 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 8389 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8390 | target_include_directories(pollset_set_test |
| 8391 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8392 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8393 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8394 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8395 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8396 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8397 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8398 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8399 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8400 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8401 | ) |
| 8402 | |
| 8403 | target_link_libraries(pollset_set_test |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 8404 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8405 | grpc_test_util |
| 8406 | grpc |
| 8407 | gpr_test_util |
| 8408 | gpr |
| 8409 | ) |
| 8410 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 8411 | endif() |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8412 | endif (gRPC_BUILD_TESTS) |
| 8413 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8414 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8415 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8416 | add_executable(resolve_address_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8417 | test/core/iomgr/resolve_address_posix_test.cc |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8418 | ) |
| 8419 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8420 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8421 | target_include_directories(resolve_address_posix_test |
| 8422 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8423 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8424 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8425 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8426 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8427 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8428 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8429 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8430 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8431 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8432 | ) |
| 8433 | |
| 8434 | target_link_libraries(resolve_address_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8435 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8436 | grpc_test_util |
| 8437 | grpc |
| 8438 | gpr_test_util |
| 8439 | gpr |
| 8440 | ) |
| 8441 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8442 | endif() |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8443 | endif (gRPC_BUILD_TESTS) |
| 8444 | if (gRPC_BUILD_TESTS) |
| 8445 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8446 | add_executable(resolve_address_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8447 | test/core/iomgr/resolve_address_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8448 | ) |
| 8449 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8450 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8451 | target_include_directories(resolve_address_test |
| 8452 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8453 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8454 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8455 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8456 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8457 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8458 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8459 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8460 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8461 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8462 | ) |
| 8463 | |
| 8464 | target_link_libraries(resolve_address_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8465 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8466 | grpc_test_util |
| 8467 | grpc |
| 8468 | gpr_test_util |
| 8469 | gpr |
| 8470 | ) |
| 8471 | |
| 8472 | endif (gRPC_BUILD_TESTS) |
| 8473 | if (gRPC_BUILD_TESTS) |
| 8474 | |
| 8475 | add_executable(resource_quota_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8476 | test/core/iomgr/resource_quota_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8477 | ) |
| 8478 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8479 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8480 | target_include_directories(resource_quota_test |
| 8481 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8482 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8483 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8484 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8485 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8486 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8487 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8488 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8489 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8490 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8491 | ) |
| 8492 | |
| 8493 | target_link_libraries(resource_quota_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8494 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8495 | grpc_test_util |
| 8496 | grpc |
| 8497 | gpr_test_util |
| 8498 | gpr |
| 8499 | ) |
| 8500 | |
| 8501 | endif (gRPC_BUILD_TESTS) |
| 8502 | if (gRPC_BUILD_TESTS) |
| 8503 | |
| 8504 | add_executable(secure_channel_create_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8505 | test/core/surface/secure_channel_create_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8506 | ) |
| 8507 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8508 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8509 | target_include_directories(secure_channel_create_test |
| 8510 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8511 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8512 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8513 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8514 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8515 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8516 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8517 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8518 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8519 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8520 | ) |
| 8521 | |
| 8522 | target_link_libraries(secure_channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8523 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8524 | grpc_test_util |
| 8525 | grpc |
| 8526 | gpr_test_util |
| 8527 | gpr |
| 8528 | ) |
| 8529 | |
| 8530 | endif (gRPC_BUILD_TESTS) |
| 8531 | if (gRPC_BUILD_TESTS) |
| 8532 | |
| 8533 | add_executable(secure_endpoint_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8534 | test/core/security/secure_endpoint_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8535 | ) |
| 8536 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8537 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8538 | target_include_directories(secure_endpoint_test |
| 8539 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8540 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8541 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8542 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8543 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8544 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8545 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8546 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8547 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8548 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8549 | ) |
| 8550 | |
| 8551 | target_link_libraries(secure_endpoint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8552 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8553 | grpc_test_util |
| 8554 | grpc |
| 8555 | gpr_test_util |
| 8556 | gpr |
| 8557 | ) |
| 8558 | |
| 8559 | endif (gRPC_BUILD_TESTS) |
| 8560 | if (gRPC_BUILD_TESTS) |
| 8561 | |
| 8562 | add_executable(sequential_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8563 | test/core/surface/sequential_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8564 | ) |
| 8565 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8566 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8567 | target_include_directories(sequential_connectivity_test |
| 8568 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8569 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8570 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8571 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8572 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8573 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8574 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8575 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8576 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8577 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8578 | ) |
| 8579 | |
| 8580 | target_link_libraries(sequential_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8581 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8582 | grpc_test_util |
| 8583 | grpc |
| 8584 | gpr_test_util |
| 8585 | gpr |
| 8586 | ) |
| 8587 | |
| 8588 | endif (gRPC_BUILD_TESTS) |
| 8589 | if (gRPC_BUILD_TESTS) |
| 8590 | |
| 8591 | add_executable(server_chttp2_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8592 | test/core/surface/server_chttp2_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8593 | ) |
| 8594 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8595 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8596 | target_include_directories(server_chttp2_test |
| 8597 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8598 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8599 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8600 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8601 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8602 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8603 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8604 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8605 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8606 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8607 | ) |
| 8608 | |
| 8609 | target_link_libraries(server_chttp2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8610 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8611 | grpc_test_util |
| 8612 | grpc |
| 8613 | gpr_test_util |
| 8614 | gpr |
| 8615 | ) |
| 8616 | |
| 8617 | endif (gRPC_BUILD_TESTS) |
| 8618 | if (gRPC_BUILD_TESTS) |
| 8619 | |
| 8620 | add_executable(server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8621 | test/core/surface/server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8622 | ) |
| 8623 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8624 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8625 | target_include_directories(server_test |
| 8626 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8627 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8628 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8629 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8630 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8631 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8632 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8633 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8634 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8635 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8636 | ) |
| 8637 | |
| 8638 | target_link_libraries(server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8639 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8640 | grpc_test_util |
| 8641 | grpc |
| 8642 | gpr_test_util |
| 8643 | gpr |
| 8644 | ) |
| 8645 | |
| 8646 | endif (gRPC_BUILD_TESTS) |
| 8647 | if (gRPC_BUILD_TESTS) |
| 8648 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8649 | add_executable(slice_buffer_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8650 | test/core/slice/slice_buffer_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8651 | ) |
| 8652 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8653 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8654 | target_include_directories(slice_buffer_test |
| 8655 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8656 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8657 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8658 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8659 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8660 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8661 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8662 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8663 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8664 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8665 | ) |
| 8666 | |
| 8667 | target_link_libraries(slice_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8668 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8669 | grpc_test_util |
| 8670 | grpc |
| 8671 | gpr_test_util |
| 8672 | gpr |
| 8673 | ) |
| 8674 | |
| 8675 | endif (gRPC_BUILD_TESTS) |
| 8676 | if (gRPC_BUILD_TESTS) |
| 8677 | |
| 8678 | add_executable(slice_string_helpers_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8679 | test/core/slice/slice_string_helpers_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8680 | ) |
| 8681 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8682 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8683 | target_include_directories(slice_string_helpers_test |
| 8684 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8685 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8686 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8687 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8688 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8689 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8690 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8691 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8692 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8693 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8694 | ) |
| 8695 | |
| 8696 | target_link_libraries(slice_string_helpers_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8697 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8698 | grpc_test_util |
| 8699 | grpc |
| 8700 | gpr_test_util |
| 8701 | gpr |
| 8702 | ) |
| 8703 | |
| 8704 | endif (gRPC_BUILD_TESTS) |
| 8705 | if (gRPC_BUILD_TESTS) |
| 8706 | |
| 8707 | add_executable(slice_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8708 | test/core/slice/slice_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8709 | ) |
| 8710 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8711 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8712 | target_include_directories(slice_test |
| 8713 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8714 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8715 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8716 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8717 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8718 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8719 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8720 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8721 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8722 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8723 | ) |
| 8724 | |
| 8725 | target_link_libraries(slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8726 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8727 | grpc_test_util |
| 8728 | grpc |
| 8729 | gpr_test_util |
| 8730 | gpr |
| 8731 | ) |
| 8732 | |
| 8733 | endif (gRPC_BUILD_TESTS) |
| 8734 | if (gRPC_BUILD_TESTS) |
| 8735 | |
| 8736 | add_executable(sockaddr_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8737 | test/core/client_channel/resolvers/sockaddr_resolver_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8738 | ) |
| 8739 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8740 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8741 | target_include_directories(sockaddr_resolver_test |
| 8742 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8743 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8744 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8745 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8746 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8747 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8748 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8749 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8750 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8751 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8752 | ) |
| 8753 | |
| 8754 | target_link_libraries(sockaddr_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8755 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8756 | grpc_test_util |
| 8757 | grpc |
| 8758 | gpr_test_util |
| 8759 | gpr |
| 8760 | ) |
| 8761 | |
| 8762 | endif (gRPC_BUILD_TESTS) |
| 8763 | if (gRPC_BUILD_TESTS) |
| 8764 | |
| 8765 | add_executable(sockaddr_utils_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8766 | test/core/iomgr/sockaddr_utils_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8767 | ) |
| 8768 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8769 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8770 | target_include_directories(sockaddr_utils_test |
| 8771 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8772 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8773 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8774 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8775 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8776 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8777 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8778 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8779 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8780 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8781 | ) |
| 8782 | |
| 8783 | target_link_libraries(sockaddr_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8784 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8785 | grpc_test_util |
| 8786 | grpc |
| 8787 | gpr_test_util |
| 8788 | gpr |
| 8789 | ) |
| 8790 | |
| 8791 | endif (gRPC_BUILD_TESTS) |
| 8792 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8793 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8794 | |
| 8795 | add_executable(socket_utils_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8796 | test/core/iomgr/socket_utils_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8797 | ) |
| 8798 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8799 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8800 | target_include_directories(socket_utils_test |
| 8801 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8802 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8803 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8804 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8805 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8806 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8807 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8808 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8809 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8810 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8811 | ) |
| 8812 | |
| 8813 | target_link_libraries(socket_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8814 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8815 | grpc_test_util |
| 8816 | grpc |
| 8817 | gpr_test_util |
| 8818 | gpr |
| 8819 | ) |
| 8820 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8821 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8822 | endif (gRPC_BUILD_TESTS) |
| 8823 | if (gRPC_BUILD_TESTS) |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8824 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8825 | |
| 8826 | add_executable(ssl_transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8827 | test/core/tsi/ssl_transport_security_test.cc |
| 8828 | test/core/tsi/transport_security_test_lib.cc |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8829 | ) |
| 8830 | |
| 8831 | |
| 8832 | target_include_directories(ssl_transport_security_test |
| 8833 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8834 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8835 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8836 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8837 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8838 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8839 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8840 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8841 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8842 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8843 | ) |
| 8844 | |
| 8845 | target_link_libraries(ssl_transport_security_test |
| 8846 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8847 | gpr_test_util |
| 8848 | gpr |
| 8849 | grpc |
| 8850 | ) |
| 8851 | |
| 8852 | endif() |
| 8853 | endif (gRPC_BUILD_TESTS) |
| 8854 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8855 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8856 | add_executable(status_conversion_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8857 | test/core/transport/status_conversion_test.cc |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8858 | ) |
| 8859 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8860 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8861 | target_include_directories(status_conversion_test |
| 8862 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8863 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8864 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8865 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8866 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8867 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8868 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8869 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8870 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8871 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8872 | ) |
| 8873 | |
| 8874 | target_link_libraries(status_conversion_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8875 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [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) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8884 | |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8885 | add_executable(stream_compression_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8886 | test/core/compression/stream_compression_test.cc |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8887 | ) |
| 8888 | |
| 8889 | |
| 8890 | target_include_directories(stream_compression_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} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8900 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8901 | ) |
| 8902 | |
| 8903 | target_link_libraries(stream_compression_test |
| 8904 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8905 | grpc_test_util |
| 8906 | grpc |
| 8907 | gpr_test_util |
| 8908 | gpr |
| 8909 | ) |
| 8910 | |
| 8911 | endif (gRPC_BUILD_TESTS) |
| 8912 | if (gRPC_BUILD_TESTS) |
| 8913 | |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8914 | add_executable(stream_owned_slice_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8915 | test/core/transport/stream_owned_slice_test.cc |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8916 | ) |
| 8917 | |
| 8918 | |
| 8919 | target_include_directories(stream_owned_slice_test |
| 8920 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8921 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8922 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8923 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8924 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8925 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8926 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8927 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8928 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8929 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8930 | ) |
| 8931 | |
| 8932 | target_link_libraries(stream_owned_slice_test |
| 8933 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8934 | grpc_test_util |
| 8935 | grpc |
| 8936 | gpr_test_util |
| 8937 | gpr |
| 8938 | ) |
| 8939 | |
| 8940 | endif (gRPC_BUILD_TESTS) |
| 8941 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8942 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8943 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8944 | add_executable(tcp_client_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8945 | test/core/iomgr/tcp_client_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8946 | ) |
| 8947 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8948 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8949 | target_include_directories(tcp_client_posix_test |
| 8950 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8951 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8952 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8953 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8954 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8955 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8956 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8957 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8958 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8959 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8960 | ) |
| 8961 | |
| 8962 | target_link_libraries(tcp_client_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8963 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8964 | grpc_test_util |
| 8965 | grpc |
| 8966 | gpr_test_util |
| 8967 | gpr |
| 8968 | ) |
| 8969 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8970 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8971 | endif (gRPC_BUILD_TESTS) |
| 8972 | if (gRPC_BUILD_TESTS) |
| 8973 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8974 | add_executable(tcp_client_uv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8975 | test/core/iomgr/tcp_client_uv_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8976 | ) |
| 8977 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8978 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8979 | target_include_directories(tcp_client_uv_test |
| 8980 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8981 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8982 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8983 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8984 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8985 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8986 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8987 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8988 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 8989 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8990 | ) |
| 8991 | |
| 8992 | target_link_libraries(tcp_client_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8993 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8994 | grpc_test_util |
| 8995 | grpc |
| 8996 | gpr_test_util |
| 8997 | gpr |
| 8998 | ) |
| 8999 | |
| 9000 | endif (gRPC_BUILD_TESTS) |
| 9001 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9002 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9003 | |
| 9004 | add_executable(tcp_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 9005 | test/core/iomgr/tcp_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9006 | ) |
| 9007 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9008 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9009 | target_include_directories(tcp_posix_test |
| 9010 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9011 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9012 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9013 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9014 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9015 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9016 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9017 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9018 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9019 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9020 | ) |
| 9021 | |
| 9022 | target_link_libraries(tcp_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9023 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9024 | grpc_test_util |
| 9025 | grpc |
| 9026 | gpr_test_util |
| 9027 | gpr |
| 9028 | ) |
| 9029 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9030 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9031 | endif (gRPC_BUILD_TESTS) |
| 9032 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9033 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9034 | |
| 9035 | add_executable(tcp_server_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 9036 | test/core/iomgr/tcp_server_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9037 | ) |
| 9038 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9039 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9040 | target_include_directories(tcp_server_posix_test |
| 9041 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9042 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9043 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9044 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9045 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9046 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9047 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9048 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9049 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9050 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9051 | ) |
| 9052 | |
| 9053 | target_link_libraries(tcp_server_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9054 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9055 | grpc_test_util |
| 9056 | grpc |
| 9057 | gpr_test_util |
| 9058 | gpr |
| 9059 | ) |
| 9060 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9061 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9062 | endif (gRPC_BUILD_TESTS) |
| 9063 | if (gRPC_BUILD_TESTS) |
| 9064 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 9065 | add_executable(tcp_server_uv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 9066 | test/core/iomgr/tcp_server_uv_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 9067 | ) |
| 9068 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 9069 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 9070 | target_include_directories(tcp_server_uv_test |
| 9071 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9072 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9073 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9074 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9075 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9076 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9077 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9078 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9079 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9080 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 9081 | ) |
| 9082 | |
| 9083 | target_link_libraries(tcp_server_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 9084 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 9085 | grpc_test_util |
| 9086 | grpc |
| 9087 | gpr_test_util |
| 9088 | gpr |
| 9089 | ) |
| 9090 | |
| 9091 | endif (gRPC_BUILD_TESTS) |
| 9092 | if (gRPC_BUILD_TESTS) |
| 9093 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9094 | add_executable(time_averaged_stats_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 9095 | test/core/iomgr/time_averaged_stats_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9096 | ) |
| 9097 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9098 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9099 | target_include_directories(time_averaged_stats_test |
| 9100 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9101 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9102 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9103 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9104 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9105 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9106 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9107 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9108 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9109 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9110 | ) |
| 9111 | |
| 9112 | target_link_libraries(time_averaged_stats_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9113 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9114 | grpc_test_util |
| 9115 | grpc |
| 9116 | gpr_test_util |
| 9117 | gpr |
| 9118 | ) |
| 9119 | |
| 9120 | endif (gRPC_BUILD_TESTS) |
| 9121 | if (gRPC_BUILD_TESTS) |
| 9122 | |
| 9123 | add_executable(timeout_encoding_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 9124 | test/core/transport/timeout_encoding_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9125 | ) |
| 9126 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9127 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9128 | target_include_directories(timeout_encoding_test |
| 9129 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9130 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9131 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9132 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9133 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9134 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9135 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9136 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9137 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9138 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9139 | ) |
| 9140 | |
| 9141 | target_link_libraries(timeout_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9142 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9143 | grpc_test_util |
| 9144 | grpc |
| 9145 | gpr_test_util |
| 9146 | gpr |
| 9147 | ) |
| 9148 | |
| 9149 | endif (gRPC_BUILD_TESTS) |
| 9150 | if (gRPC_BUILD_TESTS) |
| 9151 | |
| 9152 | add_executable(timer_heap_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 9153 | test/core/iomgr/timer_heap_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9154 | ) |
| 9155 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9156 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9157 | target_include_directories(timer_heap_test |
| 9158 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9159 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9160 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9161 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9162 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9163 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9164 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9165 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9166 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9167 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9168 | ) |
| 9169 | |
| 9170 | target_link_libraries(timer_heap_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9171 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9172 | grpc_test_util |
| 9173 | grpc |
| 9174 | gpr_test_util |
| 9175 | gpr |
| 9176 | ) |
| 9177 | |
| 9178 | endif (gRPC_BUILD_TESTS) |
| 9179 | if (gRPC_BUILD_TESTS) |
| 9180 | |
| 9181 | add_executable(timer_list_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 9182 | test/core/iomgr/timer_list_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9183 | ) |
| 9184 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9185 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9186 | target_include_directories(timer_list_test |
| 9187 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9188 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9189 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9190 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9191 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9192 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9193 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9194 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9195 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9196 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9197 | ) |
| 9198 | |
| 9199 | target_link_libraries(timer_list_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9200 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9201 | grpc_test_util |
| 9202 | grpc |
| 9203 | gpr_test_util |
| 9204 | gpr |
| 9205 | ) |
| 9206 | |
| 9207 | endif (gRPC_BUILD_TESTS) |
| 9208 | if (gRPC_BUILD_TESTS) |
| 9209 | |
| 9210 | add_executable(transport_connectivity_state_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 9211 | test/core/transport/connectivity_state_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9212 | ) |
| 9213 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9214 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9215 | target_include_directories(transport_connectivity_state_test |
| 9216 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9217 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9218 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9219 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9220 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9221 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9222 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9223 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9224 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9225 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9226 | ) |
| 9227 | |
| 9228 | target_link_libraries(transport_connectivity_state_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9229 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9230 | grpc_test_util |
| 9231 | grpc |
| 9232 | gpr_test_util |
| 9233 | gpr |
| 9234 | ) |
| 9235 | |
| 9236 | endif (gRPC_BUILD_TESTS) |
| 9237 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 9238 | |
| 9239 | add_executable(transport_metadata_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 9240 | test/core/transport/metadata_test.cc |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 9241 | ) |
| 9242 | |
| 9243 | |
| 9244 | target_include_directories(transport_metadata_test |
| 9245 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9246 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9247 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9248 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9249 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9250 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9251 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9252 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9253 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9254 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 9255 | ) |
| 9256 | |
| 9257 | target_link_libraries(transport_metadata_test |
| 9258 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9259 | grpc_test_util |
| 9260 | grpc |
| 9261 | gpr_test_util |
| 9262 | gpr |
| 9263 | ) |
| 9264 | |
| 9265 | endif (gRPC_BUILD_TESTS) |
| 9266 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9267 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9268 | |
| 9269 | add_executable(transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 9270 | test/core/tsi/transport_security_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9271 | ) |
| 9272 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9273 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9274 | target_include_directories(transport_security_test |
| 9275 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9276 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9277 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9278 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9279 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9280 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9281 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9282 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9283 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9284 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9285 | ) |
| 9286 | |
| 9287 | target_link_libraries(transport_security_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9288 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9289 | grpc_test_util |
| 9290 | grpc |
| 9291 | gpr_test_util |
| 9292 | gpr |
| 9293 | ) |
| 9294 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9295 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9296 | endif (gRPC_BUILD_TESTS) |
| 9297 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9298 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9299 | |
| 9300 | add_executable(udp_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 9301 | test/core/iomgr/udp_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9302 | ) |
| 9303 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9304 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9305 | target_include_directories(udp_server_test |
| 9306 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9307 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9308 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9309 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9310 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9311 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9312 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9313 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9314 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9315 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9316 | ) |
| 9317 | |
| 9318 | target_link_libraries(udp_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9319 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9320 | grpc_test_util |
| 9321 | grpc |
| 9322 | gpr_test_util |
| 9323 | gpr |
| 9324 | ) |
| 9325 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9326 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9327 | endif (gRPC_BUILD_TESTS) |
| 9328 | if (gRPC_BUILD_TESTS) |
| 9329 | |
| 9330 | add_executable(uri_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 9331 | test/core/client_channel/uri_parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9332 | ) |
| 9333 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9334 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9335 | target_include_directories(uri_parser_test |
| 9336 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9337 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9338 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9339 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9340 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9341 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9342 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9343 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9344 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9345 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9346 | ) |
| 9347 | |
| 9348 | target_link_libraries(uri_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9349 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9350 | grpc_test_util |
| 9351 | grpc |
| 9352 | gpr_test_util |
| 9353 | gpr |
| 9354 | ) |
| 9355 | |
| 9356 | endif (gRPC_BUILD_TESTS) |
| 9357 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9358 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9359 | |
| 9360 | add_executable(wakeup_fd_cv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 9361 | test/core/iomgr/wakeup_fd_cv_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9362 | ) |
| 9363 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9364 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9365 | target_include_directories(wakeup_fd_cv_test |
| 9366 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9367 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9368 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9369 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9370 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9371 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9372 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9373 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9374 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9375 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9376 | ) |
| 9377 | |
| 9378 | target_link_libraries(wakeup_fd_cv_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9379 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9380 | grpc_test_util |
| 9381 | grpc |
| 9382 | gpr_test_util |
| 9383 | gpr |
| 9384 | ) |
| 9385 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9386 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9387 | endif (gRPC_BUILD_TESTS) |
| 9388 | if (gRPC_BUILD_TESTS) |
| 9389 | |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 9390 | add_executable(alarm_test |
| 9391 | test/cpp/common/alarm_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9392 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9393 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9394 | ) |
| 9395 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9396 | |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 9397 | target_include_directories(alarm_test |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9398 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9399 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9400 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9401 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9402 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9403 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9404 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9405 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9406 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9407 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9408 | PRIVATE third_party/googletest/googletest/include |
| 9409 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9410 | PRIVATE third_party/googletest/googlemock/include |
| 9411 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9412 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9413 | ) |
| 9414 | |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 9415 | target_link_libraries(alarm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9416 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9417 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9418 | grpc++_test_util_unsecure |
| 9419 | grpc_test_util_unsecure |
| 9420 | grpc++_unsecure |
| 9421 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9422 | gpr_test_util |
| 9423 | gpr |
| 9424 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9425 | ) |
| 9426 | |
| 9427 | endif (gRPC_BUILD_TESTS) |
| 9428 | if (gRPC_BUILD_TESTS) |
| 9429 | |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9430 | add_executable(alts_counter_test |
| 9431 | test/core/tsi/alts/frame_protector/alts_counter_test.cc |
| 9432 | third_party/googletest/googletest/src/gtest-all.cc |
| 9433 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9434 | ) |
| 9435 | |
| 9436 | |
| 9437 | target_include_directories(alts_counter_test |
| 9438 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9439 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9440 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9441 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9442 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9443 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9444 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9445 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9446 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9447 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9448 | PRIVATE third_party/googletest/googletest/include |
| 9449 | PRIVATE third_party/googletest/googletest |
| 9450 | PRIVATE third_party/googletest/googlemock/include |
| 9451 | PRIVATE third_party/googletest/googlemock |
| 9452 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9453 | ) |
| 9454 | |
| 9455 | target_link_libraries(alts_counter_test |
| 9456 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9457 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9458 | alts_test_util |
| 9459 | gpr |
| 9460 | grpc |
| 9461 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9462 | ) |
| 9463 | |
| 9464 | endif (gRPC_BUILD_TESTS) |
| 9465 | if (gRPC_BUILD_TESTS) |
| 9466 | |
| 9467 | add_executable(alts_crypt_test |
| 9468 | test/core/tsi/alts/crypt/aes_gcm_test.cc |
| 9469 | third_party/googletest/googletest/src/gtest-all.cc |
| 9470 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9471 | ) |
| 9472 | |
| 9473 | |
| 9474 | target_include_directories(alts_crypt_test |
| 9475 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9476 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9477 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9478 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9479 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9480 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9481 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9482 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9483 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9484 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9485 | PRIVATE third_party/googletest/googletest/include |
| 9486 | PRIVATE third_party/googletest/googletest |
| 9487 | PRIVATE third_party/googletest/googlemock/include |
| 9488 | PRIVATE third_party/googletest/googlemock |
| 9489 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9490 | ) |
| 9491 | |
| 9492 | target_link_libraries(alts_crypt_test |
| 9493 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9494 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9495 | alts_test_util |
| 9496 | gpr_test_util |
| 9497 | gpr |
| 9498 | grpc |
| 9499 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9500 | ) |
| 9501 | |
| 9502 | endif (gRPC_BUILD_TESTS) |
| 9503 | if (gRPC_BUILD_TESTS) |
| 9504 | |
| 9505 | add_executable(alts_crypter_test |
| 9506 | test/core/tsi/alts/frame_protector/alts_crypter_test.cc |
| 9507 | third_party/googletest/googletest/src/gtest-all.cc |
| 9508 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9509 | ) |
| 9510 | |
| 9511 | |
| 9512 | target_include_directories(alts_crypter_test |
| 9513 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9514 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9515 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9516 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9517 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9518 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9519 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9520 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9521 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9522 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9523 | PRIVATE third_party/googletest/googletest/include |
| 9524 | PRIVATE third_party/googletest/googletest |
| 9525 | PRIVATE third_party/googletest/googlemock/include |
| 9526 | PRIVATE third_party/googletest/googlemock |
| 9527 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9528 | ) |
| 9529 | |
| 9530 | target_link_libraries(alts_crypter_test |
| 9531 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9532 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9533 | alts_test_util |
| 9534 | gpr |
| 9535 | grpc |
| 9536 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9537 | ) |
| 9538 | |
| 9539 | endif (gRPC_BUILD_TESTS) |
| 9540 | if (gRPC_BUILD_TESTS) |
| 9541 | |
| 9542 | add_executable(alts_frame_handler_test |
| 9543 | test/core/tsi/alts/frame_protector/frame_handler_test.cc |
| 9544 | third_party/googletest/googletest/src/gtest-all.cc |
| 9545 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9546 | ) |
| 9547 | |
| 9548 | |
| 9549 | target_include_directories(alts_frame_handler_test |
| 9550 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9551 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9552 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9553 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9554 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9555 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9556 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9557 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9558 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9559 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9560 | PRIVATE third_party/googletest/googletest/include |
| 9561 | PRIVATE third_party/googletest/googletest |
| 9562 | PRIVATE third_party/googletest/googlemock/include |
| 9563 | PRIVATE third_party/googletest/googlemock |
| 9564 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9565 | ) |
| 9566 | |
| 9567 | target_link_libraries(alts_frame_handler_test |
| 9568 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9569 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9570 | alts_test_util |
| 9571 | gpr |
| 9572 | grpc |
| 9573 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9574 | ) |
| 9575 | |
| 9576 | endif (gRPC_BUILD_TESTS) |
| 9577 | if (gRPC_BUILD_TESTS) |
| 9578 | |
| 9579 | add_executable(alts_frame_protector_test |
| 9580 | test/core/tsi/alts/frame_protector/alts_frame_protector_test.cc |
| 9581 | test/core/tsi/transport_security_test_lib.cc |
| 9582 | third_party/googletest/googletest/src/gtest-all.cc |
| 9583 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9584 | ) |
| 9585 | |
| 9586 | |
| 9587 | target_include_directories(alts_frame_protector_test |
| 9588 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9589 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9590 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9591 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9592 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9593 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9594 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9595 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9596 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9597 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9598 | PRIVATE third_party/googletest/googletest/include |
| 9599 | PRIVATE third_party/googletest/googletest |
| 9600 | PRIVATE third_party/googletest/googlemock/include |
| 9601 | PRIVATE third_party/googletest/googlemock |
| 9602 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9603 | ) |
| 9604 | |
| 9605 | target_link_libraries(alts_frame_protector_test |
| 9606 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9607 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9608 | alts_test_util |
| 9609 | gpr |
| 9610 | grpc |
| 9611 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9612 | ) |
| 9613 | |
| 9614 | endif (gRPC_BUILD_TESTS) |
| 9615 | if (gRPC_BUILD_TESTS) |
| 9616 | |
| 9617 | add_executable(alts_grpc_record_protocol_test |
| 9618 | test/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_test.cc |
| 9619 | third_party/googletest/googletest/src/gtest-all.cc |
| 9620 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9621 | ) |
| 9622 | |
| 9623 | |
| 9624 | target_include_directories(alts_grpc_record_protocol_test |
| 9625 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9626 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9627 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9628 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9629 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9630 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9631 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9632 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9633 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9634 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9635 | PRIVATE third_party/googletest/googletest/include |
| 9636 | PRIVATE third_party/googletest/googletest |
| 9637 | PRIVATE third_party/googletest/googlemock/include |
| 9638 | PRIVATE third_party/googletest/googlemock |
| 9639 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9640 | ) |
| 9641 | |
| 9642 | target_link_libraries(alts_grpc_record_protocol_test |
| 9643 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9644 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9645 | alts_test_util |
| 9646 | gpr |
| 9647 | grpc |
| 9648 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9649 | ) |
| 9650 | |
| 9651 | endif (gRPC_BUILD_TESTS) |
| 9652 | if (gRPC_BUILD_TESTS) |
| 9653 | |
| 9654 | add_executable(alts_handshaker_client_test |
| 9655 | test/core/tsi/alts/handshaker/alts_handshaker_client_test.cc |
| 9656 | third_party/googletest/googletest/src/gtest-all.cc |
| 9657 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9658 | ) |
| 9659 | |
| 9660 | |
| 9661 | target_include_directories(alts_handshaker_client_test |
| 9662 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9663 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9664 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9665 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9666 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9667 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9668 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9669 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9670 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9671 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9672 | PRIVATE third_party/googletest/googletest/include |
| 9673 | PRIVATE third_party/googletest/googletest |
| 9674 | PRIVATE third_party/googletest/googlemock/include |
| 9675 | PRIVATE third_party/googletest/googlemock |
| 9676 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9677 | ) |
| 9678 | |
| 9679 | target_link_libraries(alts_handshaker_client_test |
| 9680 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9681 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9682 | alts_test_util |
| 9683 | gpr |
| 9684 | grpc |
| 9685 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9686 | ) |
| 9687 | |
| 9688 | endif (gRPC_BUILD_TESTS) |
| 9689 | if (gRPC_BUILD_TESTS) |
| 9690 | |
| 9691 | add_executable(alts_handshaker_service_api_test |
| 9692 | test/core/tsi/alts/handshaker/alts_handshaker_service_api_test.cc |
| 9693 | third_party/googletest/googletest/src/gtest-all.cc |
| 9694 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9695 | ) |
| 9696 | |
| 9697 | |
| 9698 | target_include_directories(alts_handshaker_service_api_test |
| 9699 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9700 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9701 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9702 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9703 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9704 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9705 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9706 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9707 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9708 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9709 | PRIVATE third_party/googletest/googletest/include |
| 9710 | PRIVATE third_party/googletest/googletest |
| 9711 | PRIVATE third_party/googletest/googlemock/include |
| 9712 | PRIVATE third_party/googletest/googlemock |
| 9713 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9714 | ) |
| 9715 | |
| 9716 | target_link_libraries(alts_handshaker_service_api_test |
| 9717 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9718 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9719 | alts_test_util |
| 9720 | gpr |
| 9721 | grpc |
| 9722 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9723 | ) |
| 9724 | |
| 9725 | endif (gRPC_BUILD_TESTS) |
| 9726 | if (gRPC_BUILD_TESTS) |
| 9727 | |
| 9728 | add_executable(alts_iovec_record_protocol_test |
| 9729 | test/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol_test.cc |
| 9730 | third_party/googletest/googletest/src/gtest-all.cc |
| 9731 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9732 | ) |
| 9733 | |
| 9734 | |
| 9735 | target_include_directories(alts_iovec_record_protocol_test |
| 9736 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9737 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9738 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9739 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9740 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9741 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9742 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9743 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9744 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9745 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9746 | PRIVATE third_party/googletest/googletest/include |
| 9747 | PRIVATE third_party/googletest/googletest |
| 9748 | PRIVATE third_party/googletest/googlemock/include |
| 9749 | PRIVATE third_party/googletest/googlemock |
| 9750 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9751 | ) |
| 9752 | |
| 9753 | target_link_libraries(alts_iovec_record_protocol_test |
| 9754 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9755 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9756 | alts_test_util |
| 9757 | gpr |
| 9758 | grpc |
| 9759 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9760 | ) |
| 9761 | |
| 9762 | endif (gRPC_BUILD_TESTS) |
| 9763 | if (gRPC_BUILD_TESTS) |
| 9764 | |
| 9765 | add_executable(alts_security_connector_test |
| 9766 | test/core/security/alts_security_connector_test.cc |
| 9767 | third_party/googletest/googletest/src/gtest-all.cc |
| 9768 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9769 | ) |
| 9770 | |
| 9771 | |
| 9772 | target_include_directories(alts_security_connector_test |
| 9773 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9774 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9775 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9776 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9777 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9778 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9779 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9780 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9781 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9782 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9783 | PRIVATE third_party/googletest/googletest/include |
| 9784 | PRIVATE third_party/googletest/googletest |
| 9785 | PRIVATE third_party/googletest/googlemock/include |
| 9786 | PRIVATE third_party/googletest/googlemock |
| 9787 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9788 | ) |
| 9789 | |
| 9790 | target_link_libraries(alts_security_connector_test |
| 9791 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9792 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9793 | gpr |
| 9794 | grpc |
| 9795 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9796 | ) |
| 9797 | |
| 9798 | endif (gRPC_BUILD_TESTS) |
| 9799 | if (gRPC_BUILD_TESTS) |
| 9800 | |
| 9801 | add_executable(alts_tsi_handshaker_test |
| 9802 | test/core/tsi/alts/handshaker/alts_tsi_handshaker_test.cc |
| 9803 | third_party/googletest/googletest/src/gtest-all.cc |
| 9804 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9805 | ) |
| 9806 | |
| 9807 | |
| 9808 | target_include_directories(alts_tsi_handshaker_test |
| 9809 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9810 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9811 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9812 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9813 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9814 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9815 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9816 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9817 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9818 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9819 | PRIVATE third_party/googletest/googletest/include |
| 9820 | PRIVATE third_party/googletest/googletest |
| 9821 | PRIVATE third_party/googletest/googlemock/include |
| 9822 | PRIVATE third_party/googletest/googlemock |
| 9823 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9824 | ) |
| 9825 | |
| 9826 | target_link_libraries(alts_tsi_handshaker_test |
| 9827 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9828 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9829 | alts_test_util |
| 9830 | gpr |
| 9831 | grpc |
| 9832 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9833 | ) |
| 9834 | |
| 9835 | endif (gRPC_BUILD_TESTS) |
| 9836 | if (gRPC_BUILD_TESTS) |
| 9837 | |
| 9838 | add_executable(alts_tsi_utils_test |
| 9839 | test/core/tsi/alts/handshaker/alts_tsi_utils_test.cc |
| 9840 | third_party/googletest/googletest/src/gtest-all.cc |
| 9841 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9842 | ) |
| 9843 | |
| 9844 | |
| 9845 | target_include_directories(alts_tsi_utils_test |
| 9846 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9847 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9848 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 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} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9855 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9856 | PRIVATE third_party/googletest/googletest/include |
| 9857 | PRIVATE third_party/googletest/googletest |
| 9858 | PRIVATE third_party/googletest/googlemock/include |
| 9859 | PRIVATE third_party/googletest/googlemock |
| 9860 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9861 | ) |
| 9862 | |
| 9863 | target_link_libraries(alts_tsi_utils_test |
| 9864 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9865 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9866 | alts_test_util |
| 9867 | gpr |
| 9868 | grpc |
| 9869 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9870 | ) |
| 9871 | |
| 9872 | endif (gRPC_BUILD_TESTS) |
| 9873 | if (gRPC_BUILD_TESTS) |
| 9874 | |
| 9875 | add_executable(alts_zero_copy_grpc_protector_test |
| 9876 | test/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector_test.cc |
| 9877 | third_party/googletest/googletest/src/gtest-all.cc |
| 9878 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9879 | ) |
| 9880 | |
| 9881 | |
| 9882 | target_include_directories(alts_zero_copy_grpc_protector_test |
| 9883 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9884 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9885 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9886 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9887 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9888 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9889 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9890 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9891 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9892 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9893 | PRIVATE third_party/googletest/googletest/include |
| 9894 | PRIVATE third_party/googletest/googletest |
| 9895 | PRIVATE third_party/googletest/googlemock/include |
| 9896 | PRIVATE third_party/googletest/googlemock |
| 9897 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9898 | ) |
| 9899 | |
| 9900 | target_link_libraries(alts_zero_copy_grpc_protector_test |
| 9901 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9902 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9903 | alts_test_util |
| 9904 | gpr |
| 9905 | grpc |
| 9906 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9907 | ) |
| 9908 | |
| 9909 | endif (gRPC_BUILD_TESTS) |
| 9910 | if (gRPC_BUILD_TESTS) |
| 9911 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9912 | add_executable(async_end2end_test |
| 9913 | test/cpp/end2end/async_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9914 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9915 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9916 | ) |
| 9917 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9918 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9919 | target_include_directories(async_end2end_test |
| 9920 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9921 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9922 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9923 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9924 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9925 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9926 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9927 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9928 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9929 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9930 | PRIVATE third_party/googletest/googletest/include |
| 9931 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9932 | PRIVATE third_party/googletest/googlemock/include |
| 9933 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9934 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9935 | ) |
| 9936 | |
| 9937 | target_link_libraries(async_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9938 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9939 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9940 | grpc++_test_util |
| 9941 | grpc_test_util |
| 9942 | grpc++ |
| 9943 | grpc |
| 9944 | gpr_test_util |
| 9945 | gpr |
| 9946 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9947 | ) |
| 9948 | |
| 9949 | endif (gRPC_BUILD_TESTS) |
| 9950 | if (gRPC_BUILD_TESTS) |
| 9951 | |
| 9952 | add_executable(auth_property_iterator_test |
| 9953 | test/cpp/common/auth_property_iterator_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9954 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9955 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9956 | ) |
| 9957 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9958 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9959 | target_include_directories(auth_property_iterator_test |
| 9960 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9961 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9962 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9963 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9964 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9965 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9966 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9967 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9968 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 9969 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9970 | PRIVATE third_party/googletest/googletest/include |
| 9971 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9972 | PRIVATE third_party/googletest/googlemock/include |
| 9973 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9974 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9975 | ) |
| 9976 | |
| 9977 | target_link_libraries(auth_property_iterator_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9978 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9979 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9980 | grpc++_test_util |
| 9981 | grpc_test_util |
| 9982 | grpc++ |
| 9983 | grpc |
| 9984 | gpr_test_util |
| 9985 | gpr |
| 9986 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9987 | ) |
| 9988 | |
| 9989 | endif (gRPC_BUILD_TESTS) |
| 9990 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 9991 | |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 9992 | add_executable(backoff_test |
| 9993 | test/core/backoff/backoff_test.cc |
| 9994 | third_party/googletest/googletest/src/gtest-all.cc |
| 9995 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9996 | ) |
| 9997 | |
| 9998 | |
| 9999 | target_include_directories(backoff_test |
| 10000 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10001 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
David Garcia Quintas | 9c8ea03 | 2017-12-15 13:24:55 -0800 | [diff] [blame] | 10002 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10003 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10004 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10005 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10006 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10007 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10008 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10009 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 10010 | PRIVATE third_party/googletest/googletest/include |
| 10011 | PRIVATE third_party/googletest/googletest |
| 10012 | PRIVATE third_party/googletest/googlemock/include |
| 10013 | PRIVATE third_party/googletest/googlemock |
| 10014 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10015 | ) |
| 10016 | |
| 10017 | target_link_libraries(backoff_test |
| 10018 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10019 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10020 | grpc_test_util |
| 10021 | grpc |
| 10022 | gpr_test_util |
| 10023 | gpr |
| 10024 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10025 | ) |
| 10026 | |
| 10027 | endif (gRPC_BUILD_TESTS) |
| 10028 | if (gRPC_BUILD_TESTS) |
| 10029 | |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 10030 | add_executable(bdp_estimator_test |
| 10031 | test/core/transport/bdp_estimator_test.cc |
| 10032 | third_party/googletest/googletest/src/gtest-all.cc |
| 10033 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10034 | ) |
| 10035 | |
| 10036 | |
| 10037 | target_include_directories(bdp_estimator_test |
| 10038 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10039 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10040 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10041 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10042 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10043 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10044 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10045 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10046 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10047 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 10048 | PRIVATE third_party/googletest/googletest/include |
| 10049 | PRIVATE third_party/googletest/googletest |
| 10050 | PRIVATE third_party/googletest/googlemock/include |
| 10051 | PRIVATE third_party/googletest/googlemock |
| 10052 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10053 | ) |
| 10054 | |
| 10055 | target_link_libraries(bdp_estimator_test |
| 10056 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10057 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10058 | grpc++_test_util |
| 10059 | grpc++ |
| 10060 | grpc_test_util |
| 10061 | grpc |
| 10062 | gpr_test_util |
| 10063 | gpr |
| 10064 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10065 | ) |
| 10066 | |
| 10067 | endif (gRPC_BUILD_TESTS) |
| 10068 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10069 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10070 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 10071 | add_executable(bm_arena |
| 10072 | test/cpp/microbenchmarks/bm_arena.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10073 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10074 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 10075 | ) |
| 10076 | |
| 10077 | |
| 10078 | target_include_directories(bm_arena |
| 10079 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10080 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10081 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10082 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10083 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10084 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10085 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10086 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10087 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10088 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10089 | PRIVATE third_party/googletest/googletest/include |
| 10090 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10091 | PRIVATE third_party/googletest/googlemock/include |
| 10092 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 10093 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10094 | ) |
| 10095 | |
| 10096 | target_link_libraries(bm_arena |
| 10097 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10098 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10099 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10100 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10101 | grpc++_test_util_unsecure |
| 10102 | grpc_test_util_unsecure |
| 10103 | grpc++_unsecure |
| 10104 | grpc_unsecure |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 10105 | gpr_test_util |
| 10106 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10107 | grpc++_test_config |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 10108 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10109 | ) |
| 10110 | |
| 10111 | endif() |
| 10112 | endif (gRPC_BUILD_TESTS) |
| 10113 | if (gRPC_BUILD_TESTS) |
| 10114 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10115 | |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 10116 | add_executable(bm_call_create |
| 10117 | test/cpp/microbenchmarks/bm_call_create.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10118 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10119 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 10120 | ) |
| 10121 | |
| 10122 | |
| 10123 | target_include_directories(bm_call_create |
| 10124 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10125 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10126 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10127 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10128 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10129 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10130 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10131 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10132 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10133 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10134 | PRIVATE third_party/googletest/googletest/include |
| 10135 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10136 | PRIVATE third_party/googletest/googlemock/include |
| 10137 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 10138 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10139 | ) |
| 10140 | |
| 10141 | target_link_libraries(bm_call_create |
| 10142 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10143 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 10144 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10145 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10146 | grpc++_test_util_unsecure |
| 10147 | grpc_test_util_unsecure |
| 10148 | grpc++_unsecure |
| 10149 | grpc_unsecure |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 10150 | gpr_test_util |
| 10151 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10152 | grpc++_test_config |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 10153 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10154 | ) |
| 10155 | |
| 10156 | endif() |
| 10157 | endif (gRPC_BUILD_TESTS) |
| 10158 | if (gRPC_BUILD_TESTS) |
| 10159 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10160 | |
ncteisen | 7747230 | 2018-06-13 15:58:17 -0700 | [diff] [blame] | 10161 | add_executable(bm_channel |
| 10162 | test/cpp/microbenchmarks/bm_channel.cc |
| 10163 | third_party/googletest/googletest/src/gtest-all.cc |
| 10164 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10165 | ) |
| 10166 | |
| 10167 | |
| 10168 | target_include_directories(bm_channel |
| 10169 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10170 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10171 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 10172 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10173 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10174 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10175 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10176 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 10177 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
| 10178 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
| 10179 | PRIVATE third_party/googletest/googletest/include |
| 10180 | PRIVATE third_party/googletest/googletest |
| 10181 | PRIVATE third_party/googletest/googlemock/include |
| 10182 | PRIVATE third_party/googletest/googlemock |
| 10183 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10184 | ) |
| 10185 | |
| 10186 | target_link_libraries(bm_channel |
| 10187 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10188 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10189 | grpc_benchmark |
| 10190 | ${_gRPC_BENCHMARK_LIBRARIES} |
| 10191 | grpc++_test_util_unsecure |
| 10192 | grpc_test_util_unsecure |
| 10193 | grpc++_unsecure |
| 10194 | grpc_unsecure |
| 10195 | gpr_test_util |
| 10196 | gpr |
| 10197 | grpc++_test_config |
| 10198 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10199 | ) |
| 10200 | |
| 10201 | endif() |
| 10202 | endif (gRPC_BUILD_TESTS) |
| 10203 | if (gRPC_BUILD_TESTS) |
| 10204 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10205 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 10206 | add_executable(bm_chttp2_hpack |
| 10207 | test/cpp/microbenchmarks/bm_chttp2_hpack.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10208 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10209 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 10210 | ) |
| 10211 | |
| 10212 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 10213 | target_include_directories(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 10214 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10215 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10216 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10217 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10218 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10219 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10220 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10221 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10222 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10223 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10224 | PRIVATE third_party/googletest/googletest/include |
| 10225 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10226 | PRIVATE third_party/googletest/googlemock/include |
| 10227 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 10228 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10229 | ) |
| 10230 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 10231 | target_link_libraries(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 10232 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10233 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 10234 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10235 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10236 | grpc++_test_util_unsecure |
| 10237 | grpc_test_util_unsecure |
| 10238 | grpc++_unsecure |
| 10239 | grpc_unsecure |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 10240 | gpr_test_util |
| 10241 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10242 | grpc++_test_config |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 10243 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10244 | ) |
| 10245 | |
| 10246 | endif() |
| 10247 | endif (gRPC_BUILD_TESTS) |
| 10248 | if (gRPC_BUILD_TESTS) |
| 10249 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10250 | |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 10251 | add_executable(bm_chttp2_transport |
| 10252 | test/cpp/microbenchmarks/bm_chttp2_transport.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10253 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10254 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 10255 | ) |
| 10256 | |
| 10257 | |
| 10258 | target_include_directories(bm_chttp2_transport |
| 10259 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10260 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10261 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10262 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10263 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10264 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10265 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10266 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10267 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10268 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10269 | PRIVATE third_party/googletest/googletest/include |
| 10270 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10271 | PRIVATE third_party/googletest/googlemock/include |
| 10272 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 10273 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10274 | ) |
| 10275 | |
| 10276 | target_link_libraries(bm_chttp2_transport |
| 10277 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10278 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10279 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10280 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10281 | grpc++_test_util_unsecure |
| 10282 | grpc_test_util_unsecure |
| 10283 | grpc++_unsecure |
| 10284 | grpc_unsecure |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 10285 | gpr_test_util |
| 10286 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10287 | grpc++_test_config |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 10288 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10289 | ) |
| 10290 | |
| 10291 | endif() |
| 10292 | endif (gRPC_BUILD_TESTS) |
| 10293 | if (gRPC_BUILD_TESTS) |
| 10294 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10295 | |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 10296 | add_executable(bm_closure |
| 10297 | test/cpp/microbenchmarks/bm_closure.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10298 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10299 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 10300 | ) |
| 10301 | |
| 10302 | |
| 10303 | target_include_directories(bm_closure |
| 10304 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10305 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10306 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10307 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10308 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10309 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10310 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10311 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10312 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10313 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10314 | PRIVATE third_party/googletest/googletest/include |
| 10315 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10316 | PRIVATE third_party/googletest/googlemock/include |
| 10317 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 10318 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10319 | ) |
| 10320 | |
| 10321 | target_link_libraries(bm_closure |
| 10322 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10323 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 10324 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10325 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10326 | grpc++_test_util_unsecure |
| 10327 | grpc_test_util_unsecure |
| 10328 | grpc++_unsecure |
| 10329 | grpc_unsecure |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 10330 | gpr_test_util |
| 10331 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10332 | grpc++_test_config |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 10333 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10334 | ) |
| 10335 | |
| 10336 | endif() |
| 10337 | endif (gRPC_BUILD_TESTS) |
| 10338 | if (gRPC_BUILD_TESTS) |
| 10339 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10340 | |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 10341 | add_executable(bm_cq |
| 10342 | test/cpp/microbenchmarks/bm_cq.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10343 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10344 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 10345 | ) |
| 10346 | |
| 10347 | |
| 10348 | target_include_directories(bm_cq |
| 10349 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10350 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10351 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10352 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10353 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10354 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10355 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10356 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10357 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10358 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10359 | PRIVATE third_party/googletest/googletest/include |
| 10360 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10361 | PRIVATE third_party/googletest/googlemock/include |
| 10362 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 10363 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10364 | ) |
| 10365 | |
| 10366 | target_link_libraries(bm_cq |
| 10367 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10368 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 10369 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10370 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10371 | grpc++_test_util_unsecure |
| 10372 | grpc_test_util_unsecure |
| 10373 | grpc++_unsecure |
| 10374 | grpc_unsecure |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 10375 | gpr_test_util |
| 10376 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10377 | grpc++_test_config |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 10378 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10379 | ) |
| 10380 | |
| 10381 | endif() |
| 10382 | endif (gRPC_BUILD_TESTS) |
| 10383 | if (gRPC_BUILD_TESTS) |
| 10384 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10385 | |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 10386 | add_executable(bm_cq_multiple_threads |
| 10387 | test/cpp/microbenchmarks/bm_cq_multiple_threads.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 10388 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10389 | third_party/googletest/googlemock/src/gmock-all.cc |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 10390 | ) |
| 10391 | |
| 10392 | |
| 10393 | target_include_directories(bm_cq_multiple_threads |
| 10394 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10395 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10396 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10397 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10398 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10399 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10400 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10401 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10402 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10403 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 10404 | PRIVATE third_party/googletest/googletest/include |
| 10405 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10406 | PRIVATE third_party/googletest/googlemock/include |
| 10407 | PRIVATE third_party/googletest/googlemock |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 10408 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10409 | ) |
| 10410 | |
| 10411 | target_link_libraries(bm_cq_multiple_threads |
| 10412 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10413 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10414 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10415 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10416 | grpc++_test_util_unsecure |
| 10417 | grpc_test_util_unsecure |
| 10418 | grpc++_unsecure |
| 10419 | grpc_unsecure |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 10420 | gpr_test_util |
| 10421 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10422 | grpc++_test_config |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 10423 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10424 | ) |
| 10425 | |
| 10426 | endif() |
| 10427 | endif (gRPC_BUILD_TESTS) |
| 10428 | if (gRPC_BUILD_TESTS) |
| 10429 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10430 | |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 10431 | add_executable(bm_error |
| 10432 | test/cpp/microbenchmarks/bm_error.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10433 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10434 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 10435 | ) |
| 10436 | |
| 10437 | |
| 10438 | target_include_directories(bm_error |
| 10439 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10440 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10441 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10442 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10443 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10444 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10445 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10446 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10447 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10448 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10449 | PRIVATE third_party/googletest/googletest/include |
| 10450 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10451 | PRIVATE third_party/googletest/googlemock/include |
| 10452 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 10453 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10454 | ) |
| 10455 | |
| 10456 | target_link_libraries(bm_error |
| 10457 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10458 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 10459 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10460 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10461 | grpc++_test_util_unsecure |
| 10462 | grpc_test_util_unsecure |
| 10463 | grpc++_unsecure |
| 10464 | grpc_unsecure |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 10465 | gpr_test_util |
| 10466 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10467 | grpc++_test_config |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 10468 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10469 | ) |
| 10470 | |
| 10471 | endif() |
| 10472 | endif (gRPC_BUILD_TESTS) |
| 10473 | if (gRPC_BUILD_TESTS) |
| 10474 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10475 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 10476 | add_executable(bm_fullstack_streaming_ping_pong |
| 10477 | test/cpp/microbenchmarks/bm_fullstack_streaming_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10478 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10479 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10480 | ) |
| 10481 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10482 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 10483 | target_include_directories(bm_fullstack_streaming_ping_pong |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10484 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10485 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10486 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10487 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10488 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10489 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10490 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10491 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10492 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10493 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10494 | PRIVATE third_party/googletest/googletest/include |
| 10495 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10496 | PRIVATE third_party/googletest/googlemock/include |
| 10497 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10498 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10499 | ) |
| 10500 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 10501 | target_link_libraries(bm_fullstack_streaming_ping_pong |
| 10502 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10503 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10504 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10505 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10506 | grpc++_test_util_unsecure |
| 10507 | grpc_test_util_unsecure |
| 10508 | grpc++_unsecure |
| 10509 | grpc_unsecure |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 10510 | gpr_test_util |
| 10511 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10512 | grpc++_test_config |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 10513 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10514 | ) |
| 10515 | |
| 10516 | endif() |
| 10517 | endif (gRPC_BUILD_TESTS) |
| 10518 | if (gRPC_BUILD_TESTS) |
| 10519 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10520 | |
| 10521 | add_executable(bm_fullstack_streaming_pump |
| 10522 | test/cpp/microbenchmarks/bm_fullstack_streaming_pump.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10523 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10524 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 10525 | ) |
| 10526 | |
| 10527 | |
| 10528 | target_include_directories(bm_fullstack_streaming_pump |
| 10529 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10530 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10531 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10532 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10533 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10534 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10535 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10536 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10537 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10538 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10539 | PRIVATE third_party/googletest/googletest/include |
| 10540 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10541 | PRIVATE third_party/googletest/googlemock/include |
| 10542 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 10543 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10544 | ) |
| 10545 | |
| 10546 | target_link_libraries(bm_fullstack_streaming_pump |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10547 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10548 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 10549 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10550 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10551 | grpc++_test_util_unsecure |
| 10552 | grpc_test_util_unsecure |
| 10553 | grpc++_unsecure |
| 10554 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10555 | gpr_test_util |
| 10556 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10557 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10558 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10559 | ) |
| 10560 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10561 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10562 | endif (gRPC_BUILD_TESTS) |
| 10563 | if (gRPC_BUILD_TESTS) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 10564 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10565 | |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 10566 | add_executable(bm_fullstack_trickle |
| 10567 | test/cpp/microbenchmarks/bm_fullstack_trickle.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10568 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10569 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 10570 | ) |
| 10571 | |
| 10572 | |
| 10573 | target_include_directories(bm_fullstack_trickle |
| 10574 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10575 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10576 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10577 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10578 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10579 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10580 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10581 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10582 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10583 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10584 | PRIVATE third_party/googletest/googletest/include |
| 10585 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10586 | PRIVATE third_party/googletest/googlemock/include |
| 10587 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 10588 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10589 | ) |
| 10590 | |
| 10591 | target_link_libraries(bm_fullstack_trickle |
| 10592 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10593 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10594 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10595 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10596 | grpc++_test_util_unsecure |
| 10597 | grpc_test_util_unsecure |
| 10598 | grpc++_unsecure |
| 10599 | grpc_unsecure |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 10600 | gpr_test_util |
| 10601 | gpr |
ncteisen | c302eb9 | 2017-08-18 12:27:34 -0700 | [diff] [blame] | 10602 | grpc++_test_config |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 10603 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10604 | ) |
| 10605 | |
| 10606 | endif() |
| 10607 | endif (gRPC_BUILD_TESTS) |
| 10608 | if (gRPC_BUILD_TESTS) |
| 10609 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10610 | |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 10611 | add_executable(bm_fullstack_unary_ping_pong |
| 10612 | test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10613 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10614 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 10615 | ) |
| 10616 | |
| 10617 | |
| 10618 | target_include_directories(bm_fullstack_unary_ping_pong |
| 10619 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10620 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10621 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10622 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10623 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10624 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10625 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10626 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10627 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10628 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10629 | PRIVATE third_party/googletest/googletest/include |
| 10630 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10631 | PRIVATE third_party/googletest/googlemock/include |
| 10632 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 10633 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10634 | ) |
| 10635 | |
| 10636 | target_link_libraries(bm_fullstack_unary_ping_pong |
| 10637 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10638 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10639 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10640 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10641 | grpc++_test_util_unsecure |
| 10642 | grpc_test_util_unsecure |
| 10643 | grpc++_unsecure |
| 10644 | grpc_unsecure |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 10645 | gpr_test_util |
| 10646 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10647 | grpc++_test_config |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 10648 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10649 | ) |
| 10650 | |
| 10651 | endif() |
| 10652 | endif (gRPC_BUILD_TESTS) |
| 10653 | if (gRPC_BUILD_TESTS) |
| 10654 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10655 | |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 10656 | add_executable(bm_metadata |
| 10657 | test/cpp/microbenchmarks/bm_metadata.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10658 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10659 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 10660 | ) |
| 10661 | |
| 10662 | |
| 10663 | target_include_directories(bm_metadata |
| 10664 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10665 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10666 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10667 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10668 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10669 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10670 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10671 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10672 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10673 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10674 | PRIVATE third_party/googletest/googletest/include |
| 10675 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10676 | PRIVATE third_party/googletest/googlemock/include |
| 10677 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 10678 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10679 | ) |
| 10680 | |
| 10681 | target_link_libraries(bm_metadata |
| 10682 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10683 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 10684 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10685 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10686 | grpc++_test_util_unsecure |
| 10687 | grpc_test_util_unsecure |
| 10688 | grpc++_unsecure |
| 10689 | grpc_unsecure |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 10690 | gpr_test_util |
| 10691 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10692 | grpc++_test_config |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 10693 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10694 | ) |
| 10695 | |
| 10696 | endif() |
| 10697 | endif (gRPC_BUILD_TESTS) |
| 10698 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 10699 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10700 | |
| 10701 | add_executable(bm_pollset |
| 10702 | test/cpp/microbenchmarks/bm_pollset.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10703 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10704 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 10705 | ) |
| 10706 | |
| 10707 | |
| 10708 | target_include_directories(bm_pollset |
| 10709 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10710 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10711 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10712 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10713 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10714 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10715 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10716 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10717 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10718 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10719 | PRIVATE third_party/googletest/googletest/include |
| 10720 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10721 | PRIVATE third_party/googletest/googlemock/include |
| 10722 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 10723 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10724 | ) |
| 10725 | |
| 10726 | target_link_libraries(bm_pollset |
| 10727 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10728 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10729 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10730 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10731 | grpc++_test_util_unsecure |
| 10732 | grpc_test_util_unsecure |
| 10733 | grpc++_unsecure |
| 10734 | grpc_unsecure |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 10735 | gpr_test_util |
| 10736 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10737 | grpc++_test_config |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 10738 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10739 | ) |
| 10740 | |
| 10741 | endif() |
| 10742 | endif (gRPC_BUILD_TESTS) |
| 10743 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10744 | |
Mark D. Roth | 3d8b32d | 2018-03-09 13:25:40 -0800 | [diff] [blame] | 10745 | add_executable(byte_stream_test |
| 10746 | test/core/transport/byte_stream_test.cc |
| 10747 | third_party/googletest/googletest/src/gtest-all.cc |
| 10748 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10749 | ) |
| 10750 | |
| 10751 | |
| 10752 | target_include_directories(byte_stream_test |
| 10753 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10754 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10755 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 10756 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10757 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10758 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10759 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10760 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10761 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10762 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Mark D. Roth | 3d8b32d | 2018-03-09 13:25:40 -0800 | [diff] [blame] | 10763 | PRIVATE third_party/googletest/googletest/include |
| 10764 | PRIVATE third_party/googletest/googletest |
| 10765 | PRIVATE third_party/googletest/googlemock/include |
| 10766 | PRIVATE third_party/googletest/googlemock |
| 10767 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10768 | ) |
| 10769 | |
| 10770 | target_link_libraries(byte_stream_test |
| 10771 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10772 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10773 | grpc_test_util |
| 10774 | grpc |
| 10775 | gpr_test_util |
| 10776 | gpr |
| 10777 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10778 | ) |
| 10779 | |
| 10780 | endif (gRPC_BUILD_TESTS) |
| 10781 | if (gRPC_BUILD_TESTS) |
| 10782 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10783 | add_executable(channel_arguments_test |
| 10784 | test/cpp/common/channel_arguments_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10785 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10786 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10787 | ) |
| 10788 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10789 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10790 | target_include_directories(channel_arguments_test |
| 10791 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10792 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10793 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10794 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10795 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10796 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10797 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10798 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10799 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10800 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10801 | PRIVATE third_party/googletest/googletest/include |
| 10802 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10803 | PRIVATE third_party/googletest/googlemock/include |
| 10804 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10805 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10806 | ) |
| 10807 | |
| 10808 | target_link_libraries(channel_arguments_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10809 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10810 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10811 | grpc++ |
| 10812 | grpc |
| 10813 | gpr |
| 10814 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10815 | ) |
| 10816 | |
| 10817 | endif (gRPC_BUILD_TESTS) |
| 10818 | if (gRPC_BUILD_TESTS) |
| 10819 | |
| 10820 | add_executable(channel_filter_test |
| 10821 | test/cpp/common/channel_filter_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10822 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10823 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10824 | ) |
| 10825 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10826 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10827 | target_include_directories(channel_filter_test |
| 10828 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10829 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10830 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10831 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10832 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10833 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10834 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10835 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10836 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10837 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10838 | PRIVATE third_party/googletest/googletest/include |
| 10839 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10840 | PRIVATE third_party/googletest/googlemock/include |
| 10841 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10842 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10843 | ) |
| 10844 | |
| 10845 | target_link_libraries(channel_filter_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10846 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10847 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10848 | grpc++ |
| 10849 | grpc |
| 10850 | gpr |
| 10851 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10852 | ) |
| 10853 | |
| 10854 | endif (gRPC_BUILD_TESTS) |
| 10855 | if (gRPC_BUILD_TESTS) |
| 10856 | |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 10857 | add_executable(channel_trace_test |
| 10858 | test/core/channel/channel_trace_test.cc |
| 10859 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.cc |
| 10860 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.cc |
| 10861 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.h |
| 10862 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.h |
| 10863 | third_party/googletest/googletest/src/gtest-all.cc |
| 10864 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10865 | ) |
| 10866 | |
| 10867 | protobuf_generate_grpc_cpp( |
| 10868 | src/proto/grpc/channelz/channelz.proto |
| 10869 | ) |
| 10870 | |
| 10871 | target_include_directories(channel_trace_test |
| 10872 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10873 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10874 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 10875 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10876 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10877 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10878 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10879 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
ncteisen | e71c1b8 | 2018-03-26 16:28:21 -0700 | [diff] [blame] | 10880 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10881 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 10882 | PRIVATE third_party/googletest/googletest/include |
| 10883 | PRIVATE third_party/googletest/googletest |
| 10884 | PRIVATE third_party/googletest/googlemock/include |
| 10885 | PRIVATE third_party/googletest/googlemock |
| 10886 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10887 | ) |
| 10888 | |
| 10889 | target_link_libraries(channel_trace_test |
| 10890 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10891 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10892 | grpc_test_util |
| 10893 | grpc++_test_util |
| 10894 | grpc++ |
| 10895 | grpc |
| 10896 | gpr_test_util |
| 10897 | gpr |
| 10898 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10899 | ) |
| 10900 | |
| 10901 | endif (gRPC_BUILD_TESTS) |
| 10902 | if (gRPC_BUILD_TESTS) |
| 10903 | |
ncteisen | 16b42ca | 2018-05-11 11:59:38 -0400 | [diff] [blame] | 10904 | add_executable(channelz_registry_test |
| 10905 | test/core/channel/channelz_registry_test.cc |
| 10906 | third_party/googletest/googletest/src/gtest-all.cc |
| 10907 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10908 | ) |
| 10909 | |
| 10910 | |
| 10911 | target_include_directories(channelz_registry_test |
| 10912 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10913 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10914 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 10915 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10916 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10917 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10918 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10919 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 10920 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 10921 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
ncteisen | 16b42ca | 2018-05-11 11:59:38 -0400 | [diff] [blame] | 10922 | PRIVATE third_party/googletest/googletest/include |
| 10923 | PRIVATE third_party/googletest/googletest |
| 10924 | PRIVATE third_party/googletest/googlemock/include |
| 10925 | PRIVATE third_party/googletest/googlemock |
| 10926 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10927 | ) |
| 10928 | |
| 10929 | target_link_libraries(channelz_registry_test |
| 10930 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10931 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10932 | grpc_test_util |
| 10933 | grpc++_test_util |
| 10934 | grpc++ |
| 10935 | grpc |
| 10936 | gpr_test_util |
| 10937 | gpr |
| 10938 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10939 | ) |
| 10940 | |
| 10941 | endif (gRPC_BUILD_TESTS) |
| 10942 | if (gRPC_BUILD_TESTS) |
| 10943 | |
ncteisen | c194528 | 2018-07-16 22:24:53 -0700 | [diff] [blame] | 10944 | add_executable(channelz_service_test |
| 10945 | test/cpp/end2end/channelz_service_test.cc |
| 10946 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.cc |
| 10947 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.cc |
| 10948 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.h |
| 10949 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.h |
| 10950 | third_party/googletest/googletest/src/gtest-all.cc |
| 10951 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10952 | ) |
| 10953 | |
| 10954 | protobuf_generate_grpc_cpp( |
| 10955 | src/proto/grpc/channelz/channelz.proto |
| 10956 | ) |
| 10957 | |
| 10958 | target_include_directories(channelz_service_test |
| 10959 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10960 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10961 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 10962 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10963 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10964 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10965 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10966 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 10967 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
| 10968 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
| 10969 | PRIVATE third_party/googletest/googletest/include |
| 10970 | PRIVATE third_party/googletest/googletest |
| 10971 | PRIVATE third_party/googletest/googlemock/include |
| 10972 | PRIVATE third_party/googletest/googlemock |
| 10973 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10974 | ) |
| 10975 | |
| 10976 | target_link_libraries(channelz_service_test |
| 10977 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10978 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10979 | grpcpp_channelz |
| 10980 | grpc++_test_util |
| 10981 | grpc_test_util |
| 10982 | grpc++ |
| 10983 | grpc |
| 10984 | gpr_test_util |
| 10985 | gpr |
| 10986 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10987 | ) |
| 10988 | |
| 10989 | endif (gRPC_BUILD_TESTS) |
| 10990 | if (gRPC_BUILD_TESTS) |
| 10991 | |
ncteisen | c3c6e06 | 2018-05-09 11:10:21 -0700 | [diff] [blame] | 10992 | add_executable(channelz_test |
| 10993 | test/core/channel/channelz_test.cc |
| 10994 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.cc |
| 10995 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.cc |
| 10996 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.h |
| 10997 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.h |
| 10998 | third_party/googletest/googletest/src/gtest-all.cc |
| 10999 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11000 | ) |
| 11001 | |
| 11002 | protobuf_generate_grpc_cpp( |
| 11003 | src/proto/grpc/channelz/channelz.proto |
| 11004 | ) |
| 11005 | |
| 11006 | target_include_directories(channelz_test |
| 11007 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11008 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11009 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 11010 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11011 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11012 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11013 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11014 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 11015 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
ncteisen | 4d1da60 | 2018-06-15 14:54:26 -0400 | [diff] [blame] | 11016 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
ncteisen | c3c6e06 | 2018-05-09 11:10:21 -0700 | [diff] [blame] | 11017 | PRIVATE third_party/googletest/googletest/include |
| 11018 | PRIVATE third_party/googletest/googletest |
| 11019 | PRIVATE third_party/googletest/googlemock/include |
| 11020 | PRIVATE third_party/googletest/googlemock |
| 11021 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11022 | ) |
| 11023 | |
| 11024 | target_link_libraries(channelz_test |
| 11025 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11026 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11027 | grpc_test_util |
| 11028 | grpc++_test_util |
| 11029 | grpc++ |
| 11030 | grpc |
| 11031 | gpr_test_util |
| 11032 | gpr |
| 11033 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11034 | ) |
| 11035 | |
| 11036 | endif (gRPC_BUILD_TESTS) |
| 11037 | if (gRPC_BUILD_TESTS) |
| 11038 | |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 11039 | add_executable(check_gcp_environment_linux_test |
| 11040 | test/core/security/check_gcp_environment_linux_test.cc |
| 11041 | third_party/googletest/googletest/src/gtest-all.cc |
| 11042 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11043 | ) |
| 11044 | |
| 11045 | |
| 11046 | target_include_directories(check_gcp_environment_linux_test |
| 11047 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11048 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11049 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 11050 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11051 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11052 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11053 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11054 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11055 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11056 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 11057 | PRIVATE third_party/googletest/googletest/include |
| 11058 | PRIVATE third_party/googletest/googletest |
| 11059 | PRIVATE third_party/googletest/googlemock/include |
| 11060 | PRIVATE third_party/googletest/googlemock |
| 11061 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11062 | ) |
| 11063 | |
| 11064 | target_link_libraries(check_gcp_environment_linux_test |
| 11065 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11066 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11067 | grpc |
| 11068 | gpr |
| 11069 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11070 | ) |
| 11071 | |
| 11072 | endif (gRPC_BUILD_TESTS) |
| 11073 | if (gRPC_BUILD_TESTS) |
| 11074 | |
| 11075 | add_executable(check_gcp_environment_windows_test |
| 11076 | test/core/security/check_gcp_environment_windows_test.cc |
| 11077 | third_party/googletest/googletest/src/gtest-all.cc |
| 11078 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11079 | ) |
| 11080 | |
| 11081 | |
| 11082 | target_include_directories(check_gcp_environment_windows_test |
| 11083 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11084 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11085 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 11086 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11087 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11088 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11089 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11090 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11091 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11092 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 11093 | PRIVATE third_party/googletest/googletest/include |
| 11094 | PRIVATE third_party/googletest/googletest |
| 11095 | PRIVATE third_party/googletest/googlemock/include |
| 11096 | PRIVATE third_party/googletest/googlemock |
| 11097 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11098 | ) |
| 11099 | |
| 11100 | target_link_libraries(check_gcp_environment_windows_test |
| 11101 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11102 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11103 | grpc |
| 11104 | gpr |
| 11105 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11106 | ) |
| 11107 | |
| 11108 | endif (gRPC_BUILD_TESTS) |
| 11109 | if (gRPC_BUILD_TESTS) |
| 11110 | |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 11111 | add_executable(chttp2_settings_timeout_test |
| 11112 | test/core/transport/chttp2/settings_timeout_test.cc |
| 11113 | third_party/googletest/googletest/src/gtest-all.cc |
| 11114 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11115 | ) |
| 11116 | |
| 11117 | |
| 11118 | target_include_directories(chttp2_settings_timeout_test |
| 11119 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11120 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11121 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11122 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11123 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11124 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11125 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11126 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11127 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11128 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 11129 | PRIVATE third_party/googletest/googletest/include |
| 11130 | PRIVATE third_party/googletest/googletest |
| 11131 | PRIVATE third_party/googletest/googlemock/include |
| 11132 | PRIVATE third_party/googletest/googlemock |
| 11133 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11134 | ) |
| 11135 | |
| 11136 | target_link_libraries(chttp2_settings_timeout_test |
| 11137 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11138 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11139 | grpc_test_util |
| 11140 | grpc |
| 11141 | gpr_test_util |
| 11142 | gpr |
| 11143 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11144 | ) |
| 11145 | |
| 11146 | endif (gRPC_BUILD_TESTS) |
| 11147 | if (gRPC_BUILD_TESTS) |
| 11148 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11149 | add_executable(cli_call_test |
| 11150 | test/cpp/util/cli_call_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11151 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11152 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11153 | ) |
| 11154 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11155 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11156 | target_include_directories(cli_call_test |
| 11157 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11158 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11159 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11160 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11161 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11162 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11163 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11164 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11165 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11166 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11167 | PRIVATE third_party/googletest/googletest/include |
| 11168 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11169 | PRIVATE third_party/googletest/googlemock/include |
| 11170 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11171 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11172 | ) |
| 11173 | |
| 11174 | target_link_libraries(cli_call_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11175 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11176 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11177 | grpc_cli_libs |
| 11178 | grpc++_test_util |
| 11179 | grpc_test_util |
| 11180 | grpc++ |
| 11181 | grpc |
| 11182 | gpr_test_util |
| 11183 | gpr |
| 11184 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11185 | ) |
| 11186 | |
| 11187 | endif (gRPC_BUILD_TESTS) |
| 11188 | if (gRPC_BUILD_TESTS) |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 11189 | |
| 11190 | add_executable(client_channel_stress_test |
| 11191 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 11192 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 11193 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 11194 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 11195 | test/cpp/client/client_channel_stress_test.cc |
| 11196 | third_party/googletest/googletest/src/gtest-all.cc |
| 11197 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11198 | ) |
| 11199 | |
| 11200 | protobuf_generate_grpc_cpp( |
| 11201 | src/proto/grpc/lb/v1/load_balancer.proto |
| 11202 | ) |
| 11203 | |
| 11204 | target_include_directories(client_channel_stress_test |
| 11205 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11206 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11207 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11208 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11209 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11210 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11211 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11212 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11213 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11214 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 11215 | PRIVATE third_party/googletest/googletest/include |
| 11216 | PRIVATE third_party/googletest/googletest |
| 11217 | PRIVATE third_party/googletest/googlemock/include |
| 11218 | PRIVATE third_party/googletest/googlemock |
| 11219 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11220 | ) |
| 11221 | |
| 11222 | target_link_libraries(client_channel_stress_test |
| 11223 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11224 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11225 | grpc++_test_util |
| 11226 | grpc_test_util |
| 11227 | grpc++ |
| 11228 | grpc |
| 11229 | gpr_test_util |
| 11230 | gpr |
| 11231 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11232 | ) |
| 11233 | |
| 11234 | endif (gRPC_BUILD_TESTS) |
| 11235 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11236 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11237 | |
| 11238 | add_executable(client_crash_test |
| 11239 | test/cpp/end2end/client_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11240 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11241 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11242 | ) |
| 11243 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11244 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11245 | target_include_directories(client_crash_test |
| 11246 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11247 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11248 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11249 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11250 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11251 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11252 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11253 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11254 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11255 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11256 | PRIVATE third_party/googletest/googletest/include |
| 11257 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11258 | PRIVATE third_party/googletest/googlemock/include |
| 11259 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11260 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11261 | ) |
| 11262 | |
| 11263 | target_link_libraries(client_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11264 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11265 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11266 | grpc++_test_util |
| 11267 | grpc_test_util |
| 11268 | grpc++ |
| 11269 | grpc |
| 11270 | gpr_test_util |
| 11271 | gpr |
| 11272 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11273 | ) |
| 11274 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11275 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11276 | endif (gRPC_BUILD_TESTS) |
| 11277 | if (gRPC_BUILD_TESTS) |
| 11278 | |
| 11279 | add_executable(client_crash_test_server |
| 11280 | test/cpp/end2end/client_crash_test_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11281 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11282 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11283 | ) |
| 11284 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11285 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11286 | target_include_directories(client_crash_test_server |
| 11287 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11288 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11289 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11290 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11291 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11292 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11293 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11294 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11295 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11296 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11297 | PRIVATE third_party/googletest/googletest/include |
| 11298 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11299 | PRIVATE third_party/googletest/googlemock/include |
| 11300 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11301 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11302 | ) |
| 11303 | |
| 11304 | target_link_libraries(client_crash_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11305 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11306 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11307 | grpc++_test_util |
| 11308 | grpc_test_util |
| 11309 | grpc++ |
| 11310 | grpc |
| 11311 | gpr_test_util |
| 11312 | gpr |
| 11313 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11314 | ) |
| 11315 | |
| 11316 | endif (gRPC_BUILD_TESTS) |
| 11317 | if (gRPC_BUILD_TESTS) |
| 11318 | |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 11319 | add_executable(client_lb_end2end_test |
| 11320 | test/cpp/end2end/client_lb_end2end_test.cc |
| 11321 | third_party/googletest/googletest/src/gtest-all.cc |
| 11322 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11323 | ) |
| 11324 | |
| 11325 | |
| 11326 | target_include_directories(client_lb_end2end_test |
| 11327 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11328 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11329 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11330 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11331 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11332 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11333 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11334 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11335 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11336 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 11337 | PRIVATE third_party/googletest/googletest/include |
| 11338 | PRIVATE third_party/googletest/googletest |
| 11339 | PRIVATE third_party/googletest/googlemock/include |
| 11340 | PRIVATE third_party/googletest/googlemock |
| 11341 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11342 | ) |
| 11343 | |
| 11344 | target_link_libraries(client_lb_end2end_test |
| 11345 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11346 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11347 | grpc++_test_util |
| 11348 | grpc_test_util |
| 11349 | grpc++ |
| 11350 | grpc |
| 11351 | gpr_test_util |
| 11352 | gpr |
| 11353 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11354 | ) |
| 11355 | |
| 11356 | endif (gRPC_BUILD_TESTS) |
| 11357 | if (gRPC_BUILD_TESTS) |
| 11358 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11359 | add_executable(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11360 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 11361 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 11362 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 11363 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 11364 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11365 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11366 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11367 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11368 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 11369 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 11370 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 11371 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
kpayson64 | 7a20c96 | 2018-04-18 15:19:55 -0700 | [diff] [blame] | 11372 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.pb.cc |
| 11373 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.grpc.pb.cc |
| 11374 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.pb.h |
| 11375 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.grpc.pb.h |
| 11376 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.pb.cc |
| 11377 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.cc |
| 11378 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.pb.h |
| 11379 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.h |
| 11380 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.pb.cc |
| 11381 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.grpc.pb.cc |
| 11382 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.pb.h |
| 11383 | ${_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] | 11384 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 11385 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 11386 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 11387 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11388 | test/cpp/codegen/codegen_test_full.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 | protobuf_generate_grpc_cpp( |
| 11394 | src/proto/grpc/testing/control.proto |
| 11395 | ) |
| 11396 | protobuf_generate_grpc_cpp( |
| 11397 | src/proto/grpc/testing/messages.proto |
| 11398 | ) |
| 11399 | protobuf_generate_grpc_cpp( |
| 11400 | src/proto/grpc/testing/payloads.proto |
| 11401 | ) |
| 11402 | protobuf_generate_grpc_cpp( |
kpayson64 | 7a20c96 | 2018-04-18 15:19:55 -0700 | [diff] [blame] | 11403 | src/proto/grpc/testing/benchmark_service.proto |
| 11404 | ) |
| 11405 | protobuf_generate_grpc_cpp( |
| 11406 | src/proto/grpc/testing/report_qps_scenario_service.proto |
| 11407 | ) |
| 11408 | protobuf_generate_grpc_cpp( |
| 11409 | src/proto/grpc/testing/worker_service.proto |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11410 | ) |
| 11411 | protobuf_generate_grpc_cpp( |
| 11412 | src/proto/grpc/testing/stats.proto |
| 11413 | ) |
| 11414 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11415 | target_include_directories(codegen_test_full |
| 11416 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11417 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11418 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11419 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11420 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11421 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11422 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11423 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11424 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11425 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11426 | PRIVATE third_party/googletest/googletest/include |
| 11427 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11428 | PRIVATE third_party/googletest/googlemock/include |
| 11429 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11430 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11431 | ) |
| 11432 | |
| 11433 | target_link_libraries(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11434 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11435 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 11436 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11437 | grpc++ |
| 11438 | grpc |
| 11439 | gpr |
| 11440 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11441 | ) |
| 11442 | |
| 11443 | endif (gRPC_BUILD_TESTS) |
| 11444 | if (gRPC_BUILD_TESTS) |
| 11445 | |
| 11446 | add_executable(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11447 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 11448 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 11449 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 11450 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 11451 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11452 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11453 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11454 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11455 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 11456 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 11457 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 11458 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
kpayson64 | 7a20c96 | 2018-04-18 15:19:55 -0700 | [diff] [blame] | 11459 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.pb.cc |
| 11460 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.grpc.pb.cc |
| 11461 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.pb.h |
| 11462 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.grpc.pb.h |
| 11463 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.pb.cc |
| 11464 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.cc |
| 11465 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.pb.h |
| 11466 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.h |
| 11467 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.pb.cc |
| 11468 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.grpc.pb.cc |
| 11469 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.pb.h |
| 11470 | ${_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] | 11471 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 11472 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 11473 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 11474 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11475 | test/cpp/codegen/codegen_test_minimal.cc |
| 11476 | src/cpp/codegen/codegen_init.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11477 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11478 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11479 | ) |
| 11480 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11481 | protobuf_generate_grpc_cpp( |
| 11482 | src/proto/grpc/testing/control.proto |
| 11483 | ) |
| 11484 | protobuf_generate_grpc_cpp( |
| 11485 | src/proto/grpc/testing/messages.proto |
| 11486 | ) |
| 11487 | protobuf_generate_grpc_cpp( |
| 11488 | src/proto/grpc/testing/payloads.proto |
| 11489 | ) |
| 11490 | protobuf_generate_grpc_cpp( |
kpayson64 | 7a20c96 | 2018-04-18 15:19:55 -0700 | [diff] [blame] | 11491 | src/proto/grpc/testing/benchmark_service.proto |
| 11492 | ) |
| 11493 | protobuf_generate_grpc_cpp( |
| 11494 | src/proto/grpc/testing/report_qps_scenario_service.proto |
| 11495 | ) |
| 11496 | protobuf_generate_grpc_cpp( |
| 11497 | src/proto/grpc/testing/worker_service.proto |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11498 | ) |
| 11499 | protobuf_generate_grpc_cpp( |
| 11500 | src/proto/grpc/testing/stats.proto |
| 11501 | ) |
| 11502 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11503 | target_include_directories(codegen_test_minimal |
| 11504 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11505 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11506 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11507 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11508 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11509 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11510 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11511 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11512 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11513 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11514 | PRIVATE third_party/googletest/googletest/include |
| 11515 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11516 | PRIVATE third_party/googletest/googlemock/include |
| 11517 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11518 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11519 | ) |
| 11520 | |
| 11521 | target_link_libraries(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11522 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11523 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 11524 | grpc++_core_stats |
Vijay Pai | c0e6701 | 2017-03-17 20:00:55 -0700 | [diff] [blame] | 11525 | grpc |
| 11526 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11527 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11528 | ) |
| 11529 | |
| 11530 | endif (gRPC_BUILD_TESTS) |
| 11531 | if (gRPC_BUILD_TESTS) |
| 11532 | |
| 11533 | add_executable(credentials_test |
| 11534 | test/cpp/client/credentials_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11535 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11536 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11537 | ) |
| 11538 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11539 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11540 | target_include_directories(credentials_test |
| 11541 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11542 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11543 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11544 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11545 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11546 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11547 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11548 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11549 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11550 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11551 | PRIVATE third_party/googletest/googletest/include |
| 11552 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11553 | PRIVATE third_party/googletest/googlemock/include |
| 11554 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11555 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11556 | ) |
| 11557 | |
| 11558 | target_link_libraries(credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11559 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11560 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11561 | grpc++ |
| 11562 | grpc |
| 11563 | gpr |
| 11564 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11565 | ) |
| 11566 | |
| 11567 | endif (gRPC_BUILD_TESTS) |
| 11568 | if (gRPC_BUILD_TESTS) |
| 11569 | |
| 11570 | add_executable(cxx_byte_buffer_test |
| 11571 | test/cpp/util/byte_buffer_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11572 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11573 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11574 | ) |
| 11575 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11576 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11577 | target_include_directories(cxx_byte_buffer_test |
| 11578 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11579 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11580 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11581 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11582 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11583 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11584 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11585 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11586 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11587 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11588 | PRIVATE third_party/googletest/googletest/include |
| 11589 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11590 | PRIVATE third_party/googletest/googlemock/include |
| 11591 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11592 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11593 | ) |
| 11594 | |
| 11595 | target_link_libraries(cxx_byte_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11596 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11597 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11598 | grpc_test_util |
| 11599 | grpc++ |
| 11600 | grpc |
| 11601 | gpr_test_util |
| 11602 | gpr |
| 11603 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11604 | ) |
| 11605 | |
| 11606 | endif (gRPC_BUILD_TESTS) |
| 11607 | if (gRPC_BUILD_TESTS) |
| 11608 | |
| 11609 | add_executable(cxx_slice_test |
| 11610 | test/cpp/util/slice_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11611 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11612 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11613 | ) |
| 11614 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11615 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11616 | target_include_directories(cxx_slice_test |
| 11617 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11618 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11619 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11620 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11621 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11622 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11623 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11624 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11625 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11626 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11627 | PRIVATE third_party/googletest/googletest/include |
| 11628 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11629 | PRIVATE third_party/googletest/googlemock/include |
| 11630 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11631 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11632 | ) |
| 11633 | |
| 11634 | target_link_libraries(cxx_slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11635 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11636 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11637 | grpc_test_util |
| 11638 | grpc++ |
| 11639 | grpc |
| 11640 | gpr_test_util |
| 11641 | gpr |
| 11642 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11643 | ) |
| 11644 | |
| 11645 | endif (gRPC_BUILD_TESTS) |
| 11646 | if (gRPC_BUILD_TESTS) |
| 11647 | |
| 11648 | add_executable(cxx_string_ref_test |
| 11649 | test/cpp/util/string_ref_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11650 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11651 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11652 | ) |
| 11653 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11654 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11655 | target_include_directories(cxx_string_ref_test |
| 11656 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11657 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11658 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11659 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11660 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11661 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11662 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11663 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11664 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11665 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11666 | PRIVATE third_party/googletest/googletest/include |
| 11667 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11668 | PRIVATE third_party/googletest/googlemock/include |
| 11669 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11670 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11671 | ) |
| 11672 | |
| 11673 | target_link_libraries(cxx_string_ref_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11674 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11675 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11676 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 11677 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11678 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11679 | ) |
| 11680 | |
| 11681 | endif (gRPC_BUILD_TESTS) |
| 11682 | if (gRPC_BUILD_TESTS) |
| 11683 | |
| 11684 | add_executable(cxx_time_test |
| 11685 | test/cpp/util/time_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11686 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11687 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11688 | ) |
| 11689 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11690 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11691 | target_include_directories(cxx_time_test |
| 11692 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11693 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11694 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11695 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11696 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11697 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11698 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11699 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11700 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11701 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11702 | PRIVATE third_party/googletest/googletest/include |
| 11703 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11704 | PRIVATE third_party/googletest/googlemock/include |
| 11705 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11706 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11707 | ) |
| 11708 | |
| 11709 | target_link_libraries(cxx_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11710 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11711 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11712 | grpc_test_util |
| 11713 | grpc++ |
| 11714 | grpc |
| 11715 | gpr_test_util |
| 11716 | gpr |
| 11717 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11718 | ) |
| 11719 | |
| 11720 | endif (gRPC_BUILD_TESTS) |
| 11721 | if (gRPC_BUILD_TESTS) |
| 11722 | |
| 11723 | add_executable(end2end_test |
| 11724 | test/cpp/end2end/end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11725 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11726 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11727 | ) |
| 11728 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11729 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11730 | target_include_directories(end2end_test |
| 11731 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11732 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11733 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11734 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11735 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11736 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11737 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11738 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11739 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11740 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11741 | PRIVATE third_party/googletest/googletest/include |
| 11742 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11743 | PRIVATE third_party/googletest/googlemock/include |
| 11744 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11745 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11746 | ) |
| 11747 | |
| 11748 | target_link_libraries(end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11749 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11750 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11751 | grpc++_test_util |
| 11752 | grpc_test_util |
| 11753 | grpc++ |
| 11754 | grpc |
| 11755 | gpr_test_util |
| 11756 | gpr |
| 11757 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11758 | ) |
| 11759 | |
| 11760 | endif (gRPC_BUILD_TESTS) |
| 11761 | if (gRPC_BUILD_TESTS) |
| 11762 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 11763 | add_executable(error_details_test |
| 11764 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 11765 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 11766 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 11767 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 11768 | test/cpp/util/error_details_test.cc |
| 11769 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11770 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 11771 | ) |
| 11772 | |
| 11773 | protobuf_generate_grpc_cpp( |
| 11774 | src/proto/grpc/testing/echo_messages.proto |
| 11775 | ) |
| 11776 | |
| 11777 | target_include_directories(error_details_test |
| 11778 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11779 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11780 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11781 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11782 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11783 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11784 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11785 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11786 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11787 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 11788 | PRIVATE third_party/googletest/googletest/include |
| 11789 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11790 | PRIVATE third_party/googletest/googlemock/include |
| 11791 | PRIVATE third_party/googletest/googlemock |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 11792 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11793 | ) |
| 11794 | |
| 11795 | target_link_libraries(error_details_test |
| 11796 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11797 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11798 | grpc++_error_details |
| 11799 | grpc++ |
| 11800 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11801 | ) |
| 11802 | |
| 11803 | endif (gRPC_BUILD_TESTS) |
| 11804 | if (gRPC_BUILD_TESTS) |
| 11805 | |
Vijay Pai | 8fc3715 | 2017-12-18 14:33:51 -0800 | [diff] [blame] | 11806 | add_executable(exception_test |
| 11807 | test/cpp/end2end/exception_test.cc |
| 11808 | third_party/googletest/googletest/src/gtest-all.cc |
| 11809 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11810 | ) |
| 11811 | |
| 11812 | |
| 11813 | target_include_directories(exception_test |
| 11814 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11815 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11816 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11817 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11818 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11819 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11820 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11821 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11822 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11823 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Vijay Pai | 8fc3715 | 2017-12-18 14:33:51 -0800 | [diff] [blame] | 11824 | PRIVATE third_party/googletest/googletest/include |
| 11825 | PRIVATE third_party/googletest/googletest |
| 11826 | PRIVATE third_party/googletest/googlemock/include |
| 11827 | PRIVATE third_party/googletest/googlemock |
| 11828 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11829 | ) |
| 11830 | |
| 11831 | target_link_libraries(exception_test |
| 11832 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11833 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11834 | grpc++_test_util |
| 11835 | grpc_test_util |
| 11836 | grpc++ |
| 11837 | grpc |
| 11838 | gpr_test_util |
| 11839 | gpr |
| 11840 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11841 | ) |
| 11842 | |
| 11843 | endif (gRPC_BUILD_TESTS) |
| 11844 | if (gRPC_BUILD_TESTS) |
| 11845 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11846 | add_executable(filter_end2end_test |
| 11847 | test/cpp/end2end/filter_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11848 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11849 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11850 | ) |
| 11851 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11852 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11853 | target_include_directories(filter_end2end_test |
| 11854 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11855 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11856 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11857 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11858 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11859 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11860 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11861 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11862 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11863 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11864 | PRIVATE third_party/googletest/googletest/include |
| 11865 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11866 | PRIVATE third_party/googletest/googlemock/include |
| 11867 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11868 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11869 | ) |
| 11870 | |
| 11871 | target_link_libraries(filter_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11872 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11873 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11874 | grpc++_test_util |
| 11875 | grpc_test_util |
| 11876 | grpc++ |
| 11877 | grpc |
| 11878 | gpr_test_util |
| 11879 | gpr |
| 11880 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11881 | ) |
| 11882 | |
| 11883 | endif (gRPC_BUILD_TESTS) |
| 11884 | if (gRPC_BUILD_TESTS) |
| 11885 | |
| 11886 | add_executable(generic_end2end_test |
| 11887 | test/cpp/end2end/generic_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11888 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11889 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11890 | ) |
| 11891 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11892 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11893 | target_include_directories(generic_end2end_test |
| 11894 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11895 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11896 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11897 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11898 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11899 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11900 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11901 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11902 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11903 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11904 | PRIVATE third_party/googletest/googletest/include |
| 11905 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11906 | PRIVATE third_party/googletest/googlemock/include |
| 11907 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11908 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11909 | ) |
| 11910 | |
| 11911 | target_link_libraries(generic_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11912 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11913 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11914 | grpc++_test_util |
| 11915 | grpc_test_util |
| 11916 | grpc++ |
| 11917 | grpc |
| 11918 | gpr_test_util |
| 11919 | gpr |
| 11920 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11921 | ) |
| 11922 | |
| 11923 | endif (gRPC_BUILD_TESTS) |
| 11924 | if (gRPC_BUILD_TESTS) |
| 11925 | |
| 11926 | add_executable(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11927 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.cc |
| 11928 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.grpc.pb.cc |
| 11929 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.h |
| 11930 | ${_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] | 11931 | test/cpp/codegen/golden_file_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11932 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11933 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11934 | ) |
| 11935 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11936 | protobuf_generate_grpc_cpp( |
| 11937 | src/proto/grpc/testing/compiler_test.proto |
| 11938 | ) |
| 11939 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11940 | target_include_directories(golden_file_test |
| 11941 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11942 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11943 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11944 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11945 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11946 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11947 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11948 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11949 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11950 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11951 | PRIVATE third_party/googletest/googletest/include |
| 11952 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11953 | PRIVATE third_party/googletest/googlemock/include |
| 11954 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11955 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11956 | ) |
| 11957 | |
| 11958 | target_link_libraries(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11959 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11960 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11961 | grpc++ |
| 11962 | grpc |
| 11963 | gpr |
| 11964 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11965 | ) |
| 11966 | |
| 11967 | endif (gRPC_BUILD_TESTS) |
| 11968 | if (gRPC_BUILD_TESTS) |
| 11969 | |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 11970 | add_executable(grpc_alts_credentials_options_test |
| 11971 | test/core/security/grpc_alts_credentials_options_test.cc |
| 11972 | third_party/googletest/googletest/src/gtest-all.cc |
| 11973 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11974 | ) |
| 11975 | |
| 11976 | |
| 11977 | target_include_directories(grpc_alts_credentials_options_test |
| 11978 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11979 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11980 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 11981 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11982 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11983 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11984 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11985 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11986 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 11987 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 11988 | PRIVATE third_party/googletest/googletest/include |
| 11989 | PRIVATE third_party/googletest/googletest |
| 11990 | PRIVATE third_party/googletest/googlemock/include |
| 11991 | PRIVATE third_party/googletest/googlemock |
| 11992 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11993 | ) |
| 11994 | |
| 11995 | target_link_libraries(grpc_alts_credentials_options_test |
| 11996 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11997 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11998 | grpc |
| 11999 | gpr |
| 12000 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12001 | ) |
| 12002 | |
| 12003 | endif (gRPC_BUILD_TESTS) |
| 12004 | if (gRPC_BUILD_TESTS) |
| 12005 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12006 | add_executable(grpc_cli |
| 12007 | test/cpp/util/grpc_cli.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12008 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12009 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12010 | ) |
| 12011 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12012 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12013 | target_include_directories(grpc_cli |
| 12014 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12015 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12016 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12017 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12018 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12019 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12020 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12021 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12022 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12023 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12024 | PRIVATE third_party/googletest/googletest/include |
| 12025 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12026 | PRIVATE third_party/googletest/googlemock/include |
| 12027 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12028 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12029 | ) |
| 12030 | |
| 12031 | target_link_libraries(grpc_cli |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12032 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12033 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12034 | grpc_cli_libs |
| 12035 | grpc++_proto_reflection_desc_db |
| 12036 | grpc++ |
| 12037 | grpc |
| 12038 | gpr |
| 12039 | grpc++_test_config |
| 12040 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12041 | ) |
| 12042 | |
| 12043 | endif (gRPC_BUILD_TESTS) |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 12044 | if (gRPC_BUILD_CODEGEN) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 12045 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12046 | add_executable(grpc_cpp_plugin |
| 12047 | src/compiler/cpp_plugin.cc |
| 12048 | ) |
| 12049 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12050 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12051 | target_include_directories(grpc_cpp_plugin |
| 12052 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12053 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12054 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12055 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12056 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12057 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12058 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12059 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12060 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12061 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12062 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12063 | ) |
| 12064 | |
| 12065 | target_link_libraries(grpc_cpp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 12066 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12067 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12068 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12069 | grpc_plugin_support |
| 12070 | ) |
| 12071 | |
| 12072 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 12073 | if (gRPC_INSTALL) |
| 12074 | install(TARGETS grpc_cpp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 12075 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12076 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12077 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 12078 | ) |
| 12079 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 12080 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 12081 | endif (gRPC_BUILD_CODEGEN) |
| 12082 | if (gRPC_BUILD_CODEGEN) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 12083 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12084 | add_executable(grpc_csharp_plugin |
| 12085 | src/compiler/csharp_plugin.cc |
| 12086 | ) |
| 12087 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12088 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12089 | target_include_directories(grpc_csharp_plugin |
| 12090 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12091 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12092 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12093 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12094 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12095 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12096 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12097 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12098 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12099 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12100 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12101 | ) |
| 12102 | |
| 12103 | target_link_libraries(grpc_csharp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 12104 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12105 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12106 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12107 | grpc_plugin_support |
| 12108 | ) |
| 12109 | |
| 12110 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 12111 | if (gRPC_INSTALL) |
| 12112 | install(TARGETS grpc_csharp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 12113 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12114 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12115 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 12116 | ) |
| 12117 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 12118 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 12119 | endif (gRPC_BUILD_CODEGEN) |
| 12120 | if (gRPC_BUILD_CODEGEN) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 12121 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12122 | add_executable(grpc_node_plugin |
| 12123 | src/compiler/node_plugin.cc |
| 12124 | ) |
| 12125 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12126 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12127 | target_include_directories(grpc_node_plugin |
| 12128 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12129 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12130 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12131 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12132 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12133 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12134 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12135 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12136 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12137 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12138 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12139 | ) |
| 12140 | |
| 12141 | target_link_libraries(grpc_node_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 12142 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12143 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12144 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12145 | grpc_plugin_support |
| 12146 | ) |
| 12147 | |
| 12148 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 12149 | if (gRPC_INSTALL) |
| 12150 | install(TARGETS grpc_node_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 12151 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12152 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12153 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 12154 | ) |
| 12155 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 12156 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 12157 | endif (gRPC_BUILD_CODEGEN) |
| 12158 | if (gRPC_BUILD_CODEGEN) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 12159 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12160 | add_executable(grpc_objective_c_plugin |
| 12161 | src/compiler/objective_c_plugin.cc |
| 12162 | ) |
| 12163 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12164 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12165 | target_include_directories(grpc_objective_c_plugin |
| 12166 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12167 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12168 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12169 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12170 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12171 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12172 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12173 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12174 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12175 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12176 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12177 | ) |
| 12178 | |
| 12179 | target_link_libraries(grpc_objective_c_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 12180 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12181 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12182 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12183 | grpc_plugin_support |
| 12184 | ) |
| 12185 | |
| 12186 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 12187 | if (gRPC_INSTALL) |
| 12188 | install(TARGETS grpc_objective_c_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 12189 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12190 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12191 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 12192 | ) |
| 12193 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 12194 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 12195 | endif (gRPC_BUILD_CODEGEN) |
| 12196 | if (gRPC_BUILD_CODEGEN) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 12197 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 12198 | add_executable(grpc_php_plugin |
| 12199 | src/compiler/php_plugin.cc |
| 12200 | ) |
| 12201 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12202 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 12203 | target_include_directories(grpc_php_plugin |
| 12204 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12205 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12206 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12207 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12208 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12209 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12210 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12211 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12212 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12213 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12214 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 12215 | ) |
| 12216 | |
| 12217 | target_link_libraries(grpc_php_plugin |
| 12218 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12219 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12220 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 12221 | grpc_plugin_support |
| 12222 | ) |
| 12223 | |
| 12224 | |
| 12225 | if (gRPC_INSTALL) |
| 12226 | install(TARGETS grpc_php_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 12227 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12228 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12229 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 12230 | ) |
| 12231 | endif() |
| 12232 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 12233 | endif (gRPC_BUILD_CODEGEN) |
| 12234 | if (gRPC_BUILD_CODEGEN) |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 12235 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12236 | add_executable(grpc_python_plugin |
| 12237 | src/compiler/python_plugin.cc |
| 12238 | ) |
| 12239 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12240 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12241 | target_include_directories(grpc_python_plugin |
| 12242 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12243 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12244 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12245 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12246 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12247 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12248 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12249 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12250 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12251 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12252 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12253 | ) |
| 12254 | |
| 12255 | target_link_libraries(grpc_python_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 12256 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12257 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12258 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12259 | grpc_plugin_support |
| 12260 | ) |
| 12261 | |
| 12262 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 12263 | if (gRPC_INSTALL) |
| 12264 | install(TARGETS grpc_python_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 12265 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12266 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12267 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 12268 | ) |
| 12269 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 12270 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 12271 | endif (gRPC_BUILD_CODEGEN) |
| 12272 | if (gRPC_BUILD_CODEGEN) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 12273 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12274 | add_executable(grpc_ruby_plugin |
| 12275 | src/compiler/ruby_plugin.cc |
| 12276 | ) |
| 12277 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12278 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12279 | target_include_directories(grpc_ruby_plugin |
| 12280 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12281 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12282 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12283 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12284 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12285 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12286 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12287 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12288 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12289 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12290 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12291 | ) |
| 12292 | |
| 12293 | target_link_libraries(grpc_ruby_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 12294 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12295 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12296 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12297 | grpc_plugin_support |
| 12298 | ) |
| 12299 | |
| 12300 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 12301 | if (gRPC_INSTALL) |
| 12302 | install(TARGETS grpc_ruby_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 12303 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12304 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12305 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 12306 | ) |
| 12307 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 12308 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 12309 | endif (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12310 | if (gRPC_BUILD_TESTS) |
| 12311 | |
| 12312 | add_executable(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12313 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 12314 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 12315 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 12316 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 12317 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 12318 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 12319 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 12320 | ${_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] | 12321 | test/cpp/util/grpc_tool_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12322 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12323 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12324 | ) |
| 12325 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12326 | protobuf_generate_grpc_cpp( |
| 12327 | src/proto/grpc/testing/echo.proto |
| 12328 | ) |
| 12329 | protobuf_generate_grpc_cpp( |
| 12330 | src/proto/grpc/testing/echo_messages.proto |
| 12331 | ) |
| 12332 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12333 | target_include_directories(grpc_tool_test |
| 12334 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12335 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12336 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12337 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12338 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12339 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12340 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12341 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12342 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12343 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12344 | PRIVATE third_party/googletest/googletest/include |
| 12345 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12346 | PRIVATE third_party/googletest/googlemock/include |
| 12347 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12348 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12349 | ) |
| 12350 | |
| 12351 | target_link_libraries(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12352 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12353 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12354 | grpc_cli_libs |
| 12355 | grpc++_proto_reflection_desc_db |
| 12356 | grpc++_reflection |
| 12357 | grpc++_test_util |
| 12358 | grpc_test_util |
| 12359 | grpc++ |
| 12360 | grpc |
| 12361 | gpr_test_util |
| 12362 | gpr |
| 12363 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12364 | ) |
| 12365 | |
| 12366 | endif (gRPC_BUILD_TESTS) |
| 12367 | if (gRPC_BUILD_TESTS) |
| 12368 | |
| 12369 | add_executable(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12370 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 12371 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 12372 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 12373 | ${_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] | 12374 | test/cpp/grpclb/grpclb_api_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12375 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12376 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12377 | ) |
| 12378 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12379 | protobuf_generate_grpc_cpp( |
| 12380 | src/proto/grpc/lb/v1/load_balancer.proto |
| 12381 | ) |
| 12382 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12383 | target_include_directories(grpclb_api_test |
| 12384 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12385 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12386 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12387 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12388 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12389 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12390 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12391 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12392 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12393 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12394 | PRIVATE third_party/googletest/googletest/include |
| 12395 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12396 | PRIVATE third_party/googletest/googlemock/include |
| 12397 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12398 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12399 | ) |
| 12400 | |
| 12401 | target_link_libraries(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12402 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12403 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12404 | grpc++_test_util |
| 12405 | grpc_test_util |
| 12406 | grpc++ |
| 12407 | grpc |
| 12408 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12409 | ) |
| 12410 | |
| 12411 | endif (gRPC_BUILD_TESTS) |
| 12412 | if (gRPC_BUILD_TESTS) |
| 12413 | |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 12414 | add_executable(grpclb_end2end_test |
| 12415 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 12416 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 12417 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 12418 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 12419 | test/cpp/end2end/grpclb_end2end_test.cc |
| 12420 | third_party/googletest/googletest/src/gtest-all.cc |
| 12421 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12422 | ) |
| 12423 | |
| 12424 | protobuf_generate_grpc_cpp( |
| 12425 | src/proto/grpc/lb/v1/load_balancer.proto |
| 12426 | ) |
| 12427 | |
| 12428 | target_include_directories(grpclb_end2end_test |
| 12429 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12430 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12431 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12432 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12433 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12434 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12435 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12436 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12437 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12438 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 12439 | PRIVATE third_party/googletest/googletest/include |
| 12440 | PRIVATE third_party/googletest/googletest |
| 12441 | PRIVATE third_party/googletest/googlemock/include |
| 12442 | PRIVATE third_party/googletest/googlemock |
| 12443 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12444 | ) |
| 12445 | |
| 12446 | target_link_libraries(grpclb_end2end_test |
| 12447 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12448 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12449 | grpc++_test_util |
| 12450 | grpc_test_util |
| 12451 | grpc++ |
| 12452 | grpc |
| 12453 | gpr_test_util |
| 12454 | gpr |
| 12455 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12456 | ) |
| 12457 | |
| 12458 | endif (gRPC_BUILD_TESTS) |
| 12459 | if (gRPC_BUILD_TESTS) |
| 12460 | |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 12461 | add_executable(h2_ssl_cert_test |
| 12462 | test/core/end2end/h2_ssl_cert_test.cc |
| 12463 | third_party/googletest/googletest/src/gtest-all.cc |
| 12464 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12465 | ) |
| 12466 | |
| 12467 | |
| 12468 | target_include_directories(h2_ssl_cert_test |
| 12469 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12470 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12471 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12472 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12473 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12474 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12475 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12476 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12477 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12478 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 12479 | PRIVATE third_party/googletest/googletest/include |
| 12480 | PRIVATE third_party/googletest/googletest |
| 12481 | PRIVATE third_party/googletest/googlemock/include |
| 12482 | PRIVATE third_party/googletest/googlemock |
| 12483 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12484 | ) |
| 12485 | |
| 12486 | target_link_libraries(h2_ssl_cert_test |
| 12487 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12488 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12489 | grpc_test_util |
| 12490 | grpc++ |
| 12491 | grpc |
| 12492 | gpr_test_util |
| 12493 | gpr |
| 12494 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12495 | ) |
| 12496 | |
| 12497 | endif (gRPC_BUILD_TESTS) |
| 12498 | if (gRPC_BUILD_TESTS) |
| 12499 | |
Ruslan Nigmatullin | 99d0cee | 2018-03-20 09:18:29 -0700 | [diff] [blame] | 12500 | add_executable(h2_ssl_session_reuse_test |
| 12501 | test/core/end2end/h2_ssl_session_reuse_test.cc |
| 12502 | third_party/googletest/googletest/src/gtest-all.cc |
| 12503 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12504 | ) |
| 12505 | |
| 12506 | |
| 12507 | target_include_directories(h2_ssl_session_reuse_test |
| 12508 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12509 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12510 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 12511 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12512 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12513 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12514 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12515 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | ee2ad09 | 2018-03-20 23:54:52 -0700 | [diff] [blame] | 12516 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12517 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ruslan Nigmatullin | 99d0cee | 2018-03-20 09:18:29 -0700 | [diff] [blame] | 12518 | PRIVATE third_party/googletest/googletest/include |
| 12519 | PRIVATE third_party/googletest/googletest |
| 12520 | PRIVATE third_party/googletest/googlemock/include |
| 12521 | PRIVATE third_party/googletest/googlemock |
| 12522 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12523 | ) |
| 12524 | |
| 12525 | target_link_libraries(h2_ssl_session_reuse_test |
| 12526 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12527 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12528 | grpc_test_util |
| 12529 | grpc++ |
| 12530 | grpc |
| 12531 | gpr_test_util |
| 12532 | gpr |
| 12533 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12534 | ) |
| 12535 | |
| 12536 | endif (gRPC_BUILD_TESTS) |
| 12537 | if (gRPC_BUILD_TESTS) |
| 12538 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 12539 | add_executable(health_service_end2end_test |
| 12540 | test/cpp/end2end/health_service_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12541 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12542 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 12543 | ) |
| 12544 | |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 12545 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 12546 | target_include_directories(health_service_end2end_test |
| 12547 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12548 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12549 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12550 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12551 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12552 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12553 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12554 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12555 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12556 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12557 | PRIVATE third_party/googletest/googletest/include |
| 12558 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12559 | PRIVATE third_party/googletest/googlemock/include |
| 12560 | PRIVATE third_party/googletest/googlemock |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 12561 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 12562 | ) |
| 12563 | |
| 12564 | target_link_libraries(health_service_end2end_test |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 12565 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12566 | ${_gRPC_ALLTARGETS_LIBRARIES} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 12567 | grpc++_test_util |
| 12568 | grpc_test_util |
| 12569 | grpc++ |
| 12570 | grpc |
| 12571 | gpr_test_util |
| 12572 | gpr |
| 12573 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12574 | ) |
| 12575 | |
| 12576 | endif (gRPC_BUILD_TESTS) |
| 12577 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12578 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12579 | |
| 12580 | add_executable(http2_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12581 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12582 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12583 | ) |
| 12584 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12585 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12586 | target_include_directories(http2_client |
| 12587 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12588 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12589 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12590 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12591 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12592 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12593 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12594 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12595 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12596 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12597 | PRIVATE third_party/googletest/googletest/include |
| 12598 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12599 | PRIVATE third_party/googletest/googlemock/include |
| 12600 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12601 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12602 | ) |
| 12603 | |
| 12604 | target_link_libraries(http2_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12605 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12606 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12607 | http2_client_main |
| 12608 | grpc++_test_util |
| 12609 | grpc_test_util |
| 12610 | grpc++ |
| 12611 | grpc |
| 12612 | grpc++_test_config |
| 12613 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12614 | ) |
| 12615 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12616 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12617 | endif (gRPC_BUILD_TESTS) |
| 12618 | if (gRPC_BUILD_TESTS) |
| 12619 | |
| 12620 | add_executable(hybrid_end2end_test |
| 12621 | test/cpp/end2end/hybrid_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12622 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12623 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12624 | ) |
| 12625 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12626 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12627 | target_include_directories(hybrid_end2end_test |
| 12628 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12629 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12630 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12631 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12632 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12633 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12634 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12635 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12636 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12637 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12638 | PRIVATE third_party/googletest/googletest/include |
| 12639 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12640 | PRIVATE third_party/googletest/googlemock/include |
| 12641 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12642 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12643 | ) |
| 12644 | |
| 12645 | target_link_libraries(hybrid_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12646 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12647 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12648 | grpc++_test_util |
| 12649 | grpc_test_util |
| 12650 | grpc++ |
| 12651 | grpc |
| 12652 | gpr_test_util |
| 12653 | gpr |
| 12654 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12655 | ) |
| 12656 | |
| 12657 | endif (gRPC_BUILD_TESTS) |
| 12658 | if (gRPC_BUILD_TESTS) |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 12659 | |
| 12660 | add_executable(inlined_vector_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 12661 | test/core/gprpp/inlined_vector_test.cc |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 12662 | third_party/googletest/googletest/src/gtest-all.cc |
| 12663 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12664 | ) |
| 12665 | |
| 12666 | |
| 12667 | target_include_directories(inlined_vector_test |
| 12668 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12669 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12670 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 12671 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12672 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12673 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12674 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12675 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12676 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12677 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 12678 | PRIVATE third_party/googletest/googletest/include |
| 12679 | PRIVATE third_party/googletest/googletest |
| 12680 | PRIVATE third_party/googletest/googlemock/include |
| 12681 | PRIVATE third_party/googletest/googlemock |
| 12682 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12683 | ) |
| 12684 | |
| 12685 | target_link_libraries(inlined_vector_test |
| 12686 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12687 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12688 | grpc_test_util |
| 12689 | grpc++ |
| 12690 | grpc |
| 12691 | gpr_test_util |
| 12692 | gpr |
| 12693 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12694 | ) |
| 12695 | |
| 12696 | endif (gRPC_BUILD_TESTS) |
| 12697 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12698 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12699 | |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 12700 | add_executable(inproc_sync_unary_ping_pong_test |
| 12701 | test/cpp/qps/inproc_sync_unary_ping_pong_test.cc |
| 12702 | third_party/googletest/googletest/src/gtest-all.cc |
| 12703 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12704 | ) |
| 12705 | |
| 12706 | |
| 12707 | target_include_directories(inproc_sync_unary_ping_pong_test |
| 12708 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12709 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12710 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12711 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12712 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12713 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12714 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12715 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12716 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12717 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 12718 | PRIVATE third_party/googletest/googletest/include |
| 12719 | PRIVATE third_party/googletest/googletest |
| 12720 | PRIVATE third_party/googletest/googlemock/include |
| 12721 | PRIVATE third_party/googletest/googlemock |
| 12722 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12723 | ) |
| 12724 | |
| 12725 | target_link_libraries(inproc_sync_unary_ping_pong_test |
| 12726 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12727 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12728 | qps |
| 12729 | grpc++_core_stats |
| 12730 | grpc++_test_util |
| 12731 | grpc_test_util |
| 12732 | grpc++ |
| 12733 | grpc |
| 12734 | gpr_test_util |
| 12735 | gpr |
| 12736 | grpc++_test_config |
| 12737 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12738 | ) |
| 12739 | |
| 12740 | endif() |
| 12741 | endif (gRPC_BUILD_TESTS) |
| 12742 | if (gRPC_BUILD_TESTS) |
| 12743 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 12744 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12745 | add_executable(interop_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12746 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12747 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12748 | ) |
| 12749 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12750 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12751 | target_include_directories(interop_client |
| 12752 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12753 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12754 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12755 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12756 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12757 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12758 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12759 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12760 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12761 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12762 | PRIVATE third_party/googletest/googletest/include |
| 12763 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12764 | PRIVATE third_party/googletest/googlemock/include |
| 12765 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12766 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12767 | ) |
| 12768 | |
| 12769 | target_link_libraries(interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12770 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12771 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12772 | interop_client_main |
| 12773 | interop_client_helper |
| 12774 | grpc++_test_util |
| 12775 | grpc_test_util |
| 12776 | grpc++ |
| 12777 | grpc |
| 12778 | gpr_test_util |
| 12779 | gpr |
| 12780 | grpc++_test_config |
| 12781 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12782 | ) |
| 12783 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12784 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12785 | endif (gRPC_BUILD_TESTS) |
| 12786 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12787 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12788 | |
| 12789 | add_executable(interop_server |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12790 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12791 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12792 | ) |
| 12793 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12794 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12795 | target_include_directories(interop_server |
| 12796 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12797 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12798 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12799 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12800 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12801 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12802 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12803 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12804 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12805 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12806 | PRIVATE third_party/googletest/googletest/include |
| 12807 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12808 | PRIVATE third_party/googletest/googlemock/include |
| 12809 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12810 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12811 | ) |
| 12812 | |
| 12813 | target_link_libraries(interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12814 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12815 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12816 | interop_server_main |
| 12817 | interop_server_helper |
| 12818 | interop_server_lib |
| 12819 | grpc++_test_util |
| 12820 | grpc_test_util |
| 12821 | grpc++ |
| 12822 | grpc |
| 12823 | gpr_test_util |
| 12824 | gpr |
| 12825 | grpc++_test_config |
| 12826 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12827 | ) |
| 12828 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12829 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12830 | endif (gRPC_BUILD_TESTS) |
| 12831 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12832 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12833 | |
| 12834 | add_executable(interop_test |
| 12835 | test/cpp/interop/interop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12836 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12837 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12838 | ) |
| 12839 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12840 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12841 | target_include_directories(interop_test |
| 12842 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12843 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12844 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12845 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12846 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12847 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12848 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12849 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12850 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12851 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12852 | PRIVATE third_party/googletest/googletest/include |
| 12853 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12854 | PRIVATE third_party/googletest/googlemock/include |
| 12855 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12856 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12857 | ) |
| 12858 | |
| 12859 | target_link_libraries(interop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12860 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12861 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12862 | grpc_test_util |
| 12863 | grpc |
| 12864 | gpr_test_util |
| 12865 | gpr |
| 12866 | grpc++_test_config |
| 12867 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12868 | ) |
| 12869 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12870 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12871 | endif (gRPC_BUILD_TESTS) |
| 12872 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12873 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12874 | |
| 12875 | add_executable(json_run_localhost |
| 12876 | test/cpp/qps/json_run_localhost.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12877 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12878 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12879 | ) |
| 12880 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12881 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12882 | target_include_directories(json_run_localhost |
| 12883 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12884 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12885 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12886 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12887 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12888 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12889 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12890 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12891 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12892 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12893 | PRIVATE third_party/googletest/googletest/include |
| 12894 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12895 | PRIVATE third_party/googletest/googlemock/include |
| 12896 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12897 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12898 | ) |
| 12899 | |
| 12900 | target_link_libraries(json_run_localhost |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12901 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12902 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12903 | grpc++_test_util |
| 12904 | grpc_test_util |
| 12905 | grpc++ |
| 12906 | grpc |
| 12907 | gpr_test_util |
| 12908 | gpr |
| 12909 | grpc++_test_config |
| 12910 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12911 | ) |
| 12912 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12913 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12914 | endif (gRPC_BUILD_TESTS) |
| 12915 | if (gRPC_BUILD_TESTS) |
| 12916 | |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 12917 | add_executable(memory_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 12918 | test/core/gprpp/memory_test.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 12919 | third_party/googletest/googletest/src/gtest-all.cc |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 12920 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 12921 | ) |
| 12922 | |
| 12923 | |
| 12924 | target_include_directories(memory_test |
| 12925 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12926 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12927 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12928 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12929 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12930 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12931 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12932 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12933 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12934 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 12935 | PRIVATE third_party/googletest/googletest/include |
| 12936 | PRIVATE third_party/googletest/googletest |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 12937 | PRIVATE third_party/googletest/googlemock/include |
| 12938 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 12939 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12940 | ) |
| 12941 | |
| 12942 | target_link_libraries(memory_test |
| 12943 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12944 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12945 | grpc_test_util |
| 12946 | grpc++ |
| 12947 | grpc |
| 12948 | gpr_test_util |
| 12949 | gpr |
| 12950 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12951 | ) |
| 12952 | |
| 12953 | endif (gRPC_BUILD_TESTS) |
| 12954 | if (gRPC_BUILD_TESTS) |
| 12955 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12956 | add_executable(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12957 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 12958 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 12959 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 12960 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12961 | test/cpp/interop/metrics_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12962 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12963 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12964 | ) |
| 12965 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12966 | protobuf_generate_grpc_cpp( |
| 12967 | src/proto/grpc/testing/metrics.proto |
| 12968 | ) |
| 12969 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12970 | target_include_directories(metrics_client |
| 12971 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12972 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12973 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12974 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12975 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12976 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12977 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12978 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12979 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 12980 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12981 | PRIVATE third_party/googletest/googletest/include |
| 12982 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12983 | PRIVATE third_party/googletest/googlemock/include |
| 12984 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12985 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12986 | ) |
| 12987 | |
| 12988 | target_link_libraries(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12989 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12990 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12991 | grpc++ |
| 12992 | grpc |
| 12993 | gpr |
| 12994 | grpc++_test_config |
| 12995 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12996 | ) |
| 12997 | |
| 12998 | endif (gRPC_BUILD_TESTS) |
| 12999 | if (gRPC_BUILD_TESTS) |
| 13000 | |
| 13001 | add_executable(mock_test |
| 13002 | test/cpp/end2end/mock_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13003 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13004 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13005 | ) |
| 13006 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13007 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13008 | target_include_directories(mock_test |
| 13009 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13010 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13011 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13012 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13013 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13014 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13015 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13016 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13017 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13018 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13019 | PRIVATE third_party/googletest/googletest/include |
| 13020 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13021 | PRIVATE third_party/googletest/googlemock/include |
| 13022 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13023 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13024 | ) |
| 13025 | |
| 13026 | target_link_libraries(mock_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13027 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13028 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13029 | grpc++_test_util |
| 13030 | grpc_test_util |
| 13031 | grpc++ |
| 13032 | grpc |
| 13033 | gpr_test_util |
| 13034 | gpr |
| 13035 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13036 | ) |
| 13037 | |
| 13038 | endif (gRPC_BUILD_TESTS) |
| 13039 | if (gRPC_BUILD_TESTS) |
| 13040 | |
Vijay Pai | 132efa0 | 2018-02-09 15:28:14 -0800 | [diff] [blame] | 13041 | add_executable(nonblocking_test |
| 13042 | test/cpp/end2end/nonblocking_test.cc |
| 13043 | third_party/googletest/googletest/src/gtest-all.cc |
| 13044 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13045 | ) |
| 13046 | |
| 13047 | |
| 13048 | target_include_directories(nonblocking_test |
| 13049 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13050 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13051 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 13052 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13053 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13054 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13055 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13056 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13057 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13058 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Vijay Pai | 132efa0 | 2018-02-09 15:28:14 -0800 | [diff] [blame] | 13059 | PRIVATE third_party/googletest/googletest/include |
| 13060 | PRIVATE third_party/googletest/googletest |
| 13061 | PRIVATE third_party/googletest/googlemock/include |
| 13062 | PRIVATE third_party/googletest/googlemock |
| 13063 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13064 | ) |
| 13065 | |
| 13066 | target_link_libraries(nonblocking_test |
| 13067 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13068 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13069 | grpc++_test_util |
| 13070 | grpc_test_util |
| 13071 | grpc++ |
| 13072 | grpc |
| 13073 | gpr_test_util |
| 13074 | gpr |
| 13075 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13076 | ) |
| 13077 | |
| 13078 | endif (gRPC_BUILD_TESTS) |
| 13079 | if (gRPC_BUILD_TESTS) |
| 13080 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13081 | add_executable(noop-benchmark |
| 13082 | test/cpp/microbenchmarks/noop-benchmark.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13083 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13084 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13085 | ) |
| 13086 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13087 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13088 | target_include_directories(noop-benchmark |
| 13089 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13090 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13091 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13092 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13093 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13094 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13095 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13096 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13097 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13098 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13099 | PRIVATE third_party/googletest/googletest/include |
| 13100 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13101 | PRIVATE third_party/googletest/googlemock/include |
| 13102 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13103 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13104 | ) |
| 13105 | |
| 13106 | target_link_libraries(noop-benchmark |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13107 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13108 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13109 | ${_gRPC_BENCHMARK_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13110 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13111 | ) |
| 13112 | |
| 13113 | endif (gRPC_BUILD_TESTS) |
| 13114 | if (gRPC_BUILD_TESTS) |
| 13115 | |
Mark D. Roth | 324703d | 2018-01-11 07:41:31 -0800 | [diff] [blame] | 13116 | add_executable(orphanable_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 13117 | test/core/gprpp/orphanable_test.cc |
Mark D. Roth | 324703d | 2018-01-11 07:41:31 -0800 | [diff] [blame] | 13118 | third_party/googletest/googletest/src/gtest-all.cc |
| 13119 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13120 | ) |
| 13121 | |
| 13122 | |
| 13123 | target_include_directories(orphanable_test |
| 13124 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13125 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13126 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | d9c288b | 2018-01-17 09:10:06 -0800 | [diff] [blame] | 13127 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13128 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13129 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13130 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13131 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13132 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13133 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Mark D. Roth | 324703d | 2018-01-11 07:41:31 -0800 | [diff] [blame] | 13134 | PRIVATE third_party/googletest/googletest/include |
| 13135 | PRIVATE third_party/googletest/googletest |
| 13136 | PRIVATE third_party/googletest/googlemock/include |
| 13137 | PRIVATE third_party/googletest/googlemock |
| 13138 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13139 | ) |
| 13140 | |
| 13141 | target_link_libraries(orphanable_test |
| 13142 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13143 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13144 | grpc_test_util |
| 13145 | grpc++ |
| 13146 | grpc |
| 13147 | gpr_test_util |
| 13148 | gpr |
| 13149 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13150 | ) |
| 13151 | |
| 13152 | endif (gRPC_BUILD_TESTS) |
| 13153 | if (gRPC_BUILD_TESTS) |
| 13154 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13155 | add_executable(proto_server_reflection_test |
| 13156 | test/cpp/end2end/proto_server_reflection_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13157 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13158 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13159 | ) |
| 13160 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13161 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13162 | target_include_directories(proto_server_reflection_test |
| 13163 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13164 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13165 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13166 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13167 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13168 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13169 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13170 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13171 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13172 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13173 | PRIVATE third_party/googletest/googletest/include |
| 13174 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13175 | PRIVATE third_party/googletest/googlemock/include |
| 13176 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13177 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13178 | ) |
| 13179 | |
| 13180 | target_link_libraries(proto_server_reflection_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13181 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13182 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13183 | grpc++_proto_reflection_desc_db |
| 13184 | grpc++_reflection |
| 13185 | grpc++_test_util |
| 13186 | grpc_test_util |
| 13187 | grpc++ |
| 13188 | grpc |
| 13189 | gpr_test_util |
| 13190 | gpr |
| 13191 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13192 | ) |
| 13193 | |
| 13194 | endif (gRPC_BUILD_TESTS) |
| 13195 | if (gRPC_BUILD_TESTS) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 13196 | |
| 13197 | add_executable(proto_utils_test |
| 13198 | test/cpp/codegen/proto_utils_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13199 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13200 | third_party/googletest/googlemock/src/gmock-all.cc |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 13201 | ) |
| 13202 | |
| 13203 | |
| 13204 | target_include_directories(proto_utils_test |
| 13205 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13206 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13207 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13208 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13209 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13210 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13211 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13212 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13213 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13214 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13215 | PRIVATE third_party/googletest/googletest/include |
| 13216 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13217 | PRIVATE third_party/googletest/googlemock/include |
| 13218 | PRIVATE third_party/googletest/googlemock |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 13219 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13220 | ) |
| 13221 | |
| 13222 | target_link_libraries(proto_utils_test |
| 13223 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13224 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13225 | grpc++ |
| 13226 | grpc |
| 13227 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13228 | ) |
| 13229 | |
| 13230 | endif (gRPC_BUILD_TESTS) |
| 13231 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13232 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13233 | |
| 13234 | add_executable(qps_interarrival_test |
| 13235 | test/cpp/qps/qps_interarrival_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13236 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13237 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13238 | ) |
| 13239 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13240 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13241 | target_include_directories(qps_interarrival_test |
| 13242 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13243 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13244 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13245 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13246 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13247 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13248 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13249 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13250 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13251 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13252 | PRIVATE third_party/googletest/googletest/include |
| 13253 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13254 | PRIVATE third_party/googletest/googlemock/include |
| 13255 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13256 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13257 | ) |
| 13258 | |
| 13259 | target_link_libraries(qps_interarrival_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13260 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13261 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13262 | qps |
| 13263 | grpc++_test_util |
| 13264 | grpc_test_util |
| 13265 | grpc++ |
| 13266 | grpc |
| 13267 | gpr_test_util |
| 13268 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 13269 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13270 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13271 | ) |
| 13272 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13273 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13274 | endif (gRPC_BUILD_TESTS) |
| 13275 | if (gRPC_BUILD_TESTS) |
| 13276 | |
| 13277 | add_executable(qps_json_driver |
| 13278 | test/cpp/qps/qps_json_driver.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13279 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13280 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13281 | ) |
| 13282 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13283 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13284 | target_include_directories(qps_json_driver |
| 13285 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13286 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13287 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13288 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13289 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13290 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13291 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13292 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13293 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13294 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13295 | PRIVATE third_party/googletest/googletest/include |
| 13296 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13297 | PRIVATE third_party/googletest/googlemock/include |
| 13298 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13299 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13300 | ) |
| 13301 | |
| 13302 | target_link_libraries(qps_json_driver |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13303 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13304 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13305 | qps |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 13306 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13307 | grpc++_test_util |
| 13308 | grpc_test_util |
| 13309 | grpc++ |
| 13310 | grpc |
| 13311 | gpr_test_util |
| 13312 | gpr |
| 13313 | grpc++_test_config |
| 13314 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13315 | ) |
| 13316 | |
| 13317 | endif (gRPC_BUILD_TESTS) |
| 13318 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13319 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13320 | |
| 13321 | add_executable(qps_openloop_test |
| 13322 | test/cpp/qps/qps_openloop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13323 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13324 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13325 | ) |
| 13326 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13327 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13328 | target_include_directories(qps_openloop_test |
| 13329 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13330 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13331 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13332 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13333 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13334 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13335 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13336 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13337 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13338 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13339 | PRIVATE third_party/googletest/googletest/include |
| 13340 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13341 | PRIVATE third_party/googletest/googlemock/include |
| 13342 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13343 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13344 | ) |
| 13345 | |
| 13346 | target_link_libraries(qps_openloop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13347 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13348 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13349 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 13350 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13351 | grpc++_test_util |
| 13352 | grpc_test_util |
| 13353 | grpc++ |
| 13354 | grpc |
| 13355 | gpr_test_util |
| 13356 | gpr |
| 13357 | grpc++_test_config |
| 13358 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13359 | ) |
| 13360 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13361 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13362 | endif (gRPC_BUILD_TESTS) |
| 13363 | if (gRPC_BUILD_TESTS) |
| 13364 | |
| 13365 | add_executable(qps_worker |
| 13366 | test/cpp/qps/worker.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13367 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13368 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13369 | ) |
| 13370 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13371 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13372 | target_include_directories(qps_worker |
| 13373 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13374 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13375 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13376 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13377 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13378 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13379 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13380 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13381 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13382 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13383 | PRIVATE third_party/googletest/googletest/include |
| 13384 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13385 | PRIVATE third_party/googletest/googlemock/include |
| 13386 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13387 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13388 | ) |
| 13389 | |
| 13390 | target_link_libraries(qps_worker |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13391 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13392 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13393 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 13394 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13395 | grpc++_test_util |
| 13396 | grpc_test_util |
| 13397 | grpc++ |
| 13398 | grpc |
| 13399 | gpr_test_util |
| 13400 | gpr |
| 13401 | grpc++_test_config |
| 13402 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13403 | ) |
| 13404 | |
| 13405 | endif (gRPC_BUILD_TESTS) |
| 13406 | if (gRPC_BUILD_TESTS) |
| 13407 | |
ncteisen | a0a5953 | 2018-06-28 18:26:22 -0700 | [diff] [blame] | 13408 | add_executable(raw_end2end_test |
| 13409 | test/cpp/end2end/raw_end2end_test.cc |
| 13410 | third_party/googletest/googletest/src/gtest-all.cc |
| 13411 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13412 | ) |
| 13413 | |
| 13414 | |
| 13415 | target_include_directories(raw_end2end_test |
| 13416 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13417 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13418 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 13419 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13420 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13421 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13422 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13423 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 13424 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
| 13425 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
| 13426 | PRIVATE third_party/googletest/googletest/include |
| 13427 | PRIVATE third_party/googletest/googletest |
| 13428 | PRIVATE third_party/googletest/googlemock/include |
| 13429 | PRIVATE third_party/googletest/googlemock |
| 13430 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13431 | ) |
| 13432 | |
| 13433 | target_link_libraries(raw_end2end_test |
| 13434 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13435 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13436 | grpc++_test_util |
| 13437 | grpc_test_util |
| 13438 | grpc++ |
| 13439 | grpc |
| 13440 | gpr_test_util |
| 13441 | gpr |
| 13442 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13443 | ) |
| 13444 | |
| 13445 | endif (gRPC_BUILD_TESTS) |
| 13446 | if (gRPC_BUILD_TESTS) |
| 13447 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13448 | add_executable(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13449 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 13450 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 13451 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 13452 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 13453 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 13454 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 13455 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 13456 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 13457 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 13458 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 13459 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 13460 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13461 | test/cpp/interop/reconnect_interop_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13462 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13463 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13464 | ) |
| 13465 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13466 | protobuf_generate_grpc_cpp( |
| 13467 | src/proto/grpc/testing/empty.proto |
| 13468 | ) |
| 13469 | protobuf_generate_grpc_cpp( |
| 13470 | src/proto/grpc/testing/messages.proto |
| 13471 | ) |
| 13472 | protobuf_generate_grpc_cpp( |
| 13473 | src/proto/grpc/testing/test.proto |
| 13474 | ) |
| 13475 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13476 | target_include_directories(reconnect_interop_client |
| 13477 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13478 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13479 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13480 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13481 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13482 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13483 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13484 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13485 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13486 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13487 | PRIVATE third_party/googletest/googletest/include |
| 13488 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13489 | PRIVATE third_party/googletest/googlemock/include |
| 13490 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13491 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13492 | ) |
| 13493 | |
| 13494 | target_link_libraries(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13495 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13496 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13497 | grpc++_test_util |
| 13498 | grpc_test_util |
| 13499 | grpc++ |
| 13500 | grpc |
| 13501 | gpr_test_util |
| 13502 | gpr |
| 13503 | grpc++_test_config |
| 13504 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13505 | ) |
| 13506 | |
| 13507 | endif (gRPC_BUILD_TESTS) |
| 13508 | if (gRPC_BUILD_TESTS) |
| 13509 | |
| 13510 | add_executable(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13511 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 13512 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 13513 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 13514 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 13515 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 13516 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 13517 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 13518 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 13519 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 13520 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 13521 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 13522 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13523 | test/cpp/interop/reconnect_interop_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13524 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13525 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13526 | ) |
| 13527 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13528 | protobuf_generate_grpc_cpp( |
| 13529 | src/proto/grpc/testing/empty.proto |
| 13530 | ) |
| 13531 | protobuf_generate_grpc_cpp( |
| 13532 | src/proto/grpc/testing/messages.proto |
| 13533 | ) |
| 13534 | protobuf_generate_grpc_cpp( |
| 13535 | src/proto/grpc/testing/test.proto |
| 13536 | ) |
| 13537 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13538 | target_include_directories(reconnect_interop_server |
| 13539 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13540 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13541 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13542 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13543 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13544 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13545 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13546 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13547 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13548 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13549 | PRIVATE third_party/googletest/googletest/include |
| 13550 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13551 | PRIVATE third_party/googletest/googlemock/include |
| 13552 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13553 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13554 | ) |
| 13555 | |
| 13556 | target_link_libraries(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13557 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13558 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13559 | reconnect_server |
| 13560 | test_tcp_server |
| 13561 | grpc++_test_util |
| 13562 | grpc_test_util |
| 13563 | grpc++ |
| 13564 | grpc |
| 13565 | gpr_test_util |
| 13566 | gpr |
| 13567 | grpc++_test_config |
| 13568 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13569 | ) |
| 13570 | |
| 13571 | endif (gRPC_BUILD_TESTS) |
| 13572 | if (gRPC_BUILD_TESTS) |
| 13573 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 13574 | add_executable(ref_counted_ptr_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 13575 | test/core/gprpp/ref_counted_ptr_test.cc |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 13576 | third_party/googletest/googletest/src/gtest-all.cc |
| 13577 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13578 | ) |
| 13579 | |
| 13580 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 13581 | target_include_directories(ref_counted_ptr_test |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 13582 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13583 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13584 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13585 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13586 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13587 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13588 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13589 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13590 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13591 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 13592 | PRIVATE third_party/googletest/googletest/include |
| 13593 | PRIVATE third_party/googletest/googletest |
| 13594 | PRIVATE third_party/googletest/googlemock/include |
| 13595 | PRIVATE third_party/googletest/googlemock |
| 13596 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13597 | ) |
| 13598 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 13599 | target_link_libraries(ref_counted_ptr_test |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 13600 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13601 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13602 | grpc_test_util |
| 13603 | grpc++ |
| 13604 | grpc |
| 13605 | gpr_test_util |
| 13606 | gpr |
| 13607 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13608 | ) |
| 13609 | |
| 13610 | endif (gRPC_BUILD_TESTS) |
| 13611 | if (gRPC_BUILD_TESTS) |
| 13612 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 13613 | add_executable(ref_counted_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 13614 | test/core/gprpp/ref_counted_test.cc |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 13615 | third_party/googletest/googletest/src/gtest-all.cc |
| 13616 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13617 | ) |
| 13618 | |
| 13619 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 13620 | target_include_directories(ref_counted_test |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 13621 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13622 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13623 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13624 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13625 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13626 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13627 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13628 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13629 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13630 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 13631 | PRIVATE third_party/googletest/googletest/include |
| 13632 | PRIVATE third_party/googletest/googletest |
| 13633 | PRIVATE third_party/googletest/googlemock/include |
| 13634 | PRIVATE third_party/googletest/googlemock |
| 13635 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13636 | ) |
| 13637 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 13638 | target_link_libraries(ref_counted_test |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 13639 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13640 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13641 | grpc_test_util |
| 13642 | grpc++ |
| 13643 | grpc |
| 13644 | gpr_test_util |
| 13645 | gpr |
| 13646 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13647 | ) |
| 13648 | |
| 13649 | endif (gRPC_BUILD_TESTS) |
| 13650 | if (gRPC_BUILD_TESTS) |
| 13651 | |
Mark D. Roth | 9db86fc | 2018-03-28 07:42:20 -0700 | [diff] [blame] | 13652 | add_executable(retry_throttle_test |
| 13653 | test/core/client_channel/retry_throttle_test.cc |
| 13654 | third_party/googletest/googletest/src/gtest-all.cc |
| 13655 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13656 | ) |
| 13657 | |
| 13658 | |
| 13659 | target_include_directories(retry_throttle_test |
| 13660 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13661 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13662 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 13663 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13664 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13665 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13666 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13667 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 13668 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13669 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Mark D. Roth | 9db86fc | 2018-03-28 07:42:20 -0700 | [diff] [blame] | 13670 | PRIVATE third_party/googletest/googletest/include |
| 13671 | PRIVATE third_party/googletest/googletest |
| 13672 | PRIVATE third_party/googletest/googlemock/include |
| 13673 | PRIVATE third_party/googletest/googlemock |
| 13674 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13675 | ) |
| 13676 | |
| 13677 | target_link_libraries(retry_throttle_test |
| 13678 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13679 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13680 | grpc_test_util |
| 13681 | grpc |
| 13682 | gpr_test_util |
| 13683 | gpr |
| 13684 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13685 | ) |
| 13686 | |
| 13687 | endif (gRPC_BUILD_TESTS) |
| 13688 | if (gRPC_BUILD_TESTS) |
| 13689 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13690 | add_executable(secure_auth_context_test |
| 13691 | test/cpp/common/secure_auth_context_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13692 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13693 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13694 | ) |
| 13695 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13696 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13697 | target_include_directories(secure_auth_context_test |
| 13698 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13699 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13700 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13701 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13702 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13703 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13704 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13705 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13706 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13707 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13708 | PRIVATE third_party/googletest/googletest/include |
| 13709 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13710 | PRIVATE third_party/googletest/googlemock/include |
| 13711 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13712 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13713 | ) |
| 13714 | |
| 13715 | target_link_libraries(secure_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13716 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13717 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13718 | grpc++_test_util |
| 13719 | grpc_test_util |
| 13720 | grpc++ |
| 13721 | grpc |
| 13722 | gpr_test_util |
| 13723 | gpr |
| 13724 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13725 | ) |
| 13726 | |
| 13727 | endif (gRPC_BUILD_TESTS) |
| 13728 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13729 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13730 | |
| 13731 | add_executable(secure_sync_unary_ping_pong_test |
| 13732 | test/cpp/qps/secure_sync_unary_ping_pong_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13733 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13734 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13735 | ) |
| 13736 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13737 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13738 | target_include_directories(secure_sync_unary_ping_pong_test |
| 13739 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13740 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13741 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13742 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13743 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13744 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13745 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13746 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13747 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13748 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13749 | PRIVATE third_party/googletest/googletest/include |
| 13750 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13751 | PRIVATE third_party/googletest/googlemock/include |
| 13752 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13753 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13754 | ) |
| 13755 | |
| 13756 | target_link_libraries(secure_sync_unary_ping_pong_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13757 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13758 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13759 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 13760 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13761 | grpc++_test_util |
| 13762 | grpc_test_util |
| 13763 | grpc++ |
| 13764 | grpc |
| 13765 | gpr_test_util |
| 13766 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 13767 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13768 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13769 | ) |
| 13770 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13771 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13772 | endif (gRPC_BUILD_TESTS) |
| 13773 | if (gRPC_BUILD_TESTS) |
| 13774 | |
| 13775 | add_executable(server_builder_plugin_test |
| 13776 | test/cpp/end2end/server_builder_plugin_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13777 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13778 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13779 | ) |
| 13780 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13781 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13782 | target_include_directories(server_builder_plugin_test |
| 13783 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13784 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13785 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13786 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13787 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13788 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13789 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13790 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13791 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13792 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13793 | PRIVATE third_party/googletest/googletest/include |
| 13794 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13795 | PRIVATE third_party/googletest/googlemock/include |
| 13796 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13797 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13798 | ) |
| 13799 | |
| 13800 | target_link_libraries(server_builder_plugin_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13801 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13802 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13803 | grpc++_test_util |
| 13804 | grpc_test_util |
| 13805 | grpc++ |
| 13806 | grpc |
| 13807 | gpr_test_util |
| 13808 | gpr |
| 13809 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13810 | ) |
| 13811 | |
| 13812 | endif (gRPC_BUILD_TESTS) |
| 13813 | if (gRPC_BUILD_TESTS) |
| 13814 | |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 13815 | add_executable(server_builder_test |
| 13816 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 13817 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 13818 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 13819 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 13820 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 13821 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 13822 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 13823 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 13824 | test/cpp/server/server_builder_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13825 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13826 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 13827 | ) |
| 13828 | |
| 13829 | protobuf_generate_grpc_cpp( |
| 13830 | src/proto/grpc/testing/echo_messages.proto |
| 13831 | ) |
| 13832 | protobuf_generate_grpc_cpp( |
| 13833 | src/proto/grpc/testing/echo.proto |
| 13834 | ) |
| 13835 | |
| 13836 | target_include_directories(server_builder_test |
| 13837 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13838 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13839 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13840 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13841 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13842 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13843 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13844 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13845 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13846 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13847 | PRIVATE third_party/googletest/googletest/include |
| 13848 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13849 | PRIVATE third_party/googletest/googlemock/include |
| 13850 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 13851 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13852 | ) |
| 13853 | |
| 13854 | target_link_libraries(server_builder_test |
| 13855 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13856 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 13857 | grpc++_test_util_unsecure |
| 13858 | grpc_test_util_unsecure |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 13859 | gpr_test_util |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 13860 | grpc++_unsecure |
| 13861 | grpc_unsecure |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 13862 | gpr |
| 13863 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13864 | ) |
| 13865 | |
| 13866 | endif (gRPC_BUILD_TESTS) |
| 13867 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | ac8b72f | 2018-05-04 17:18:27 -0700 | [diff] [blame] | 13868 | if(_gRPC_PLATFORM_POSIX) |
| 13869 | |
| 13870 | add_executable(server_builder_with_socket_mutator_test |
| 13871 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 13872 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 13873 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 13874 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 13875 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 13876 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 13877 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 13878 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 13879 | test/cpp/server/server_builder_with_socket_mutator_test.cc |
| 13880 | third_party/googletest/googletest/src/gtest-all.cc |
| 13881 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13882 | ) |
| 13883 | |
| 13884 | protobuf_generate_grpc_cpp( |
| 13885 | src/proto/grpc/testing/echo_messages.proto |
| 13886 | ) |
| 13887 | protobuf_generate_grpc_cpp( |
| 13888 | src/proto/grpc/testing/echo.proto |
| 13889 | ) |
| 13890 | |
| 13891 | target_include_directories(server_builder_with_socket_mutator_test |
| 13892 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13893 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13894 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 13895 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13896 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13897 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13898 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13899 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 13900 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13901 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Alexander Polcyn | ac8b72f | 2018-05-04 17:18:27 -0700 | [diff] [blame] | 13902 | PRIVATE third_party/googletest/googletest/include |
| 13903 | PRIVATE third_party/googletest/googletest |
| 13904 | PRIVATE third_party/googletest/googlemock/include |
| 13905 | PRIVATE third_party/googletest/googlemock |
| 13906 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13907 | ) |
| 13908 | |
| 13909 | target_link_libraries(server_builder_with_socket_mutator_test |
| 13910 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13911 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13912 | grpc++_test_util_unsecure |
| 13913 | grpc_test_util_unsecure |
| 13914 | gpr_test_util |
| 13915 | grpc++_unsecure |
| 13916 | grpc_unsecure |
| 13917 | gpr |
| 13918 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13919 | ) |
| 13920 | |
| 13921 | endif() |
| 13922 | endif (gRPC_BUILD_TESTS) |
| 13923 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 13924 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13925 | add_executable(server_context_test_spouse_test |
| 13926 | test/cpp/test/server_context_test_spouse_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13927 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13928 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13929 | ) |
| 13930 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13931 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13932 | target_include_directories(server_context_test_spouse_test |
| 13933 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13934 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13935 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13936 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13937 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13938 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13939 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13940 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13941 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13942 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13943 | PRIVATE third_party/googletest/googletest/include |
| 13944 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13945 | PRIVATE third_party/googletest/googlemock/include |
| 13946 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13947 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13948 | ) |
| 13949 | |
| 13950 | target_link_libraries(server_context_test_spouse_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13951 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13952 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13953 | grpc_test_util |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13954 | grpc++ |
| 13955 | grpc |
| 13956 | gpr_test_util |
| 13957 | gpr |
| 13958 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13959 | ) |
| 13960 | |
| 13961 | endif (gRPC_BUILD_TESTS) |
| 13962 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13963 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13964 | |
| 13965 | add_executable(server_crash_test |
| 13966 | test/cpp/end2end/server_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13967 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13968 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13969 | ) |
| 13970 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13971 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13972 | target_include_directories(server_crash_test |
| 13973 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13974 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13975 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13976 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13977 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13978 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13979 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13980 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13981 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 13982 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13983 | PRIVATE third_party/googletest/googletest/include |
| 13984 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13985 | PRIVATE third_party/googletest/googlemock/include |
| 13986 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13987 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13988 | ) |
| 13989 | |
| 13990 | target_link_libraries(server_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13991 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13992 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13993 | grpc++_test_util |
| 13994 | grpc_test_util |
| 13995 | grpc++ |
| 13996 | grpc |
| 13997 | gpr_test_util |
| 13998 | gpr |
| 13999 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14000 | ) |
| 14001 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14002 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14003 | endif (gRPC_BUILD_TESTS) |
| 14004 | if (gRPC_BUILD_TESTS) |
| 14005 | |
| 14006 | add_executable(server_crash_test_client |
| 14007 | test/cpp/end2end/server_crash_test_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 14008 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 14009 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14010 | ) |
| 14011 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14012 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14013 | target_include_directories(server_crash_test_client |
| 14014 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14015 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14016 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14017 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14018 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14019 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14020 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14021 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14022 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14023 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 14024 | PRIVATE third_party/googletest/googletest/include |
| 14025 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 14026 | PRIVATE third_party/googletest/googlemock/include |
| 14027 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14028 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14029 | ) |
| 14030 | |
| 14031 | target_link_libraries(server_crash_test_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14032 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14033 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14034 | grpc++_test_util |
| 14035 | grpc_test_util |
| 14036 | grpc++ |
| 14037 | grpc |
| 14038 | gpr_test_util |
| 14039 | gpr |
| 14040 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14041 | ) |
| 14042 | |
| 14043 | endif (gRPC_BUILD_TESTS) |
| 14044 | if (gRPC_BUILD_TESTS) |
| 14045 | |
yang-g | 98cd36e | 2018-01-18 15:34:01 -0800 | [diff] [blame] | 14046 | add_executable(server_early_return_test |
| 14047 | test/cpp/end2end/server_early_return_test.cc |
| 14048 | third_party/googletest/googletest/src/gtest-all.cc |
| 14049 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14050 | ) |
| 14051 | |
| 14052 | |
| 14053 | target_include_directories(server_early_return_test |
| 14054 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14055 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14056 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 14057 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14058 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14059 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14060 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14061 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14062 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14063 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
yang-g | 98cd36e | 2018-01-18 15:34:01 -0800 | [diff] [blame] | 14064 | PRIVATE third_party/googletest/googletest/include |
| 14065 | PRIVATE third_party/googletest/googletest |
| 14066 | PRIVATE third_party/googletest/googlemock/include |
| 14067 | PRIVATE third_party/googletest/googlemock |
| 14068 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14069 | ) |
| 14070 | |
| 14071 | target_link_libraries(server_early_return_test |
| 14072 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14073 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14074 | grpc++_test_util |
| 14075 | grpc_test_util |
| 14076 | grpc++ |
| 14077 | grpc |
| 14078 | gpr_test_util |
| 14079 | gpr |
| 14080 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14081 | ) |
| 14082 | |
| 14083 | endif (gRPC_BUILD_TESTS) |
| 14084 | if (gRPC_BUILD_TESTS) |
| 14085 | |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 14086 | add_executable(server_request_call_test |
| 14087 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 14088 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 14089 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 14090 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 14091 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 14092 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 14093 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 14094 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 14095 | test/cpp/server/server_request_call_test.cc |
| 14096 | third_party/googletest/googletest/src/gtest-all.cc |
| 14097 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14098 | ) |
| 14099 | |
| 14100 | protobuf_generate_grpc_cpp( |
| 14101 | src/proto/grpc/testing/echo_messages.proto |
| 14102 | ) |
| 14103 | protobuf_generate_grpc_cpp( |
| 14104 | src/proto/grpc/testing/echo.proto |
| 14105 | ) |
| 14106 | |
| 14107 | target_include_directories(server_request_call_test |
| 14108 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14109 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14110 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14111 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14112 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14113 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14114 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14115 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14116 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14117 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 14118 | PRIVATE third_party/googletest/googletest/include |
| 14119 | PRIVATE third_party/googletest/googletest |
| 14120 | PRIVATE third_party/googletest/googlemock/include |
| 14121 | PRIVATE third_party/googletest/googlemock |
| 14122 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14123 | ) |
| 14124 | |
| 14125 | target_link_libraries(server_request_call_test |
| 14126 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14127 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 14128 | grpc++_test_util_unsecure |
| 14129 | grpc_test_util_unsecure |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 14130 | gpr_test_util |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 14131 | grpc++_unsecure |
| 14132 | grpc_unsecure |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 14133 | gpr |
| 14134 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14135 | ) |
| 14136 | |
| 14137 | endif (gRPC_BUILD_TESTS) |
| 14138 | if (gRPC_BUILD_TESTS) |
| 14139 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14140 | add_executable(shutdown_test |
| 14141 | test/cpp/end2end/shutdown_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 14142 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 14143 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14144 | ) |
| 14145 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14146 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14147 | target_include_directories(shutdown_test |
| 14148 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14149 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14150 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14151 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14152 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14153 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14154 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14155 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14156 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14157 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 14158 | PRIVATE third_party/googletest/googletest/include |
| 14159 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 14160 | PRIVATE third_party/googletest/googlemock/include |
| 14161 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14162 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14163 | ) |
| 14164 | |
| 14165 | target_link_libraries(shutdown_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14166 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14167 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14168 | grpc++_test_util |
| 14169 | grpc_test_util |
| 14170 | grpc++ |
| 14171 | grpc |
| 14172 | gpr_test_util |
| 14173 | gpr |
| 14174 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14175 | ) |
| 14176 | |
| 14177 | endif (gRPC_BUILD_TESTS) |
| 14178 | if (gRPC_BUILD_TESTS) |
| 14179 | |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 14180 | add_executable(slice_hash_table_test |
| 14181 | test/core/slice/slice_hash_table_test.cc |
| 14182 | third_party/googletest/googletest/src/gtest-all.cc |
| 14183 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14184 | ) |
| 14185 | |
| 14186 | |
| 14187 | target_include_directories(slice_hash_table_test |
| 14188 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14189 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14190 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 14191 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14192 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14193 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14194 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14195 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14196 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14197 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 14198 | PRIVATE third_party/googletest/googletest/include |
| 14199 | PRIVATE third_party/googletest/googletest |
| 14200 | PRIVATE third_party/googletest/googlemock/include |
| 14201 | PRIVATE third_party/googletest/googlemock |
| 14202 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14203 | ) |
| 14204 | |
| 14205 | target_link_libraries(slice_hash_table_test |
| 14206 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14207 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14208 | grpc_test_util |
| 14209 | grpc |
| 14210 | gpr_test_util |
| 14211 | gpr |
| 14212 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14213 | ) |
| 14214 | |
| 14215 | endif (gRPC_BUILD_TESTS) |
| 14216 | if (gRPC_BUILD_TESTS) |
| 14217 | |
David Garcia Quintas | 396d49d | 2018-02-28 16:06:30 -0800 | [diff] [blame] | 14218 | add_executable(slice_weak_hash_table_test |
| 14219 | test/core/slice/slice_weak_hash_table_test.cc |
| 14220 | third_party/googletest/googletest/src/gtest-all.cc |
| 14221 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14222 | ) |
| 14223 | |
| 14224 | |
| 14225 | target_include_directories(slice_weak_hash_table_test |
| 14226 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14227 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14228 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 14229 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14230 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14231 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14232 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14233 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14234 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14235 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
David Garcia Quintas | 396d49d | 2018-02-28 16:06:30 -0800 | [diff] [blame] | 14236 | PRIVATE third_party/googletest/googletest/include |
| 14237 | PRIVATE third_party/googletest/googletest |
| 14238 | PRIVATE third_party/googletest/googlemock/include |
| 14239 | PRIVATE third_party/googletest/googlemock |
| 14240 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14241 | ) |
| 14242 | |
| 14243 | target_link_libraries(slice_weak_hash_table_test |
| 14244 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14245 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14246 | grpc_test_util |
| 14247 | grpc |
| 14248 | gpr_test_util |
| 14249 | gpr |
| 14250 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14251 | ) |
| 14252 | |
| 14253 | endif (gRPC_BUILD_TESTS) |
| 14254 | if (gRPC_BUILD_TESTS) |
| 14255 | |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 14256 | add_executable(stats_test |
| 14257 | test/core/debug/stats_test.cc |
| 14258 | third_party/googletest/googletest/src/gtest-all.cc |
| 14259 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14260 | ) |
| 14261 | |
| 14262 | |
| 14263 | target_include_directories(stats_test |
| 14264 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14265 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14266 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14267 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14268 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14269 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14270 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14271 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14272 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14273 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 14274 | PRIVATE third_party/googletest/googletest/include |
| 14275 | PRIVATE third_party/googletest/googletest |
| 14276 | PRIVATE third_party/googletest/googlemock/include |
| 14277 | PRIVATE third_party/googletest/googlemock |
| 14278 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14279 | ) |
| 14280 | |
| 14281 | target_link_libraries(stats_test |
| 14282 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14283 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14284 | grpc++_test_util |
| 14285 | grpc_test_util |
| 14286 | grpc |
| 14287 | gpr_test_util |
| 14288 | gpr |
| 14289 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14290 | ) |
| 14291 | |
| 14292 | endif (gRPC_BUILD_TESTS) |
| 14293 | if (gRPC_BUILD_TESTS) |
| 14294 | |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 14295 | add_executable(status_metadata_test |
| 14296 | test/core/transport/status_metadata_test.cc |
| 14297 | third_party/googletest/googletest/src/gtest-all.cc |
| 14298 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14299 | ) |
| 14300 | |
| 14301 | |
| 14302 | target_include_directories(status_metadata_test |
| 14303 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14304 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14305 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 14306 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14307 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14308 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14309 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14310 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14311 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14312 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 14313 | PRIVATE third_party/googletest/googletest/include |
| 14314 | PRIVATE third_party/googletest/googletest |
| 14315 | PRIVATE third_party/googletest/googlemock/include |
| 14316 | PRIVATE third_party/googletest/googlemock |
| 14317 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14318 | ) |
| 14319 | |
| 14320 | target_link_libraries(status_metadata_test |
| 14321 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14322 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14323 | grpc |
| 14324 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14325 | ) |
| 14326 | |
| 14327 | endif (gRPC_BUILD_TESTS) |
| 14328 | if (gRPC_BUILD_TESTS) |
| 14329 | |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 14330 | add_executable(status_util_test |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 14331 | test/core/channel/status_util_test.cc |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 14332 | third_party/googletest/googletest/src/gtest-all.cc |
| 14333 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14334 | ) |
| 14335 | |
| 14336 | |
| 14337 | target_include_directories(status_util_test |
| 14338 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14339 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14340 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 14341 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14342 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14343 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14344 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14345 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14346 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14347 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 14348 | PRIVATE third_party/googletest/googletest/include |
| 14349 | PRIVATE third_party/googletest/googletest |
| 14350 | PRIVATE third_party/googletest/googlemock/include |
| 14351 | PRIVATE third_party/googletest/googlemock |
| 14352 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14353 | ) |
| 14354 | |
| 14355 | target_link_libraries(status_util_test |
| 14356 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14357 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14358 | grpc |
| 14359 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14360 | ) |
| 14361 | |
| 14362 | endif (gRPC_BUILD_TESTS) |
| 14363 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14364 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14365 | |
| 14366 | add_executable(streaming_throughput_test |
| 14367 | test/cpp/end2end/streaming_throughput_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 14368 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 14369 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14370 | ) |
| 14371 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14372 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14373 | target_include_directories(streaming_throughput_test |
| 14374 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14375 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14376 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14377 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14378 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14379 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14380 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14381 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14382 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14383 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 14384 | PRIVATE third_party/googletest/googletest/include |
| 14385 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 14386 | PRIVATE third_party/googletest/googlemock/include |
| 14387 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14388 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14389 | ) |
| 14390 | |
| 14391 | target_link_libraries(streaming_throughput_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14392 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14393 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14394 | grpc++_test_util |
| 14395 | grpc_test_util |
| 14396 | grpc++ |
| 14397 | grpc |
| 14398 | gpr_test_util |
| 14399 | gpr |
| 14400 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14401 | ) |
| 14402 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14403 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14404 | endif (gRPC_BUILD_TESTS) |
| 14405 | if (gRPC_BUILD_TESTS) |
| 14406 | |
| 14407 | add_executable(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14408 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 14409 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 14410 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 14411 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 14412 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 14413 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 14414 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 14415 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 14416 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 14417 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 14418 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 14419 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
| 14420 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 14421 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 14422 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 14423 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14424 | test/cpp/interop/interop_client.cc |
| 14425 | test/cpp/interop/stress_interop_client.cc |
| 14426 | test/cpp/interop/stress_test.cc |
| 14427 | test/cpp/util/metrics_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 14428 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 14429 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14430 | ) |
| 14431 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14432 | protobuf_generate_grpc_cpp( |
| 14433 | src/proto/grpc/testing/empty.proto |
| 14434 | ) |
| 14435 | protobuf_generate_grpc_cpp( |
| 14436 | src/proto/grpc/testing/messages.proto |
| 14437 | ) |
| 14438 | protobuf_generate_grpc_cpp( |
| 14439 | src/proto/grpc/testing/metrics.proto |
| 14440 | ) |
| 14441 | protobuf_generate_grpc_cpp( |
| 14442 | src/proto/grpc/testing/test.proto |
| 14443 | ) |
| 14444 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14445 | target_include_directories(stress_test |
| 14446 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14447 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14448 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14449 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14450 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14451 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14452 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14453 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14454 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14455 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 14456 | PRIVATE third_party/googletest/googletest/include |
| 14457 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 14458 | PRIVATE third_party/googletest/googlemock/include |
| 14459 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14460 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14461 | ) |
| 14462 | |
| 14463 | target_link_libraries(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14464 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14465 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14466 | grpc++_test_util |
| 14467 | grpc_test_util |
| 14468 | grpc++ |
| 14469 | grpc |
| 14470 | gpr_test_util |
| 14471 | gpr |
| 14472 | grpc++_test_config |
| 14473 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14474 | ) |
| 14475 | |
| 14476 | endif (gRPC_BUILD_TESTS) |
| 14477 | if (gRPC_BUILD_TESTS) |
| 14478 | |
| 14479 | add_executable(thread_manager_test |
| 14480 | test/cpp/thread_manager/thread_manager_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 14481 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 14482 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14483 | ) |
| 14484 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14485 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14486 | target_include_directories(thread_manager_test |
| 14487 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14488 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14489 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14490 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14491 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14492 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14493 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14494 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14495 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14496 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 14497 | PRIVATE third_party/googletest/googletest/include |
| 14498 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 14499 | PRIVATE third_party/googletest/googlemock/include |
| 14500 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14501 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14502 | ) |
| 14503 | |
| 14504 | target_link_libraries(thread_manager_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14505 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14506 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 14507 | grpc++_unsecure |
| 14508 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14509 | gpr |
| 14510 | grpc++_test_config |
| 14511 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14512 | ) |
| 14513 | |
| 14514 | endif (gRPC_BUILD_TESTS) |
| 14515 | if (gRPC_BUILD_TESTS) |
| 14516 | |
| 14517 | add_executable(thread_stress_test |
| 14518 | test/cpp/end2end/thread_stress_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 14519 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 14520 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14521 | ) |
| 14522 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14523 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14524 | target_include_directories(thread_stress_test |
| 14525 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14526 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14527 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14528 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14529 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14530 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14531 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14532 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14533 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14534 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 14535 | PRIVATE third_party/googletest/googletest/include |
| 14536 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 14537 | PRIVATE third_party/googletest/googlemock/include |
| 14538 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14539 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14540 | ) |
| 14541 | |
| 14542 | target_link_libraries(thread_stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14543 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14544 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 14545 | grpc++_test_util_unsecure |
| 14546 | grpc_test_util_unsecure |
| 14547 | grpc++_unsecure |
| 14548 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14549 | gpr_test_util |
| 14550 | gpr |
| 14551 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14552 | ) |
| 14553 | |
| 14554 | endif (gRPC_BUILD_TESTS) |
| 14555 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 14556 | |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 14557 | add_executable(transport_pid_controller_test |
| 14558 | test/core/transport/pid_controller_test.cc |
| 14559 | third_party/googletest/googletest/src/gtest-all.cc |
| 14560 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14561 | ) |
| 14562 | |
| 14563 | |
| 14564 | target_include_directories(transport_pid_controller_test |
| 14565 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14566 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14567 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14568 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14569 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14570 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14571 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14572 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14573 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14574 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 14575 | PRIVATE third_party/googletest/googletest/include |
| 14576 | PRIVATE third_party/googletest/googletest |
| 14577 | PRIVATE third_party/googletest/googlemock/include |
| 14578 | PRIVATE third_party/googletest/googlemock |
| 14579 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14580 | ) |
| 14581 | |
| 14582 | target_link_libraries(transport_pid_controller_test |
| 14583 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14584 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14585 | grpc++_test_util |
| 14586 | grpc++ |
| 14587 | grpc_test_util |
| 14588 | grpc |
| 14589 | gpr_test_util |
| 14590 | gpr |
| 14591 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14592 | ) |
| 14593 | |
| 14594 | endif (gRPC_BUILD_TESTS) |
| 14595 | if (gRPC_BUILD_TESTS) |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 14596 | |
| 14597 | add_executable(transport_security_common_api_test |
| 14598 | test/core/tsi/alts/handshaker/transport_security_common_api_test.cc |
| 14599 | third_party/googletest/googletest/src/gtest-all.cc |
| 14600 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14601 | ) |
| 14602 | |
| 14603 | |
| 14604 | target_include_directories(transport_security_common_api_test |
| 14605 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14606 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14607 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 14608 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14609 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14610 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14611 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14612 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14613 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14614 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 14615 | PRIVATE third_party/googletest/googletest/include |
| 14616 | PRIVATE third_party/googletest/googletest |
| 14617 | PRIVATE third_party/googletest/googlemock/include |
| 14618 | PRIVATE third_party/googletest/googlemock |
| 14619 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14620 | ) |
| 14621 | |
| 14622 | target_link_libraries(transport_security_common_api_test |
| 14623 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14624 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14625 | alts_test_util |
| 14626 | gpr |
| 14627 | grpc |
| 14628 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14629 | ) |
| 14630 | |
| 14631 | endif (gRPC_BUILD_TESTS) |
| 14632 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 14633 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14634 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 14635 | add_executable(writes_per_rpc_test |
| 14636 | test/cpp/performance/writes_per_rpc_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 14637 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 14638 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 14639 | ) |
| 14640 | |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 14641 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 14642 | target_include_directories(writes_per_rpc_test |
| 14643 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14644 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14645 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14646 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14647 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14648 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14649 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14650 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14651 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14652 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 14653 | PRIVATE third_party/googletest/googletest/include |
| 14654 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 14655 | PRIVATE third_party/googletest/googlemock/include |
| 14656 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 14657 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 14658 | ) |
| 14659 | |
| 14660 | target_link_libraries(writes_per_rpc_test |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 14661 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14662 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 14663 | grpc++_test_util |
| 14664 | grpc_test_util |
| 14665 | grpc++ |
| 14666 | grpc |
| 14667 | gpr_test_util |
| 14668 | gpr |
| 14669 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14670 | ) |
| 14671 | |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 14672 | endif() |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 14673 | endif (gRPC_BUILD_TESTS) |
| 14674 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14675 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14676 | add_executable(public_headers_must_be_c89 |
| 14677 | test/core/surface/public_headers_must_be_c89.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14678 | ) |
| 14679 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14680 | |
| 14681 | target_include_directories(public_headers_must_be_c89 |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14682 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14683 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14684 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14685 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14686 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14687 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14688 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14689 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14690 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14691 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14692 | ) |
| 14693 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14694 | target_link_libraries(public_headers_must_be_c89 |
| 14695 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14696 | grpc |
| 14697 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14698 | ) |
| 14699 | |
| 14700 | endif (gRPC_BUILD_TESTS) |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 14701 | |
| 14702 | add_executable(gen_hpack_tables |
| 14703 | tools/codegen/core/gen_hpack_tables.cc |
| 14704 | ) |
| 14705 | |
| 14706 | |
| 14707 | target_include_directories(gen_hpack_tables |
| 14708 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14709 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14710 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14711 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14712 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14713 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14714 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14715 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14716 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14717 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 14718 | ) |
| 14719 | |
| 14720 | target_link_libraries(gen_hpack_tables |
| 14721 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14722 | gpr |
| 14723 | grpc |
| 14724 | ) |
| 14725 | |
| 14726 | |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 14727 | add_executable(gen_legal_metadata_characters |
| 14728 | tools/codegen/core/gen_legal_metadata_characters.cc |
| 14729 | ) |
| 14730 | |
| 14731 | |
| 14732 | target_include_directories(gen_legal_metadata_characters |
| 14733 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14734 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14735 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14736 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14737 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14738 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14739 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14740 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14741 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14742 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 14743 | ) |
| 14744 | |
| 14745 | target_link_libraries(gen_legal_metadata_characters |
| 14746 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14747 | ) |
| 14748 | |
| 14749 | |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 14750 | add_executable(gen_percent_encoding_tables |
| 14751 | tools/codegen/core/gen_percent_encoding_tables.cc |
| 14752 | ) |
| 14753 | |
| 14754 | |
| 14755 | target_include_directories(gen_percent_encoding_tables |
| 14756 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14757 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14758 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14759 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14760 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14761 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14762 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14763 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14764 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14765 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 14766 | ) |
| 14767 | |
| 14768 | target_link_libraries(gen_percent_encoding_tables |
| 14769 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14770 | ) |
| 14771 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14772 | if (gRPC_BUILD_TESTS) |
| 14773 | |
| 14774 | add_executable(badreq_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14775 | test/core/bad_client/tests/badreq.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14776 | ) |
| 14777 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14778 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14779 | target_include_directories(badreq_bad_client_test |
| 14780 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14781 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14782 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14783 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14784 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14785 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14786 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14787 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14788 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14789 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14790 | ) |
| 14791 | |
| 14792 | target_link_libraries(badreq_bad_client_test |
| 14793 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14794 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14795 | bad_client_test |
| 14796 | grpc_test_util_unsecure |
| 14797 | grpc_unsecure |
| 14798 | gpr_test_util |
| 14799 | gpr |
| 14800 | ) |
| 14801 | |
| 14802 | endif (gRPC_BUILD_TESTS) |
| 14803 | if (gRPC_BUILD_TESTS) |
| 14804 | |
| 14805 | add_executable(connection_prefix_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14806 | test/core/bad_client/tests/connection_prefix.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14807 | ) |
| 14808 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14809 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14810 | target_include_directories(connection_prefix_bad_client_test |
| 14811 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14812 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14813 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14814 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14815 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14816 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14817 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14818 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14819 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14820 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14821 | ) |
| 14822 | |
| 14823 | target_link_libraries(connection_prefix_bad_client_test |
| 14824 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14825 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14826 | bad_client_test |
| 14827 | grpc_test_util_unsecure |
| 14828 | grpc_unsecure |
| 14829 | gpr_test_util |
| 14830 | gpr |
| 14831 | ) |
| 14832 | |
| 14833 | endif (gRPC_BUILD_TESTS) |
| 14834 | if (gRPC_BUILD_TESTS) |
| 14835 | |
Ken Payson | 1dc0833 | 2018-01-25 16:52:51 -0800 | [diff] [blame] | 14836 | add_executable(duplicate_header_bad_client_test |
| 14837 | test/core/bad_client/tests/duplicate_header.cc |
| 14838 | ) |
| 14839 | |
| 14840 | |
| 14841 | target_include_directories(duplicate_header_bad_client_test |
| 14842 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14843 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14844 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 14845 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14846 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14847 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14848 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14849 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14850 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14851 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Ken Payson | 1dc0833 | 2018-01-25 16:52:51 -0800 | [diff] [blame] | 14852 | ) |
| 14853 | |
| 14854 | target_link_libraries(duplicate_header_bad_client_test |
| 14855 | ${_gRPC_SSL_LIBRARIES} |
| 14856 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14857 | bad_client_test |
| 14858 | grpc_test_util_unsecure |
| 14859 | grpc_unsecure |
| 14860 | gpr_test_util |
| 14861 | gpr |
| 14862 | ) |
| 14863 | |
| 14864 | endif (gRPC_BUILD_TESTS) |
| 14865 | if (gRPC_BUILD_TESTS) |
| 14866 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14867 | add_executable(head_of_line_blocking_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14868 | test/core/bad_client/tests/head_of_line_blocking.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14869 | ) |
| 14870 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14871 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14872 | target_include_directories(head_of_line_blocking_bad_client_test |
| 14873 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14874 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14875 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14876 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14877 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14878 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14879 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14880 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14881 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14882 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14883 | ) |
| 14884 | |
| 14885 | target_link_libraries(head_of_line_blocking_bad_client_test |
| 14886 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14887 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14888 | bad_client_test |
| 14889 | grpc_test_util_unsecure |
| 14890 | grpc_unsecure |
| 14891 | gpr_test_util |
| 14892 | gpr |
| 14893 | ) |
| 14894 | |
| 14895 | endif (gRPC_BUILD_TESTS) |
| 14896 | if (gRPC_BUILD_TESTS) |
| 14897 | |
| 14898 | add_executable(headers_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14899 | test/core/bad_client/tests/headers.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14900 | ) |
| 14901 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14902 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14903 | target_include_directories(headers_bad_client_test |
| 14904 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14905 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14906 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14907 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14908 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14909 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14910 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14911 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14912 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14913 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14914 | ) |
| 14915 | |
| 14916 | target_link_libraries(headers_bad_client_test |
| 14917 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14918 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14919 | bad_client_test |
| 14920 | grpc_test_util_unsecure |
| 14921 | grpc_unsecure |
| 14922 | gpr_test_util |
| 14923 | gpr |
| 14924 | ) |
| 14925 | |
| 14926 | endif (gRPC_BUILD_TESTS) |
| 14927 | if (gRPC_BUILD_TESTS) |
| 14928 | |
| 14929 | add_executable(initial_settings_frame_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14930 | test/core/bad_client/tests/initial_settings_frame.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14931 | ) |
| 14932 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14933 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14934 | target_include_directories(initial_settings_frame_bad_client_test |
| 14935 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14936 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14937 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14938 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14939 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14940 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14941 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14942 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14943 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14944 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14945 | ) |
| 14946 | |
| 14947 | target_link_libraries(initial_settings_frame_bad_client_test |
| 14948 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14949 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14950 | bad_client_test |
| 14951 | grpc_test_util_unsecure |
| 14952 | grpc_unsecure |
| 14953 | gpr_test_util |
| 14954 | gpr |
| 14955 | ) |
| 14956 | |
| 14957 | endif (gRPC_BUILD_TESTS) |
| 14958 | if (gRPC_BUILD_TESTS) |
| 14959 | |
Yash Tibrewal | 1791df0 | 2018-01-19 18:23:20 -0800 | [diff] [blame] | 14960 | add_executable(large_metadata_bad_client_test |
| 14961 | test/core/bad_client/tests/large_metadata.cc |
| 14962 | ) |
| 14963 | |
| 14964 | |
| 14965 | target_include_directories(large_metadata_bad_client_test |
| 14966 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14967 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14968 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Yash Tibrewal | ea318b6 | 2018-01-24 10:59:26 -0800 | [diff] [blame] | 14969 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14970 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14971 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14972 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14973 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14974 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 14975 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yash Tibrewal | 1791df0 | 2018-01-19 18:23:20 -0800 | [diff] [blame] | 14976 | ) |
| 14977 | |
| 14978 | target_link_libraries(large_metadata_bad_client_test |
| 14979 | ${_gRPC_SSL_LIBRARIES} |
| 14980 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14981 | bad_client_test |
| 14982 | grpc_test_util_unsecure |
| 14983 | grpc_unsecure |
| 14984 | gpr_test_util |
| 14985 | gpr |
| 14986 | ) |
| 14987 | |
| 14988 | endif (gRPC_BUILD_TESTS) |
| 14989 | if (gRPC_BUILD_TESTS) |
| 14990 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14991 | add_executable(server_registered_method_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14992 | test/core/bad_client/tests/server_registered_method.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14993 | ) |
| 14994 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14995 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14996 | target_include_directories(server_registered_method_bad_client_test |
| 14997 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14998 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14999 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15000 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15001 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15002 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15003 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15004 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15005 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15006 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15007 | ) |
| 15008 | |
| 15009 | target_link_libraries(server_registered_method_bad_client_test |
| 15010 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15011 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15012 | bad_client_test |
| 15013 | grpc_test_util_unsecure |
| 15014 | grpc_unsecure |
| 15015 | gpr_test_util |
| 15016 | gpr |
| 15017 | ) |
| 15018 | |
| 15019 | endif (gRPC_BUILD_TESTS) |
| 15020 | if (gRPC_BUILD_TESTS) |
| 15021 | |
| 15022 | add_executable(simple_request_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15023 | test/core/bad_client/tests/simple_request.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15024 | ) |
| 15025 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15026 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15027 | target_include_directories(simple_request_bad_client_test |
| 15028 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15029 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15030 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15031 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15032 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15033 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15034 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15035 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15036 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15037 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15038 | ) |
| 15039 | |
| 15040 | target_link_libraries(simple_request_bad_client_test |
| 15041 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15042 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15043 | bad_client_test |
| 15044 | grpc_test_util_unsecure |
| 15045 | grpc_unsecure |
| 15046 | gpr_test_util |
| 15047 | gpr |
| 15048 | ) |
| 15049 | |
| 15050 | endif (gRPC_BUILD_TESTS) |
| 15051 | if (gRPC_BUILD_TESTS) |
| 15052 | |
| 15053 | add_executable(unknown_frame_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15054 | test/core/bad_client/tests/unknown_frame.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15055 | ) |
| 15056 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15057 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15058 | target_include_directories(unknown_frame_bad_client_test |
| 15059 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15060 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15061 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15062 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15063 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15064 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15065 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15066 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15067 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15068 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15069 | ) |
| 15070 | |
| 15071 | target_link_libraries(unknown_frame_bad_client_test |
| 15072 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15073 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15074 | bad_client_test |
| 15075 | grpc_test_util_unsecure |
| 15076 | grpc_unsecure |
| 15077 | gpr_test_util |
| 15078 | gpr |
| 15079 | ) |
| 15080 | |
| 15081 | endif (gRPC_BUILD_TESTS) |
| 15082 | if (gRPC_BUILD_TESTS) |
| 15083 | |
| 15084 | add_executable(window_overflow_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15085 | test/core/bad_client/tests/window_overflow.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15086 | ) |
| 15087 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15088 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15089 | target_include_directories(window_overflow_bad_client_test |
| 15090 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15091 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15092 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15093 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15094 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15095 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15096 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15097 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15098 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15099 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15100 | ) |
| 15101 | |
| 15102 | target_link_libraries(window_overflow_bad_client_test |
| 15103 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15104 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15105 | bad_client_test |
| 15106 | grpc_test_util_unsecure |
| 15107 | grpc_unsecure |
| 15108 | gpr_test_util |
| 15109 | gpr |
| 15110 | ) |
| 15111 | |
| 15112 | endif (gRPC_BUILD_TESTS) |
| 15113 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15114 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15115 | |
| 15116 | add_executable(bad_ssl_cert_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15117 | test/core/bad_ssl/servers/cert.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15118 | ) |
| 15119 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15120 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15121 | target_include_directories(bad_ssl_cert_server |
| 15122 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15123 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15124 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15125 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15126 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15127 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15128 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15129 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15130 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15131 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15132 | ) |
| 15133 | |
| 15134 | target_link_libraries(bad_ssl_cert_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15135 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15136 | bad_ssl_test_server |
| 15137 | grpc_test_util |
| 15138 | grpc |
| 15139 | gpr_test_util |
| 15140 | gpr |
| 15141 | ) |
| 15142 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15143 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15144 | endif (gRPC_BUILD_TESTS) |
| 15145 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15146 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15147 | |
| 15148 | add_executable(bad_ssl_cert_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15149 | test/core/bad_ssl/bad_ssl_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15150 | ) |
| 15151 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15152 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15153 | target_include_directories(bad_ssl_cert_test |
| 15154 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15155 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15156 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15157 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15158 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15159 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15160 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15161 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15162 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15163 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15164 | ) |
| 15165 | |
| 15166 | target_link_libraries(bad_ssl_cert_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15167 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15168 | grpc_test_util |
| 15169 | grpc |
| 15170 | gpr_test_util |
| 15171 | gpr |
| 15172 | ) |
| 15173 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15174 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15175 | endif (gRPC_BUILD_TESTS) |
| 15176 | if (gRPC_BUILD_TESTS) |
| 15177 | |
| 15178 | add_executable(h2_census_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15179 | test/core/end2end/fixtures/h2_census.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15180 | ) |
| 15181 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15182 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15183 | target_include_directories(h2_census_test |
| 15184 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15185 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15186 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15187 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15188 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15189 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15190 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15191 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15192 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15193 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15194 | ) |
| 15195 | |
| 15196 | target_link_libraries(h2_census_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15197 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15198 | end2end_tests |
| 15199 | grpc_test_util |
| 15200 | grpc |
| 15201 | gpr_test_util |
| 15202 | gpr |
| 15203 | ) |
| 15204 | |
| 15205 | endif (gRPC_BUILD_TESTS) |
| 15206 | if (gRPC_BUILD_TESTS) |
| 15207 | |
| 15208 | add_executable(h2_compress_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15209 | test/core/end2end/fixtures/h2_compress.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15210 | ) |
| 15211 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15212 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15213 | target_include_directories(h2_compress_test |
| 15214 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15215 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15216 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15217 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15218 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15219 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15220 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15221 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15222 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15223 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15224 | ) |
| 15225 | |
| 15226 | target_link_libraries(h2_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15227 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15228 | end2end_tests |
| 15229 | grpc_test_util |
| 15230 | grpc |
| 15231 | gpr_test_util |
| 15232 | gpr |
| 15233 | ) |
| 15234 | |
| 15235 | endif (gRPC_BUILD_TESTS) |
| 15236 | if (gRPC_BUILD_TESTS) |
| 15237 | |
| 15238 | add_executable(h2_fakesec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15239 | test/core/end2end/fixtures/h2_fakesec.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15240 | ) |
| 15241 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15242 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15243 | target_include_directories(h2_fakesec_test |
| 15244 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15245 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15246 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15247 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15248 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15249 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15250 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15251 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15252 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15253 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15254 | ) |
| 15255 | |
| 15256 | target_link_libraries(h2_fakesec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15257 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15258 | end2end_tests |
| 15259 | grpc_test_util |
| 15260 | grpc |
| 15261 | gpr_test_util |
| 15262 | gpr |
| 15263 | ) |
| 15264 | |
| 15265 | endif (gRPC_BUILD_TESTS) |
| 15266 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15267 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15268 | |
| 15269 | add_executable(h2_fd_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15270 | test/core/end2end/fixtures/h2_fd.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15271 | ) |
| 15272 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15273 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15274 | target_include_directories(h2_fd_test |
| 15275 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15276 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15277 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15278 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15279 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15280 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15281 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15282 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15283 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15284 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15285 | ) |
| 15286 | |
| 15287 | target_link_libraries(h2_fd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15288 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15289 | end2end_tests |
| 15290 | grpc_test_util |
| 15291 | grpc |
| 15292 | gpr_test_util |
| 15293 | gpr |
| 15294 | ) |
| 15295 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15296 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15297 | endif (gRPC_BUILD_TESTS) |
| 15298 | if (gRPC_BUILD_TESTS) |
| 15299 | |
| 15300 | add_executable(h2_full_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15301 | test/core/end2end/fixtures/h2_full.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15302 | ) |
| 15303 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15304 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15305 | target_include_directories(h2_full_test |
| 15306 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15307 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15308 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15309 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15310 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15311 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15312 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15313 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15314 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15315 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15316 | ) |
| 15317 | |
| 15318 | target_link_libraries(h2_full_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15319 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15320 | end2end_tests |
| 15321 | grpc_test_util |
| 15322 | grpc |
| 15323 | gpr_test_util |
| 15324 | gpr |
| 15325 | ) |
| 15326 | |
| 15327 | endif (gRPC_BUILD_TESTS) |
| 15328 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15329 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15330 | |
| 15331 | add_executable(h2_full+pipe_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15332 | test/core/end2end/fixtures/h2_full+pipe.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15333 | ) |
| 15334 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15335 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15336 | target_include_directories(h2_full+pipe_test |
| 15337 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15338 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15339 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15340 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15341 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15342 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15343 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15344 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15345 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15346 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15347 | ) |
| 15348 | |
| 15349 | target_link_libraries(h2_full+pipe_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15350 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15351 | end2end_tests |
| 15352 | grpc_test_util |
| 15353 | grpc |
| 15354 | gpr_test_util |
| 15355 | gpr |
| 15356 | ) |
| 15357 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15358 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15359 | endif (gRPC_BUILD_TESTS) |
| 15360 | if (gRPC_BUILD_TESTS) |
| 15361 | |
| 15362 | add_executable(h2_full+trace_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15363 | test/core/end2end/fixtures/h2_full+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15364 | ) |
| 15365 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15366 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15367 | target_include_directories(h2_full+trace_test |
| 15368 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15369 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15370 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15371 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15372 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15373 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15374 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15375 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15376 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15377 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15378 | ) |
| 15379 | |
| 15380 | target_link_libraries(h2_full+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15381 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15382 | end2end_tests |
| 15383 | grpc_test_util |
| 15384 | grpc |
| 15385 | gpr_test_util |
| 15386 | gpr |
| 15387 | ) |
| 15388 | |
| 15389 | endif (gRPC_BUILD_TESTS) |
| 15390 | if (gRPC_BUILD_TESTS) |
| 15391 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 15392 | add_executable(h2_full+workarounds_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15393 | test/core/end2end/fixtures/h2_full+workarounds.cc |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 15394 | ) |
| 15395 | |
| 15396 | |
| 15397 | target_include_directories(h2_full+workarounds_test |
| 15398 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15399 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15400 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15401 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15402 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15403 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15404 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15405 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15406 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15407 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 15408 | ) |
| 15409 | |
| 15410 | target_link_libraries(h2_full+workarounds_test |
| 15411 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 15412 | end2end_tests |
| 15413 | grpc_test_util |
| 15414 | grpc |
| 15415 | gpr_test_util |
| 15416 | gpr |
| 15417 | ) |
| 15418 | |
| 15419 | endif (gRPC_BUILD_TESTS) |
| 15420 | if (gRPC_BUILD_TESTS) |
| 15421 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15422 | add_executable(h2_http_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15423 | test/core/end2end/fixtures/h2_http_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15424 | ) |
| 15425 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15426 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15427 | target_include_directories(h2_http_proxy_test |
| 15428 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15429 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15430 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15431 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15432 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15433 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15434 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15435 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15436 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15437 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15438 | ) |
| 15439 | |
| 15440 | target_link_libraries(h2_http_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15441 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15442 | end2end_tests |
| 15443 | grpc_test_util |
| 15444 | grpc |
| 15445 | gpr_test_util |
| 15446 | gpr |
| 15447 | ) |
| 15448 | |
| 15449 | endif (gRPC_BUILD_TESTS) |
| 15450 | if (gRPC_BUILD_TESTS) |
Yihua Zhang | c5f1eda | 2018-07-02 13:29:27 -0700 | [diff] [blame] | 15451 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 15452 | |
| 15453 | add_executable(h2_local_test |
| 15454 | test/core/end2end/fixtures/h2_local.cc |
| 15455 | ) |
| 15456 | |
| 15457 | |
| 15458 | target_include_directories(h2_local_test |
| 15459 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15460 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 15461 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 15462 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15463 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15464 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15465 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15466 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 15467 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
| 15468 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
| 15469 | ) |
| 15470 | |
| 15471 | target_link_libraries(h2_local_test |
| 15472 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 15473 | end2end_tests |
| 15474 | grpc_test_util |
| 15475 | grpc |
| 15476 | gpr_test_util |
| 15477 | gpr |
| 15478 | ) |
| 15479 | |
| 15480 | endif() |
| 15481 | endif (gRPC_BUILD_TESTS) |
| 15482 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15483 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15484 | add_executable(h2_oauth2_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15485 | test/core/end2end/fixtures/h2_oauth2.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15486 | ) |
| 15487 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15488 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15489 | target_include_directories(h2_oauth2_test |
| 15490 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15491 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15492 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15493 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15494 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15495 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15496 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15497 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15498 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15499 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15500 | ) |
| 15501 | |
| 15502 | target_link_libraries(h2_oauth2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15503 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15504 | end2end_tests |
| 15505 | grpc_test_util |
| 15506 | grpc |
| 15507 | gpr_test_util |
| 15508 | gpr |
| 15509 | ) |
| 15510 | |
| 15511 | endif (gRPC_BUILD_TESTS) |
| 15512 | if (gRPC_BUILD_TESTS) |
| 15513 | |
| 15514 | add_executable(h2_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15515 | test/core/end2end/fixtures/h2_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15516 | ) |
| 15517 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15518 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15519 | target_include_directories(h2_proxy_test |
| 15520 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15521 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15522 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15523 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15524 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15525 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15526 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15527 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15528 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15529 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15530 | ) |
| 15531 | |
| 15532 | target_link_libraries(h2_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15533 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15534 | end2end_tests |
| 15535 | grpc_test_util |
| 15536 | grpc |
| 15537 | gpr_test_util |
| 15538 | gpr |
| 15539 | ) |
| 15540 | |
| 15541 | endif (gRPC_BUILD_TESTS) |
| 15542 | if (gRPC_BUILD_TESTS) |
| 15543 | |
| 15544 | add_executable(h2_sockpair_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15545 | test/core/end2end/fixtures/h2_sockpair.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15546 | ) |
| 15547 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15548 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15549 | target_include_directories(h2_sockpair_test |
| 15550 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15551 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15552 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15553 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15554 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15555 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15556 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15557 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15558 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15559 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15560 | ) |
| 15561 | |
| 15562 | target_link_libraries(h2_sockpair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15563 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15564 | end2end_tests |
| 15565 | grpc_test_util |
| 15566 | grpc |
| 15567 | gpr_test_util |
| 15568 | gpr |
| 15569 | ) |
| 15570 | |
| 15571 | endif (gRPC_BUILD_TESTS) |
| 15572 | if (gRPC_BUILD_TESTS) |
| 15573 | |
| 15574 | add_executable(h2_sockpair+trace_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15575 | test/core/end2end/fixtures/h2_sockpair+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15576 | ) |
| 15577 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15578 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15579 | target_include_directories(h2_sockpair+trace_test |
| 15580 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15581 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15582 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15583 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15584 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15585 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15586 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15587 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15588 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15589 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15590 | ) |
| 15591 | |
| 15592 | target_link_libraries(h2_sockpair+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15593 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15594 | end2end_tests |
| 15595 | grpc_test_util |
| 15596 | grpc |
| 15597 | gpr_test_util |
| 15598 | gpr |
| 15599 | ) |
| 15600 | |
| 15601 | endif (gRPC_BUILD_TESTS) |
| 15602 | if (gRPC_BUILD_TESTS) |
| 15603 | |
| 15604 | add_executable(h2_sockpair_1byte_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15605 | test/core/end2end/fixtures/h2_sockpair_1byte.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15606 | ) |
| 15607 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15608 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15609 | target_include_directories(h2_sockpair_1byte_test |
| 15610 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15611 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15612 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15613 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15614 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15615 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15616 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15617 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15618 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15619 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15620 | ) |
| 15621 | |
| 15622 | target_link_libraries(h2_sockpair_1byte_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15623 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15624 | end2end_tests |
| 15625 | grpc_test_util |
| 15626 | grpc |
| 15627 | gpr_test_util |
| 15628 | gpr |
| 15629 | ) |
| 15630 | |
| 15631 | endif (gRPC_BUILD_TESTS) |
| 15632 | if (gRPC_BUILD_TESTS) |
| 15633 | |
| 15634 | add_executable(h2_ssl_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15635 | test/core/end2end/fixtures/h2_ssl.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15636 | ) |
| 15637 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15638 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15639 | target_include_directories(h2_ssl_test |
| 15640 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15641 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15642 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15643 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15644 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15645 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15646 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15647 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15648 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15649 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15650 | ) |
| 15651 | |
| 15652 | target_link_libraries(h2_ssl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15653 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15654 | end2end_tests |
| 15655 | grpc_test_util |
| 15656 | grpc |
| 15657 | gpr_test_util |
| 15658 | gpr |
| 15659 | ) |
| 15660 | |
| 15661 | endif (gRPC_BUILD_TESTS) |
| 15662 | if (gRPC_BUILD_TESTS) |
| 15663 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15664 | add_executable(h2_ssl_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15665 | test/core/end2end/fixtures/h2_ssl_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15666 | ) |
| 15667 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15668 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15669 | target_include_directories(h2_ssl_proxy_test |
| 15670 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15671 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15672 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15673 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15674 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15675 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15676 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15677 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15678 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15679 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15680 | ) |
| 15681 | |
| 15682 | target_link_libraries(h2_ssl_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15683 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15684 | end2end_tests |
| 15685 | grpc_test_util |
| 15686 | grpc |
| 15687 | gpr_test_util |
| 15688 | gpr |
| 15689 | ) |
| 15690 | |
| 15691 | endif (gRPC_BUILD_TESTS) |
| 15692 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15693 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15694 | |
| 15695 | add_executable(h2_uds_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15696 | test/core/end2end/fixtures/h2_uds.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15697 | ) |
| 15698 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15699 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15700 | target_include_directories(h2_uds_test |
| 15701 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15702 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15703 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15704 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15705 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15706 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15707 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15708 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15709 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15710 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15711 | ) |
| 15712 | |
| 15713 | target_link_libraries(h2_uds_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15714 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15715 | end2end_tests |
| 15716 | grpc_test_util |
| 15717 | grpc |
| 15718 | gpr_test_util |
| 15719 | gpr |
| 15720 | ) |
| 15721 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15722 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15723 | endif (gRPC_BUILD_TESTS) |
| 15724 | if (gRPC_BUILD_TESTS) |
| 15725 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 15726 | add_executable(inproc_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15727 | test/core/end2end/fixtures/inproc.cc |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 15728 | ) |
| 15729 | |
| 15730 | |
| 15731 | target_include_directories(inproc_test |
| 15732 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15733 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15734 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15735 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15736 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15737 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15738 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15739 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15740 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15741 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 15742 | ) |
| 15743 | |
| 15744 | target_link_libraries(inproc_test |
| 15745 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 15746 | end2end_tests |
| 15747 | grpc_test_util |
| 15748 | grpc |
| 15749 | gpr_test_util |
| 15750 | gpr |
| 15751 | ) |
| 15752 | |
| 15753 | endif (gRPC_BUILD_TESTS) |
| 15754 | if (gRPC_BUILD_TESTS) |
| 15755 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15756 | add_executable(h2_census_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15757 | test/core/end2end/fixtures/h2_census.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15758 | ) |
| 15759 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15760 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15761 | target_include_directories(h2_census_nosec_test |
| 15762 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15763 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15764 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15765 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15766 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15767 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15768 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15769 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15770 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15771 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15772 | ) |
| 15773 | |
| 15774 | target_link_libraries(h2_census_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15775 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15776 | end2end_nosec_tests |
| 15777 | grpc_test_util_unsecure |
| 15778 | grpc_unsecure |
| 15779 | gpr_test_util |
| 15780 | gpr |
| 15781 | ) |
| 15782 | |
| 15783 | endif (gRPC_BUILD_TESTS) |
| 15784 | if (gRPC_BUILD_TESTS) |
| 15785 | |
| 15786 | add_executable(h2_compress_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15787 | test/core/end2end/fixtures/h2_compress.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15788 | ) |
| 15789 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15790 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15791 | target_include_directories(h2_compress_nosec_test |
| 15792 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15793 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15794 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15795 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15796 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15797 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15798 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15799 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15800 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15801 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15802 | ) |
| 15803 | |
| 15804 | target_link_libraries(h2_compress_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15805 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15806 | end2end_nosec_tests |
| 15807 | grpc_test_util_unsecure |
| 15808 | grpc_unsecure |
| 15809 | gpr_test_util |
| 15810 | gpr |
| 15811 | ) |
| 15812 | |
| 15813 | endif (gRPC_BUILD_TESTS) |
| 15814 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15815 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15816 | |
| 15817 | add_executable(h2_fd_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15818 | test/core/end2end/fixtures/h2_fd.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15819 | ) |
| 15820 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15821 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15822 | target_include_directories(h2_fd_nosec_test |
| 15823 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15824 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15825 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15826 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15827 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15828 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15829 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15830 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15831 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15832 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15833 | ) |
| 15834 | |
| 15835 | target_link_libraries(h2_fd_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15836 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15837 | end2end_nosec_tests |
| 15838 | grpc_test_util_unsecure |
| 15839 | grpc_unsecure |
| 15840 | gpr_test_util |
| 15841 | gpr |
| 15842 | ) |
| 15843 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15844 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15845 | endif (gRPC_BUILD_TESTS) |
| 15846 | if (gRPC_BUILD_TESTS) |
| 15847 | |
| 15848 | add_executable(h2_full_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15849 | test/core/end2end/fixtures/h2_full.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15850 | ) |
| 15851 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15852 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15853 | target_include_directories(h2_full_nosec_test |
| 15854 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15855 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15856 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 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} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15862 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15863 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15864 | ) |
| 15865 | |
| 15866 | target_link_libraries(h2_full_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15867 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15868 | end2end_nosec_tests |
| 15869 | grpc_test_util_unsecure |
| 15870 | grpc_unsecure |
| 15871 | gpr_test_util |
| 15872 | gpr |
| 15873 | ) |
| 15874 | |
| 15875 | endif (gRPC_BUILD_TESTS) |
| 15876 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15877 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15878 | |
| 15879 | add_executable(h2_full+pipe_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15880 | test/core/end2end/fixtures/h2_full+pipe.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15881 | ) |
| 15882 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15883 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15884 | target_include_directories(h2_full+pipe_nosec_test |
| 15885 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15886 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15887 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15888 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15889 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15890 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15891 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15892 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15893 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15894 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15895 | ) |
| 15896 | |
| 15897 | target_link_libraries(h2_full+pipe_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15898 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15899 | end2end_nosec_tests |
| 15900 | grpc_test_util_unsecure |
| 15901 | grpc_unsecure |
| 15902 | gpr_test_util |
| 15903 | gpr |
| 15904 | ) |
| 15905 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15906 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15907 | endif (gRPC_BUILD_TESTS) |
| 15908 | if (gRPC_BUILD_TESTS) |
| 15909 | |
| 15910 | add_executable(h2_full+trace_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15911 | test/core/end2end/fixtures/h2_full+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15912 | ) |
| 15913 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15914 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15915 | target_include_directories(h2_full+trace_nosec_test |
| 15916 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15917 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15918 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15919 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15920 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15921 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15922 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15923 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15924 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15925 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15926 | ) |
| 15927 | |
| 15928 | target_link_libraries(h2_full+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15929 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15930 | end2end_nosec_tests |
| 15931 | grpc_test_util_unsecure |
| 15932 | grpc_unsecure |
| 15933 | gpr_test_util |
| 15934 | gpr |
| 15935 | ) |
| 15936 | |
| 15937 | endif (gRPC_BUILD_TESTS) |
| 15938 | if (gRPC_BUILD_TESTS) |
| 15939 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 15940 | add_executable(h2_full+workarounds_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15941 | test/core/end2end/fixtures/h2_full+workarounds.cc |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 15942 | ) |
| 15943 | |
| 15944 | |
| 15945 | target_include_directories(h2_full+workarounds_nosec_test |
| 15946 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15947 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15948 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15949 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15950 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15951 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15952 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15953 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15954 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15955 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 15956 | ) |
| 15957 | |
| 15958 | target_link_libraries(h2_full+workarounds_nosec_test |
| 15959 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 15960 | end2end_nosec_tests |
| 15961 | grpc_test_util_unsecure |
| 15962 | grpc_unsecure |
| 15963 | gpr_test_util |
| 15964 | gpr |
| 15965 | ) |
| 15966 | |
| 15967 | endif (gRPC_BUILD_TESTS) |
| 15968 | if (gRPC_BUILD_TESTS) |
| 15969 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15970 | add_executable(h2_http_proxy_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15971 | test/core/end2end/fixtures/h2_http_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15972 | ) |
| 15973 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15974 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15975 | target_include_directories(h2_http_proxy_nosec_test |
| 15976 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15977 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15978 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15979 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15980 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15981 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15982 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15983 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15984 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 15985 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15986 | ) |
| 15987 | |
| 15988 | target_link_libraries(h2_http_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15989 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15990 | end2end_nosec_tests |
| 15991 | grpc_test_util_unsecure |
| 15992 | grpc_unsecure |
| 15993 | gpr_test_util |
| 15994 | gpr |
| 15995 | ) |
| 15996 | |
| 15997 | endif (gRPC_BUILD_TESTS) |
| 15998 | if (gRPC_BUILD_TESTS) |
| 15999 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16000 | add_executable(h2_proxy_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16001 | test/core/end2end/fixtures/h2_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16002 | ) |
| 16003 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16004 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16005 | target_include_directories(h2_proxy_nosec_test |
| 16006 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16007 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16008 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16009 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16010 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16011 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16012 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16013 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16014 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16015 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16016 | ) |
| 16017 | |
| 16018 | target_link_libraries(h2_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16019 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16020 | end2end_nosec_tests |
| 16021 | grpc_test_util_unsecure |
| 16022 | grpc_unsecure |
| 16023 | gpr_test_util |
| 16024 | gpr |
| 16025 | ) |
| 16026 | |
| 16027 | endif (gRPC_BUILD_TESTS) |
| 16028 | if (gRPC_BUILD_TESTS) |
| 16029 | |
| 16030 | add_executable(h2_sockpair_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16031 | test/core/end2end/fixtures/h2_sockpair.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16032 | ) |
| 16033 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16034 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16035 | target_include_directories(h2_sockpair_nosec_test |
| 16036 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16037 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16038 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16039 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16040 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16041 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16042 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16043 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16044 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16045 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16046 | ) |
| 16047 | |
| 16048 | target_link_libraries(h2_sockpair_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16049 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16050 | end2end_nosec_tests |
| 16051 | grpc_test_util_unsecure |
| 16052 | grpc_unsecure |
| 16053 | gpr_test_util |
| 16054 | gpr |
| 16055 | ) |
| 16056 | |
| 16057 | endif (gRPC_BUILD_TESTS) |
| 16058 | if (gRPC_BUILD_TESTS) |
| 16059 | |
| 16060 | add_executable(h2_sockpair+trace_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16061 | test/core/end2end/fixtures/h2_sockpair+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16062 | ) |
| 16063 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16064 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16065 | target_include_directories(h2_sockpair+trace_nosec_test |
| 16066 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16067 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16068 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16069 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16070 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16071 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16072 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16073 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16074 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16075 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16076 | ) |
| 16077 | |
| 16078 | target_link_libraries(h2_sockpair+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16079 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16080 | end2end_nosec_tests |
| 16081 | grpc_test_util_unsecure |
| 16082 | grpc_unsecure |
| 16083 | gpr_test_util |
| 16084 | gpr |
| 16085 | ) |
| 16086 | |
| 16087 | endif (gRPC_BUILD_TESTS) |
| 16088 | if (gRPC_BUILD_TESTS) |
| 16089 | |
| 16090 | add_executable(h2_sockpair_1byte_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16091 | test/core/end2end/fixtures/h2_sockpair_1byte.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16092 | ) |
| 16093 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16094 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16095 | target_include_directories(h2_sockpair_1byte_nosec_test |
| 16096 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16097 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16098 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16099 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16100 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16101 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16102 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16103 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16104 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16105 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16106 | ) |
| 16107 | |
| 16108 | target_link_libraries(h2_sockpair_1byte_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16109 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16110 | end2end_nosec_tests |
| 16111 | grpc_test_util_unsecure |
| 16112 | grpc_unsecure |
| 16113 | gpr_test_util |
| 16114 | gpr |
| 16115 | ) |
| 16116 | |
| 16117 | endif (gRPC_BUILD_TESTS) |
| 16118 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16119 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16120 | |
| 16121 | add_executable(h2_uds_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16122 | test/core/end2end/fixtures/h2_uds.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16123 | ) |
| 16124 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16125 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16126 | target_include_directories(h2_uds_nosec_test |
| 16127 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16128 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16129 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16130 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16131 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16132 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16133 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16134 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16135 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16136 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16137 | ) |
| 16138 | |
| 16139 | target_link_libraries(h2_uds_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16140 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16141 | end2end_nosec_tests |
| 16142 | grpc_test_util_unsecure |
| 16143 | grpc_unsecure |
| 16144 | gpr_test_util |
| 16145 | gpr |
| 16146 | ) |
| 16147 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16148 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16149 | endif (gRPC_BUILD_TESTS) |
| 16150 | if (gRPC_BUILD_TESTS) |
| 16151 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 16152 | add_executable(inproc_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16153 | test/core/end2end/fixtures/inproc.cc |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 16154 | ) |
| 16155 | |
| 16156 | |
| 16157 | target_include_directories(inproc_nosec_test |
| 16158 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16159 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16160 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16161 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16162 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16163 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16164 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16165 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16166 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16167 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 16168 | ) |
| 16169 | |
| 16170 | target_link_libraries(inproc_nosec_test |
| 16171 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 16172 | end2end_nosec_tests |
| 16173 | grpc_test_util_unsecure |
| 16174 | grpc_unsecure |
| 16175 | gpr_test_util |
| 16176 | gpr |
| 16177 | ) |
| 16178 | |
| 16179 | endif (gRPC_BUILD_TESTS) |
| 16180 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 16181 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 16182 | |
| 16183 | add_executable(resolver_component_test_unsecure |
| 16184 | test/cpp/naming/resolver_component_test.cc |
| 16185 | third_party/googletest/googletest/src/gtest-all.cc |
| 16186 | third_party/googletest/googlemock/src/gmock-all.cc |
| 16187 | ) |
| 16188 | |
| 16189 | |
| 16190 | target_include_directories(resolver_component_test_unsecure |
| 16191 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16192 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16193 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16194 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16195 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16196 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16197 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16198 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16199 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16200 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 16201 | PRIVATE third_party/googletest/googletest/include |
| 16202 | PRIVATE third_party/googletest/googletest |
| 16203 | PRIVATE third_party/googletest/googlemock/include |
| 16204 | PRIVATE third_party/googletest/googlemock |
| 16205 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 16206 | ) |
| 16207 | |
| 16208 | target_link_libraries(resolver_component_test_unsecure |
| 16209 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 16210 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 16211 | grpc++_test_util_unsecure |
| 16212 | grpc_test_util_unsecure |
| 16213 | gpr_test_util |
| 16214 | grpc++_unsecure |
| 16215 | grpc_unsecure |
| 16216 | gpr |
| 16217 | grpc++_test_config |
| 16218 | ${_gRPC_GFLAGS_LIBRARIES} |
| 16219 | ) |
| 16220 | |
| 16221 | endif() |
| 16222 | endif (gRPC_BUILD_TESTS) |
| 16223 | if (gRPC_BUILD_TESTS) |
| 16224 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 16225 | |
| 16226 | add_executable(resolver_component_test |
| 16227 | test/cpp/naming/resolver_component_test.cc |
| 16228 | third_party/googletest/googletest/src/gtest-all.cc |
| 16229 | third_party/googletest/googlemock/src/gmock-all.cc |
| 16230 | ) |
| 16231 | |
| 16232 | |
| 16233 | target_include_directories(resolver_component_test |
| 16234 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16235 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16236 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16237 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16238 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16239 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16240 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16241 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16242 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16243 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 16244 | PRIVATE third_party/googletest/googletest/include |
| 16245 | PRIVATE third_party/googletest/googletest |
| 16246 | PRIVATE third_party/googletest/googlemock/include |
| 16247 | PRIVATE third_party/googletest/googlemock |
| 16248 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 16249 | ) |
| 16250 | |
| 16251 | target_link_libraries(resolver_component_test |
| 16252 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 16253 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 16254 | grpc++_test_util |
| 16255 | grpc_test_util |
| 16256 | gpr_test_util |
| 16257 | grpc++ |
| 16258 | grpc |
| 16259 | gpr |
| 16260 | grpc++_test_config |
| 16261 | ${_gRPC_GFLAGS_LIBRARIES} |
| 16262 | ) |
| 16263 | |
| 16264 | endif() |
| 16265 | endif (gRPC_BUILD_TESTS) |
| 16266 | if (gRPC_BUILD_TESTS) |
| 16267 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 16268 | |
| 16269 | add_executable(resolver_component_tests_runner_invoker_unsecure |
| 16270 | test/cpp/naming/resolver_component_tests_runner_invoker.cc |
| 16271 | third_party/googletest/googletest/src/gtest-all.cc |
| 16272 | third_party/googletest/googlemock/src/gmock-all.cc |
| 16273 | ) |
| 16274 | |
| 16275 | |
| 16276 | target_include_directories(resolver_component_tests_runner_invoker_unsecure |
| 16277 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16278 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16279 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16280 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16281 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16282 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16283 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16284 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16285 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16286 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 16287 | PRIVATE third_party/googletest/googletest/include |
| 16288 | PRIVATE third_party/googletest/googletest |
| 16289 | PRIVATE third_party/googletest/googlemock/include |
| 16290 | PRIVATE third_party/googletest/googlemock |
| 16291 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 16292 | ) |
| 16293 | |
| 16294 | target_link_libraries(resolver_component_tests_runner_invoker_unsecure |
| 16295 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 16296 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 16297 | grpc++_test_util |
| 16298 | grpc_test_util |
| 16299 | gpr_test_util |
| 16300 | grpc++ |
| 16301 | grpc |
| 16302 | gpr |
| 16303 | grpc++_test_config |
| 16304 | ${_gRPC_GFLAGS_LIBRARIES} |
| 16305 | ) |
| 16306 | |
| 16307 | endif() |
| 16308 | endif (gRPC_BUILD_TESTS) |
| 16309 | if (gRPC_BUILD_TESTS) |
| 16310 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 16311 | |
| 16312 | add_executable(resolver_component_tests_runner_invoker |
| 16313 | test/cpp/naming/resolver_component_tests_runner_invoker.cc |
| 16314 | third_party/googletest/googletest/src/gtest-all.cc |
| 16315 | third_party/googletest/googlemock/src/gmock-all.cc |
| 16316 | ) |
| 16317 | |
| 16318 | |
| 16319 | target_include_directories(resolver_component_tests_runner_invoker |
| 16320 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16321 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16322 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16323 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16324 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16325 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16326 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16327 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16328 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16329 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 16330 | PRIVATE third_party/googletest/googletest/include |
| 16331 | PRIVATE third_party/googletest/googletest |
| 16332 | PRIVATE third_party/googletest/googlemock/include |
| 16333 | PRIVATE third_party/googletest/googlemock |
| 16334 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 16335 | ) |
| 16336 | |
| 16337 | target_link_libraries(resolver_component_tests_runner_invoker |
| 16338 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 16339 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 16340 | grpc++_test_util |
| 16341 | grpc_test_util |
| 16342 | gpr_test_util |
| 16343 | grpc++ |
| 16344 | grpc |
| 16345 | gpr |
| 16346 | grpc++_test_config |
| 16347 | ${_gRPC_GFLAGS_LIBRARIES} |
| 16348 | ) |
| 16349 | |
| 16350 | endif() |
| 16351 | endif (gRPC_BUILD_TESTS) |
| 16352 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | 690dde6 | 2017-10-18 00:20:33 -0700 | [diff] [blame] | 16353 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 16354 | |
| 16355 | add_executable(address_sorting_test_unsecure |
| 16356 | test/cpp/naming/address_sorting_test.cc |
| 16357 | third_party/googletest/googletest/src/gtest-all.cc |
| 16358 | third_party/googletest/googlemock/src/gmock-all.cc |
| 16359 | ) |
| 16360 | |
| 16361 | |
| 16362 | target_include_directories(address_sorting_test_unsecure |
| 16363 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16364 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 16365 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 16366 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16367 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16368 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16369 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16370 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16371 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16372 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Alexander Polcyn | 690dde6 | 2017-10-18 00:20:33 -0700 | [diff] [blame] | 16373 | PRIVATE third_party/googletest/googletest/include |
| 16374 | PRIVATE third_party/googletest/googletest |
| 16375 | PRIVATE third_party/googletest/googlemock/include |
| 16376 | PRIVATE third_party/googletest/googlemock |
| 16377 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 16378 | ) |
| 16379 | |
| 16380 | target_link_libraries(address_sorting_test_unsecure |
| 16381 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 16382 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 16383 | grpc++_test_util_unsecure |
| 16384 | grpc_test_util_unsecure |
| 16385 | gpr_test_util |
| 16386 | grpc++_unsecure |
| 16387 | grpc_unsecure |
| 16388 | gpr |
| 16389 | grpc++_test_config |
| 16390 | ${_gRPC_GFLAGS_LIBRARIES} |
| 16391 | ) |
| 16392 | |
| 16393 | endif() |
| 16394 | endif (gRPC_BUILD_TESTS) |
| 16395 | if (gRPC_BUILD_TESTS) |
| 16396 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 16397 | |
| 16398 | add_executable(address_sorting_test |
| 16399 | test/cpp/naming/address_sorting_test.cc |
| 16400 | third_party/googletest/googletest/src/gtest-all.cc |
| 16401 | third_party/googletest/googlemock/src/gmock-all.cc |
| 16402 | ) |
| 16403 | |
| 16404 | |
| 16405 | target_include_directories(address_sorting_test |
| 16406 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16407 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 16408 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 16409 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16410 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16411 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16412 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16413 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16414 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16415 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Alexander Polcyn | 690dde6 | 2017-10-18 00:20:33 -0700 | [diff] [blame] | 16416 | PRIVATE third_party/googletest/googletest/include |
| 16417 | PRIVATE third_party/googletest/googletest |
| 16418 | PRIVATE third_party/googletest/googlemock/include |
| 16419 | PRIVATE third_party/googletest/googlemock |
| 16420 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 16421 | ) |
| 16422 | |
| 16423 | target_link_libraries(address_sorting_test |
| 16424 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 16425 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 16426 | grpc++_test_util |
| 16427 | grpc_test_util |
| 16428 | gpr_test_util |
| 16429 | grpc++ |
| 16430 | grpc |
| 16431 | gpr |
| 16432 | grpc++_test_config |
| 16433 | ${_gRPC_GFLAGS_LIBRARIES} |
| 16434 | ) |
| 16435 | |
| 16436 | endif() |
| 16437 | endif (gRPC_BUILD_TESTS) |
| 16438 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | d2e357b | 2018-06-08 14:19:46 -0700 | [diff] [blame] | 16439 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 16440 | |
| 16441 | add_executable(cancel_ares_query_test |
| 16442 | test/cpp/naming/cancel_ares_query_test.cc |
| 16443 | third_party/googletest/googletest/src/gtest-all.cc |
| 16444 | third_party/googletest/googlemock/src/gmock-all.cc |
| 16445 | ) |
| 16446 | |
| 16447 | |
| 16448 | target_include_directories(cancel_ares_query_test |
| 16449 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16450 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 16451 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 16452 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16453 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16454 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16455 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16456 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 16457 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | ebb23c6 | 2018-06-12 18:52:56 -0700 | [diff] [blame] | 16458 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Alexander Polcyn | d2e357b | 2018-06-08 14:19:46 -0700 | [diff] [blame] | 16459 | PRIVATE third_party/googletest/googletest/include |
| 16460 | PRIVATE third_party/googletest/googletest |
| 16461 | PRIVATE third_party/googletest/googlemock/include |
| 16462 | PRIVATE third_party/googletest/googlemock |
| 16463 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 16464 | ) |
| 16465 | |
| 16466 | target_link_libraries(cancel_ares_query_test |
| 16467 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 16468 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 16469 | grpc++_test_util |
| 16470 | grpc_test_util |
| 16471 | gpr_test_util |
| 16472 | grpc++ |
| 16473 | grpc |
| 16474 | gpr |
| 16475 | grpc++_test_config |
| 16476 | ${_gRPC_GFLAGS_LIBRARIES} |
| 16477 | ) |
| 16478 | |
| 16479 | endif() |
| 16480 | endif (gRPC_BUILD_TESTS) |
| 16481 | if (gRPC_BUILD_TESTS) |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 16482 | |
Yihua Zhang | cc93663 | 2018-05-08 10:15:03 -0700 | [diff] [blame] | 16483 | add_executable(alts_credentials_fuzzer_one_entry |
| 16484 | test/core/security/alts_credentials_fuzzer.cc |
| 16485 | test/core/util/one_corpus_entry_fuzzer.cc |
| 16486 | ) |
| 16487 | |
| 16488 | |
| 16489 | target_include_directories(alts_credentials_fuzzer_one_entry |
| 16490 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16491 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 16492 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 16493 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16494 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16495 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16496 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16497 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 16498 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16499 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Yihua Zhang | cc93663 | 2018-05-08 10:15:03 -0700 | [diff] [blame] | 16500 | ) |
| 16501 | |
| 16502 | target_link_libraries(alts_credentials_fuzzer_one_entry |
| 16503 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 16504 | grpc_test_util |
| 16505 | grpc |
| 16506 | gpr_test_util |
| 16507 | gpr |
| 16508 | ) |
| 16509 | |
| 16510 | endif (gRPC_BUILD_TESTS) |
| 16511 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16512 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16513 | add_executable(api_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16514 | test/core/end2end/fuzzers/api_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16515 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16516 | ) |
| 16517 | |
| 16518 | |
| 16519 | target_include_directories(api_fuzzer_one_entry |
| 16520 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16521 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16522 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16523 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16524 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16525 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16526 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16527 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16528 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16529 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16530 | ) |
| 16531 | |
| 16532 | target_link_libraries(api_fuzzer_one_entry |
| 16533 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 16534 | grpc_test_util |
| 16535 | grpc |
| 16536 | gpr_test_util |
| 16537 | gpr |
| 16538 | ) |
| 16539 | |
| 16540 | endif (gRPC_BUILD_TESTS) |
| 16541 | if (gRPC_BUILD_TESTS) |
| 16542 | |
| 16543 | add_executable(client_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16544 | test/core/end2end/fuzzers/client_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16545 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16546 | ) |
| 16547 | |
| 16548 | |
| 16549 | target_include_directories(client_fuzzer_one_entry |
| 16550 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16551 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16552 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16553 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16554 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16555 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16556 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16557 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16558 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16559 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16560 | ) |
| 16561 | |
| 16562 | target_link_libraries(client_fuzzer_one_entry |
| 16563 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 16564 | grpc_test_util |
| 16565 | grpc |
| 16566 | gpr_test_util |
| 16567 | gpr |
| 16568 | ) |
| 16569 | |
| 16570 | endif (gRPC_BUILD_TESTS) |
| 16571 | if (gRPC_BUILD_TESTS) |
| 16572 | |
| 16573 | add_executable(hpack_parser_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16574 | test/core/transport/chttp2/hpack_parser_fuzzer_test.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16575 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16576 | ) |
| 16577 | |
| 16578 | |
| 16579 | target_include_directories(hpack_parser_fuzzer_test_one_entry |
| 16580 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16581 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16582 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16583 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16584 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16585 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16586 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16587 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16588 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16589 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16590 | ) |
| 16591 | |
| 16592 | target_link_libraries(hpack_parser_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16593 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16594 | grpc_test_util |
| 16595 | grpc |
| 16596 | gpr_test_util |
| 16597 | gpr |
| 16598 | ) |
| 16599 | |
| 16600 | endif (gRPC_BUILD_TESTS) |
| 16601 | if (gRPC_BUILD_TESTS) |
| 16602 | |
| 16603 | add_executable(http_request_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16604 | test/core/http/request_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16605 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16606 | ) |
| 16607 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16608 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16609 | target_include_directories(http_request_fuzzer_test_one_entry |
| 16610 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16611 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16612 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16613 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16614 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16615 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16616 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16617 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16618 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16619 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16620 | ) |
| 16621 | |
| 16622 | target_link_libraries(http_request_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16623 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16624 | grpc_test_util |
| 16625 | grpc |
| 16626 | gpr_test_util |
| 16627 | gpr |
| 16628 | ) |
| 16629 | |
| 16630 | endif (gRPC_BUILD_TESTS) |
| 16631 | if (gRPC_BUILD_TESTS) |
| 16632 | |
| 16633 | add_executable(http_response_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16634 | test/core/http/response_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16635 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16636 | ) |
| 16637 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16638 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16639 | target_include_directories(http_response_fuzzer_test_one_entry |
| 16640 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16641 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16642 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16643 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16644 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16645 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16646 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16647 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16648 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16649 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16650 | ) |
| 16651 | |
| 16652 | target_link_libraries(http_response_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16653 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16654 | grpc_test_util |
| 16655 | grpc |
| 16656 | gpr_test_util |
| 16657 | gpr |
| 16658 | ) |
| 16659 | |
| 16660 | endif (gRPC_BUILD_TESTS) |
| 16661 | if (gRPC_BUILD_TESTS) |
| 16662 | |
| 16663 | add_executable(json_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16664 | test/core/json/fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16665 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16666 | ) |
| 16667 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16668 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16669 | target_include_directories(json_fuzzer_test_one_entry |
| 16670 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16671 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16672 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16673 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16674 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16675 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16676 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16677 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16678 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16679 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16680 | ) |
| 16681 | |
| 16682 | target_link_libraries(json_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16683 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16684 | grpc_test_util |
| 16685 | grpc |
| 16686 | gpr_test_util |
| 16687 | gpr |
| 16688 | ) |
| 16689 | |
| 16690 | endif (gRPC_BUILD_TESTS) |
| 16691 | if (gRPC_BUILD_TESTS) |
| 16692 | |
| 16693 | add_executable(nanopb_fuzzer_response_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16694 | test/core/nanopb/fuzzer_response.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16695 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16696 | ) |
| 16697 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16698 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16699 | target_include_directories(nanopb_fuzzer_response_test_one_entry |
| 16700 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16701 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16702 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16703 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16704 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16705 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16706 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16707 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16708 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16709 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16710 | ) |
| 16711 | |
| 16712 | target_link_libraries(nanopb_fuzzer_response_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16713 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16714 | grpc_test_util |
| 16715 | grpc |
| 16716 | gpr_test_util |
| 16717 | gpr |
| 16718 | ) |
| 16719 | |
| 16720 | endif (gRPC_BUILD_TESTS) |
| 16721 | if (gRPC_BUILD_TESTS) |
| 16722 | |
| 16723 | add_executable(nanopb_fuzzer_serverlist_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16724 | test/core/nanopb/fuzzer_serverlist.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16725 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16726 | ) |
| 16727 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16728 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16729 | target_include_directories(nanopb_fuzzer_serverlist_test_one_entry |
| 16730 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16731 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16732 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16733 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16734 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16735 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16736 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16737 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16738 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16739 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16740 | ) |
| 16741 | |
| 16742 | target_link_libraries(nanopb_fuzzer_serverlist_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16743 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16744 | grpc_test_util |
| 16745 | grpc |
| 16746 | gpr_test_util |
| 16747 | gpr |
| 16748 | ) |
| 16749 | |
| 16750 | endif (gRPC_BUILD_TESTS) |
| 16751 | if (gRPC_BUILD_TESTS) |
| 16752 | |
| 16753 | add_executable(percent_decode_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16754 | test/core/slice/percent_decode_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16755 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16756 | ) |
| 16757 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16758 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16759 | target_include_directories(percent_decode_fuzzer_one_entry |
| 16760 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16761 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16762 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16763 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16764 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16765 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16766 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16767 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16768 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16769 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16770 | ) |
| 16771 | |
| 16772 | target_link_libraries(percent_decode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16773 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16774 | grpc_test_util |
| 16775 | grpc |
| 16776 | gpr_test_util |
| 16777 | gpr |
| 16778 | ) |
| 16779 | |
| 16780 | endif (gRPC_BUILD_TESTS) |
| 16781 | if (gRPC_BUILD_TESTS) |
| 16782 | |
| 16783 | add_executable(percent_encode_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16784 | test/core/slice/percent_encode_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16785 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16786 | ) |
| 16787 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16788 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16789 | target_include_directories(percent_encode_fuzzer_one_entry |
| 16790 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16791 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16792 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16793 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16794 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16795 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16796 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16797 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16798 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16799 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16800 | ) |
| 16801 | |
| 16802 | target_link_libraries(percent_encode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16803 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16804 | grpc_test_util |
| 16805 | grpc |
| 16806 | gpr_test_util |
| 16807 | gpr |
| 16808 | ) |
| 16809 | |
| 16810 | endif (gRPC_BUILD_TESTS) |
| 16811 | if (gRPC_BUILD_TESTS) |
| 16812 | |
| 16813 | add_executable(server_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16814 | test/core/end2end/fuzzers/server_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16815 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16816 | ) |
| 16817 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16818 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16819 | target_include_directories(server_fuzzer_one_entry |
| 16820 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16821 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16822 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16823 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16824 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16825 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16826 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16827 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16828 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16829 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16830 | ) |
| 16831 | |
| 16832 | target_link_libraries(server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16833 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16834 | grpc_test_util |
| 16835 | grpc |
| 16836 | gpr_test_util |
| 16837 | gpr |
| 16838 | ) |
| 16839 | |
| 16840 | endif (gRPC_BUILD_TESTS) |
| 16841 | if (gRPC_BUILD_TESTS) |
| 16842 | |
| 16843 | add_executable(ssl_server_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16844 | test/core/security/ssl_server_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16845 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16846 | ) |
| 16847 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16848 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16849 | target_include_directories(ssl_server_fuzzer_one_entry |
| 16850 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16851 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16852 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16853 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16854 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16855 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16856 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16857 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16858 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16859 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16860 | ) |
| 16861 | |
| 16862 | target_link_libraries(ssl_server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16863 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16864 | grpc_test_util |
| 16865 | grpc |
| 16866 | gpr_test_util |
| 16867 | gpr |
| 16868 | ) |
| 16869 | |
| 16870 | endif (gRPC_BUILD_TESTS) |
| 16871 | if (gRPC_BUILD_TESTS) |
| 16872 | |
| 16873 | add_executable(uri_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16874 | test/core/client_channel/uri_fuzzer_test.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16875 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16876 | ) |
| 16877 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16878 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16879 | target_include_directories(uri_fuzzer_test_one_entry |
| 16880 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16881 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16882 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16883 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16884 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16885 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16886 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16887 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16888 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 7f94702 | 2018-06-04 16:45:06 -0700 | [diff] [blame] | 16889 | PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16890 | ) |
| 16891 | |
| 16892 | target_link_libraries(uri_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16893 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16894 | grpc_test_util |
| 16895 | grpc |
| 16896 | gpr_test_util |
| 16897 | gpr |
| 16898 | ) |
| 16899 | |
| 16900 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 16901 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 16902 | |
| 16903 | |
| 16904 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 16905 | |
| 16906 | |
| 16907 | |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 16908 | if (gRPC_INSTALL) |
| 16909 | install(EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 16910 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 16911 | NAMESPACE gRPC:: |
| 16912 | ) |
| 16913 | endif() |
| 16914 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 16915 | foreach(_config gRPCConfig gRPCConfigVersion) |
Jan Tattermusch | 9d1d052 | 2017-08-25 14:26:47 +0200 | [diff] [blame] | 16916 | configure_file(cmake/${_config}.cmake.in |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 16917 | ${_config}.cmake @ONLY) |
| 16918 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_config}.cmake |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 16919 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 16920 | ) |
| 16921 | endforeach() |
Jan Tattermusch | a3992d2 | 2018-05-09 17:37:27 +0200 | [diff] [blame] | 16922 | |
| 16923 | install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/etc/roots.pem |
| 16924 | DESTINATION ${gRPC_INSTALL_SHAREDIR}) |