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 | # |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 8 | # Copyright 2015, Google Inc. |
| 9 | # All rights reserved. |
| 10 | # |
| 11 | # Redistribution and use in source and binary forms, with or without |
| 12 | # modification, are permitted provided that the following conditions are |
| 13 | # met: |
| 14 | # |
| 15 | # * Redistributions of source code must retain the above copyright |
| 16 | # notice, this list of conditions and the following disclaimer. |
| 17 | # * Redistributions in binary form must reproduce the above |
| 18 | # copyright notice, this list of conditions and the following disclaimer |
| 19 | # in the documentation and/or other materials provided with the |
| 20 | # distribution. |
| 21 | # * Neither the name of Google Inc. nor the names of its |
| 22 | # contributors may be used to endorse or promote products derived from |
| 23 | # this software without specific prior written permission. |
| 24 | # |
| 25 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 26 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 27 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 28 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 29 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 30 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 31 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 32 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 33 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 34 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 35 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 36 | |
| 37 | |
| 38 | |
| 39 | cmake_minimum_required(VERSION 2.8) |
| 40 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 41 | set(PACKAGE_NAME "grpc") |
David Garcia Quintas | 9e1acc0 | 2017-04-13 16:30:15 -0700 | [diff] [blame] | 42 | set(PACKAGE_VERSION "1.4.0-dev") |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 43 | set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") |
| 44 | set(PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}") |
| 45 | set(PACKAGE_BUGREPORT "https://github.com/grpc/grpc/issues/") |
| 46 | project(${PACKAGE_NAME} C CXX) |
| 47 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 48 | # Options |
| 49 | option(gRPC_BUILD_TESTS "Build tests" OFF) |
| 50 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 51 | if (NOT MSVC) |
| 52 | set(gRPC_INSTALL ON CACHE BOOL "Generate installation target") |
| 53 | else() |
| 54 | set(gRPC_INSTALL OFF CACHE BOOL "Generate installation target") |
| 55 | endif() |
| 56 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 57 | set(gRPC_ZLIB_PROVIDER "module" CACHE STRING "Provider of zlib library") |
| 58 | set_property(CACHE gRPC_ZLIB_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 59 | |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 60 | set(gRPC_CARES_PROVIDER "module" CACHE STRING "Provider of c-ares library") |
| 61 | set_property(CACHE gRPC_CARES_PROVIDER PROPERTY STRINGS "module" "package") |
| 62 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 63 | set(gRPC_SSL_PROVIDER "module" CACHE STRING "Provider of ssl library") |
| 64 | set_property(CACHE gRPC_SSL_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | a72712e | 2016-07-06 10:30:25 +0100 | [diff] [blame] | 65 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 66 | set(gRPC_PROTOBUF_PROVIDER "module" CACHE STRING "Provider of protobuf library") |
| 67 | set_property(CACHE gRPC_PROTOBUF_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 68 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 69 | set(gRPC_GFLAGS_PROVIDER "module" CACHE STRING "Provider of gflags library") |
| 70 | set_property(CACHE gRPC_GFLAGS_PROVIDER PROPERTY STRINGS "module" "package") |
| 71 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 72 | set(gRPC_BENCHMARK_PROVIDER "module" CACHE STRING "Provider of benchmark library") |
| 73 | set_property(CACHE gRPC_BENCHMARK_PROVIDER PROPERTY STRINGS "module" "package") |
| 74 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 75 | 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] | 76 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 77 | if(UNIX) |
| 78 | if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") |
| 79 | set(_gRPC_PLATFORM_LINUX ON) |
| 80 | elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") |
| 81 | set(_gRPC_PLATFORM_MAC ON) |
| 82 | else() |
| 83 | set(_gRPC_PLATFORM_POSIX ON) |
| 84 | endif() |
| 85 | endif() |
| 86 | if(WIN32) |
| 87 | set(_gRPC_PLATFORM_WINDOWS ON) |
| 88 | endif() |
| 89 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 90 | set(CMAKE_POSITION_INDEPENDENT_CODE TRUE) |
| 91 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 92 | if (MSVC) |
Jan Tattermusch | 5140791 | 2017-02-02 20:44:22 +0100 | [diff] [blame] | 93 | include(cmake/msvc_static_runtime.cmake) |
Jan Tattermusch | 3aab96f | 2017-01-11 16:12:46 +0100 | [diff] [blame] | 94 | 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] | 95 | # needed to compile protobuf |
| 96 | add_definitions(/wd4065 /wd4506) |
| 97 | # TODO(jtattermusch): revisit C4267 occurrences throughout the code |
| 98 | add_definitions(/wd4267) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 99 | endif() |
| 100 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 101 | if (gRPC_USE_PROTO_LITE) |
| 102 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf-lite") |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 103 | add_definitions("-DGRPC_USE_PROTO_LITE") |
| 104 | else() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 105 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 106 | endif() |
| 107 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 108 | if("${gRPC_ZLIB_PROVIDER}" STREQUAL "module") |
| 109 | if(NOT ZLIB_ROOT_DIR) |
| 110 | set(ZLIB_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zlib) |
| 111 | endif() |
| 112 | set(ZLIB_INCLUDE_DIR "${ZLIB_ROOT_DIR}") |
| 113 | if(EXISTS "${ZLIB_ROOT_DIR}/CMakeLists.txt") |
| 114 | add_subdirectory(${ZLIB_ROOT_DIR} third_party/zlib) |
| 115 | if(TARGET zlibstatic) |
| 116 | set(_gRPC_ZLIB_LIBRARIES zlibstatic) |
| 117 | endif() |
| 118 | else() |
| 119 | message(WARNING "gRPC_ZLIB_PROVIDER is \"module\" but ZLIB_ROOT_DIR is wrong") |
| 120 | endif() |
| 121 | elseif("${gRPC_ZLIB_PROVIDER}" STREQUAL "package") |
| 122 | find_package(ZLIB) |
| 123 | if(TARGET ZLIB::ZLIB) |
| 124 | set(_gRPC_ZLIB_LIBRARIES ZLIB::ZLIB) |
| 125 | endif() |
Konstantin Podsvirov | dd33148 | 2016-07-28 00:00:25 +0300 | [diff] [blame] | 126 | set(_gRPC_FIND_ZLIB "if(NOT ZLIB_FOUND)\n find_package(ZLIB)\nendif()") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 127 | endif() |
| 128 | |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 129 | if("${gRPC_CARES_PROVIDER}" STREQUAL "module") |
| 130 | if(NOT CARES_ROOT_DIR) |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 131 | set(CARES_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/c-ares) |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 132 | endif() |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 133 | string(TOLOWER ${CMAKE_SYSTEM_NAME} CARES_SYSTEM_NAME) |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 134 | set(CARES_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/cares/cares") |
| 135 | set(CARES_BUILD_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/cares") |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 136 | set(CARES_PLATFORM_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/cares/config_${CARES_SYSTEM_NAME}") |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 137 | if(EXISTS "${CARES_ROOT_DIR}/CMakeLists.txt") |
| 138 | if("${CARES_SYSTEM_NAME}" MATCHES "windows") |
| 139 | add_definitions(-DCARES_STATICLIB=1) |
| 140 | add_definitions(-DWIN32_LEAN_AND_MEAN=1) |
| 141 | else() |
| 142 | add_definitions(-DHAVE_CONFIG_H=1) |
| 143 | add_definitions(-D_GNU_SOURCE=1) |
| 144 | endif() |
| 145 | add_subdirectory(src/c-ares third_party/cares) |
| 146 | if(TARGET cares) |
| 147 | set(_gRPC_CARES_LIBRARIES cares) |
| 148 | endif() |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 149 | else() |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 150 | message(WARNING "gRPC_CARES_PROVIDER is \"module\" but CARES_ROOT_DIR is wrong") |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 151 | endif() |
| 152 | elseif("${gRPC_CARES_PROVIDER}" STREQUAL "package") |
| 153 | find_package(CARES) |
| 154 | if(TARGET CARES::CARES) |
| 155 | set(_gRPC_CARES_LIBRARIES CARES::CARES) |
| 156 | endif() |
| 157 | set(_gRPC_FIND_CARES "if(NOT CARES_FOUND)\n find_package(CARES)\nendif()") |
| 158 | endif() |
| 159 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 160 | if("${gRPC_PROTOBUF_PROVIDER}" STREQUAL "module") |
| 161 | # Building the protobuf tests require gmock what is not part of a standard protobuf checkout. |
| 162 | # Disable them unless they are explicitly requested from the cmake command line (when we assume |
| 163 | # gmock is downloaded to the right location inside protobuf). |
| 164 | if(NOT protobuf_BUILD_TESTS) |
| 165 | set(protobuf_BUILD_TESTS OFF CACHE BOOL "Build protobuf tests") |
| 166 | endif() |
| 167 | if(NOT PROTOBUF_ROOT_DIR) |
| 168 | set(PROTOBUF_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/protobuf) |
| 169 | endif() |
yang-g | 66d40c6 | 2017-04-12 10:18:10 -0700 | [diff] [blame] | 170 | set(PROTOBUF_WELLKNOWN_IMPORT_DIR ${PROTOBUF_ROOT_DIR}/src) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 171 | if(EXISTS "${PROTOBUF_ROOT_DIR}/cmake/CMakeLists.txt") |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 172 | set(protobuf_MSVC_STATIC_RUNTIME OFF CACHE BOOL "Link static runtime libraries") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 173 | add_subdirectory(${PROTOBUF_ROOT_DIR}/cmake third_party/protobuf) |
| 174 | if(TARGET ${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 175 | set(_gRPC_PROTOBUF_LIBRARIES ${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 176 | endif() |
| 177 | if(TARGET libprotoc) |
| 178 | set(_gRPC_PROTOBUF_PROTOC_LIBRARIES libprotoc) |
| 179 | endif() |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 180 | if(TARGET protoc) |
| 181 | set(_gRPC_PROTOBUF_PROTOC protoc) |
| 182 | endif() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 183 | else() |
| 184 | message(WARNING "gRPC_PROTOBUF_PROVIDER is \"module\" but PROTOBUF_ROOT_DIR is wrong") |
| 185 | endif() |
| 186 | elseif("${gRPC_PROTOBUF_PROVIDER}" STREQUAL "package") |
| 187 | find_package(protobuf CONFIG) |
| 188 | if(protobuf_FOUND) |
| 189 | if(TARGET protobuf::${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 190 | set(_gRPC_PROTOBUF_LIBRARIES protobuf::${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 191 | endif() |
| 192 | if(TARGET protobuf::libprotoc) |
| 193 | set(_gRPC_PROTOBUF_PROTOC_LIBRARIES protobuf::libprotoc) |
| 194 | endif() |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 195 | if(TARGET protobuf::protoc) |
| 196 | set(_gRPC_PROTOBUF_PROTOC protobuf::protoc) |
| 197 | endif() |
Konstantin Podsvirov | dd33148 | 2016-07-28 00:00:25 +0300 | [diff] [blame] | 198 | set(_gRPC_FIND_PROTOBUF "if(NOT protobuf_FOUND)\n find_package(protobuf CONFIG)\nendif()") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 199 | else() |
| 200 | find_package(Protobuf MODULE) |
Konstantin Podsvirov | dd33148 | 2016-07-28 00:00:25 +0300 | [diff] [blame] | 201 | set(_gRPC_FIND_PROTOBUF "if(NOT Protobuf_FOUND)\n find_package(Protobuf)\nendif()") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 202 | endif() |
yang-g | 66d40c6 | 2017-04-12 10:18:10 -0700 | [diff] [blame] | 203 | set(PROTOBUF_WELLKNOWN_IMPORT_DIR /usr/local/include) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 204 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 205 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 206 | if("${gRPC_SSL_PROVIDER}" STREQUAL "module") |
| 207 | if(NOT BORINGSSL_ROOT_DIR) |
| 208 | set(BORINGSSL_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/boringssl) |
| 209 | endif() |
| 210 | if(EXISTS "${BORINGSSL_ROOT_DIR}/CMakeLists.txt") |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 211 | set(OPENSSL_NO_ASM ON) # make boringssl buildable with Visual Studio |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 212 | add_subdirectory(${BORINGSSL_ROOT_DIR} third_party/boringssl) |
| 213 | if(TARGET ssl) |
| 214 | set(_gRPC_SSL_LIBRARIES ssl) |
| 215 | endif() |
| 216 | else() |
| 217 | message(WARNING "gRPC_SSL_PROVIDER is \"module\" but BORINGSSL_ROOT_DIR is wrong") |
| 218 | endif() |
| 219 | elseif("${gRPC_SSL_PROVIDER}" STREQUAL "package") |
| 220 | find_package(OpenSSL) |
| 221 | if(TARGET OpenSSL::SSL) |
| 222 | set(_gRPC_SSL_LIBRARIES OpenSSL::SSL) |
| 223 | endif() |
Konstantin Podsvirov | dd33148 | 2016-07-28 00:00:25 +0300 | [diff] [blame] | 224 | set(_gRPC_FIND_SSL "if(NOT OpenSSL_FOUND)\n find_package(OpenSSL)\nendif()") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 225 | endif() |
| 226 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 227 | if("${gRPC_GFLAGS_PROVIDER}" STREQUAL "module") |
| 228 | if(NOT GFLAGS_ROOT_DIR) |
| 229 | set(GFLAGS_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/gflags) |
| 230 | endif() |
| 231 | if(EXISTS "${GFLAGS_ROOT_DIR}/CMakeLists.txt") |
| 232 | add_subdirectory(${GFLAGS_ROOT_DIR} third_party/gflags) |
| 233 | if(TARGET gflags_static) |
| 234 | set(_gRPC_GFLAGS_LIBRARIES gflags_static) |
| 235 | endif() |
| 236 | else() |
| 237 | message(WARNING "gRPC_GFLAGS_PROVIDER is \"module\" but GFLAGS_ROOT_DIR is wrong") |
| 238 | endif() |
| 239 | elseif("${gRPC_GFLAGS_PROVIDER}" STREQUAL "package") |
| 240 | find_package(gflags) |
| 241 | if(TARGET gflags::gflags) |
| 242 | set(_gRPC_GFLAGS_LIBRARIES gflags::gflags) |
| 243 | endif() |
| 244 | set(_gRPC_FIND_GFLAGS "if(NOT gflags_FOUND)\n find_package(gflags)\nendif()") |
| 245 | endif() |
| 246 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 247 | if("${gRPC_BENCHMARK_PROVIDER}" STREQUAL "module") |
| 248 | if(NOT BENCHMARK_ROOT_DIR) |
| 249 | set(BENCHMARK_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/benchmark) |
| 250 | endif() |
| 251 | if(EXISTS "${BENCHMARK_ROOT_DIR}/CMakeLists.txt") |
| 252 | add_subdirectory(${BENCHMARK_ROOT_DIR} third_party/benchmark) |
| 253 | if(TARGET benchmark) |
| 254 | set(_gRPC_BENCHMARK_LIBRARIES benchmark) |
| 255 | endif() |
| 256 | else() |
| 257 | message(WARNING "gRPC_BENCHMARK_PROVIDER is \"module\" but BENCHMARK_ROOT_DIR is wrong") |
| 258 | endif() |
| 259 | elseif("${gRPC_BENCHMARK_PROVIDER}" STREQUAL "package") |
| 260 | find_package(benchmark) |
| 261 | if(TARGET benchmark::benchmark) |
| 262 | set(_gRPC_BENCHMARK_LIBRARIES benchmark::benchmark) |
| 263 | endif() |
| 264 | set(_gRPC_FIND_BENCHMARK "if(NOT benchmark_FOUND)\n find_package(benchmark)\nendif()") |
| 265 | endif() |
| 266 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 267 | if(NOT MSVC) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 268 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 269 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |
| 270 | endif() |
| 271 | |
Mehrdad Afshari | 79ec0ff | 2017-04-19 03:14:26 -0700 | [diff] [blame] | 272 | if(_gRPC_PLATFORM_MAC) |
| 273 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m pthread) |
| 274 | elseif(UNIX) |
| 275 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} rt m pthread) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 276 | endif() |
| 277 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 278 | if(WIN32 AND MSVC) |
| 279 | set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32) |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 280 | endif() |
| 281 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 282 | include(GNUInstallDirs) |
| 283 | if(NOT DEFINED CMAKE_INSTALL_CMAKEDIR) |
| 284 | set(CMAKE_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR}/cmake/gRPC") |
| 285 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 286 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 287 | # Create directory for generated .proto files |
| 288 | set(_gRPC_PROTO_GENS_DIR ${CMAKE_BINARY_DIR}/gens) |
| 289 | file(MAKE_DIRECTORY ${_gRPC_PROTO_GENS_DIR}) |
| 290 | |
| 291 | # protobuf_generate_grpc_cpp |
| 292 | # -------------------------- |
| 293 | # |
| 294 | # Add custom commands to process ``.proto`` files to C++ using protoc and |
| 295 | # GRPC plugin:: |
| 296 | # |
| 297 | # protobuf_generate_grpc_cpp [<ARGN>...] |
| 298 | # |
| 299 | # ``ARGN`` |
| 300 | # ``.proto`` files |
| 301 | # |
| 302 | function(protobuf_generate_grpc_cpp) |
| 303 | if(NOT ARGN) |
| 304 | message(SEND_ERROR "Error: PROTOBUF_GENERATE_GRPC_CPP() called without any proto files") |
| 305 | return() |
| 306 | endif() |
| 307 | |
yang-g | 66d40c6 | 2017-04-12 10:18:10 -0700 | [diff] [blame] | 308 | set(_protobuf_include_path -I . -I ${PROTOBUF_WELLKNOWN_IMPORT_DIR}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 309 | foreach(FIL ${ARGN}) |
| 310 | get_filename_component(ABS_FIL ${FIL} ABSOLUTE) |
| 311 | get_filename_component(FIL_WE ${FIL} NAME_WE) |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 312 | file(RELATIVE_PATH REL_FIL ${CMAKE_CURRENT_SOURCE_DIR} ${ABS_FIL}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 313 | get_filename_component(REL_DIR ${REL_FIL} DIRECTORY) |
| 314 | set(RELFIL_WE "${REL_DIR}/${FIL_WE}") |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 315 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 316 | add_custom_command( |
| 317 | OUTPUT "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.cc" |
| 318 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.h" |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 319 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}_mock.grpc.pb.h" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 320 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc" |
| 321 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h" |
| 322 | COMMAND ${_gRPC_PROTOBUF_PROTOC} |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 323 | ARGS --grpc_out=generate_mock_code=true:${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 324 | --cpp_out=${_gRPC_PROTO_GENS_DIR} |
| 325 | --plugin=protoc-gen-grpc=$<TARGET_FILE:grpc_cpp_plugin> |
| 326 | ${_protobuf_include_path} |
| 327 | ${REL_FIL} |
| 328 | DEPENDS ${ABS_FIL} ${_gRPC_PROTOBUF_PROTOC} grpc_cpp_plugin |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 329 | WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 330 | COMMENT "Running gRPC C++ protocol buffer compiler on ${FIL}" |
| 331 | VERBATIM) |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 332 | |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 333 | 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] | 334 | endforeach() |
| 335 | endfunction() |
| 336 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 337 | add_custom_target(plugins |
| 338 | DEPENDS |
| 339 | grpc_cpp_plugin |
| 340 | grpc_csharp_plugin |
| 341 | grpc_node_plugin |
| 342 | grpc_objective_c_plugin |
| 343 | grpc_php_plugin |
| 344 | grpc_python_plugin |
| 345 | grpc_ruby_plugin |
| 346 | ) |
| 347 | |
| 348 | add_custom_target(tools_c |
| 349 | DEPENDS |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 350 | check_epollexclusive |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 351 | gen_hpack_tables |
| 352 | gen_legal_metadata_characters |
| 353 | gen_percent_encoding_tables |
| 354 | grpc_create_jwt |
| 355 | grpc_print_google_default_creds_token |
| 356 | grpc_verify_jwt |
| 357 | ) |
| 358 | |
| 359 | add_custom_target(tools_cxx |
| 360 | DEPENDS |
| 361 | ) |
| 362 | |
| 363 | add_custom_target(tools |
| 364 | DEPENDS tools_c tools_cxx) |
| 365 | |
| 366 | if (gRPC_BUILD_TESTS) |
| 367 | add_custom_target(buildtests_c) |
| 368 | add_dependencies(buildtests_c alarm_test) |
| 369 | add_dependencies(buildtests_c algorithm_test) |
| 370 | add_dependencies(buildtests_c alloc_test) |
| 371 | add_dependencies(buildtests_c alpn_test) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 372 | add_dependencies(buildtests_c arena_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 373 | add_dependencies(buildtests_c bad_server_response_test) |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 374 | add_dependencies(buildtests_c bdp_estimator_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 375 | add_dependencies(buildtests_c bin_decoder_test) |
| 376 | add_dependencies(buildtests_c bin_encoder_test) |
| 377 | add_dependencies(buildtests_c census_context_test) |
| 378 | add_dependencies(buildtests_c census_resource_test) |
| 379 | add_dependencies(buildtests_c census_trace_context_test) |
| 380 | add_dependencies(buildtests_c channel_create_test) |
| 381 | add_dependencies(buildtests_c chttp2_hpack_encoder_test) |
| 382 | add_dependencies(buildtests_c chttp2_stream_map_test) |
| 383 | add_dependencies(buildtests_c chttp2_varint_test) |
| 384 | add_dependencies(buildtests_c combiner_test) |
| 385 | add_dependencies(buildtests_c compression_test) |
| 386 | add_dependencies(buildtests_c concurrent_connectivity_test) |
| 387 | add_dependencies(buildtests_c connection_refused_test) |
| 388 | add_dependencies(buildtests_c dns_resolver_connectivity_test) |
| 389 | add_dependencies(buildtests_c dns_resolver_test) |
| 390 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 391 | add_dependencies(buildtests_c dualstack_socket_test) |
| 392 | endif() |
| 393 | add_dependencies(buildtests_c endpoint_pair_test) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 394 | add_dependencies(buildtests_c error_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 395 | if(_gRPC_PLATFORM_LINUX) |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 396 | add_dependencies(buildtests_c ev_epollsig_linux_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 397 | endif() |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 398 | add_dependencies(buildtests_c fake_resolver_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 399 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 400 | add_dependencies(buildtests_c fd_conservation_posix_test) |
| 401 | endif() |
| 402 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 403 | add_dependencies(buildtests_c fd_posix_test) |
| 404 | endif() |
| 405 | add_dependencies(buildtests_c fling_client) |
| 406 | add_dependencies(buildtests_c fling_server) |
| 407 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 408 | add_dependencies(buildtests_c fling_stream_test) |
| 409 | endif() |
| 410 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 411 | add_dependencies(buildtests_c fling_test) |
| 412 | endif() |
| 413 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 414 | add_dependencies(buildtests_c goaway_server_test) |
| 415 | endif() |
| 416 | add_dependencies(buildtests_c gpr_avl_test) |
| 417 | add_dependencies(buildtests_c gpr_backoff_test) |
| 418 | add_dependencies(buildtests_c gpr_cmdline_test) |
| 419 | add_dependencies(buildtests_c gpr_cpu_test) |
| 420 | add_dependencies(buildtests_c gpr_env_test) |
| 421 | add_dependencies(buildtests_c gpr_histogram_test) |
| 422 | add_dependencies(buildtests_c gpr_host_port_test) |
| 423 | add_dependencies(buildtests_c gpr_log_test) |
| 424 | add_dependencies(buildtests_c gpr_mpscq_test) |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 425 | add_dependencies(buildtests_c gpr_spinlock_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 426 | add_dependencies(buildtests_c gpr_stack_lockfree_test) |
| 427 | add_dependencies(buildtests_c gpr_string_test) |
| 428 | add_dependencies(buildtests_c gpr_sync_test) |
| 429 | add_dependencies(buildtests_c gpr_thd_test) |
| 430 | add_dependencies(buildtests_c gpr_time_test) |
| 431 | add_dependencies(buildtests_c gpr_tls_test) |
| 432 | add_dependencies(buildtests_c gpr_useful_test) |
| 433 | add_dependencies(buildtests_c grpc_auth_context_test) |
| 434 | add_dependencies(buildtests_c grpc_b64_test) |
| 435 | add_dependencies(buildtests_c grpc_byte_buffer_reader_test) |
| 436 | add_dependencies(buildtests_c grpc_channel_args_test) |
| 437 | add_dependencies(buildtests_c grpc_channel_stack_test) |
| 438 | add_dependencies(buildtests_c grpc_completion_queue_test) |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 439 | add_dependencies(buildtests_c grpc_completion_queue_threading_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 440 | add_dependencies(buildtests_c grpc_credentials_test) |
| 441 | add_dependencies(buildtests_c grpc_fetch_oauth2) |
| 442 | add_dependencies(buildtests_c grpc_invalid_channel_args_test) |
| 443 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 444 | add_dependencies(buildtests_c grpc_json_token_test) |
| 445 | endif() |
| 446 | add_dependencies(buildtests_c grpc_jwt_verifier_test) |
| 447 | add_dependencies(buildtests_c grpc_security_connector_test) |
| 448 | if(_gRPC_PLATFORM_LINUX) |
| 449 | add_dependencies(buildtests_c handshake_client) |
| 450 | endif() |
| 451 | if(_gRPC_PLATFORM_LINUX) |
| 452 | add_dependencies(buildtests_c handshake_server) |
| 453 | endif() |
| 454 | add_dependencies(buildtests_c hpack_parser_test) |
| 455 | add_dependencies(buildtests_c hpack_table_test) |
| 456 | add_dependencies(buildtests_c http_parser_test) |
| 457 | add_dependencies(buildtests_c httpcli_format_request_test) |
| 458 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 459 | add_dependencies(buildtests_c httpcli_test) |
| 460 | endif() |
| 461 | if(_gRPC_PLATFORM_LINUX) |
| 462 | add_dependencies(buildtests_c httpscli_test) |
| 463 | endif() |
| 464 | add_dependencies(buildtests_c init_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 465 | add_dependencies(buildtests_c invalid_call_argument_test) |
| 466 | add_dependencies(buildtests_c json_rewrite) |
| 467 | add_dependencies(buildtests_c json_rewrite_test) |
| 468 | add_dependencies(buildtests_c json_stream_error_test) |
| 469 | add_dependencies(buildtests_c json_test) |
| 470 | add_dependencies(buildtests_c lame_client_test) |
| 471 | add_dependencies(buildtests_c lb_policies_test) |
| 472 | add_dependencies(buildtests_c load_file_test) |
| 473 | add_dependencies(buildtests_c memory_profile_client) |
| 474 | add_dependencies(buildtests_c memory_profile_server) |
| 475 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 476 | add_dependencies(buildtests_c memory_profile_test) |
| 477 | endif() |
| 478 | add_dependencies(buildtests_c message_compress_test) |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 479 | add_dependencies(buildtests_c minimal_stack_is_minimal_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 480 | add_dependencies(buildtests_c mlog_test) |
| 481 | add_dependencies(buildtests_c multiple_server_queues_test) |
| 482 | add_dependencies(buildtests_c murmur_hash_test) |
| 483 | add_dependencies(buildtests_c no_server_test) |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 484 | add_dependencies(buildtests_c parse_address_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 485 | add_dependencies(buildtests_c percent_encoding_test) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 486 | if(_gRPC_PLATFORM_LINUX) |
| 487 | add_dependencies(buildtests_c pollset_set_test) |
| 488 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 489 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 490 | add_dependencies(buildtests_c resolve_address_posix_test) |
| 491 | endif() |
| 492 | add_dependencies(buildtests_c resolve_address_test) |
| 493 | add_dependencies(buildtests_c resource_quota_test) |
| 494 | add_dependencies(buildtests_c secure_channel_create_test) |
| 495 | add_dependencies(buildtests_c secure_endpoint_test) |
| 496 | add_dependencies(buildtests_c sequential_connectivity_test) |
| 497 | add_dependencies(buildtests_c server_chttp2_test) |
| 498 | add_dependencies(buildtests_c server_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 499 | add_dependencies(buildtests_c slice_buffer_test) |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 500 | add_dependencies(buildtests_c slice_hash_table_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 501 | add_dependencies(buildtests_c slice_string_helpers_test) |
| 502 | add_dependencies(buildtests_c slice_test) |
| 503 | add_dependencies(buildtests_c sockaddr_resolver_test) |
| 504 | add_dependencies(buildtests_c sockaddr_utils_test) |
| 505 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 506 | add_dependencies(buildtests_c socket_utils_test) |
| 507 | endif() |
| 508 | add_dependencies(buildtests_c status_conversion_test) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 509 | add_dependencies(buildtests_c stream_owned_slice_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 510 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 511 | add_dependencies(buildtests_c tcp_client_posix_test) |
| 512 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 513 | add_dependencies(buildtests_c tcp_client_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 514 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 515 | add_dependencies(buildtests_c tcp_posix_test) |
| 516 | endif() |
| 517 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 518 | add_dependencies(buildtests_c tcp_server_posix_test) |
| 519 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 520 | add_dependencies(buildtests_c tcp_server_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 521 | add_dependencies(buildtests_c time_averaged_stats_test) |
| 522 | add_dependencies(buildtests_c timeout_encoding_test) |
| 523 | add_dependencies(buildtests_c timer_heap_test) |
| 524 | add_dependencies(buildtests_c timer_list_test) |
| 525 | add_dependencies(buildtests_c transport_connectivity_state_test) |
| 526 | add_dependencies(buildtests_c transport_metadata_test) |
| 527 | add_dependencies(buildtests_c transport_pid_controller_test) |
| 528 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 529 | add_dependencies(buildtests_c transport_security_test) |
| 530 | endif() |
| 531 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 532 | add_dependencies(buildtests_c udp_server_test) |
| 533 | endif() |
| 534 | add_dependencies(buildtests_c uri_parser_test) |
| 535 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 536 | add_dependencies(buildtests_c wakeup_fd_cv_test) |
| 537 | endif() |
| 538 | add_dependencies(buildtests_c public_headers_must_be_c89) |
| 539 | add_dependencies(buildtests_c badreq_bad_client_test) |
| 540 | add_dependencies(buildtests_c connection_prefix_bad_client_test) |
| 541 | add_dependencies(buildtests_c head_of_line_blocking_bad_client_test) |
| 542 | add_dependencies(buildtests_c headers_bad_client_test) |
| 543 | add_dependencies(buildtests_c initial_settings_frame_bad_client_test) |
| 544 | add_dependencies(buildtests_c large_metadata_bad_client_test) |
| 545 | add_dependencies(buildtests_c server_registered_method_bad_client_test) |
| 546 | add_dependencies(buildtests_c simple_request_bad_client_test) |
| 547 | add_dependencies(buildtests_c unknown_frame_bad_client_test) |
| 548 | add_dependencies(buildtests_c window_overflow_bad_client_test) |
| 549 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 550 | add_dependencies(buildtests_c bad_ssl_cert_server) |
| 551 | endif() |
| 552 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 553 | add_dependencies(buildtests_c bad_ssl_cert_test) |
| 554 | endif() |
| 555 | add_dependencies(buildtests_c h2_census_test) |
| 556 | add_dependencies(buildtests_c h2_compress_test) |
| 557 | add_dependencies(buildtests_c h2_fakesec_test) |
| 558 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 559 | add_dependencies(buildtests_c h2_fd_test) |
| 560 | endif() |
| 561 | add_dependencies(buildtests_c h2_full_test) |
| 562 | if(_gRPC_PLATFORM_LINUX) |
| 563 | add_dependencies(buildtests_c h2_full+pipe_test) |
| 564 | endif() |
| 565 | add_dependencies(buildtests_c h2_full+trace_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 566 | add_dependencies(buildtests_c h2_full+workarounds_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 567 | add_dependencies(buildtests_c h2_http_proxy_test) |
| 568 | add_dependencies(buildtests_c h2_load_reporting_test) |
| 569 | add_dependencies(buildtests_c h2_oauth2_test) |
| 570 | add_dependencies(buildtests_c h2_proxy_test) |
| 571 | add_dependencies(buildtests_c h2_sockpair_test) |
| 572 | add_dependencies(buildtests_c h2_sockpair+trace_test) |
| 573 | add_dependencies(buildtests_c h2_sockpair_1byte_test) |
| 574 | add_dependencies(buildtests_c h2_ssl_test) |
| 575 | add_dependencies(buildtests_c h2_ssl_cert_test) |
| 576 | add_dependencies(buildtests_c h2_ssl_proxy_test) |
| 577 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 578 | add_dependencies(buildtests_c h2_uds_test) |
| 579 | endif() |
| 580 | add_dependencies(buildtests_c h2_census_nosec_test) |
| 581 | add_dependencies(buildtests_c h2_compress_nosec_test) |
| 582 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 583 | add_dependencies(buildtests_c h2_fd_nosec_test) |
| 584 | endif() |
| 585 | add_dependencies(buildtests_c h2_full_nosec_test) |
| 586 | if(_gRPC_PLATFORM_LINUX) |
| 587 | add_dependencies(buildtests_c h2_full+pipe_nosec_test) |
| 588 | endif() |
| 589 | add_dependencies(buildtests_c h2_full+trace_nosec_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 590 | add_dependencies(buildtests_c h2_full+workarounds_nosec_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 591 | add_dependencies(buildtests_c h2_http_proxy_nosec_test) |
| 592 | add_dependencies(buildtests_c h2_load_reporting_nosec_test) |
| 593 | add_dependencies(buildtests_c h2_proxy_nosec_test) |
| 594 | add_dependencies(buildtests_c h2_sockpair_nosec_test) |
| 595 | add_dependencies(buildtests_c h2_sockpair+trace_nosec_test) |
| 596 | add_dependencies(buildtests_c h2_sockpair_1byte_nosec_test) |
| 597 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 598 | add_dependencies(buildtests_c h2_uds_nosec_test) |
| 599 | endif() |
| 600 | add_dependencies(buildtests_c api_fuzzer_one_entry) |
| 601 | add_dependencies(buildtests_c client_fuzzer_one_entry) |
| 602 | add_dependencies(buildtests_c hpack_parser_fuzzer_test_one_entry) |
| 603 | add_dependencies(buildtests_c http_request_fuzzer_test_one_entry) |
| 604 | add_dependencies(buildtests_c http_response_fuzzer_test_one_entry) |
| 605 | add_dependencies(buildtests_c json_fuzzer_test_one_entry) |
| 606 | add_dependencies(buildtests_c nanopb_fuzzer_response_test_one_entry) |
| 607 | add_dependencies(buildtests_c nanopb_fuzzer_serverlist_test_one_entry) |
| 608 | add_dependencies(buildtests_c percent_decode_fuzzer_one_entry) |
| 609 | add_dependencies(buildtests_c percent_encode_fuzzer_one_entry) |
| 610 | add_dependencies(buildtests_c server_fuzzer_one_entry) |
| 611 | add_dependencies(buildtests_c ssl_server_fuzzer_one_entry) |
| 612 | add_dependencies(buildtests_c uri_fuzzer_test_one_entry) |
| 613 | |
| 614 | add_custom_target(buildtests_cxx) |
| 615 | add_dependencies(buildtests_cxx alarm_cpp_test) |
| 616 | add_dependencies(buildtests_cxx async_end2end_test) |
| 617 | add_dependencies(buildtests_cxx auth_property_iterator_test) |
| 618 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 619 | add_dependencies(buildtests_cxx bm_arena) |
| 620 | endif() |
| 621 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 622 | add_dependencies(buildtests_cxx bm_call_create) |
| 623 | endif() |
| 624 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 625 | add_dependencies(buildtests_cxx bm_chttp2_hpack) |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 626 | endif() |
| 627 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 628 | add_dependencies(buildtests_cxx bm_chttp2_transport) |
| 629 | endif() |
| 630 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 631 | add_dependencies(buildtests_cxx bm_closure) |
| 632 | endif() |
| 633 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 634 | add_dependencies(buildtests_cxx bm_cq) |
| 635 | endif() |
| 636 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 637 | add_dependencies(buildtests_cxx bm_cq_multiple_threads) |
| 638 | endif() |
| 639 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 640 | add_dependencies(buildtests_cxx bm_error) |
| 641 | endif() |
| 642 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 643 | add_dependencies(buildtests_cxx bm_fullstack_streaming_ping_pong) |
| 644 | endif() |
| 645 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 646 | add_dependencies(buildtests_cxx bm_fullstack_streaming_pump) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 647 | endif() |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 648 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 649 | add_dependencies(buildtests_cxx bm_fullstack_trickle) |
| 650 | endif() |
| 651 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 652 | add_dependencies(buildtests_cxx bm_fullstack_unary_ping_pong) |
| 653 | endif() |
| 654 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 655 | add_dependencies(buildtests_cxx bm_metadata) |
| 656 | endif() |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 657 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 658 | add_dependencies(buildtests_cxx bm_pollset) |
| 659 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 660 | add_dependencies(buildtests_cxx channel_arguments_test) |
| 661 | add_dependencies(buildtests_cxx channel_filter_test) |
| 662 | add_dependencies(buildtests_cxx cli_call_test) |
| 663 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 664 | add_dependencies(buildtests_cxx client_crash_test) |
| 665 | endif() |
| 666 | add_dependencies(buildtests_cxx client_crash_test_server) |
| 667 | add_dependencies(buildtests_cxx codegen_test_full) |
| 668 | add_dependencies(buildtests_cxx codegen_test_minimal) |
| 669 | add_dependencies(buildtests_cxx credentials_test) |
| 670 | add_dependencies(buildtests_cxx cxx_byte_buffer_test) |
| 671 | add_dependencies(buildtests_cxx cxx_slice_test) |
| 672 | add_dependencies(buildtests_cxx cxx_string_ref_test) |
| 673 | add_dependencies(buildtests_cxx cxx_time_test) |
| 674 | add_dependencies(buildtests_cxx end2end_test) |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 675 | add_dependencies(buildtests_cxx error_details_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 676 | add_dependencies(buildtests_cxx filter_end2end_test) |
| 677 | add_dependencies(buildtests_cxx generic_end2end_test) |
| 678 | add_dependencies(buildtests_cxx golden_file_test) |
| 679 | add_dependencies(buildtests_cxx grpc_cli) |
| 680 | add_dependencies(buildtests_cxx grpc_tool_test) |
| 681 | add_dependencies(buildtests_cxx grpclb_api_test) |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 682 | add_dependencies(buildtests_cxx grpclb_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 683 | add_dependencies(buildtests_cxx grpclb_test) |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 684 | add_dependencies(buildtests_cxx health_service_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 685 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 686 | add_dependencies(buildtests_cxx http2_client) |
| 687 | endif() |
| 688 | add_dependencies(buildtests_cxx hybrid_end2end_test) |
| 689 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 690 | add_dependencies(buildtests_cxx interop_client) |
| 691 | endif() |
| 692 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 693 | add_dependencies(buildtests_cxx interop_server) |
| 694 | endif() |
| 695 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 696 | add_dependencies(buildtests_cxx interop_test) |
| 697 | endif() |
| 698 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 699 | add_dependencies(buildtests_cxx json_run_localhost) |
| 700 | endif() |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 701 | add_dependencies(buildtests_cxx memory_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 702 | add_dependencies(buildtests_cxx metrics_client) |
| 703 | add_dependencies(buildtests_cxx mock_test) |
| 704 | add_dependencies(buildtests_cxx noop-benchmark) |
| 705 | add_dependencies(buildtests_cxx proto_server_reflection_test) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 706 | add_dependencies(buildtests_cxx proto_utils_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 707 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 708 | add_dependencies(buildtests_cxx qps_interarrival_test) |
| 709 | endif() |
| 710 | add_dependencies(buildtests_cxx qps_json_driver) |
| 711 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 712 | add_dependencies(buildtests_cxx qps_openloop_test) |
| 713 | endif() |
| 714 | add_dependencies(buildtests_cxx qps_worker) |
| 715 | add_dependencies(buildtests_cxx reconnect_interop_client) |
| 716 | add_dependencies(buildtests_cxx reconnect_interop_server) |
| 717 | add_dependencies(buildtests_cxx round_robin_end2end_test) |
| 718 | add_dependencies(buildtests_cxx secure_auth_context_test) |
| 719 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 720 | add_dependencies(buildtests_cxx secure_sync_unary_ping_pong_test) |
| 721 | endif() |
| 722 | add_dependencies(buildtests_cxx server_builder_plugin_test) |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 723 | add_dependencies(buildtests_cxx server_builder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 724 | add_dependencies(buildtests_cxx server_context_test_spouse_test) |
| 725 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 726 | add_dependencies(buildtests_cxx server_crash_test) |
| 727 | endif() |
| 728 | add_dependencies(buildtests_cxx server_crash_test_client) |
| 729 | add_dependencies(buildtests_cxx shutdown_test) |
| 730 | add_dependencies(buildtests_cxx status_test) |
| 731 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 732 | add_dependencies(buildtests_cxx streaming_throughput_test) |
| 733 | endif() |
| 734 | add_dependencies(buildtests_cxx stress_test) |
| 735 | add_dependencies(buildtests_cxx thread_manager_test) |
| 736 | add_dependencies(buildtests_cxx thread_stress_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 737 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 738 | add_dependencies(buildtests_cxx writes_per_rpc_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 739 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 740 | |
| 741 | add_custom_target(buildtests |
| 742 | DEPENDS buildtests_c buildtests_cxx) |
| 743 | endif (gRPC_BUILD_TESTS) |
| 744 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 745 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 746 | add_library(gpr |
| 747 | src/core/lib/profiling/basic_timers.c |
| 748 | src/core/lib/profiling/stap_timers.c |
| 749 | src/core/lib/support/alloc.c |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 750 | src/core/lib/support/arena.c |
Mark D. Roth | fecba53 | 2017-03-17 09:50:48 -0700 | [diff] [blame] | 751 | src/core/lib/support/atm.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 752 | src/core/lib/support/avl.c |
| 753 | src/core/lib/support/backoff.c |
| 754 | src/core/lib/support/cmdline.c |
| 755 | src/core/lib/support/cpu_iphone.c |
| 756 | src/core/lib/support/cpu_linux.c |
| 757 | src/core/lib/support/cpu_posix.c |
| 758 | src/core/lib/support/cpu_windows.c |
| 759 | src/core/lib/support/env_linux.c |
| 760 | src/core/lib/support/env_posix.c |
| 761 | src/core/lib/support/env_windows.c |
| 762 | src/core/lib/support/histogram.c |
| 763 | src/core/lib/support/host_port.c |
| 764 | src/core/lib/support/log.c |
| 765 | src/core/lib/support/log_android.c |
| 766 | src/core/lib/support/log_linux.c |
| 767 | src/core/lib/support/log_posix.c |
| 768 | src/core/lib/support/log_windows.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 769 | src/core/lib/support/mpscq.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 770 | src/core/lib/support/murmur_hash.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 771 | src/core/lib/support/stack_lockfree.c |
| 772 | src/core/lib/support/string.c |
| 773 | src/core/lib/support/string_posix.c |
| 774 | src/core/lib/support/string_util_windows.c |
| 775 | src/core/lib/support/string_windows.c |
| 776 | src/core/lib/support/subprocess_posix.c |
| 777 | src/core/lib/support/subprocess_windows.c |
| 778 | src/core/lib/support/sync.c |
| 779 | src/core/lib/support/sync_posix.c |
| 780 | src/core/lib/support/sync_windows.c |
| 781 | src/core/lib/support/thd.c |
| 782 | src/core/lib/support/thd_posix.c |
| 783 | src/core/lib/support/thd_windows.c |
| 784 | src/core/lib/support/time.c |
| 785 | src/core/lib/support/time_posix.c |
| 786 | src/core/lib/support/time_precise.c |
| 787 | src/core/lib/support/time_windows.c |
| 788 | src/core/lib/support/tls_pthread.c |
| 789 | src/core/lib/support/tmpfile_msys.c |
| 790 | src/core/lib/support/tmpfile_posix.c |
| 791 | src/core/lib/support/tmpfile_windows.c |
| 792 | src/core/lib/support/wrap_memcpy.c |
| 793 | ) |
| 794 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 795 | if(WIN32 AND MSVC) |
| 796 | set_target_properties(gpr PROPERTIES COMPILE_PDB_NAME "gpr" |
| 797 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 798 | ) |
| 799 | if (gRPC_INSTALL) |
| 800 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr.pdb |
| 801 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 802 | ) |
| 803 | endif() |
| 804 | endif() |
| 805 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 806 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 807 | target_include_directories(gpr |
| 808 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 809 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 810 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 811 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 812 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 813 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 814 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 815 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 816 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 817 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 818 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 819 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 820 | ) |
| 821 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 822 | target_link_libraries(gpr |
| 823 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 824 | ) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 825 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 826 | foreach(_hdr |
| 827 | include/grpc/support/alloc.h |
| 828 | include/grpc/support/atm.h |
| 829 | include/grpc/support/atm_gcc_atomic.h |
| 830 | include/grpc/support/atm_gcc_sync.h |
| 831 | include/grpc/support/atm_windows.h |
| 832 | include/grpc/support/avl.h |
| 833 | include/grpc/support/cmdline.h |
| 834 | include/grpc/support/cpu.h |
| 835 | include/grpc/support/histogram.h |
| 836 | include/grpc/support/host_port.h |
| 837 | include/grpc/support/log.h |
| 838 | include/grpc/support/log_windows.h |
| 839 | include/grpc/support/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 840 | include/grpc/support/string_util.h |
| 841 | include/grpc/support/subprocess.h |
| 842 | include/grpc/support/sync.h |
| 843 | include/grpc/support/sync_generic.h |
| 844 | include/grpc/support/sync_posix.h |
| 845 | include/grpc/support/sync_windows.h |
| 846 | include/grpc/support/thd.h |
| 847 | include/grpc/support/time.h |
| 848 | include/grpc/support/tls.h |
| 849 | include/grpc/support/tls_gcc.h |
| 850 | include/grpc/support/tls_msvc.h |
| 851 | include/grpc/support/tls_pthread.h |
| 852 | include/grpc/support/useful.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 853 | include/grpc/impl/codegen/atm.h |
| 854 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 855 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 856 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 857 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 858 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 859 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 860 | include/grpc/impl/codegen/sync.h |
| 861 | include/grpc/impl/codegen/sync_generic.h |
| 862 | include/grpc/impl/codegen/sync_posix.h |
| 863 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 864 | ) |
| 865 | string(REPLACE "include/" "" _path ${_hdr}) |
| 866 | get_filename_component(_path ${_path} PATH) |
| 867 | install(FILES ${_hdr} |
| 868 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 869 | ) |
| 870 | endforeach() |
| 871 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 872 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 873 | if (gRPC_INSTALL) |
| 874 | install(TARGETS gpr EXPORT gRPCTargets |
| 875 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 876 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 877 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 878 | ) |
| 879 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 880 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 881 | if (gRPC_BUILD_TESTS) |
| 882 | |
| 883 | add_library(gpr_test_util |
| 884 | test/core/util/test_config.c |
| 885 | ) |
| 886 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 887 | if(WIN32 AND MSVC) |
| 888 | set_target_properties(gpr_test_util PROPERTIES COMPILE_PDB_NAME "gpr_test_util" |
| 889 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 890 | ) |
| 891 | if (gRPC_INSTALL) |
| 892 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr_test_util.pdb |
| 893 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 894 | ) |
| 895 | endif() |
| 896 | endif() |
| 897 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 898 | |
| 899 | target_include_directories(gpr_test_util |
| 900 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 901 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 902 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 903 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 904 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 905 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 906 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 907 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 908 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 909 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 910 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 911 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 912 | ) |
| 913 | |
| 914 | target_link_libraries(gpr_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 915 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 916 | gpr |
| 917 | ) |
| 918 | |
| 919 | |
| 920 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 921 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 922 | add_library(grpc |
| 923 | src/core/lib/surface/init.c |
| 924 | src/core/lib/channel/channel_args.c |
| 925 | src/core/lib/channel/channel_stack.c |
| 926 | src/core/lib/channel/channel_stack_builder.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 927 | src/core/lib/channel/connected_channel.c |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 928 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 929 | src/core/lib/channel/handshaker_factory.c |
| 930 | src/core/lib/channel/handshaker_registry.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 931 | src/core/lib/compression/compression.c |
| 932 | src/core/lib/compression/message_compress.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 933 | src/core/lib/http/format_request.c |
| 934 | src/core/lib/http/httpcli.c |
| 935 | src/core/lib/http/parser.c |
| 936 | src/core/lib/iomgr/closure.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 937 | src/core/lib/iomgr/combiner.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 938 | src/core/lib/iomgr/endpoint.c |
| 939 | src/core/lib/iomgr/endpoint_pair_posix.c |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 940 | src/core/lib/iomgr/endpoint_pair_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 941 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 942 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 943 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 944 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 945 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 946 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 947 | src/core/lib/iomgr/ev_epollsig_linux.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 948 | src/core/lib/iomgr/ev_poll_posix.c |
| 949 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 950 | src/core/lib/iomgr/ev_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 951 | src/core/lib/iomgr/exec_ctx.c |
| 952 | src/core/lib/iomgr/executor.c |
| 953 | src/core/lib/iomgr/iocp_windows.c |
| 954 | src/core/lib/iomgr/iomgr.c |
| 955 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 956 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 957 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 958 | src/core/lib/iomgr/is_epollexclusive_available.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 959 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 960 | src/core/lib/iomgr/lockfree_event.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 961 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 962 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 963 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 964 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 965 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 966 | src/core/lib/iomgr/pollset_windows.c |
| 967 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 968 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 969 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 970 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 971 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 972 | src/core/lib/iomgr/socket_factory_posix.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 973 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 974 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 975 | src/core/lib/iomgr/socket_utils_linux.c |
| 976 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 977 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 978 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 979 | src/core/lib/iomgr/socket_windows.c |
| 980 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 981 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 982 | src/core/lib/iomgr/tcp_client_windows.c |
| 983 | src/core/lib/iomgr/tcp_posix.c |
| 984 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 985 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 986 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 987 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 988 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 989 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 990 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 991 | src/core/lib/iomgr/tcp_windows.c |
| 992 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 993 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 994 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 995 | src/core/lib/iomgr/timer_manager.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 996 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 997 | src/core/lib/iomgr/udp_server.c |
| 998 | src/core/lib/iomgr/unix_sockets_posix.c |
| 999 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 1000 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1001 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1002 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1003 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1004 | src/core/lib/iomgr/wakeup_fd_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1005 | src/core/lib/iomgr/workqueue_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1006 | src/core/lib/iomgr/workqueue_windows.c |
| 1007 | src/core/lib/json/json.c |
| 1008 | src/core/lib/json/json_reader.c |
| 1009 | src/core/lib/json/json_string.c |
| 1010 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 1011 | src/core/lib/slice/b64.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1012 | src/core/lib/slice/percent_encoding.c |
| 1013 | src/core/lib/slice/slice.c |
| 1014 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1015 | src/core/lib/slice/slice_hash_table.c |
| 1016 | src/core/lib/slice/slice_intern.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1017 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1018 | src/core/lib/surface/alarm.c |
| 1019 | src/core/lib/surface/api_trace.c |
| 1020 | src/core/lib/surface/byte_buffer.c |
| 1021 | src/core/lib/surface/byte_buffer_reader.c |
| 1022 | src/core/lib/surface/call.c |
| 1023 | src/core/lib/surface/call_details.c |
| 1024 | src/core/lib/surface/call_log_batch.c |
| 1025 | src/core/lib/surface/channel.c |
| 1026 | src/core/lib/surface/channel_init.c |
| 1027 | src/core/lib/surface/channel_ping.c |
| 1028 | src/core/lib/surface/channel_stack_type.c |
| 1029 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 1030 | src/core/lib/surface/completion_queue_factory.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1031 | src/core/lib/surface/event_string.c |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1032 | src/core/lib/surface/lame_client.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1033 | src/core/lib/surface/metadata_array.c |
| 1034 | src/core/lib/surface/server.c |
| 1035 | src/core/lib/surface/validate_metadata.c |
| 1036 | src/core/lib/surface/version.c |
Craig Tiller | 9e0066b | 2016-10-20 14:04:18 -0700 | [diff] [blame] | 1037 | src/core/lib/transport/bdp_estimator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1038 | src/core/lib/transport/byte_stream.c |
| 1039 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1040 | src/core/lib/transport/error_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1041 | src/core/lib/transport/metadata.c |
| 1042 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 1043 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 1044 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1045 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1046 | src/core/lib/transport/status_conversion.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 1047 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1048 | src/core/lib/transport/transport.c |
| 1049 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 1050 | src/core/lib/debug/trace.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1051 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c |
| 1052 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 1053 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 1054 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 1055 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 1056 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 1057 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 1058 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 1059 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 1060 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 1061 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 1062 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 1063 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 1064 | src/core/ext/transport/chttp2/transport/hpack_table.c |
Craig Tiller | c8f62bc | 2017-04-03 16:25:45 -0700 | [diff] [blame] | 1065 | src/core/ext/transport/chttp2/transport/http2_settings.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1066 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 1067 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 1068 | src/core/ext/transport/chttp2/transport/parsing.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1069 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 1070 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1071 | src/core/ext/transport/chttp2/transport/varint.c |
| 1072 | src/core/ext/transport/chttp2/transport/writing.c |
| 1073 | src/core/ext/transport/chttp2/alpn/alpn.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1074 | src/core/ext/filters/http/client/http_client_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1075 | src/core/ext/filters/http/http_filters_plugin.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 1076 | src/core/ext/filters/http/message_compress/message_compress_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1077 | src/core/ext/filters/http/server/http_server_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1078 | src/core/lib/http/httpcli_security_connector.c |
| 1079 | src/core/lib/security/context/security_context.c |
| 1080 | src/core/lib/security/credentials/composite/composite_credentials.c |
| 1081 | src/core/lib/security/credentials/credentials.c |
| 1082 | src/core/lib/security/credentials/credentials_metadata.c |
| 1083 | src/core/lib/security/credentials/fake/fake_credentials.c |
murgatroid99 | 7c20590 | 2016-08-09 10:07:42 -0700 | [diff] [blame] | 1084 | src/core/lib/security/credentials/google_default/credentials_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1085 | src/core/lib/security/credentials/google_default/google_default_credentials.c |
| 1086 | src/core/lib/security/credentials/iam/iam_credentials.c |
| 1087 | src/core/lib/security/credentials/jwt/json_token.c |
| 1088 | src/core/lib/security/credentials/jwt/jwt_credentials.c |
| 1089 | src/core/lib/security/credentials/jwt/jwt_verifier.c |
| 1090 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c |
| 1091 | src/core/lib/security/credentials/plugin/plugin_credentials.c |
| 1092 | src/core/lib/security/credentials/ssl/ssl_credentials.c |
| 1093 | src/core/lib/security/transport/client_auth_filter.c |
David Garcia Quintas | 0129150 | 2017-02-07 13:26:41 -0800 | [diff] [blame] | 1094 | src/core/lib/security/transport/lb_targets_info.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1095 | src/core/lib/security/transport/secure_endpoint.c |
| 1096 | src/core/lib/security/transport/security_connector.c |
Mark D. Roth | 071cacf | 2016-11-17 13:17:56 -0800 | [diff] [blame] | 1097 | src/core/lib/security/transport/security_handshaker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1098 | src/core/lib/security/transport/server_auth_filter.c |
| 1099 | src/core/lib/security/transport/tsi_error.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1100 | src/core/lib/security/util/json_util.c |
| 1101 | src/core/lib/surface/init_secure.c |
Craig Tiller | 134fed3 | 2017-03-28 14:27:18 -0700 | [diff] [blame] | 1102 | src/core/tsi/fake_transport_security.c |
| 1103 | src/core/tsi/ssl_transport_security.c |
| 1104 | src/core/tsi/transport_security.c |
jiangtaoli2016 | e69881d | 2017-04-10 14:29:43 -0700 | [diff] [blame] | 1105 | src/core/tsi/transport_security_adapter.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 1106 | src/core/ext/transport/chttp2/server/chttp2_server.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1107 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1108 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 1109 | src/core/ext/filters/client_channel/client_channel.c |
| 1110 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 1111 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 1112 | src/core/ext/filters/client_channel/connector.c |
| 1113 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 1114 | src/core/ext/filters/client_channel/http_proxy.c |
| 1115 | src/core/ext/filters/client_channel/lb_policy.c |
| 1116 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 1117 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 1118 | src/core/ext/filters/client_channel/parse_address.c |
| 1119 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 1120 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 1121 | src/core/ext/filters/client_channel/resolver.c |
| 1122 | src/core/ext/filters/client_channel/resolver_factory.c |
| 1123 | src/core/ext/filters/client_channel/resolver_registry.c |
| 1124 | src/core/ext/filters/client_channel/retry_throttle.c |
| 1125 | src/core/ext/filters/client_channel/subchannel.c |
| 1126 | src/core/ext/filters/client_channel/subchannel_index.c |
| 1127 | src/core/ext/filters/client_channel/uri_parser.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 1128 | src/core/ext/filters/deadline/deadline_filter.c |
Mark D. Roth | 8686cab | 2016-11-17 13:12:17 -0800 | [diff] [blame] | 1129 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1130 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 1131 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
| 1132 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 1133 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
Mark D. Roth | 09e458c | 2017-05-02 08:13:26 -0700 | [diff] [blame] | 1134 | src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1135 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c |
| 1136 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.c |
Mark D. Roth | 09e458c | 2017-05-02 08:13:26 -0700 | [diff] [blame] | 1137 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1138 | src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c |
| 1139 | 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] | 1140 | third_party/nanopb/pb_common.c |
| 1141 | third_party/nanopb/pb_decode.c |
| 1142 | third_party/nanopb/pb_encode.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1143 | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c |
| 1144 | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.c |
| 1145 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c |
| 1146 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c |
| 1147 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c |
| 1148 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.c |
| 1149 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.c |
| 1150 | src/core/ext/filters/load_reporting/load_reporting.c |
| 1151 | src/core/ext/filters/load_reporting/load_reporting_filter.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 1152 | src/core/ext/census/base_resources.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1153 | src/core/ext/census/context.c |
| 1154 | src/core/ext/census/gen/census.pb.c |
Alistair Veitch | a0c69f9 | 2016-08-31 12:01:27 -0700 | [diff] [blame] | 1155 | src/core/ext/census/gen/trace_context.pb.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1156 | src/core/ext/census/grpc_context.c |
| 1157 | src/core/ext/census/grpc_filter.c |
| 1158 | src/core/ext/census/grpc_plugin.c |
| 1159 | src/core/ext/census/initialize.c |
| 1160 | src/core/ext/census/mlog.c |
| 1161 | src/core/ext/census/operation.c |
| 1162 | src/core/ext/census/placeholders.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 1163 | src/core/ext/census/resource.c |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 1164 | src/core/ext/census/trace_context.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1165 | src/core/ext/census/tracing.c |
Craig Tiller | 6d4894e | 2017-03-31 17:22:06 -0700 | [diff] [blame] | 1166 | src/core/ext/filters/max_age/max_age_filter.c |
Craig Tiller | 9b3648a | 2017-04-03 12:25:19 -0700 | [diff] [blame] | 1167 | src/core/ext/filters/message_size/message_size_filter.c |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 1168 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c |
| 1169 | src/core/ext/filters/workarounds/workaround_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1170 | src/core/plugin_registry/grpc_plugin_registry.c |
| 1171 | ) |
| 1172 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1173 | if(WIN32 AND MSVC) |
| 1174 | set_target_properties(grpc PROPERTIES COMPILE_PDB_NAME "grpc" |
| 1175 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1176 | ) |
| 1177 | if (gRPC_INSTALL) |
| 1178 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc.pdb |
| 1179 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 1180 | ) |
| 1181 | endif() |
| 1182 | endif() |
| 1183 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1184 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1185 | target_include_directories(grpc |
| 1186 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1187 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1188 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1189 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1190 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1191 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1192 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 1193 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1194 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 1195 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1196 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1197 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1198 | ) |
| 1199 | |
| 1200 | target_link_libraries(grpc |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1201 | ${_gRPC_BASELIB_LIBRARIES} |
| 1202 | ${_gRPC_SSL_LIBRARIES} |
| 1203 | ${_gRPC_ZLIB_LIBRARIES} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1204 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1205 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1206 | gpr |
| 1207 | ) |
| 1208 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1209 | foreach(_hdr |
| 1210 | include/grpc/byte_buffer.h |
| 1211 | include/grpc/byte_buffer_reader.h |
| 1212 | include/grpc/compression.h |
| 1213 | include/grpc/grpc.h |
| 1214 | include/grpc/grpc_posix.h |
Nicolas "Pixel" Noble | e3e17d3 | 2016-08-20 01:45:32 +0200 | [diff] [blame] | 1215 | include/grpc/grpc_security_constants.h |
David Garcia Quintas | f31f096 | 2017-02-10 14:53:58 -0800 | [diff] [blame] | 1216 | include/grpc/load_reporting.h |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1217 | include/grpc/slice.h |
| 1218 | include/grpc/slice_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1219 | include/grpc/status.h |
Muxi Yan | 1d3ce9a | 2017-05-15 16:01:17 -0700 | [diff] [blame] | 1220 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1221 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1222 | include/grpc/impl/codegen/compression_types.h |
| 1223 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1224 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1225 | include/grpc/impl/codegen/grpc_types.h |
| 1226 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1227 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1228 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1229 | include/grpc/impl/codegen/atm.h |
| 1230 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1231 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1232 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1233 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1234 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1235 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1236 | include/grpc/impl/codegen/sync.h |
| 1237 | include/grpc/impl/codegen/sync_generic.h |
| 1238 | include/grpc/impl/codegen/sync_posix.h |
| 1239 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1240 | include/grpc/grpc_security.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1241 | include/grpc/census.h |
| 1242 | ) |
| 1243 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1244 | get_filename_component(_path ${_path} PATH) |
| 1245 | install(FILES ${_hdr} |
| 1246 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 1247 | ) |
| 1248 | endforeach() |
| 1249 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1250 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1251 | if (gRPC_INSTALL) |
| 1252 | install(TARGETS grpc EXPORT gRPCTargets |
| 1253 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 1254 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1255 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1256 | ) |
| 1257 | endif() |
| 1258 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1259 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1260 | add_library(grpc_cronet |
| 1261 | src/core/lib/surface/init.c |
| 1262 | src/core/lib/channel/channel_args.c |
| 1263 | src/core/lib/channel/channel_stack.c |
| 1264 | src/core/lib/channel/channel_stack_builder.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1265 | src/core/lib/channel/connected_channel.c |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 1266 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 1267 | src/core/lib/channel/handshaker_factory.c |
| 1268 | src/core/lib/channel/handshaker_registry.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1269 | src/core/lib/compression/compression.c |
| 1270 | src/core/lib/compression/message_compress.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1271 | src/core/lib/http/format_request.c |
| 1272 | src/core/lib/http/httpcli.c |
| 1273 | src/core/lib/http/parser.c |
| 1274 | src/core/lib/iomgr/closure.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 1275 | src/core/lib/iomgr/combiner.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1276 | src/core/lib/iomgr/endpoint.c |
| 1277 | src/core/lib/iomgr/endpoint_pair_posix.c |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 1278 | src/core/lib/iomgr/endpoint_pair_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1279 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 1280 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1281 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 1282 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 1283 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 1284 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1285 | src/core/lib/iomgr/ev_epollsig_linux.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1286 | src/core/lib/iomgr/ev_poll_posix.c |
| 1287 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 1288 | src/core/lib/iomgr/ev_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1289 | src/core/lib/iomgr/exec_ctx.c |
| 1290 | src/core/lib/iomgr/executor.c |
| 1291 | src/core/lib/iomgr/iocp_windows.c |
| 1292 | src/core/lib/iomgr/iomgr.c |
| 1293 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1294 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1295 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 1296 | src/core/lib/iomgr/is_epollexclusive_available.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1297 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 1298 | src/core/lib/iomgr/lockfree_event.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 1299 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1300 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1301 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1302 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1303 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1304 | src/core/lib/iomgr/pollset_windows.c |
| 1305 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1306 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1307 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 1308 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1309 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 1310 | src/core/lib/iomgr/socket_factory_posix.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 1311 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1312 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1313 | src/core/lib/iomgr/socket_utils_linux.c |
| 1314 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1315 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 1316 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1317 | src/core/lib/iomgr/socket_windows.c |
| 1318 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1319 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1320 | src/core/lib/iomgr/tcp_client_windows.c |
| 1321 | src/core/lib/iomgr/tcp_posix.c |
| 1322 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 1323 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 1324 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 1325 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1326 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1327 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1328 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1329 | src/core/lib/iomgr/tcp_windows.c |
| 1330 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1331 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1332 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 1333 | src/core/lib/iomgr/timer_manager.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1334 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1335 | src/core/lib/iomgr/udp_server.c |
| 1336 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1337 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 1338 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1339 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1340 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1341 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1342 | src/core/lib/iomgr/wakeup_fd_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1343 | src/core/lib/iomgr/workqueue_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1344 | src/core/lib/iomgr/workqueue_windows.c |
| 1345 | src/core/lib/json/json.c |
| 1346 | src/core/lib/json/json_reader.c |
| 1347 | src/core/lib/json/json_string.c |
| 1348 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 1349 | src/core/lib/slice/b64.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1350 | src/core/lib/slice/percent_encoding.c |
| 1351 | src/core/lib/slice/slice.c |
| 1352 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1353 | src/core/lib/slice/slice_hash_table.c |
| 1354 | src/core/lib/slice/slice_intern.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1355 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1356 | src/core/lib/surface/alarm.c |
| 1357 | src/core/lib/surface/api_trace.c |
| 1358 | src/core/lib/surface/byte_buffer.c |
| 1359 | src/core/lib/surface/byte_buffer_reader.c |
| 1360 | src/core/lib/surface/call.c |
| 1361 | src/core/lib/surface/call_details.c |
| 1362 | src/core/lib/surface/call_log_batch.c |
| 1363 | src/core/lib/surface/channel.c |
| 1364 | src/core/lib/surface/channel_init.c |
| 1365 | src/core/lib/surface/channel_ping.c |
| 1366 | src/core/lib/surface/channel_stack_type.c |
| 1367 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 1368 | src/core/lib/surface/completion_queue_factory.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1369 | src/core/lib/surface/event_string.c |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1370 | src/core/lib/surface/lame_client.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1371 | src/core/lib/surface/metadata_array.c |
| 1372 | src/core/lib/surface/server.c |
| 1373 | src/core/lib/surface/validate_metadata.c |
| 1374 | src/core/lib/surface/version.c |
Craig Tiller | 9e0066b | 2016-10-20 14:04:18 -0700 | [diff] [blame] | 1375 | src/core/lib/transport/bdp_estimator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1376 | src/core/lib/transport/byte_stream.c |
| 1377 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1378 | src/core/lib/transport/error_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1379 | src/core/lib/transport/metadata.c |
| 1380 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 1381 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 1382 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1383 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1384 | src/core/lib/transport/status_conversion.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 1385 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1386 | src/core/lib/transport/transport.c |
| 1387 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 1388 | src/core/lib/debug/trace.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1389 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.c |
| 1390 | src/core/ext/transport/cronet/transport/cronet_api_dummy.c |
| 1391 | src/core/ext/transport/cronet/transport/cronet_transport.c |
| 1392 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c |
| 1393 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 1394 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 1395 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 1396 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 1397 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 1398 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 1399 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 1400 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 1401 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 1402 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 1403 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 1404 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 1405 | src/core/ext/transport/chttp2/transport/hpack_table.c |
Craig Tiller | c8f62bc | 2017-04-03 16:25:45 -0700 | [diff] [blame] | 1406 | src/core/ext/transport/chttp2/transport/http2_settings.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1407 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 1408 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 1409 | src/core/ext/transport/chttp2/transport/parsing.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1410 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 1411 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1412 | src/core/ext/transport/chttp2/transport/varint.c |
| 1413 | src/core/ext/transport/chttp2/transport/writing.c |
| 1414 | src/core/ext/transport/chttp2/alpn/alpn.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1415 | src/core/ext/filters/http/client/http_client_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1416 | src/core/ext/filters/http/http_filters_plugin.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 1417 | src/core/ext/filters/http/message_compress/message_compress_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1418 | src/core/ext/filters/http/server/http_server_filter.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1419 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 1420 | src/core/ext/filters/client_channel/client_channel.c |
| 1421 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 1422 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 1423 | src/core/ext/filters/client_channel/connector.c |
| 1424 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 1425 | src/core/ext/filters/client_channel/http_proxy.c |
| 1426 | src/core/ext/filters/client_channel/lb_policy.c |
| 1427 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 1428 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 1429 | src/core/ext/filters/client_channel/parse_address.c |
| 1430 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 1431 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 1432 | src/core/ext/filters/client_channel/resolver.c |
| 1433 | src/core/ext/filters/client_channel/resolver_factory.c |
| 1434 | src/core/ext/filters/client_channel/resolver_registry.c |
| 1435 | src/core/ext/filters/client_channel/retry_throttle.c |
| 1436 | src/core/ext/filters/client_channel/subchannel.c |
| 1437 | src/core/ext/filters/client_channel/subchannel_index.c |
| 1438 | src/core/ext/filters/client_channel/uri_parser.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 1439 | src/core/ext/filters/deadline/deadline_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1440 | src/core/lib/http/httpcli_security_connector.c |
| 1441 | src/core/lib/security/context/security_context.c |
| 1442 | src/core/lib/security/credentials/composite/composite_credentials.c |
| 1443 | src/core/lib/security/credentials/credentials.c |
| 1444 | src/core/lib/security/credentials/credentials_metadata.c |
| 1445 | src/core/lib/security/credentials/fake/fake_credentials.c |
murgatroid99 | 7c20590 | 2016-08-09 10:07:42 -0700 | [diff] [blame] | 1446 | src/core/lib/security/credentials/google_default/credentials_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1447 | src/core/lib/security/credentials/google_default/google_default_credentials.c |
| 1448 | src/core/lib/security/credentials/iam/iam_credentials.c |
| 1449 | src/core/lib/security/credentials/jwt/json_token.c |
| 1450 | src/core/lib/security/credentials/jwt/jwt_credentials.c |
| 1451 | src/core/lib/security/credentials/jwt/jwt_verifier.c |
| 1452 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c |
| 1453 | src/core/lib/security/credentials/plugin/plugin_credentials.c |
| 1454 | src/core/lib/security/credentials/ssl/ssl_credentials.c |
| 1455 | src/core/lib/security/transport/client_auth_filter.c |
David Garcia Quintas | 0129150 | 2017-02-07 13:26:41 -0800 | [diff] [blame] | 1456 | src/core/lib/security/transport/lb_targets_info.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1457 | src/core/lib/security/transport/secure_endpoint.c |
| 1458 | src/core/lib/security/transport/security_connector.c |
Mark D. Roth | 071cacf | 2016-11-17 13:17:56 -0800 | [diff] [blame] | 1459 | src/core/lib/security/transport/security_handshaker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1460 | src/core/lib/security/transport/server_auth_filter.c |
| 1461 | src/core/lib/security/transport/tsi_error.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1462 | src/core/lib/security/util/json_util.c |
| 1463 | src/core/lib/surface/init_secure.c |
Craig Tiller | 134fed3 | 2017-03-28 14:27:18 -0700 | [diff] [blame] | 1464 | src/core/tsi/fake_transport_security.c |
| 1465 | src/core/tsi/ssl_transport_security.c |
| 1466 | src/core/tsi/transport_security.c |
jiangtaoli2016 | e69881d | 2017-04-10 14:29:43 -0700 | [diff] [blame] | 1467 | src/core/tsi/transport_security_adapter.c |
Mark D. Roth | 8686cab | 2016-11-17 13:12:17 -0800 | [diff] [blame] | 1468 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1469 | src/core/ext/filters/load_reporting/load_reporting.c |
| 1470 | src/core/ext/filters/load_reporting/load_reporting_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1471 | src/core/plugin_registry/grpc_cronet_plugin_registry.c |
| 1472 | ) |
| 1473 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1474 | if(WIN32 AND MSVC) |
| 1475 | set_target_properties(grpc_cronet PROPERTIES COMPILE_PDB_NAME "grpc_cronet" |
| 1476 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1477 | ) |
| 1478 | if (gRPC_INSTALL) |
| 1479 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cronet.pdb |
| 1480 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 1481 | ) |
| 1482 | endif() |
| 1483 | endif() |
| 1484 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1485 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1486 | target_include_directories(grpc_cronet |
| 1487 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1488 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1489 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1490 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1491 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1492 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1493 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 1494 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1495 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 1496 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1497 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1498 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1499 | ) |
| 1500 | |
| 1501 | target_link_libraries(grpc_cronet |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1502 | ${_gRPC_BASELIB_LIBRARIES} |
| 1503 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1504 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1505 | gpr |
| 1506 | ) |
| 1507 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1508 | foreach(_hdr |
| 1509 | include/grpc/byte_buffer.h |
| 1510 | include/grpc/byte_buffer_reader.h |
| 1511 | include/grpc/compression.h |
| 1512 | include/grpc/grpc.h |
| 1513 | include/grpc/grpc_posix.h |
Nicolas "Pixel" Noble | e3e17d3 | 2016-08-20 01:45:32 +0200 | [diff] [blame] | 1514 | include/grpc/grpc_security_constants.h |
David Garcia Quintas | f31f096 | 2017-02-10 14:53:58 -0800 | [diff] [blame] | 1515 | include/grpc/load_reporting.h |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1516 | include/grpc/slice.h |
| 1517 | include/grpc/slice_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1518 | include/grpc/status.h |
Muxi Yan | 1d3ce9a | 2017-05-15 16:01:17 -0700 | [diff] [blame] | 1519 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1520 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1521 | include/grpc/impl/codegen/compression_types.h |
| 1522 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1523 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1524 | include/grpc/impl/codegen/grpc_types.h |
| 1525 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1526 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1527 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1528 | include/grpc/impl/codegen/atm.h |
| 1529 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1530 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1531 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1532 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1533 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1534 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1535 | include/grpc/impl/codegen/sync.h |
| 1536 | include/grpc/impl/codegen/sync_generic.h |
| 1537 | include/grpc/impl/codegen/sync_posix.h |
| 1538 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1539 | include/grpc/grpc_cronet.h |
| 1540 | include/grpc/grpc_security.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1541 | ) |
| 1542 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1543 | get_filename_component(_path ${_path} PATH) |
| 1544 | install(FILES ${_hdr} |
| 1545 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 1546 | ) |
| 1547 | endforeach() |
| 1548 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1549 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1550 | if (gRPC_INSTALL) |
| 1551 | install(TARGETS grpc_cronet EXPORT gRPCTargets |
| 1552 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 1553 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1554 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1555 | ) |
| 1556 | endif() |
| 1557 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1558 | if (gRPC_BUILD_TESTS) |
| 1559 | |
| 1560 | add_library(grpc_test_util |
| 1561 | test/core/end2end/data/client_certs.c |
| 1562 | test/core/end2end/data/server1_cert.c |
| 1563 | test/core/end2end/data/server1_key.c |
| 1564 | test/core/end2end/data/test_root_cert.c |
| 1565 | test/core/security/oauth2_utils.c |
| 1566 | test/core/end2end/cq_verifier.c |
| 1567 | test/core/end2end/fake_resolver.c |
Craig Tiller | e067b6e | 2017-03-06 14:46:37 -0800 | [diff] [blame] | 1568 | test/core/end2end/fixtures/http_proxy_fixture.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1569 | test/core/end2end/fixtures/proxy.c |
| 1570 | test/core/iomgr/endpoint_tests.c |
Craig Tiller | 61eb40c | 2017-02-03 13:46:33 -0800 | [diff] [blame] | 1571 | test/core/util/debugger_macros.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1572 | test/core/util/grpc_profiler.c |
| 1573 | test/core/util/memory_counters.c |
| 1574 | test/core/util/mock_endpoint.c |
| 1575 | test/core/util/parse_hexstring.c |
| 1576 | test/core/util/passthru_endpoint.c |
Craig Tiller | cba864b | 2017-02-17 10:27:56 -0800 | [diff] [blame] | 1577 | test/core/util/port.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1578 | test/core/util/port_server_client.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1579 | test/core/util/slice_splitter.c |
Craig Tiller | fe5f497 | 2017-02-13 16:26:27 -0800 | [diff] [blame] | 1580 | test/core/util/trickle_endpoint.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1581 | src/core/lib/channel/channel_args.c |
| 1582 | src/core/lib/channel/channel_stack.c |
| 1583 | src/core/lib/channel/channel_stack_builder.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1584 | src/core/lib/channel/connected_channel.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1585 | src/core/lib/channel/handshaker.c |
| 1586 | src/core/lib/channel/handshaker_factory.c |
| 1587 | src/core/lib/channel/handshaker_registry.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1588 | src/core/lib/compression/compression.c |
| 1589 | src/core/lib/compression/message_compress.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1590 | src/core/lib/http/format_request.c |
| 1591 | src/core/lib/http/httpcli.c |
| 1592 | src/core/lib/http/parser.c |
| 1593 | src/core/lib/iomgr/closure.c |
| 1594 | src/core/lib/iomgr/combiner.c |
| 1595 | src/core/lib/iomgr/endpoint.c |
| 1596 | src/core/lib/iomgr/endpoint_pair_posix.c |
| 1597 | src/core/lib/iomgr/endpoint_pair_uv.c |
| 1598 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 1599 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1600 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 1601 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 1602 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 1603 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1604 | src/core/lib/iomgr/ev_epollsig_linux.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1605 | src/core/lib/iomgr/ev_poll_posix.c |
| 1606 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 1607 | src/core/lib/iomgr/ev_windows.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1608 | src/core/lib/iomgr/exec_ctx.c |
| 1609 | src/core/lib/iomgr/executor.c |
| 1610 | src/core/lib/iomgr/iocp_windows.c |
| 1611 | src/core/lib/iomgr/iomgr.c |
| 1612 | src/core/lib/iomgr/iomgr_posix.c |
| 1613 | src/core/lib/iomgr/iomgr_uv.c |
| 1614 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 1615 | src/core/lib/iomgr/is_epollexclusive_available.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1616 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 1617 | src/core/lib/iomgr/lockfree_event.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1618 | src/core/lib/iomgr/network_status_tracker.c |
| 1619 | src/core/lib/iomgr/polling_entity.c |
| 1620 | src/core/lib/iomgr/pollset_set_uv.c |
| 1621 | src/core/lib/iomgr/pollset_set_windows.c |
| 1622 | src/core/lib/iomgr/pollset_uv.c |
| 1623 | src/core/lib/iomgr/pollset_windows.c |
| 1624 | src/core/lib/iomgr/resolve_address_posix.c |
| 1625 | src/core/lib/iomgr/resolve_address_uv.c |
| 1626 | src/core/lib/iomgr/resolve_address_windows.c |
| 1627 | src/core/lib/iomgr/resource_quota.c |
| 1628 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 1629 | src/core/lib/iomgr/socket_factory_posix.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1630 | src/core/lib/iomgr/socket_mutator.c |
| 1631 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1632 | src/core/lib/iomgr/socket_utils_linux.c |
| 1633 | src/core/lib/iomgr/socket_utils_posix.c |
| 1634 | src/core/lib/iomgr/socket_utils_uv.c |
| 1635 | src/core/lib/iomgr/socket_utils_windows.c |
| 1636 | src/core/lib/iomgr/socket_windows.c |
| 1637 | src/core/lib/iomgr/tcp_client_posix.c |
| 1638 | src/core/lib/iomgr/tcp_client_uv.c |
| 1639 | src/core/lib/iomgr/tcp_client_windows.c |
| 1640 | src/core/lib/iomgr/tcp_posix.c |
| 1641 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 1642 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 1643 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 1644 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1645 | src/core/lib/iomgr/tcp_server_uv.c |
| 1646 | src/core/lib/iomgr/tcp_server_windows.c |
| 1647 | src/core/lib/iomgr/tcp_uv.c |
| 1648 | src/core/lib/iomgr/tcp_windows.c |
| 1649 | src/core/lib/iomgr/time_averaged_stats.c |
| 1650 | src/core/lib/iomgr/timer_generic.c |
| 1651 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 1652 | src/core/lib/iomgr/timer_manager.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1653 | src/core/lib/iomgr/timer_uv.c |
| 1654 | src/core/lib/iomgr/udp_server.c |
| 1655 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1656 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
| 1657 | src/core/lib/iomgr/wakeup_fd_cv.c |
| 1658 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1659 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1660 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1661 | src/core/lib/iomgr/wakeup_fd_posix.c |
| 1662 | src/core/lib/iomgr/workqueue_uv.c |
| 1663 | src/core/lib/iomgr/workqueue_windows.c |
| 1664 | src/core/lib/json/json.c |
| 1665 | src/core/lib/json/json_reader.c |
| 1666 | src/core/lib/json/json_string.c |
| 1667 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 1668 | src/core/lib/slice/b64.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1669 | src/core/lib/slice/percent_encoding.c |
| 1670 | src/core/lib/slice/slice.c |
| 1671 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1672 | src/core/lib/slice/slice_hash_table.c |
| 1673 | src/core/lib/slice/slice_intern.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1674 | src/core/lib/slice/slice_string_helpers.c |
| 1675 | src/core/lib/surface/alarm.c |
| 1676 | src/core/lib/surface/api_trace.c |
| 1677 | src/core/lib/surface/byte_buffer.c |
| 1678 | src/core/lib/surface/byte_buffer_reader.c |
| 1679 | src/core/lib/surface/call.c |
| 1680 | src/core/lib/surface/call_details.c |
| 1681 | src/core/lib/surface/call_log_batch.c |
| 1682 | src/core/lib/surface/channel.c |
| 1683 | src/core/lib/surface/channel_init.c |
| 1684 | src/core/lib/surface/channel_ping.c |
| 1685 | src/core/lib/surface/channel_stack_type.c |
| 1686 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 1687 | src/core/lib/surface/completion_queue_factory.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1688 | src/core/lib/surface/event_string.c |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1689 | src/core/lib/surface/lame_client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1690 | src/core/lib/surface/metadata_array.c |
| 1691 | src/core/lib/surface/server.c |
| 1692 | src/core/lib/surface/validate_metadata.c |
| 1693 | src/core/lib/surface/version.c |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 1694 | src/core/lib/transport/bdp_estimator.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1695 | src/core/lib/transport/byte_stream.c |
| 1696 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1697 | src/core/lib/transport/error_utils.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1698 | src/core/lib/transport/metadata.c |
| 1699 | src/core/lib/transport/metadata_batch.c |
| 1700 | src/core/lib/transport/pid_controller.c |
| 1701 | src/core/lib/transport/service_config.c |
| 1702 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1703 | src/core/lib/transport/status_conversion.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1704 | src/core/lib/transport/timeout_encoding.c |
| 1705 | src/core/lib/transport/transport.c |
| 1706 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 1707 | src/core/lib/debug/trace.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1708 | ) |
| 1709 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1710 | if(WIN32 AND MSVC) |
| 1711 | set_target_properties(grpc_test_util PROPERTIES COMPILE_PDB_NAME "grpc_test_util" |
| 1712 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1713 | ) |
| 1714 | if (gRPC_INSTALL) |
| 1715 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util.pdb |
| 1716 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 1717 | ) |
| 1718 | endif() |
| 1719 | endif() |
| 1720 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1721 | |
| 1722 | target_include_directories(grpc_test_util |
| 1723 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1724 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1725 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1726 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1727 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1728 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1729 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 1730 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 1731 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 1732 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1733 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1734 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 1735 | ) |
| 1736 | |
| 1737 | target_link_libraries(grpc_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1738 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1739 | gpr_test_util |
| 1740 | gpr |
| 1741 | grpc |
| 1742 | ) |
| 1743 | |
| 1744 | foreach(_hdr |
| 1745 | include/grpc/byte_buffer.h |
| 1746 | include/grpc/byte_buffer_reader.h |
| 1747 | include/grpc/compression.h |
| 1748 | include/grpc/grpc.h |
| 1749 | include/grpc/grpc_posix.h |
| 1750 | include/grpc/grpc_security_constants.h |
David Garcia Quintas | f31f096 | 2017-02-10 14:53:58 -0800 | [diff] [blame] | 1751 | include/grpc/load_reporting.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1752 | include/grpc/slice.h |
| 1753 | include/grpc/slice_buffer.h |
| 1754 | include/grpc/status.h |
Muxi Yan | 1d3ce9a | 2017-05-15 16:01:17 -0700 | [diff] [blame] | 1755 | include/grpc/support/workaround_list.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1756 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1757 | include/grpc/impl/codegen/compression_types.h |
| 1758 | include/grpc/impl/codegen/connectivity_state.h |
| 1759 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 1760 | include/grpc/impl/codegen/grpc_types.h |
| 1761 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1762 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1763 | include/grpc/impl/codegen/status.h |
| 1764 | include/grpc/impl/codegen/atm.h |
| 1765 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1766 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1767 | include/grpc/impl/codegen/atm_windows.h |
| 1768 | include/grpc/impl/codegen/gpr_slice.h |
| 1769 | include/grpc/impl/codegen/gpr_types.h |
| 1770 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1771 | include/grpc/impl/codegen/sync.h |
| 1772 | include/grpc/impl/codegen/sync_generic.h |
| 1773 | include/grpc/impl/codegen/sync_posix.h |
| 1774 | include/grpc/impl/codegen/sync_windows.h |
| 1775 | ) |
| 1776 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1777 | get_filename_component(_path ${_path} PATH) |
| 1778 | install(FILES ${_hdr} |
| 1779 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 1780 | ) |
| 1781 | endforeach() |
| 1782 | |
| 1783 | endif (gRPC_BUILD_TESTS) |
| 1784 | if (gRPC_BUILD_TESTS) |
| 1785 | |
| 1786 | add_library(grpc_test_util_unsecure |
| 1787 | test/core/end2end/cq_verifier.c |
| 1788 | test/core/end2end/fake_resolver.c |
Craig Tiller | e067b6e | 2017-03-06 14:46:37 -0800 | [diff] [blame] | 1789 | test/core/end2end/fixtures/http_proxy_fixture.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1790 | test/core/end2end/fixtures/proxy.c |
| 1791 | test/core/iomgr/endpoint_tests.c |
Craig Tiller | 61eb40c | 2017-02-03 13:46:33 -0800 | [diff] [blame] | 1792 | test/core/util/debugger_macros.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1793 | test/core/util/grpc_profiler.c |
| 1794 | test/core/util/memory_counters.c |
| 1795 | test/core/util/mock_endpoint.c |
| 1796 | test/core/util/parse_hexstring.c |
| 1797 | test/core/util/passthru_endpoint.c |
Craig Tiller | cba864b | 2017-02-17 10:27:56 -0800 | [diff] [blame] | 1798 | test/core/util/port.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1799 | test/core/util/port_server_client.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1800 | test/core/util/slice_splitter.c |
Craig Tiller | fe5f497 | 2017-02-13 16:26:27 -0800 | [diff] [blame] | 1801 | test/core/util/trickle_endpoint.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1802 | ) |
| 1803 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1804 | if(WIN32 AND MSVC) |
| 1805 | set_target_properties(grpc_test_util_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_test_util_unsecure" |
| 1806 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1807 | ) |
| 1808 | if (gRPC_INSTALL) |
| 1809 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util_unsecure.pdb |
| 1810 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 1811 | ) |
| 1812 | endif() |
| 1813 | endif() |
| 1814 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1815 | |
| 1816 | target_include_directories(grpc_test_util_unsecure |
| 1817 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1818 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1819 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1820 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1821 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1822 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1823 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 1824 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 1825 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 1826 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1827 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1828 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 1829 | ) |
| 1830 | |
| 1831 | target_link_libraries(grpc_test_util_unsecure |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1832 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1833 | gpr |
| 1834 | gpr_test_util |
| 1835 | grpc_unsecure |
| 1836 | grpc |
| 1837 | ) |
| 1838 | |
| 1839 | |
| 1840 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1841 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1842 | add_library(grpc_unsecure |
| 1843 | src/core/lib/surface/init.c |
| 1844 | src/core/lib/surface/init_unsecure.c |
| 1845 | src/core/lib/channel/channel_args.c |
| 1846 | src/core/lib/channel/channel_stack.c |
| 1847 | src/core/lib/channel/channel_stack_builder.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1848 | src/core/lib/channel/connected_channel.c |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 1849 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 1850 | src/core/lib/channel/handshaker_factory.c |
| 1851 | src/core/lib/channel/handshaker_registry.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1852 | src/core/lib/compression/compression.c |
| 1853 | src/core/lib/compression/message_compress.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1854 | src/core/lib/http/format_request.c |
| 1855 | src/core/lib/http/httpcli.c |
| 1856 | src/core/lib/http/parser.c |
| 1857 | src/core/lib/iomgr/closure.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 1858 | src/core/lib/iomgr/combiner.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1859 | src/core/lib/iomgr/endpoint.c |
| 1860 | src/core/lib/iomgr/endpoint_pair_posix.c |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 1861 | src/core/lib/iomgr/endpoint_pair_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1862 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 1863 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1864 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 1865 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 1866 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 1867 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1868 | src/core/lib/iomgr/ev_epollsig_linux.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1869 | src/core/lib/iomgr/ev_poll_posix.c |
| 1870 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 1871 | src/core/lib/iomgr/ev_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1872 | src/core/lib/iomgr/exec_ctx.c |
| 1873 | src/core/lib/iomgr/executor.c |
| 1874 | src/core/lib/iomgr/iocp_windows.c |
| 1875 | src/core/lib/iomgr/iomgr.c |
| 1876 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1877 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1878 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 1879 | src/core/lib/iomgr/is_epollexclusive_available.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1880 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 1881 | src/core/lib/iomgr/lockfree_event.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 1882 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1883 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1884 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1885 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1886 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1887 | src/core/lib/iomgr/pollset_windows.c |
| 1888 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1889 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1890 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 1891 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1892 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 1893 | src/core/lib/iomgr/socket_factory_posix.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 1894 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1895 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1896 | src/core/lib/iomgr/socket_utils_linux.c |
| 1897 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1898 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 1899 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1900 | src/core/lib/iomgr/socket_windows.c |
| 1901 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1902 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1903 | src/core/lib/iomgr/tcp_client_windows.c |
| 1904 | src/core/lib/iomgr/tcp_posix.c |
| 1905 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 1906 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 1907 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 1908 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1909 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1910 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1911 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1912 | src/core/lib/iomgr/tcp_windows.c |
| 1913 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1914 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1915 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 1916 | src/core/lib/iomgr/timer_manager.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1917 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1918 | src/core/lib/iomgr/udp_server.c |
| 1919 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1920 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 1921 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1922 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1923 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1924 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1925 | src/core/lib/iomgr/wakeup_fd_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1926 | src/core/lib/iomgr/workqueue_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1927 | src/core/lib/iomgr/workqueue_windows.c |
| 1928 | src/core/lib/json/json.c |
| 1929 | src/core/lib/json/json_reader.c |
| 1930 | src/core/lib/json/json_string.c |
| 1931 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 1932 | src/core/lib/slice/b64.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1933 | src/core/lib/slice/percent_encoding.c |
| 1934 | src/core/lib/slice/slice.c |
| 1935 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1936 | src/core/lib/slice/slice_hash_table.c |
| 1937 | src/core/lib/slice/slice_intern.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1938 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1939 | src/core/lib/surface/alarm.c |
| 1940 | src/core/lib/surface/api_trace.c |
| 1941 | src/core/lib/surface/byte_buffer.c |
| 1942 | src/core/lib/surface/byte_buffer_reader.c |
| 1943 | src/core/lib/surface/call.c |
| 1944 | src/core/lib/surface/call_details.c |
| 1945 | src/core/lib/surface/call_log_batch.c |
| 1946 | src/core/lib/surface/channel.c |
| 1947 | src/core/lib/surface/channel_init.c |
| 1948 | src/core/lib/surface/channel_ping.c |
| 1949 | src/core/lib/surface/channel_stack_type.c |
| 1950 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 1951 | src/core/lib/surface/completion_queue_factory.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1952 | src/core/lib/surface/event_string.c |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1953 | src/core/lib/surface/lame_client.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1954 | src/core/lib/surface/metadata_array.c |
| 1955 | src/core/lib/surface/server.c |
| 1956 | src/core/lib/surface/validate_metadata.c |
| 1957 | src/core/lib/surface/version.c |
Craig Tiller | 9e0066b | 2016-10-20 14:04:18 -0700 | [diff] [blame] | 1958 | src/core/lib/transport/bdp_estimator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1959 | src/core/lib/transport/byte_stream.c |
| 1960 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1961 | src/core/lib/transport/error_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1962 | src/core/lib/transport/metadata.c |
| 1963 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 1964 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 1965 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1966 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1967 | src/core/lib/transport/status_conversion.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 1968 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1969 | src/core/lib/transport/transport.c |
| 1970 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 1971 | src/core/lib/debug/trace.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1972 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 1973 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
| 1974 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 1975 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 1976 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 1977 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 1978 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 1979 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 1980 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 1981 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 1982 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 1983 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 1984 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 1985 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 1986 | src/core/ext/transport/chttp2/transport/hpack_table.c |
Craig Tiller | c8f62bc | 2017-04-03 16:25:45 -0700 | [diff] [blame] | 1987 | src/core/ext/transport/chttp2/transport/http2_settings.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1988 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 1989 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 1990 | src/core/ext/transport/chttp2/transport/parsing.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1991 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 1992 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1993 | src/core/ext/transport/chttp2/transport/varint.c |
| 1994 | src/core/ext/transport/chttp2/transport/writing.c |
| 1995 | src/core/ext/transport/chttp2/alpn/alpn.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1996 | src/core/ext/filters/http/client/http_client_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1997 | src/core/ext/filters/http/http_filters_plugin.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 1998 | src/core/ext/filters/http/message_compress/message_compress_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1999 | src/core/ext/filters/http/server/http_server_filter.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 2000 | src/core/ext/transport/chttp2/server/chttp2_server.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2001 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 2002 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
Mark D. Roth | 2502afb | 2016-11-29 15:17:31 -0800 | [diff] [blame] | 2003 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2004 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 2005 | src/core/ext/filters/client_channel/client_channel.c |
| 2006 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 2007 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 2008 | src/core/ext/filters/client_channel/connector.c |
| 2009 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 2010 | src/core/ext/filters/client_channel/http_proxy.c |
| 2011 | src/core/ext/filters/client_channel/lb_policy.c |
| 2012 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 2013 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 2014 | src/core/ext/filters/client_channel/parse_address.c |
| 2015 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 2016 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 2017 | src/core/ext/filters/client_channel/resolver.c |
| 2018 | src/core/ext/filters/client_channel/resolver_factory.c |
| 2019 | src/core/ext/filters/client_channel/resolver_registry.c |
| 2020 | src/core/ext/filters/client_channel/retry_throttle.c |
| 2021 | src/core/ext/filters/client_channel/subchannel.c |
| 2022 | src/core/ext/filters/client_channel/subchannel_index.c |
| 2023 | src/core/ext/filters/client_channel/uri_parser.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 2024 | src/core/ext/filters/deadline/deadline_filter.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2025 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c |
| 2026 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c |
| 2027 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c |
| 2028 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.c |
| 2029 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.c |
| 2030 | src/core/ext/filters/load_reporting/load_reporting.c |
| 2031 | src/core/ext/filters/load_reporting/load_reporting_filter.c |
Mark D. Roth | 09e458c | 2017-05-02 08:13:26 -0700 | [diff] [blame] | 2032 | src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2033 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c |
| 2034 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.c |
Mark D. Roth | 09e458c | 2017-05-02 08:13:26 -0700 | [diff] [blame] | 2035 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2036 | src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c |
| 2037 | 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] | 2038 | third_party/nanopb/pb_common.c |
| 2039 | third_party/nanopb/pb_decode.c |
| 2040 | third_party/nanopb/pb_encode.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2041 | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c |
| 2042 | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 2043 | src/core/ext/census/base_resources.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2044 | src/core/ext/census/context.c |
| 2045 | src/core/ext/census/gen/census.pb.c |
Alistair Veitch | a0c69f9 | 2016-08-31 12:01:27 -0700 | [diff] [blame] | 2046 | src/core/ext/census/gen/trace_context.pb.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2047 | src/core/ext/census/grpc_context.c |
| 2048 | src/core/ext/census/grpc_filter.c |
| 2049 | src/core/ext/census/grpc_plugin.c |
| 2050 | src/core/ext/census/initialize.c |
| 2051 | src/core/ext/census/mlog.c |
| 2052 | src/core/ext/census/operation.c |
| 2053 | src/core/ext/census/placeholders.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 2054 | src/core/ext/census/resource.c |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 2055 | src/core/ext/census/trace_context.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2056 | src/core/ext/census/tracing.c |
Craig Tiller | 6d4894e | 2017-03-31 17:22:06 -0700 | [diff] [blame] | 2057 | src/core/ext/filters/max_age/max_age_filter.c |
Craig Tiller | 9b3648a | 2017-04-03 12:25:19 -0700 | [diff] [blame] | 2058 | src/core/ext/filters/message_size/message_size_filter.c |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 2059 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c |
| 2060 | src/core/ext/filters/workarounds/workaround_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2061 | src/core/plugin_registry/grpc_unsecure_plugin_registry.c |
| 2062 | ) |
| 2063 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2064 | if(WIN32 AND MSVC) |
| 2065 | set_target_properties(grpc_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_unsecure" |
| 2066 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2067 | ) |
| 2068 | if (gRPC_INSTALL) |
| 2069 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_unsecure.pdb |
| 2070 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 2071 | ) |
| 2072 | endif() |
| 2073 | endif() |
| 2074 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2075 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2076 | target_include_directories(grpc_unsecure |
| 2077 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2078 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2079 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2080 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2081 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2082 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2083 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2084 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 2085 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2086 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2087 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2088 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2089 | ) |
| 2090 | |
| 2091 | target_link_libraries(grpc_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2092 | ${_gRPC_BASELIB_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2093 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2094 | gpr |
| 2095 | ) |
| 2096 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2097 | foreach(_hdr |
| 2098 | include/grpc/byte_buffer.h |
| 2099 | include/grpc/byte_buffer_reader.h |
| 2100 | include/grpc/compression.h |
| 2101 | include/grpc/grpc.h |
| 2102 | include/grpc/grpc_posix.h |
Nicolas "Pixel" Noble | e3e17d3 | 2016-08-20 01:45:32 +0200 | [diff] [blame] | 2103 | include/grpc/grpc_security_constants.h |
David Garcia Quintas | f31f096 | 2017-02-10 14:53:58 -0800 | [diff] [blame] | 2104 | include/grpc/load_reporting.h |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 2105 | include/grpc/slice.h |
| 2106 | include/grpc/slice_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2107 | include/grpc/status.h |
Muxi Yan | 1d3ce9a | 2017-05-15 16:01:17 -0700 | [diff] [blame] | 2108 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2109 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2110 | include/grpc/impl/codegen/compression_types.h |
| 2111 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 2112 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2113 | include/grpc/impl/codegen/grpc_types.h |
| 2114 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2115 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2116 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2117 | include/grpc/impl/codegen/atm.h |
| 2118 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2119 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2120 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2121 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 2122 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2123 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2124 | include/grpc/impl/codegen/sync.h |
| 2125 | include/grpc/impl/codegen/sync_generic.h |
| 2126 | include/grpc/impl/codegen/sync_posix.h |
| 2127 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2128 | include/grpc/census.h |
| 2129 | ) |
| 2130 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2131 | get_filename_component(_path ${_path} PATH) |
| 2132 | install(FILES ${_hdr} |
| 2133 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 2134 | ) |
| 2135 | endforeach() |
| 2136 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2137 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2138 | if (gRPC_INSTALL) |
| 2139 | install(TARGETS grpc_unsecure EXPORT gRPCTargets |
| 2140 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 2141 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2142 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2143 | ) |
| 2144 | endif() |
| 2145 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2146 | if (gRPC_BUILD_TESTS) |
| 2147 | |
| 2148 | add_library(reconnect_server |
| 2149 | test/core/util/reconnect_server.c |
| 2150 | ) |
| 2151 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2152 | if(WIN32 AND MSVC) |
| 2153 | set_target_properties(reconnect_server PROPERTIES COMPILE_PDB_NAME "reconnect_server" |
| 2154 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2155 | ) |
| 2156 | if (gRPC_INSTALL) |
| 2157 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/reconnect_server.pdb |
| 2158 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 2159 | ) |
| 2160 | endif() |
| 2161 | endif() |
| 2162 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2163 | |
| 2164 | target_include_directories(reconnect_server |
| 2165 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2166 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2167 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2168 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2169 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2170 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2171 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2172 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2173 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2174 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2175 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2176 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2177 | ) |
| 2178 | |
| 2179 | target_link_libraries(reconnect_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2180 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2181 | test_tcp_server |
| 2182 | grpc_test_util |
| 2183 | grpc |
| 2184 | gpr_test_util |
| 2185 | gpr |
| 2186 | ) |
| 2187 | |
| 2188 | |
| 2189 | endif (gRPC_BUILD_TESTS) |
| 2190 | if (gRPC_BUILD_TESTS) |
| 2191 | |
| 2192 | add_library(test_tcp_server |
| 2193 | test/core/util/test_tcp_server.c |
| 2194 | ) |
| 2195 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2196 | if(WIN32 AND MSVC) |
| 2197 | set_target_properties(test_tcp_server PROPERTIES COMPILE_PDB_NAME "test_tcp_server" |
| 2198 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2199 | ) |
| 2200 | if (gRPC_INSTALL) |
| 2201 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/test_tcp_server.pdb |
| 2202 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 2203 | ) |
| 2204 | endif() |
| 2205 | endif() |
| 2206 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2207 | |
| 2208 | target_include_directories(test_tcp_server |
| 2209 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2210 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2211 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2212 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2213 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2214 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2215 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2216 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2217 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2218 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2219 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2220 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2221 | ) |
| 2222 | |
| 2223 | target_link_libraries(test_tcp_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2224 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2225 | grpc_test_util |
| 2226 | grpc |
| 2227 | gpr_test_util |
| 2228 | gpr |
| 2229 | ) |
| 2230 | |
| 2231 | |
| 2232 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2233 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2234 | add_library(grpc++ |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2235 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2236 | src/cpp/client/secure_credentials.cc |
| 2237 | src/cpp/common/auth_property_iterator.cc |
| 2238 | src/cpp/common/secure_auth_context.cc |
| 2239 | src/cpp/common/secure_channel_arguments.cc |
| 2240 | src/cpp/common/secure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2241 | src/cpp/server/insecure_server_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2242 | src/cpp/server/secure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2243 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2244 | src/cpp/client/client_context.cc |
| 2245 | src/cpp/client/create_channel.cc |
| 2246 | src/cpp/client/create_channel_internal.cc |
| 2247 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2248 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2249 | src/cpp/client/generic_stub.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2250 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 2251 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2252 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2253 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2254 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2255 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2256 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2257 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2258 | src/cpp/server/channel_argument_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2259 | src/cpp/server/create_default_thread_pool.cc |
| 2260 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2261 | src/cpp/server/health/default_health_check_service.cc |
| 2262 | src/cpp/server/health/health.pb.c |
| 2263 | src/cpp/server/health/health_check_service.cc |
| 2264 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2265 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2266 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2267 | src/cpp/server/server_context.cc |
| 2268 | src/cpp/server/server_credentials.cc |
| 2269 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 2270 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2271 | src/cpp/util/byte_buffer_cc.cc |
| 2272 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2273 | src/cpp/util/status.cc |
| 2274 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2275 | src/cpp/util/time_cc.cc |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2276 | src/core/lib/channel/channel_args.c |
| 2277 | src/core/lib/channel/channel_stack.c |
| 2278 | src/core/lib/channel/channel_stack_builder.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2279 | src/core/lib/channel/connected_channel.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2280 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 2281 | src/core/lib/channel/handshaker_factory.c |
| 2282 | src/core/lib/channel/handshaker_registry.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2283 | src/core/lib/compression/compression.c |
| 2284 | src/core/lib/compression/message_compress.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2285 | src/core/lib/http/format_request.c |
| 2286 | src/core/lib/http/httpcli.c |
| 2287 | src/core/lib/http/parser.c |
| 2288 | src/core/lib/iomgr/closure.c |
| 2289 | src/core/lib/iomgr/combiner.c |
| 2290 | src/core/lib/iomgr/endpoint.c |
| 2291 | src/core/lib/iomgr/endpoint_pair_posix.c |
| 2292 | src/core/lib/iomgr/endpoint_pair_uv.c |
| 2293 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 2294 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 2295 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 2296 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 2297 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 2298 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 2299 | src/core/lib/iomgr/ev_epollsig_linux.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2300 | src/core/lib/iomgr/ev_poll_posix.c |
| 2301 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 2302 | src/core/lib/iomgr/ev_windows.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2303 | src/core/lib/iomgr/exec_ctx.c |
| 2304 | src/core/lib/iomgr/executor.c |
| 2305 | src/core/lib/iomgr/iocp_windows.c |
| 2306 | src/core/lib/iomgr/iomgr.c |
| 2307 | src/core/lib/iomgr/iomgr_posix.c |
| 2308 | src/core/lib/iomgr/iomgr_uv.c |
| 2309 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 2310 | src/core/lib/iomgr/is_epollexclusive_available.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2311 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 2312 | src/core/lib/iomgr/lockfree_event.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2313 | src/core/lib/iomgr/network_status_tracker.c |
| 2314 | src/core/lib/iomgr/polling_entity.c |
| 2315 | src/core/lib/iomgr/pollset_set_uv.c |
| 2316 | src/core/lib/iomgr/pollset_set_windows.c |
| 2317 | src/core/lib/iomgr/pollset_uv.c |
| 2318 | src/core/lib/iomgr/pollset_windows.c |
| 2319 | src/core/lib/iomgr/resolve_address_posix.c |
| 2320 | src/core/lib/iomgr/resolve_address_uv.c |
| 2321 | src/core/lib/iomgr/resolve_address_windows.c |
| 2322 | src/core/lib/iomgr/resource_quota.c |
| 2323 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 2324 | src/core/lib/iomgr/socket_factory_posix.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2325 | src/core/lib/iomgr/socket_mutator.c |
| 2326 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 2327 | src/core/lib/iomgr/socket_utils_linux.c |
| 2328 | src/core/lib/iomgr/socket_utils_posix.c |
| 2329 | src/core/lib/iomgr/socket_utils_uv.c |
| 2330 | src/core/lib/iomgr/socket_utils_windows.c |
| 2331 | src/core/lib/iomgr/socket_windows.c |
| 2332 | src/core/lib/iomgr/tcp_client_posix.c |
| 2333 | src/core/lib/iomgr/tcp_client_uv.c |
| 2334 | src/core/lib/iomgr/tcp_client_windows.c |
| 2335 | src/core/lib/iomgr/tcp_posix.c |
| 2336 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 2337 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 2338 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 2339 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2340 | src/core/lib/iomgr/tcp_server_uv.c |
| 2341 | src/core/lib/iomgr/tcp_server_windows.c |
| 2342 | src/core/lib/iomgr/tcp_uv.c |
| 2343 | src/core/lib/iomgr/tcp_windows.c |
| 2344 | src/core/lib/iomgr/time_averaged_stats.c |
| 2345 | src/core/lib/iomgr/timer_generic.c |
| 2346 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 2347 | src/core/lib/iomgr/timer_manager.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2348 | src/core/lib/iomgr/timer_uv.c |
| 2349 | src/core/lib/iomgr/udp_server.c |
| 2350 | src/core/lib/iomgr/unix_sockets_posix.c |
| 2351 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
| 2352 | src/core/lib/iomgr/wakeup_fd_cv.c |
| 2353 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 2354 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 2355 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 2356 | src/core/lib/iomgr/wakeup_fd_posix.c |
| 2357 | src/core/lib/iomgr/workqueue_uv.c |
| 2358 | src/core/lib/iomgr/workqueue_windows.c |
| 2359 | src/core/lib/json/json.c |
| 2360 | src/core/lib/json/json_reader.c |
| 2361 | src/core/lib/json/json_string.c |
| 2362 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 2363 | src/core/lib/slice/b64.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2364 | src/core/lib/slice/percent_encoding.c |
| 2365 | src/core/lib/slice/slice.c |
| 2366 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2367 | src/core/lib/slice/slice_hash_table.c |
| 2368 | src/core/lib/slice/slice_intern.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2369 | src/core/lib/slice/slice_string_helpers.c |
| 2370 | src/core/lib/surface/alarm.c |
| 2371 | src/core/lib/surface/api_trace.c |
| 2372 | src/core/lib/surface/byte_buffer.c |
| 2373 | src/core/lib/surface/byte_buffer_reader.c |
| 2374 | src/core/lib/surface/call.c |
| 2375 | src/core/lib/surface/call_details.c |
| 2376 | src/core/lib/surface/call_log_batch.c |
| 2377 | src/core/lib/surface/channel.c |
| 2378 | src/core/lib/surface/channel_init.c |
| 2379 | src/core/lib/surface/channel_ping.c |
| 2380 | src/core/lib/surface/channel_stack_type.c |
| 2381 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 2382 | src/core/lib/surface/completion_queue_factory.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2383 | src/core/lib/surface/event_string.c |
Craig Tiller | f674f8e | 2017-04-09 21:48:22 -0700 | [diff] [blame] | 2384 | src/core/lib/surface/lame_client.cc |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2385 | src/core/lib/surface/metadata_array.c |
| 2386 | src/core/lib/surface/server.c |
| 2387 | src/core/lib/surface/validate_metadata.c |
| 2388 | src/core/lib/surface/version.c |
Craig Tiller | d425712 | 2017-01-13 09:33:57 -0800 | [diff] [blame] | 2389 | src/core/lib/transport/bdp_estimator.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2390 | src/core/lib/transport/byte_stream.c |
| 2391 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2392 | src/core/lib/transport/error_utils.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2393 | src/core/lib/transport/metadata.c |
| 2394 | src/core/lib/transport/metadata_batch.c |
| 2395 | src/core/lib/transport/pid_controller.c |
| 2396 | src/core/lib/transport/service_config.c |
| 2397 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2398 | src/core/lib/transport/status_conversion.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2399 | src/core/lib/transport/timeout_encoding.c |
| 2400 | src/core/lib/transport/transport.c |
| 2401 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 2402 | src/core/lib/debug/trace.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2403 | third_party/nanopb/pb_common.c |
| 2404 | third_party/nanopb/pb_decode.c |
| 2405 | third_party/nanopb/pb_encode.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2406 | src/cpp/codegen/codegen_init.cc |
| 2407 | ) |
| 2408 | |
| 2409 | if(WIN32 AND MSVC) |
| 2410 | set_target_properties(grpc++ PROPERTIES COMPILE_PDB_NAME "grpc++" |
| 2411 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2412 | ) |
| 2413 | if (gRPC_INSTALL) |
| 2414 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++.pdb |
| 2415 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 2416 | ) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2417 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2418 | endif() |
| 2419 | |
| 2420 | |
| 2421 | target_include_directories(grpc++ |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2422 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2423 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2424 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2425 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2426 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 2427 | PRIVATE ${BENCHMARK}/include |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2428 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 2429 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 2430 | PRIVATE ${CARES_INCLUDE_DIR} |
| 2431 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 2432 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 2433 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2434 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 2435 | ) |
| 2436 | |
| 2437 | target_link_libraries(grpc++ |
| 2438 | ${_gRPC_BASELIB_LIBRARIES} |
| 2439 | ${_gRPC_SSL_LIBRARIES} |
| 2440 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2441 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 2442 | grpc |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2443 | gpr |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2444 | ) |
| 2445 | |
| 2446 | foreach(_hdr |
| 2447 | include/grpc++/alarm.h |
| 2448 | include/grpc++/channel.h |
| 2449 | include/grpc++/client_context.h |
| 2450 | include/grpc++/completion_queue.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2451 | include/grpc++/create_channel.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2452 | include/grpc++/create_channel_posix.h |
| 2453 | include/grpc++/ext/health_check_service_server_builder_option.h |
| 2454 | include/grpc++/generic/async_generic_service.h |
| 2455 | include/grpc++/generic/generic_stub.h |
| 2456 | include/grpc++/grpc++.h |
| 2457 | include/grpc++/health_check_service_interface.h |
| 2458 | include/grpc++/impl/call.h |
| 2459 | include/grpc++/impl/channel_argument_option.h |
| 2460 | include/grpc++/impl/client_unary_call.h |
| 2461 | include/grpc++/impl/codegen/core_codegen.h |
| 2462 | include/grpc++/impl/grpc_library.h |
| 2463 | include/grpc++/impl/method_handler_impl.h |
| 2464 | include/grpc++/impl/rpc_method.h |
| 2465 | include/grpc++/impl/rpc_service_method.h |
| 2466 | include/grpc++/impl/serialization_traits.h |
| 2467 | include/grpc++/impl/server_builder_option.h |
| 2468 | include/grpc++/impl/server_builder_plugin.h |
| 2469 | include/grpc++/impl/server_initializer.h |
| 2470 | include/grpc++/impl/service_type.h |
| 2471 | include/grpc++/resource_quota.h |
| 2472 | include/grpc++/security/auth_context.h |
| 2473 | include/grpc++/security/auth_metadata_processor.h |
| 2474 | include/grpc++/security/credentials.h |
| 2475 | include/grpc++/security/server_credentials.h |
| 2476 | include/grpc++/server.h |
| 2477 | include/grpc++/server_builder.h |
| 2478 | include/grpc++/server_context.h |
| 2479 | include/grpc++/server_posix.h |
| 2480 | include/grpc++/support/async_stream.h |
| 2481 | include/grpc++/support/async_unary_call.h |
| 2482 | include/grpc++/support/byte_buffer.h |
| 2483 | include/grpc++/support/channel_arguments.h |
| 2484 | include/grpc++/support/config.h |
| 2485 | include/grpc++/support/slice.h |
| 2486 | include/grpc++/support/status.h |
| 2487 | include/grpc++/support/status_code_enum.h |
| 2488 | include/grpc++/support/string_ref.h |
| 2489 | include/grpc++/support/stub_options.h |
| 2490 | include/grpc++/support/sync_stream.h |
| 2491 | include/grpc++/support/time.h |
| 2492 | include/grpc++/impl/codegen/async_stream.h |
| 2493 | include/grpc++/impl/codegen/async_unary_call.h |
| 2494 | include/grpc++/impl/codegen/call.h |
yang-g | d558149 | 2016-09-06 14:05:53 -0700 | [diff] [blame] | 2495 | include/grpc++/impl/codegen/call_hook.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2496 | include/grpc++/impl/codegen/channel_interface.h |
| 2497 | include/grpc++/impl/codegen/client_context.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2498 | include/grpc++/impl/codegen/client_unary_call.h |
| 2499 | include/grpc++/impl/codegen/completion_queue.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 2500 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2501 | include/grpc++/impl/codegen/config.h |
| 2502 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2503 | include/grpc++/impl/codegen/create_auth_context.h |
| 2504 | include/grpc++/impl/codegen/grpc_library.h |
| 2505 | include/grpc++/impl/codegen/metadata_map.h |
| 2506 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2507 | include/grpc++/impl/codegen/rpc_method.h |
| 2508 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2509 | include/grpc++/impl/codegen/security/auth_context.h |
Craig Tiller | 7cdad96 | 2016-11-10 08:37:21 -0800 | [diff] [blame] | 2510 | include/grpc++/impl/codegen/serialization_traits.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 2511 | include/grpc++/impl/codegen/server_context.h |
| 2512 | include/grpc++/impl/codegen/server_interface.h |
| 2513 | include/grpc++/impl/codegen/service_type.h |
| 2514 | include/grpc++/impl/codegen/slice.h |
| 2515 | include/grpc++/impl/codegen/status.h |
| 2516 | include/grpc++/impl/codegen/status_code_enum.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2517 | include/grpc++/impl/codegen/string_ref.h |
| 2518 | include/grpc++/impl/codegen/stub_options.h |
| 2519 | include/grpc++/impl/codegen/sync_stream.h |
| 2520 | include/grpc++/impl/codegen/time.h |
| 2521 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2522 | include/grpc/impl/codegen/compression_types.h |
| 2523 | include/grpc/impl/codegen/connectivity_state.h |
| 2524 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 2525 | include/grpc/impl/codegen/grpc_types.h |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2526 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2527 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2528 | include/grpc/impl/codegen/status.h |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2529 | include/grpc/impl/codegen/atm.h |
| 2530 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2531 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2532 | include/grpc/impl/codegen/atm_windows.h |
| 2533 | include/grpc/impl/codegen/gpr_slice.h |
| 2534 | include/grpc/impl/codegen/gpr_types.h |
| 2535 | include/grpc/impl/codegen/port_platform.h |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 2536 | include/grpc/impl/codegen/sync.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2537 | include/grpc/impl/codegen/sync_generic.h |
| 2538 | include/grpc/impl/codegen/sync_posix.h |
| 2539 | include/grpc/impl/codegen/sync_windows.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2540 | include/grpc/byte_buffer.h |
| 2541 | include/grpc/byte_buffer_reader.h |
| 2542 | include/grpc/compression.h |
| 2543 | include/grpc/grpc.h |
| 2544 | include/grpc/grpc_posix.h |
| 2545 | include/grpc/grpc_security_constants.h |
| 2546 | include/grpc/load_reporting.h |
| 2547 | include/grpc/slice.h |
| 2548 | include/grpc/slice_buffer.h |
| 2549 | include/grpc/status.h |
Muxi Yan | 1d3ce9a | 2017-05-15 16:01:17 -0700 | [diff] [blame] | 2550 | include/grpc/support/workaround_list.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2551 | include/grpc++/impl/codegen/proto_utils.h |
| 2552 | include/grpc++/impl/codegen/config_protobuf.h |
| 2553 | ) |
| 2554 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2555 | get_filename_component(_path ${_path} PATH) |
| 2556 | install(FILES ${_hdr} |
| 2557 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 2558 | ) |
| 2559 | endforeach() |
| 2560 | |
| 2561 | |
| 2562 | if (gRPC_INSTALL) |
| 2563 | install(TARGETS grpc++ EXPORT gRPCTargets |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2564 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2565 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2566 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2567 | ) |
| 2568 | endif() |
| 2569 | |
| 2570 | |
| 2571 | add_library(grpc++_cronet |
| 2572 | src/cpp/client/cronet_credentials.cc |
| 2573 | src/cpp/client/insecure_credentials.cc |
| 2574 | src/cpp/common/insecure_create_auth_context.cc |
Sree Kuchibhotla | 33d5494 | 2016-10-25 10:03:52 -0700 | [diff] [blame] | 2575 | src/cpp/server/insecure_server_credentials.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2576 | src/cpp/client/channel_cc.cc |
| 2577 | src/cpp/client/client_context.cc |
| 2578 | src/cpp/client/create_channel.cc |
| 2579 | src/cpp/client/create_channel_internal.cc |
| 2580 | src/cpp/client/create_channel_posix.cc |
| 2581 | src/cpp/client/credentials_cc.cc |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2582 | src/cpp/client/generic_stub.cc |
| 2583 | src/cpp/common/channel_arguments.cc |
| 2584 | src/cpp/common/channel_filter.cc |
| 2585 | src/cpp/common/completion_queue_cc.cc |
| 2586 | src/cpp/common/core_codegen.cc |
| 2587 | src/cpp/common/resource_quota_cc.cc |
| 2588 | src/cpp/common/rpc_method.cc |
| 2589 | src/cpp/common/version_cc.cc |
| 2590 | src/cpp/server/async_generic_service.cc |
| 2591 | src/cpp/server/channel_argument_option.cc |
| 2592 | src/cpp/server/create_default_thread_pool.cc |
| 2593 | src/cpp/server/dynamic_thread_pool.cc |
| 2594 | src/cpp/server/health/default_health_check_service.cc |
| 2595 | src/cpp/server/health/health.pb.c |
| 2596 | src/cpp/server/health/health_check_service.cc |
| 2597 | src/cpp/server/health/health_check_service_server_builder_option.cc |
| 2598 | src/cpp/server/server_builder.cc |
| 2599 | src/cpp/server/server_cc.cc |
| 2600 | src/cpp/server/server_context.cc |
| 2601 | src/cpp/server/server_credentials.cc |
| 2602 | src/cpp/server/server_posix.cc |
| 2603 | src/cpp/thread_manager/thread_manager.cc |
| 2604 | src/cpp/util/byte_buffer_cc.cc |
| 2605 | src/cpp/util/slice_cc.cc |
| 2606 | src/cpp/util/status.cc |
| 2607 | src/cpp/util/string_ref.cc |
| 2608 | src/cpp/util/time_cc.cc |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2609 | src/core/lib/channel/channel_args.c |
| 2610 | src/core/lib/channel/channel_stack.c |
| 2611 | src/core/lib/channel/channel_stack_builder.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2612 | src/core/lib/channel/connected_channel.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2613 | src/core/lib/channel/handshaker.c |
| 2614 | src/core/lib/channel/handshaker_factory.c |
| 2615 | src/core/lib/channel/handshaker_registry.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2616 | src/core/lib/compression/compression.c |
| 2617 | src/core/lib/compression/message_compress.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2618 | src/core/lib/http/format_request.c |
| 2619 | src/core/lib/http/httpcli.c |
| 2620 | src/core/lib/http/parser.c |
| 2621 | src/core/lib/iomgr/closure.c |
| 2622 | src/core/lib/iomgr/combiner.c |
| 2623 | src/core/lib/iomgr/endpoint.c |
| 2624 | src/core/lib/iomgr/endpoint_pair_posix.c |
| 2625 | src/core/lib/iomgr/endpoint_pair_uv.c |
| 2626 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 2627 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 2628 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 2629 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 2630 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 2631 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 2632 | src/core/lib/iomgr/ev_epollsig_linux.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2633 | src/core/lib/iomgr/ev_poll_posix.c |
| 2634 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 2635 | src/core/lib/iomgr/ev_windows.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2636 | src/core/lib/iomgr/exec_ctx.c |
| 2637 | src/core/lib/iomgr/executor.c |
| 2638 | src/core/lib/iomgr/iocp_windows.c |
| 2639 | src/core/lib/iomgr/iomgr.c |
| 2640 | src/core/lib/iomgr/iomgr_posix.c |
| 2641 | src/core/lib/iomgr/iomgr_uv.c |
| 2642 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 2643 | src/core/lib/iomgr/is_epollexclusive_available.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2644 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 2645 | src/core/lib/iomgr/lockfree_event.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2646 | src/core/lib/iomgr/network_status_tracker.c |
| 2647 | src/core/lib/iomgr/polling_entity.c |
| 2648 | src/core/lib/iomgr/pollset_set_uv.c |
| 2649 | src/core/lib/iomgr/pollset_set_windows.c |
| 2650 | src/core/lib/iomgr/pollset_uv.c |
| 2651 | src/core/lib/iomgr/pollset_windows.c |
| 2652 | src/core/lib/iomgr/resolve_address_posix.c |
| 2653 | src/core/lib/iomgr/resolve_address_uv.c |
| 2654 | src/core/lib/iomgr/resolve_address_windows.c |
| 2655 | src/core/lib/iomgr/resource_quota.c |
| 2656 | src/core/lib/iomgr/sockaddr_utils.c |
| 2657 | src/core/lib/iomgr/socket_factory_posix.c |
| 2658 | src/core/lib/iomgr/socket_mutator.c |
| 2659 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 2660 | src/core/lib/iomgr/socket_utils_linux.c |
| 2661 | src/core/lib/iomgr/socket_utils_posix.c |
| 2662 | src/core/lib/iomgr/socket_utils_uv.c |
| 2663 | src/core/lib/iomgr/socket_utils_windows.c |
| 2664 | src/core/lib/iomgr/socket_windows.c |
| 2665 | src/core/lib/iomgr/tcp_client_posix.c |
| 2666 | src/core/lib/iomgr/tcp_client_uv.c |
| 2667 | src/core/lib/iomgr/tcp_client_windows.c |
| 2668 | src/core/lib/iomgr/tcp_posix.c |
| 2669 | src/core/lib/iomgr/tcp_server_posix.c |
| 2670 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
| 2671 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 2672 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
| 2673 | src/core/lib/iomgr/tcp_server_uv.c |
| 2674 | src/core/lib/iomgr/tcp_server_windows.c |
| 2675 | src/core/lib/iomgr/tcp_uv.c |
| 2676 | src/core/lib/iomgr/tcp_windows.c |
| 2677 | src/core/lib/iomgr/time_averaged_stats.c |
| 2678 | src/core/lib/iomgr/timer_generic.c |
| 2679 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 2680 | src/core/lib/iomgr/timer_manager.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2681 | src/core/lib/iomgr/timer_uv.c |
| 2682 | src/core/lib/iomgr/udp_server.c |
| 2683 | src/core/lib/iomgr/unix_sockets_posix.c |
| 2684 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
| 2685 | src/core/lib/iomgr/wakeup_fd_cv.c |
| 2686 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 2687 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 2688 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 2689 | src/core/lib/iomgr/wakeup_fd_posix.c |
| 2690 | src/core/lib/iomgr/workqueue_uv.c |
| 2691 | src/core/lib/iomgr/workqueue_windows.c |
| 2692 | src/core/lib/json/json.c |
| 2693 | src/core/lib/json/json_reader.c |
| 2694 | src/core/lib/json/json_string.c |
| 2695 | src/core/lib/json/json_writer.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2696 | src/core/lib/slice/b64.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2697 | src/core/lib/slice/percent_encoding.c |
| 2698 | src/core/lib/slice/slice.c |
| 2699 | src/core/lib/slice/slice_buffer.c |
| 2700 | src/core/lib/slice/slice_hash_table.c |
| 2701 | src/core/lib/slice/slice_intern.c |
| 2702 | src/core/lib/slice/slice_string_helpers.c |
| 2703 | src/core/lib/surface/alarm.c |
| 2704 | src/core/lib/surface/api_trace.c |
| 2705 | src/core/lib/surface/byte_buffer.c |
| 2706 | src/core/lib/surface/byte_buffer_reader.c |
| 2707 | src/core/lib/surface/call.c |
| 2708 | src/core/lib/surface/call_details.c |
| 2709 | src/core/lib/surface/call_log_batch.c |
| 2710 | src/core/lib/surface/channel.c |
| 2711 | src/core/lib/surface/channel_init.c |
| 2712 | src/core/lib/surface/channel_ping.c |
| 2713 | src/core/lib/surface/channel_stack_type.c |
| 2714 | src/core/lib/surface/completion_queue.c |
| 2715 | src/core/lib/surface/completion_queue_factory.c |
| 2716 | src/core/lib/surface/event_string.c |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 2717 | src/core/lib/surface/lame_client.cc |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2718 | src/core/lib/surface/metadata_array.c |
| 2719 | src/core/lib/surface/server.c |
| 2720 | src/core/lib/surface/validate_metadata.c |
| 2721 | src/core/lib/surface/version.c |
| 2722 | src/core/lib/transport/bdp_estimator.c |
| 2723 | src/core/lib/transport/byte_stream.c |
| 2724 | src/core/lib/transport/connectivity_state.c |
| 2725 | src/core/lib/transport/error_utils.c |
| 2726 | src/core/lib/transport/metadata.c |
| 2727 | src/core/lib/transport/metadata_batch.c |
| 2728 | src/core/lib/transport/pid_controller.c |
| 2729 | src/core/lib/transport/service_config.c |
| 2730 | src/core/lib/transport/static_metadata.c |
| 2731 | src/core/lib/transport/status_conversion.c |
| 2732 | src/core/lib/transport/timeout_encoding.c |
| 2733 | src/core/lib/transport/transport.c |
| 2734 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 2735 | src/core/lib/debug/trace.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2736 | third_party/nanopb/pb_common.c |
| 2737 | third_party/nanopb/pb_decode.c |
| 2738 | third_party/nanopb/pb_encode.c |
| 2739 | src/cpp/codegen/codegen_init.cc |
| 2740 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 2741 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
| 2742 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
| 2743 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 2744 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 2745 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 2746 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 2747 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 2748 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 2749 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 2750 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 2751 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 2752 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 2753 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 2754 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 2755 | src/core/ext/transport/chttp2/transport/hpack_table.c |
Craig Tiller | c8f62bc | 2017-04-03 16:25:45 -0700 | [diff] [blame] | 2756 | src/core/ext/transport/chttp2/transport/http2_settings.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2757 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 2758 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 2759 | src/core/ext/transport/chttp2/transport/parsing.c |
| 2760 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 2761 | src/core/ext/transport/chttp2/transport/stream_map.c |
| 2762 | src/core/ext/transport/chttp2/transport/varint.c |
| 2763 | src/core/ext/transport/chttp2/transport/writing.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2764 | src/core/ext/transport/chttp2/alpn/alpn.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2765 | src/core/ext/filters/http/client/http_client_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2766 | src/core/ext/filters/http/http_filters_plugin.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 2767 | src/core/ext/filters/http/message_compress/message_compress_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2768 | src/core/ext/filters/http/server/http_server_filter.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2769 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 2770 | src/core/ext/filters/client_channel/client_channel.c |
| 2771 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 2772 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 2773 | src/core/ext/filters/client_channel/connector.c |
| 2774 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 2775 | src/core/ext/filters/client_channel/http_proxy.c |
| 2776 | src/core/ext/filters/client_channel/lb_policy.c |
| 2777 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 2778 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 2779 | src/core/ext/filters/client_channel/parse_address.c |
| 2780 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 2781 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 2782 | src/core/ext/filters/client_channel/resolver.c |
| 2783 | src/core/ext/filters/client_channel/resolver_factory.c |
| 2784 | src/core/ext/filters/client_channel/resolver_registry.c |
| 2785 | src/core/ext/filters/client_channel/retry_throttle.c |
| 2786 | src/core/ext/filters/client_channel/subchannel.c |
| 2787 | src/core/ext/filters/client_channel/subchannel_index.c |
| 2788 | src/core/ext/filters/client_channel/uri_parser.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 2789 | src/core/ext/filters/deadline/deadline_filter.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2790 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 2791 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 2792 | src/core/ext/transport/chttp2/server/chttp2_server.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2793 | src/core/ext/census/base_resources.c |
| 2794 | src/core/ext/census/context.c |
| 2795 | src/core/ext/census/gen/census.pb.c |
| 2796 | src/core/ext/census/gen/trace_context.pb.c |
| 2797 | src/core/ext/census/grpc_context.c |
| 2798 | src/core/ext/census/grpc_filter.c |
| 2799 | src/core/ext/census/grpc_plugin.c |
| 2800 | src/core/ext/census/initialize.c |
| 2801 | src/core/ext/census/mlog.c |
| 2802 | src/core/ext/census/operation.c |
| 2803 | src/core/ext/census/placeholders.c |
| 2804 | src/core/ext/census/resource.c |
| 2805 | src/core/ext/census/trace_context.c |
| 2806 | src/core/ext/census/tracing.c |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2807 | ) |
| 2808 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2809 | if(WIN32 AND MSVC) |
| 2810 | set_target_properties(grpc++_cronet PROPERTIES COMPILE_PDB_NAME "grpc++_cronet" |
| 2811 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2812 | ) |
| 2813 | if (gRPC_INSTALL) |
| 2814 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_cronet.pdb |
| 2815 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 2816 | ) |
| 2817 | endif() |
| 2818 | endif() |
| 2819 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2820 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2821 | target_include_directories(grpc++_cronet |
| 2822 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2823 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2824 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2825 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2826 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2827 | PRIVATE ${BENCHMARK}/include |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2828 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2829 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | f1cd449 | 2016-10-25 11:26:17 -0700 | [diff] [blame] | 2830 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2831 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2832 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2833 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2834 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2835 | ) |
| 2836 | |
| 2837 | target_link_libraries(grpc++_cronet |
| 2838 | ${_gRPC_BASELIB_LIBRARIES} |
| 2839 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2840 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2841 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2842 | gpr |
| 2843 | grpc_cronet |
| 2844 | ) |
| 2845 | |
| 2846 | foreach(_hdr |
| 2847 | include/grpc++/alarm.h |
| 2848 | include/grpc++/channel.h |
| 2849 | include/grpc++/client_context.h |
| 2850 | include/grpc++/completion_queue.h |
| 2851 | include/grpc++/create_channel.h |
| 2852 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2853 | include/grpc++/ext/health_check_service_server_builder_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2854 | include/grpc++/generic/async_generic_service.h |
| 2855 | include/grpc++/generic/generic_stub.h |
| 2856 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2857 | include/grpc++/health_check_service_interface.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2858 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2859 | include/grpc++/impl/channel_argument_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2860 | include/grpc++/impl/client_unary_call.h |
| 2861 | include/grpc++/impl/codegen/core_codegen.h |
| 2862 | include/grpc++/impl/grpc_library.h |
| 2863 | include/grpc++/impl/method_handler_impl.h |
| 2864 | include/grpc++/impl/rpc_method.h |
| 2865 | include/grpc++/impl/rpc_service_method.h |
| 2866 | include/grpc++/impl/serialization_traits.h |
| 2867 | include/grpc++/impl/server_builder_option.h |
| 2868 | include/grpc++/impl/server_builder_plugin.h |
| 2869 | include/grpc++/impl/server_initializer.h |
| 2870 | include/grpc++/impl/service_type.h |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2871 | include/grpc++/resource_quota.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2872 | include/grpc++/security/auth_context.h |
| 2873 | include/grpc++/security/auth_metadata_processor.h |
| 2874 | include/grpc++/security/credentials.h |
| 2875 | include/grpc++/security/server_credentials.h |
| 2876 | include/grpc++/server.h |
| 2877 | include/grpc++/server_builder.h |
| 2878 | include/grpc++/server_context.h |
| 2879 | include/grpc++/server_posix.h |
| 2880 | include/grpc++/support/async_stream.h |
| 2881 | include/grpc++/support/async_unary_call.h |
| 2882 | include/grpc++/support/byte_buffer.h |
| 2883 | include/grpc++/support/channel_arguments.h |
| 2884 | include/grpc++/support/config.h |
| 2885 | include/grpc++/support/slice.h |
| 2886 | include/grpc++/support/status.h |
| 2887 | include/grpc++/support/status_code_enum.h |
| 2888 | include/grpc++/support/string_ref.h |
| 2889 | include/grpc++/support/stub_options.h |
| 2890 | include/grpc++/support/sync_stream.h |
| 2891 | include/grpc++/support/time.h |
| 2892 | include/grpc++/impl/codegen/async_stream.h |
| 2893 | include/grpc++/impl/codegen/async_unary_call.h |
| 2894 | include/grpc++/impl/codegen/call.h |
| 2895 | include/grpc++/impl/codegen/call_hook.h |
| 2896 | include/grpc++/impl/codegen/channel_interface.h |
| 2897 | include/grpc++/impl/codegen/client_context.h |
| 2898 | include/grpc++/impl/codegen/client_unary_call.h |
| 2899 | include/grpc++/impl/codegen/completion_queue.h |
| 2900 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2901 | include/grpc++/impl/codegen/config.h |
| 2902 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2903 | include/grpc++/impl/codegen/create_auth_context.h |
| 2904 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 2905 | include/grpc++/impl/codegen/metadata_map.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2906 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2907 | include/grpc++/impl/codegen/rpc_method.h |
| 2908 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2909 | include/grpc++/impl/codegen/security/auth_context.h |
| 2910 | include/grpc++/impl/codegen/serialization_traits.h |
| 2911 | include/grpc++/impl/codegen/server_context.h |
| 2912 | include/grpc++/impl/codegen/server_interface.h |
| 2913 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2914 | include/grpc++/impl/codegen/slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2915 | include/grpc++/impl/codegen/status.h |
| 2916 | include/grpc++/impl/codegen/status_code_enum.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2917 | include/grpc++/impl/codegen/string_ref.h |
| 2918 | include/grpc++/impl/codegen/stub_options.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2919 | include/grpc++/impl/codegen/sync_stream.h |
| 2920 | include/grpc++/impl/codegen/time.h |
| 2921 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2922 | include/grpc/impl/codegen/compression_types.h |
| 2923 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 2924 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2925 | include/grpc/impl/codegen/grpc_types.h |
| 2926 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2927 | include/grpc/impl/codegen/slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2928 | include/grpc/impl/codegen/status.h |
| 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 |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2933 | include/grpc/impl/codegen/gpr_slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2934 | include/grpc/impl/codegen/gpr_types.h |
| 2935 | include/grpc/impl/codegen/port_platform.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2936 | include/grpc/impl/codegen/sync.h |
| 2937 | include/grpc/impl/codegen/sync_generic.h |
| 2938 | include/grpc/impl/codegen/sync_posix.h |
| 2939 | include/grpc/impl/codegen/sync_windows.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2940 | include/grpc/byte_buffer.h |
| 2941 | include/grpc/byte_buffer_reader.h |
| 2942 | include/grpc/compression.h |
| 2943 | include/grpc/grpc.h |
| 2944 | include/grpc/grpc_posix.h |
| 2945 | include/grpc/grpc_security_constants.h |
David Garcia Quintas | f31f096 | 2017-02-10 14:53:58 -0800 | [diff] [blame] | 2946 | include/grpc/load_reporting.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2947 | include/grpc/slice.h |
| 2948 | include/grpc/slice_buffer.h |
| 2949 | include/grpc/status.h |
Muxi Yan | 1d3ce9a | 2017-05-15 16:01:17 -0700 | [diff] [blame] | 2950 | include/grpc/support/workaround_list.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2951 | include/grpc/census.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2952 | ) |
| 2953 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2954 | get_filename_component(_path ${_path} PATH) |
| 2955 | install(FILES ${_hdr} |
| 2956 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 2957 | ) |
| 2958 | endforeach() |
| 2959 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2960 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2961 | if (gRPC_INSTALL) |
| 2962 | install(TARGETS grpc++_cronet EXPORT gRPCTargets |
| 2963 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 2964 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2965 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2966 | ) |
| 2967 | endif() |
| 2968 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 2969 | |
| 2970 | add_library(grpc++_error_details |
| 2971 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.cc |
| 2972 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.cc |
| 2973 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.h |
| 2974 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.h |
| 2975 | src/cpp/util/error_details.cc |
| 2976 | ) |
| 2977 | |
| 2978 | if(WIN32 AND MSVC) |
| 2979 | set_target_properties(grpc++_error_details PROPERTIES COMPILE_PDB_NAME "grpc++_error_details" |
| 2980 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2981 | ) |
| 2982 | if (gRPC_INSTALL) |
| 2983 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_error_details.pdb |
| 2984 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 2985 | ) |
| 2986 | endif() |
| 2987 | endif() |
| 2988 | |
| 2989 | protobuf_generate_grpc_cpp( |
| 2990 | src/proto/grpc/status/status.proto |
| 2991 | ) |
| 2992 | |
| 2993 | target_include_directories(grpc++_error_details |
| 2994 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2995 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2996 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2997 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2998 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 2999 | PRIVATE ${BENCHMARK}/include |
| 3000 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3001 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 3002 | PRIVATE ${CARES_INCLUDE_DIR} |
| 3003 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 3004 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 3005 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3006 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3007 | ) |
| 3008 | |
| 3009 | target_link_libraries(grpc++_error_details |
| 3010 | ${_gRPC_BASELIB_LIBRARIES} |
| 3011 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3012 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3013 | grpc++ |
| 3014 | ) |
| 3015 | |
| 3016 | foreach(_hdr |
| 3017 | include/grpc++/support/error_details.h |
| 3018 | ) |
| 3019 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3020 | get_filename_component(_path ${_path} PATH) |
| 3021 | install(FILES ${_hdr} |
| 3022 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 3023 | ) |
| 3024 | endforeach() |
| 3025 | |
| 3026 | |
| 3027 | if (gRPC_INSTALL) |
| 3028 | install(TARGETS grpc++_error_details EXPORT gRPCTargets |
| 3029 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 3030 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 3031 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 3032 | ) |
| 3033 | endif() |
| 3034 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3035 | if (gRPC_BUILD_TESTS) |
| 3036 | |
| 3037 | add_library(grpc++_proto_reflection_desc_db |
| 3038 | test/cpp/util/proto_reflection_descriptor_database.cc |
| 3039 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3040 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3041 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3042 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3043 | ) |
| 3044 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3045 | if(WIN32 AND MSVC) |
| 3046 | set_target_properties(grpc++_proto_reflection_desc_db PROPERTIES COMPILE_PDB_NAME "grpc++_proto_reflection_desc_db" |
| 3047 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3048 | ) |
| 3049 | if (gRPC_INSTALL) |
| 3050 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_proto_reflection_desc_db.pdb |
| 3051 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3052 | ) |
| 3053 | endif() |
| 3054 | endif() |
| 3055 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3056 | protobuf_generate_grpc_cpp( |
| 3057 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3058 | ) |
| 3059 | |
| 3060 | target_include_directories(grpc++_proto_reflection_desc_db |
| 3061 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3062 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3063 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3064 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3065 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3066 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3067 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3068 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3069 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3070 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3071 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3072 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3073 | PRIVATE third_party/googletest/googletest/include |
| 3074 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3075 | PRIVATE third_party/googletest/googlemock/include |
| 3076 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3077 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3078 | ) |
| 3079 | |
| 3080 | target_link_libraries(grpc++_proto_reflection_desc_db |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3081 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3082 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3083 | grpc++ |
| 3084 | ) |
| 3085 | |
| 3086 | foreach(_hdr |
| 3087 | include/grpc++/impl/codegen/config_protobuf.h |
| 3088 | ) |
| 3089 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3090 | get_filename_component(_path ${_path} PATH) |
| 3091 | install(FILES ${_hdr} |
| 3092 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 3093 | ) |
| 3094 | endforeach() |
| 3095 | |
| 3096 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3097 | |
| 3098 | add_library(grpc++_reflection |
| 3099 | src/cpp/ext/proto_server_reflection.cc |
| 3100 | src/cpp/ext/proto_server_reflection_plugin.cc |
| 3101 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3102 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3103 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3104 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3105 | ) |
| 3106 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3107 | if(WIN32 AND MSVC) |
| 3108 | set_target_properties(grpc++_reflection PROPERTIES COMPILE_PDB_NAME "grpc++_reflection" |
| 3109 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3110 | ) |
| 3111 | if (gRPC_INSTALL) |
| 3112 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_reflection.pdb |
| 3113 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3114 | ) |
| 3115 | endif() |
| 3116 | endif() |
| 3117 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3118 | protobuf_generate_grpc_cpp( |
| 3119 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3120 | ) |
| 3121 | |
| 3122 | target_include_directories(grpc++_reflection |
| 3123 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3124 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3125 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3126 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3127 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3128 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3129 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3130 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3131 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3132 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3133 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3134 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3135 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3136 | ) |
| 3137 | |
| 3138 | target_link_libraries(grpc++_reflection |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3139 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3140 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3141 | grpc++ |
| 3142 | ) |
| 3143 | |
| 3144 | foreach(_hdr |
| 3145 | include/grpc++/ext/proto_server_reflection_plugin.h |
| 3146 | ) |
| 3147 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3148 | get_filename_component(_path ${_path} PATH) |
| 3149 | install(FILES ${_hdr} |
| 3150 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 3151 | ) |
| 3152 | endforeach() |
| 3153 | |
| 3154 | |
| 3155 | if (gRPC_INSTALL) |
| 3156 | install(TARGETS grpc++_reflection EXPORT gRPCTargets |
| 3157 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 3158 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 3159 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 3160 | ) |
| 3161 | endif() |
| 3162 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3163 | if (gRPC_BUILD_TESTS) |
| 3164 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3165 | add_library(grpc++_test_config |
| 3166 | test/cpp/util/test_config_cc.cc |
| 3167 | ) |
| 3168 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3169 | if(WIN32 AND MSVC) |
| 3170 | set_target_properties(grpc++_test_config PROPERTIES COMPILE_PDB_NAME "grpc++_test_config" |
| 3171 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3172 | ) |
| 3173 | if (gRPC_INSTALL) |
| 3174 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_config.pdb |
| 3175 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3176 | ) |
| 3177 | endif() |
| 3178 | endif() |
| 3179 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3180 | |
| 3181 | target_include_directories(grpc++_test_config |
| 3182 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3183 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3184 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3185 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3186 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3187 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3188 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3189 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3190 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3191 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3192 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3193 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3194 | PRIVATE third_party/googletest/googletest/include |
| 3195 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3196 | PRIVATE third_party/googletest/googlemock/include |
| 3197 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3198 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3199 | ) |
| 3200 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3201 | target_link_libraries(grpc++_test_config |
| 3202 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3203 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3204 | ) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3205 | |
| 3206 | |
| 3207 | endif (gRPC_BUILD_TESTS) |
| 3208 | if (gRPC_BUILD_TESTS) |
| 3209 | |
| 3210 | add_library(grpc++_test_util |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3211 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3212 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3213 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3214 | ${_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] | 3215 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3216 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3217 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3218 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3219 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3220 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3221 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3222 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3223 | ${_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] | 3224 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3225 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3226 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3227 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3228 | test/cpp/end2end/test_service_impl.cc |
| 3229 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3230 | test/cpp/util/create_test_channel.cc |
| 3231 | test/cpp/util/string_ref_helper.cc |
| 3232 | test/cpp/util/subprocess.cc |
| 3233 | test/cpp/util/test_credentials_provider.cc |
| 3234 | src/cpp/codegen/codegen_init.cc |
| 3235 | ) |
| 3236 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3237 | if(WIN32 AND MSVC) |
| 3238 | set_target_properties(grpc++_test_util PROPERTIES COMPILE_PDB_NAME "grpc++_test_util" |
| 3239 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3240 | ) |
| 3241 | if (gRPC_INSTALL) |
| 3242 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util.pdb |
| 3243 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3244 | ) |
| 3245 | endif() |
| 3246 | endif() |
| 3247 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3248 | protobuf_generate_grpc_cpp( |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3249 | src/proto/grpc/health/v1/health.proto |
| 3250 | ) |
| 3251 | protobuf_generate_grpc_cpp( |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3252 | src/proto/grpc/testing/echo_messages.proto |
| 3253 | ) |
| 3254 | protobuf_generate_grpc_cpp( |
| 3255 | src/proto/grpc/testing/echo.proto |
| 3256 | ) |
| 3257 | protobuf_generate_grpc_cpp( |
| 3258 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3259 | ) |
| 3260 | |
| 3261 | target_include_directories(grpc++_test_util |
| 3262 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3263 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3264 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3265 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3266 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3267 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3268 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3269 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3270 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3271 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3272 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3273 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3274 | PRIVATE third_party/googletest/googletest/include |
| 3275 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3276 | PRIVATE third_party/googletest/googlemock/include |
| 3277 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3278 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3279 | ) |
| 3280 | |
| 3281 | target_link_libraries(grpc++_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3282 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3283 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3284 | grpc++ |
| 3285 | grpc_test_util |
| 3286 | ) |
| 3287 | |
| 3288 | foreach(_hdr |
| 3289 | include/grpc++/impl/codegen/async_stream.h |
| 3290 | include/grpc++/impl/codegen/async_unary_call.h |
| 3291 | include/grpc++/impl/codegen/call.h |
| 3292 | include/grpc++/impl/codegen/call_hook.h |
| 3293 | include/grpc++/impl/codegen/channel_interface.h |
| 3294 | include/grpc++/impl/codegen/client_context.h |
| 3295 | include/grpc++/impl/codegen/client_unary_call.h |
| 3296 | include/grpc++/impl/codegen/completion_queue.h |
| 3297 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3298 | include/grpc++/impl/codegen/config.h |
| 3299 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3300 | include/grpc++/impl/codegen/create_auth_context.h |
| 3301 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3302 | include/grpc++/impl/codegen/metadata_map.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3303 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3304 | include/grpc++/impl/codegen/rpc_method.h |
| 3305 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3306 | include/grpc++/impl/codegen/security/auth_context.h |
| 3307 | include/grpc++/impl/codegen/serialization_traits.h |
| 3308 | include/grpc++/impl/codegen/server_context.h |
| 3309 | include/grpc++/impl/codegen/server_interface.h |
| 3310 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3311 | include/grpc++/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3312 | include/grpc++/impl/codegen/status.h |
| 3313 | include/grpc++/impl/codegen/status_code_enum.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3314 | include/grpc++/impl/codegen/string_ref.h |
| 3315 | include/grpc++/impl/codegen/stub_options.h |
| 3316 | include/grpc++/impl/codegen/sync_stream.h |
| 3317 | include/grpc++/impl/codegen/time.h |
| 3318 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3319 | include/grpc/impl/codegen/compression_types.h |
| 3320 | include/grpc/impl/codegen/connectivity_state.h |
| 3321 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 3322 | include/grpc/impl/codegen/grpc_types.h |
| 3323 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3324 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3325 | include/grpc/impl/codegen/status.h |
| 3326 | include/grpc/impl/codegen/atm.h |
| 3327 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3328 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3329 | include/grpc/impl/codegen/atm_windows.h |
| 3330 | include/grpc/impl/codegen/gpr_slice.h |
| 3331 | include/grpc/impl/codegen/gpr_types.h |
| 3332 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3333 | include/grpc/impl/codegen/sync.h |
| 3334 | include/grpc/impl/codegen/sync_generic.h |
| 3335 | include/grpc/impl/codegen/sync_posix.h |
| 3336 | include/grpc/impl/codegen/sync_windows.h |
| 3337 | include/grpc++/impl/codegen/proto_utils.h |
| 3338 | include/grpc++/impl/codegen/config_protobuf.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3339 | ) |
| 3340 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3341 | get_filename_component(_path ${_path} PATH) |
| 3342 | install(FILES ${_hdr} |
| 3343 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 3344 | ) |
| 3345 | endforeach() |
| 3346 | |
| 3347 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3348 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3349 | add_library(grpc++_unsecure |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 3350 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3351 | src/cpp/common/insecure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 3352 | src/cpp/server/insecure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3353 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3354 | src/cpp/client/client_context.cc |
| 3355 | src/cpp/client/create_channel.cc |
| 3356 | src/cpp/client/create_channel_internal.cc |
| 3357 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3358 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3359 | src/cpp/client/generic_stub.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3360 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 3361 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3362 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3363 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 3364 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3365 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 3366 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3367 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 3368 | src/cpp/server/channel_argument_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3369 | src/cpp/server/create_default_thread_pool.cc |
| 3370 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 3371 | src/cpp/server/health/default_health_check_service.cc |
| 3372 | src/cpp/server/health/health.pb.c |
| 3373 | src/cpp/server/health/health_check_service.cc |
| 3374 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3375 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3376 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3377 | src/cpp/server/server_context.cc |
| 3378 | src/cpp/server/server_credentials.cc |
| 3379 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 3380 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3381 | src/cpp/util/byte_buffer_cc.cc |
| 3382 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3383 | src/cpp/util/status.cc |
| 3384 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3385 | src/cpp/util/time_cc.cc |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3386 | src/core/lib/channel/channel_args.c |
| 3387 | src/core/lib/channel/channel_stack.c |
| 3388 | src/core/lib/channel/channel_stack_builder.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3389 | src/core/lib/channel/connected_channel.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3390 | src/core/lib/channel/handshaker.c |
| 3391 | src/core/lib/channel/handshaker_factory.c |
| 3392 | src/core/lib/channel/handshaker_registry.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3393 | src/core/lib/compression/compression.c |
| 3394 | src/core/lib/compression/message_compress.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3395 | src/core/lib/http/format_request.c |
| 3396 | src/core/lib/http/httpcli.c |
| 3397 | src/core/lib/http/parser.c |
| 3398 | src/core/lib/iomgr/closure.c |
| 3399 | src/core/lib/iomgr/combiner.c |
| 3400 | src/core/lib/iomgr/endpoint.c |
| 3401 | src/core/lib/iomgr/endpoint_pair_posix.c |
| 3402 | src/core/lib/iomgr/endpoint_pair_uv.c |
| 3403 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 3404 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 3405 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 3406 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 3407 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 3408 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 3409 | src/core/lib/iomgr/ev_epollsig_linux.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3410 | src/core/lib/iomgr/ev_poll_posix.c |
| 3411 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 3412 | src/core/lib/iomgr/ev_windows.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3413 | src/core/lib/iomgr/exec_ctx.c |
| 3414 | src/core/lib/iomgr/executor.c |
| 3415 | src/core/lib/iomgr/iocp_windows.c |
| 3416 | src/core/lib/iomgr/iomgr.c |
| 3417 | src/core/lib/iomgr/iomgr_posix.c |
| 3418 | src/core/lib/iomgr/iomgr_uv.c |
| 3419 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 3420 | src/core/lib/iomgr/is_epollexclusive_available.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3421 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 3422 | src/core/lib/iomgr/lockfree_event.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3423 | src/core/lib/iomgr/network_status_tracker.c |
| 3424 | src/core/lib/iomgr/polling_entity.c |
| 3425 | src/core/lib/iomgr/pollset_set_uv.c |
| 3426 | src/core/lib/iomgr/pollset_set_windows.c |
| 3427 | src/core/lib/iomgr/pollset_uv.c |
| 3428 | src/core/lib/iomgr/pollset_windows.c |
| 3429 | src/core/lib/iomgr/resolve_address_posix.c |
| 3430 | src/core/lib/iomgr/resolve_address_uv.c |
| 3431 | src/core/lib/iomgr/resolve_address_windows.c |
| 3432 | src/core/lib/iomgr/resource_quota.c |
| 3433 | src/core/lib/iomgr/sockaddr_utils.c |
| 3434 | src/core/lib/iomgr/socket_factory_posix.c |
| 3435 | src/core/lib/iomgr/socket_mutator.c |
| 3436 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 3437 | src/core/lib/iomgr/socket_utils_linux.c |
| 3438 | src/core/lib/iomgr/socket_utils_posix.c |
| 3439 | src/core/lib/iomgr/socket_utils_uv.c |
| 3440 | src/core/lib/iomgr/socket_utils_windows.c |
| 3441 | src/core/lib/iomgr/socket_windows.c |
| 3442 | src/core/lib/iomgr/tcp_client_posix.c |
| 3443 | src/core/lib/iomgr/tcp_client_uv.c |
| 3444 | src/core/lib/iomgr/tcp_client_windows.c |
| 3445 | src/core/lib/iomgr/tcp_posix.c |
| 3446 | src/core/lib/iomgr/tcp_server_posix.c |
| 3447 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
| 3448 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 3449 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
| 3450 | src/core/lib/iomgr/tcp_server_uv.c |
| 3451 | src/core/lib/iomgr/tcp_server_windows.c |
| 3452 | src/core/lib/iomgr/tcp_uv.c |
| 3453 | src/core/lib/iomgr/tcp_windows.c |
| 3454 | src/core/lib/iomgr/time_averaged_stats.c |
| 3455 | src/core/lib/iomgr/timer_generic.c |
| 3456 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 3457 | src/core/lib/iomgr/timer_manager.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3458 | src/core/lib/iomgr/timer_uv.c |
| 3459 | src/core/lib/iomgr/udp_server.c |
| 3460 | src/core/lib/iomgr/unix_sockets_posix.c |
| 3461 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
| 3462 | src/core/lib/iomgr/wakeup_fd_cv.c |
| 3463 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 3464 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 3465 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 3466 | src/core/lib/iomgr/wakeup_fd_posix.c |
| 3467 | src/core/lib/iomgr/workqueue_uv.c |
| 3468 | src/core/lib/iomgr/workqueue_windows.c |
| 3469 | src/core/lib/json/json.c |
| 3470 | src/core/lib/json/json_reader.c |
| 3471 | src/core/lib/json/json_string.c |
| 3472 | src/core/lib/json/json_writer.c |
| 3473 | src/core/lib/slice/b64.c |
| 3474 | src/core/lib/slice/percent_encoding.c |
| 3475 | src/core/lib/slice/slice.c |
| 3476 | src/core/lib/slice/slice_buffer.c |
| 3477 | src/core/lib/slice/slice_hash_table.c |
| 3478 | src/core/lib/slice/slice_intern.c |
| 3479 | src/core/lib/slice/slice_string_helpers.c |
| 3480 | src/core/lib/surface/alarm.c |
| 3481 | src/core/lib/surface/api_trace.c |
| 3482 | src/core/lib/surface/byte_buffer.c |
| 3483 | src/core/lib/surface/byte_buffer_reader.c |
| 3484 | src/core/lib/surface/call.c |
| 3485 | src/core/lib/surface/call_details.c |
| 3486 | src/core/lib/surface/call_log_batch.c |
| 3487 | src/core/lib/surface/channel.c |
| 3488 | src/core/lib/surface/channel_init.c |
| 3489 | src/core/lib/surface/channel_ping.c |
| 3490 | src/core/lib/surface/channel_stack_type.c |
| 3491 | src/core/lib/surface/completion_queue.c |
| 3492 | src/core/lib/surface/completion_queue_factory.c |
| 3493 | src/core/lib/surface/event_string.c |
Craig Tiller | f674f8e | 2017-04-09 21:48:22 -0700 | [diff] [blame] | 3494 | src/core/lib/surface/lame_client.cc |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3495 | src/core/lib/surface/metadata_array.c |
| 3496 | src/core/lib/surface/server.c |
| 3497 | src/core/lib/surface/validate_metadata.c |
| 3498 | src/core/lib/surface/version.c |
| 3499 | src/core/lib/transport/bdp_estimator.c |
| 3500 | src/core/lib/transport/byte_stream.c |
| 3501 | src/core/lib/transport/connectivity_state.c |
| 3502 | src/core/lib/transport/error_utils.c |
| 3503 | src/core/lib/transport/metadata.c |
| 3504 | src/core/lib/transport/metadata_batch.c |
| 3505 | src/core/lib/transport/pid_controller.c |
| 3506 | src/core/lib/transport/service_config.c |
| 3507 | src/core/lib/transport/static_metadata.c |
| 3508 | src/core/lib/transport/status_conversion.c |
| 3509 | src/core/lib/transport/timeout_encoding.c |
| 3510 | src/core/lib/transport/transport.c |
| 3511 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 3512 | src/core/lib/debug/trace.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3513 | third_party/nanopb/pb_common.c |
| 3514 | third_party/nanopb/pb_decode.c |
| 3515 | third_party/nanopb/pb_encode.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3516 | src/cpp/codegen/codegen_init.cc |
| 3517 | ) |
| 3518 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3519 | if(WIN32 AND MSVC) |
| 3520 | set_target_properties(grpc++_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_unsecure" |
| 3521 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3522 | ) |
| 3523 | if (gRPC_INSTALL) |
| 3524 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_unsecure.pdb |
| 3525 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3526 | ) |
| 3527 | endif() |
| 3528 | endif() |
| 3529 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3530 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3531 | target_include_directories(grpc++_unsecure |
| 3532 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3533 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3534 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3535 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3536 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3537 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3538 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3539 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 3540 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3541 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3542 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3543 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3544 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3545 | ) |
| 3546 | |
| 3547 | target_link_libraries(grpc++_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3548 | ${_gRPC_BASELIB_LIBRARIES} |
| 3549 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3550 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3551 | gpr |
| 3552 | grpc_unsecure |
| 3553 | ) |
| 3554 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3555 | foreach(_hdr |
| 3556 | include/grpc++/alarm.h |
| 3557 | include/grpc++/channel.h |
| 3558 | include/grpc++/client_context.h |
| 3559 | include/grpc++/completion_queue.h |
| 3560 | include/grpc++/create_channel.h |
| 3561 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 3562 | include/grpc++/ext/health_check_service_server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3563 | include/grpc++/generic/async_generic_service.h |
| 3564 | include/grpc++/generic/generic_stub.h |
| 3565 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 3566 | include/grpc++/health_check_service_interface.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3567 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 3568 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3569 | include/grpc++/impl/client_unary_call.h |
| 3570 | include/grpc++/impl/codegen/core_codegen.h |
| 3571 | include/grpc++/impl/grpc_library.h |
| 3572 | include/grpc++/impl/method_handler_impl.h |
| 3573 | include/grpc++/impl/rpc_method.h |
| 3574 | include/grpc++/impl/rpc_service_method.h |
| 3575 | include/grpc++/impl/serialization_traits.h |
| 3576 | include/grpc++/impl/server_builder_option.h |
| 3577 | include/grpc++/impl/server_builder_plugin.h |
| 3578 | include/grpc++/impl/server_initializer.h |
| 3579 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 3580 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3581 | include/grpc++/security/auth_context.h |
| 3582 | include/grpc++/security/auth_metadata_processor.h |
| 3583 | include/grpc++/security/credentials.h |
| 3584 | include/grpc++/security/server_credentials.h |
| 3585 | include/grpc++/server.h |
| 3586 | include/grpc++/server_builder.h |
| 3587 | include/grpc++/server_context.h |
| 3588 | include/grpc++/server_posix.h |
| 3589 | include/grpc++/support/async_stream.h |
| 3590 | include/grpc++/support/async_unary_call.h |
| 3591 | include/grpc++/support/byte_buffer.h |
| 3592 | include/grpc++/support/channel_arguments.h |
| 3593 | include/grpc++/support/config.h |
| 3594 | include/grpc++/support/slice.h |
| 3595 | include/grpc++/support/status.h |
| 3596 | include/grpc++/support/status_code_enum.h |
| 3597 | include/grpc++/support/string_ref.h |
| 3598 | include/grpc++/support/stub_options.h |
| 3599 | include/grpc++/support/sync_stream.h |
| 3600 | include/grpc++/support/time.h |
| 3601 | include/grpc++/impl/codegen/async_stream.h |
| 3602 | include/grpc++/impl/codegen/async_unary_call.h |
| 3603 | include/grpc++/impl/codegen/call.h |
| 3604 | include/grpc++/impl/codegen/call_hook.h |
| 3605 | include/grpc++/impl/codegen/channel_interface.h |
| 3606 | include/grpc++/impl/codegen/client_context.h |
| 3607 | include/grpc++/impl/codegen/client_unary_call.h |
| 3608 | include/grpc++/impl/codegen/completion_queue.h |
| 3609 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3610 | include/grpc++/impl/codegen/config.h |
| 3611 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3612 | include/grpc++/impl/codegen/create_auth_context.h |
| 3613 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3614 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3615 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3616 | include/grpc++/impl/codegen/rpc_method.h |
| 3617 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3618 | include/grpc++/impl/codegen/security/auth_context.h |
| 3619 | include/grpc++/impl/codegen/serialization_traits.h |
| 3620 | include/grpc++/impl/codegen/server_context.h |
| 3621 | include/grpc++/impl/codegen/server_interface.h |
| 3622 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3623 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3624 | include/grpc++/impl/codegen/status.h |
| 3625 | include/grpc++/impl/codegen/status_code_enum.h |
| 3626 | include/grpc++/impl/codegen/string_ref.h |
| 3627 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3628 | include/grpc++/impl/codegen/sync_stream.h |
| 3629 | include/grpc++/impl/codegen/time.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3630 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3631 | include/grpc/impl/codegen/compression_types.h |
| 3632 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 3633 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3634 | include/grpc/impl/codegen/grpc_types.h |
| 3635 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3636 | include/grpc/impl/codegen/slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3637 | include/grpc/impl/codegen/status.h |
| 3638 | include/grpc/impl/codegen/atm.h |
| 3639 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3640 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3641 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 3642 | include/grpc/impl/codegen/gpr_slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3643 | include/grpc/impl/codegen/gpr_types.h |
| 3644 | include/grpc/impl/codegen/port_platform.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3645 | include/grpc/impl/codegen/sync.h |
| 3646 | include/grpc/impl/codegen/sync_generic.h |
| 3647 | include/grpc/impl/codegen/sync_posix.h |
| 3648 | include/grpc/impl/codegen/sync_windows.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3649 | include/grpc/byte_buffer.h |
| 3650 | include/grpc/byte_buffer_reader.h |
| 3651 | include/grpc/compression.h |
| 3652 | include/grpc/grpc.h |
| 3653 | include/grpc/grpc_posix.h |
| 3654 | include/grpc/grpc_security_constants.h |
| 3655 | include/grpc/load_reporting.h |
| 3656 | include/grpc/slice.h |
| 3657 | include/grpc/slice_buffer.h |
| 3658 | include/grpc/status.h |
Muxi Yan | 1d3ce9a | 2017-05-15 16:01:17 -0700 | [diff] [blame] | 3659 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3660 | ) |
| 3661 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3662 | get_filename_component(_path ${_path} PATH) |
| 3663 | install(FILES ${_hdr} |
| 3664 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 3665 | ) |
| 3666 | endforeach() |
| 3667 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3668 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3669 | if (gRPC_INSTALL) |
| 3670 | install(TARGETS grpc++_unsecure EXPORT gRPCTargets |
| 3671 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 3672 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 3673 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 3674 | ) |
| 3675 | endif() |
| 3676 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3677 | if (gRPC_BUILD_TESTS) |
| 3678 | |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3679 | add_library(grpc_benchmark |
Craig Tiller | f09ec59 | 2017-03-03 16:52:37 -0800 | [diff] [blame] | 3680 | test/cpp/microbenchmarks/helpers.cc |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3681 | ) |
| 3682 | |
| 3683 | if(WIN32 AND MSVC) |
| 3684 | set_target_properties(grpc_benchmark PROPERTIES COMPILE_PDB_NAME "grpc_benchmark" |
| 3685 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3686 | ) |
| 3687 | if (gRPC_INSTALL) |
| 3688 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_benchmark.pdb |
| 3689 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3690 | ) |
| 3691 | endif() |
| 3692 | endif() |
| 3693 | |
| 3694 | |
| 3695 | target_include_directories(grpc_benchmark |
| 3696 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3697 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3698 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3699 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3700 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 3701 | PRIVATE ${BENCHMARK}/include |
| 3702 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3703 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 9bc0d82 | 2017-03-17 13:02:03 -0700 | [diff] [blame] | 3704 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3705 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3706 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3707 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3708 | PRIVATE third_party/googletest/googletest/include |
| 3709 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3710 | PRIVATE third_party/googletest/googlemock/include |
| 3711 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3712 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3713 | ) |
| 3714 | |
| 3715 | target_link_libraries(grpc_benchmark |
| 3716 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3717 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3718 | benchmark |
| 3719 | grpc++ |
Craig Tiller | e067b6e | 2017-03-06 14:46:37 -0800 | [diff] [blame] | 3720 | grpc_test_util |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3721 | grpc |
| 3722 | ${_gRPC_GFLAGS_LIBRARIES} |
| 3723 | ) |
| 3724 | |
| 3725 | |
| 3726 | endif (gRPC_BUILD_TESTS) |
| 3727 | if (gRPC_BUILD_TESTS) |
| 3728 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3729 | add_library(grpc_cli_libs |
| 3730 | test/cpp/util/cli_call.cc |
| 3731 | test/cpp/util/cli_credentials.cc |
| 3732 | test/cpp/util/grpc_tool.cc |
| 3733 | test/cpp/util/proto_file_parser.cc |
| 3734 | test/cpp/util/service_describer.cc |
| 3735 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3736 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3737 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3738 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3739 | ) |
| 3740 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3741 | if(WIN32 AND MSVC) |
| 3742 | set_target_properties(grpc_cli_libs PROPERTIES COMPILE_PDB_NAME "grpc_cli_libs" |
| 3743 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3744 | ) |
| 3745 | if (gRPC_INSTALL) |
| 3746 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cli_libs.pdb |
| 3747 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3748 | ) |
| 3749 | endif() |
| 3750 | endif() |
| 3751 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3752 | protobuf_generate_grpc_cpp( |
| 3753 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3754 | ) |
| 3755 | |
| 3756 | target_include_directories(grpc_cli_libs |
| 3757 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3758 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3759 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3760 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3761 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3762 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3763 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3764 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3765 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3766 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3767 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3768 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3769 | PRIVATE third_party/googletest/googletest/include |
| 3770 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3771 | PRIVATE third_party/googletest/googlemock/include |
| 3772 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3773 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3774 | ) |
| 3775 | |
| 3776 | target_link_libraries(grpc_cli_libs |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3777 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3778 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3779 | grpc++_proto_reflection_desc_db |
| 3780 | grpc++ |
| 3781 | ) |
| 3782 | |
| 3783 | foreach(_hdr |
| 3784 | include/grpc++/impl/codegen/config_protobuf.h |
| 3785 | ) |
| 3786 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3787 | get_filename_component(_path ${_path} PATH) |
| 3788 | install(FILES ${_hdr} |
| 3789 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 3790 | ) |
| 3791 | endforeach() |
| 3792 | |
| 3793 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3794 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3795 | add_library(grpc_plugin_support |
| 3796 | src/compiler/cpp_generator.cc |
| 3797 | src/compiler/csharp_generator.cc |
| 3798 | src/compiler/node_generator.cc |
| 3799 | src/compiler/objective_c_generator.cc |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 3800 | src/compiler/php_generator.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3801 | src/compiler/python_generator.cc |
| 3802 | src/compiler/ruby_generator.cc |
| 3803 | ) |
| 3804 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3805 | if(WIN32 AND MSVC) |
| 3806 | set_target_properties(grpc_plugin_support PROPERTIES COMPILE_PDB_NAME "grpc_plugin_support" |
| 3807 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3808 | ) |
| 3809 | if (gRPC_INSTALL) |
| 3810 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_plugin_support.pdb |
| 3811 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3812 | ) |
| 3813 | endif() |
| 3814 | endif() |
| 3815 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3816 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3817 | target_include_directories(grpc_plugin_support |
| 3818 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3819 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3820 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3821 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3822 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3823 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3824 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3825 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 3826 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3827 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3828 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3829 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3830 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3831 | ) |
| 3832 | |
| 3833 | target_link_libraries(grpc_plugin_support |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3834 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3835 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3836 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3837 | ) |
| 3838 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3839 | foreach(_hdr |
| 3840 | include/grpc++/impl/codegen/config_protobuf.h |
| 3841 | ) |
| 3842 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3843 | get_filename_component(_path ${_path} PATH) |
| 3844 | install(FILES ${_hdr} |
| 3845 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 3846 | ) |
| 3847 | endforeach() |
| 3848 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3849 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3850 | if (gRPC_INSTALL) |
| 3851 | install(TARGETS grpc_plugin_support EXPORT gRPCTargets |
| 3852 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 3853 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 3854 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 3855 | ) |
| 3856 | endif() |
| 3857 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3858 | if (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3859 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3860 | add_library(http2_client_main |
| 3861 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 3862 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 3863 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 3864 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 3865 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3866 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3867 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3868 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3869 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 3870 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 3871 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 3872 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 3873 | test/cpp/interop/http2_client.cc |
| 3874 | ) |
| 3875 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3876 | if(WIN32 AND MSVC) |
| 3877 | set_target_properties(http2_client_main PROPERTIES COMPILE_PDB_NAME "http2_client_main" |
| 3878 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3879 | ) |
| 3880 | if (gRPC_INSTALL) |
| 3881 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/http2_client_main.pdb |
| 3882 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3883 | ) |
| 3884 | endif() |
| 3885 | endif() |
| 3886 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3887 | protobuf_generate_grpc_cpp( |
| 3888 | src/proto/grpc/testing/empty.proto |
| 3889 | ) |
| 3890 | protobuf_generate_grpc_cpp( |
| 3891 | src/proto/grpc/testing/messages.proto |
| 3892 | ) |
| 3893 | protobuf_generate_grpc_cpp( |
| 3894 | src/proto/grpc/testing/test.proto |
| 3895 | ) |
| 3896 | |
| 3897 | target_include_directories(http2_client_main |
| 3898 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3899 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3900 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3901 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3902 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3903 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3904 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3905 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3906 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3907 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3908 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3909 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3910 | PRIVATE third_party/googletest/googletest/include |
| 3911 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3912 | PRIVATE third_party/googletest/googlemock/include |
| 3913 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3914 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3915 | ) |
| 3916 | |
| 3917 | target_link_libraries(http2_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3918 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3919 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3920 | grpc++_test_util |
| 3921 | grpc_test_util |
| 3922 | grpc++ |
| 3923 | grpc |
| 3924 | grpc++_test_config |
| 3925 | ) |
| 3926 | |
| 3927 | |
| 3928 | endif (gRPC_BUILD_TESTS) |
| 3929 | if (gRPC_BUILD_TESTS) |
| 3930 | |
| 3931 | add_library(interop_client_helper |
| 3932 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3933 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3934 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3935 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3936 | test/cpp/interop/client_helper.cc |
| 3937 | ) |
| 3938 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3939 | if(WIN32 AND MSVC) |
| 3940 | set_target_properties(interop_client_helper PROPERTIES COMPILE_PDB_NAME "interop_client_helper" |
| 3941 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3942 | ) |
| 3943 | if (gRPC_INSTALL) |
| 3944 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_helper.pdb |
| 3945 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3946 | ) |
| 3947 | endif() |
| 3948 | endif() |
| 3949 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3950 | protobuf_generate_grpc_cpp( |
| 3951 | src/proto/grpc/testing/messages.proto |
| 3952 | ) |
| 3953 | |
| 3954 | target_include_directories(interop_client_helper |
| 3955 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3956 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3957 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3958 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3959 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3960 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3961 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3962 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3963 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3964 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3965 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3966 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3967 | PRIVATE third_party/googletest/googletest/include |
| 3968 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3969 | PRIVATE third_party/googletest/googlemock/include |
| 3970 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3971 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3972 | ) |
| 3973 | |
| 3974 | target_link_libraries(interop_client_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3975 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3976 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3977 | grpc++_test_util |
| 3978 | grpc_test_util |
| 3979 | grpc++ |
| 3980 | grpc |
| 3981 | gpr |
| 3982 | ) |
| 3983 | |
| 3984 | |
| 3985 | endif (gRPC_BUILD_TESTS) |
| 3986 | if (gRPC_BUILD_TESTS) |
| 3987 | |
| 3988 | add_library(interop_client_main |
| 3989 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 3990 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 3991 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 3992 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 3993 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3994 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3995 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3996 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3997 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 3998 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 3999 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4000 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4001 | test/cpp/interop/client.cc |
| 4002 | test/cpp/interop/interop_client.cc |
| 4003 | ) |
| 4004 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4005 | if(WIN32 AND MSVC) |
| 4006 | set_target_properties(interop_client_main PROPERTIES COMPILE_PDB_NAME "interop_client_main" |
| 4007 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4008 | ) |
| 4009 | if (gRPC_INSTALL) |
| 4010 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_main.pdb |
| 4011 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 4012 | ) |
| 4013 | endif() |
| 4014 | endif() |
| 4015 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4016 | protobuf_generate_grpc_cpp( |
| 4017 | src/proto/grpc/testing/empty.proto |
| 4018 | ) |
| 4019 | protobuf_generate_grpc_cpp( |
| 4020 | src/proto/grpc/testing/messages.proto |
| 4021 | ) |
| 4022 | protobuf_generate_grpc_cpp( |
| 4023 | src/proto/grpc/testing/test.proto |
| 4024 | ) |
| 4025 | |
| 4026 | target_include_directories(interop_client_main |
| 4027 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4028 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4029 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4030 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4031 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4032 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4033 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4034 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4035 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4036 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4037 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4038 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4039 | PRIVATE third_party/googletest/googletest/include |
| 4040 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4041 | PRIVATE third_party/googletest/googlemock/include |
| 4042 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4043 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4044 | ) |
| 4045 | |
| 4046 | target_link_libraries(interop_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4047 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4048 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4049 | interop_client_helper |
| 4050 | grpc++_test_util |
| 4051 | grpc_test_util |
| 4052 | grpc++ |
| 4053 | grpc |
| 4054 | gpr_test_util |
| 4055 | gpr |
| 4056 | grpc++_test_config |
| 4057 | ) |
| 4058 | |
| 4059 | |
| 4060 | endif (gRPC_BUILD_TESTS) |
| 4061 | if (gRPC_BUILD_TESTS) |
| 4062 | |
| 4063 | add_library(interop_server_helper |
| 4064 | test/cpp/interop/server_helper.cc |
| 4065 | ) |
| 4066 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4067 | if(WIN32 AND MSVC) |
| 4068 | set_target_properties(interop_server_helper PROPERTIES COMPILE_PDB_NAME "interop_server_helper" |
| 4069 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4070 | ) |
| 4071 | if (gRPC_INSTALL) |
| 4072 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_helper.pdb |
| 4073 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 4074 | ) |
| 4075 | endif() |
| 4076 | endif() |
| 4077 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4078 | |
| 4079 | target_include_directories(interop_server_helper |
| 4080 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4081 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4082 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4083 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4084 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4085 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4086 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4087 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4088 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4089 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4090 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4091 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4092 | PRIVATE third_party/googletest/googletest/include |
| 4093 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4094 | PRIVATE third_party/googletest/googlemock/include |
| 4095 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4096 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4097 | ) |
| 4098 | |
| 4099 | target_link_libraries(interop_server_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4100 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4101 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4102 | grpc++_test_util |
| 4103 | grpc_test_util |
| 4104 | grpc++ |
| 4105 | grpc |
| 4106 | gpr |
| 4107 | ) |
| 4108 | |
| 4109 | |
| 4110 | endif (gRPC_BUILD_TESTS) |
| 4111 | if (gRPC_BUILD_TESTS) |
| 4112 | |
| 4113 | add_library(interop_server_lib |
| 4114 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4115 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4116 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4117 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4118 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4119 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4120 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4121 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4122 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4123 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4124 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4125 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4126 | test/cpp/interop/interop_server.cc |
| 4127 | ) |
| 4128 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4129 | if(WIN32 AND MSVC) |
| 4130 | set_target_properties(interop_server_lib PROPERTIES COMPILE_PDB_NAME "interop_server_lib" |
| 4131 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4132 | ) |
| 4133 | if (gRPC_INSTALL) |
| 4134 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_lib.pdb |
| 4135 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 4136 | ) |
| 4137 | endif() |
| 4138 | endif() |
| 4139 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4140 | protobuf_generate_grpc_cpp( |
| 4141 | src/proto/grpc/testing/empty.proto |
| 4142 | ) |
| 4143 | protobuf_generate_grpc_cpp( |
| 4144 | src/proto/grpc/testing/messages.proto |
| 4145 | ) |
| 4146 | protobuf_generate_grpc_cpp( |
| 4147 | src/proto/grpc/testing/test.proto |
| 4148 | ) |
| 4149 | |
| 4150 | target_include_directories(interop_server_lib |
| 4151 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4152 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4153 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4154 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4155 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4156 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4157 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4158 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4159 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4160 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4161 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4162 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4163 | PRIVATE third_party/googletest/googletest/include |
| 4164 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4165 | PRIVATE third_party/googletest/googlemock/include |
| 4166 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4167 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4168 | ) |
| 4169 | |
| 4170 | target_link_libraries(interop_server_lib |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4171 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4172 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4173 | interop_server_helper |
| 4174 | grpc++_test_util |
| 4175 | grpc_test_util |
| 4176 | grpc++ |
| 4177 | grpc |
| 4178 | gpr_test_util |
| 4179 | gpr |
| 4180 | grpc++_test_config |
| 4181 | ) |
| 4182 | |
| 4183 | |
| 4184 | endif (gRPC_BUILD_TESTS) |
| 4185 | if (gRPC_BUILD_TESTS) |
| 4186 | |
| 4187 | add_library(interop_server_main |
| 4188 | test/cpp/interop/interop_server_bootstrap.cc |
| 4189 | ) |
| 4190 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4191 | if(WIN32 AND MSVC) |
| 4192 | set_target_properties(interop_server_main PROPERTIES COMPILE_PDB_NAME "interop_server_main" |
| 4193 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4194 | ) |
| 4195 | if (gRPC_INSTALL) |
| 4196 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_main.pdb |
| 4197 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 4198 | ) |
| 4199 | endif() |
| 4200 | endif() |
| 4201 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4202 | |
| 4203 | target_include_directories(interop_server_main |
| 4204 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4205 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4206 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4207 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4208 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4209 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4210 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4211 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4212 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4213 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4214 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4215 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4216 | PRIVATE third_party/googletest/googletest/include |
| 4217 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4218 | PRIVATE third_party/googletest/googlemock/include |
| 4219 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4220 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4221 | ) |
| 4222 | |
| 4223 | target_link_libraries(interop_server_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4224 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4225 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4226 | interop_server_lib |
| 4227 | ) |
| 4228 | |
| 4229 | |
| 4230 | endif (gRPC_BUILD_TESTS) |
| 4231 | if (gRPC_BUILD_TESTS) |
| 4232 | |
| 4233 | add_library(qps |
| 4234 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4235 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4236 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4237 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4238 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 4239 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 4240 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 4241 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 4242 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 4243 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 4244 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 4245 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
| 4246 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 4247 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 4248 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 4249 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 4250 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 4251 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 4252 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 4253 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
Nicolas "Pixel" Noble | b02dd01 | 2017-03-24 18:45:22 +0100 | [diff] [blame] | 4254 | test/cpp/qps/benchmark_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4255 | test/cpp/qps/client_async.cc |
| 4256 | test/cpp/qps/client_sync.cc |
| 4257 | test/cpp/qps/driver.cc |
| 4258 | test/cpp/qps/parse_json.cc |
| 4259 | test/cpp/qps/qps_worker.cc |
| 4260 | test/cpp/qps/report.cc |
| 4261 | test/cpp/qps/server_async.cc |
| 4262 | test/cpp/qps/server_sync.cc |
| 4263 | test/cpp/qps/usage_timer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4264 | ) |
| 4265 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4266 | if(WIN32 AND MSVC) |
| 4267 | set_target_properties(qps PROPERTIES COMPILE_PDB_NAME "qps" |
| 4268 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4269 | ) |
| 4270 | if (gRPC_INSTALL) |
| 4271 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qps.pdb |
| 4272 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 4273 | ) |
| 4274 | endif() |
| 4275 | endif() |
| 4276 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4277 | protobuf_generate_grpc_cpp( |
| 4278 | src/proto/grpc/testing/messages.proto |
| 4279 | ) |
| 4280 | protobuf_generate_grpc_cpp( |
| 4281 | src/proto/grpc/testing/payloads.proto |
| 4282 | ) |
| 4283 | protobuf_generate_grpc_cpp( |
| 4284 | src/proto/grpc/testing/stats.proto |
| 4285 | ) |
| 4286 | protobuf_generate_grpc_cpp( |
| 4287 | src/proto/grpc/testing/control.proto |
| 4288 | ) |
| 4289 | protobuf_generate_grpc_cpp( |
| 4290 | src/proto/grpc/testing/services.proto |
| 4291 | ) |
| 4292 | |
| 4293 | target_include_directories(qps |
| 4294 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4295 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4296 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4297 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4298 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4299 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4300 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4301 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4302 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4303 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4304 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4305 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4306 | PRIVATE third_party/googletest/googletest/include |
| 4307 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4308 | PRIVATE third_party/googletest/googlemock/include |
| 4309 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4310 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4311 | ) |
| 4312 | |
| 4313 | target_link_libraries(qps |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4314 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4315 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4316 | grpc_test_util |
| 4317 | grpc++_test_util |
| 4318 | grpc++ |
| 4319 | ) |
| 4320 | |
| 4321 | |
| 4322 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4323 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 4324 | add_library(grpc_csharp_ext SHARED |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4325 | src/csharp/ext/grpc_csharp_ext.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4326 | ) |
| 4327 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4328 | if(WIN32 AND MSVC) |
| 4329 | set_target_properties(grpc_csharp_ext PROPERTIES COMPILE_PDB_NAME "grpc_csharp_ext" |
| 4330 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4331 | ) |
| 4332 | if (gRPC_INSTALL) |
| 4333 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_csharp_ext.pdb |
| 4334 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 4335 | ) |
| 4336 | endif() |
| 4337 | endif() |
| 4338 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4339 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4340 | target_include_directories(grpc_csharp_ext |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4341 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4342 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4343 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4344 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4345 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4346 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4347 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4348 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4349 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4350 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4351 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4352 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4353 | ) |
| 4354 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4355 | target_link_libraries(grpc_csharp_ext |
| 4356 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4357 | grpc |
| 4358 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4359 | ) |
| 4360 | |
| 4361 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4362 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4363 | if (gRPC_INSTALL) |
| 4364 | install(TARGETS grpc_csharp_ext EXPORT gRPCTargets |
| 4365 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 4366 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 4367 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 4368 | ) |
| 4369 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4370 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4371 | if (gRPC_BUILD_TESTS) |
| 4372 | |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4373 | add_library(ares |
Yuchen Zeng | 6694bb0 | 2017-01-23 17:09:51 -0800 | [diff] [blame] | 4374 | third_party/cares/cares/ares__close_sockets.c |
| 4375 | third_party/cares/cares/ares__get_hostent.c |
| 4376 | third_party/cares/cares/ares__read_line.c |
| 4377 | third_party/cares/cares/ares__timeval.c |
| 4378 | third_party/cares/cares/ares_cancel.c |
| 4379 | third_party/cares/cares/ares_create_query.c |
| 4380 | third_party/cares/cares/ares_data.c |
| 4381 | third_party/cares/cares/ares_destroy.c |
| 4382 | third_party/cares/cares/ares_expand_name.c |
| 4383 | third_party/cares/cares/ares_expand_string.c |
| 4384 | third_party/cares/cares/ares_fds.c |
| 4385 | third_party/cares/cares/ares_free_hostent.c |
| 4386 | third_party/cares/cares/ares_free_string.c |
| 4387 | third_party/cares/cares/ares_getenv.c |
| 4388 | third_party/cares/cares/ares_gethostbyaddr.c |
| 4389 | third_party/cares/cares/ares_gethostbyname.c |
| 4390 | third_party/cares/cares/ares_getnameinfo.c |
| 4391 | third_party/cares/cares/ares_getopt.c |
| 4392 | third_party/cares/cares/ares_getsock.c |
| 4393 | third_party/cares/cares/ares_init.c |
| 4394 | third_party/cares/cares/ares_library_init.c |
| 4395 | third_party/cares/cares/ares_llist.c |
| 4396 | third_party/cares/cares/ares_mkquery.c |
| 4397 | third_party/cares/cares/ares_nowarn.c |
| 4398 | third_party/cares/cares/ares_options.c |
| 4399 | third_party/cares/cares/ares_parse_a_reply.c |
| 4400 | third_party/cares/cares/ares_parse_aaaa_reply.c |
| 4401 | third_party/cares/cares/ares_parse_mx_reply.c |
| 4402 | third_party/cares/cares/ares_parse_naptr_reply.c |
| 4403 | third_party/cares/cares/ares_parse_ns_reply.c |
| 4404 | third_party/cares/cares/ares_parse_ptr_reply.c |
| 4405 | third_party/cares/cares/ares_parse_soa_reply.c |
| 4406 | third_party/cares/cares/ares_parse_srv_reply.c |
| 4407 | third_party/cares/cares/ares_parse_txt_reply.c |
| 4408 | third_party/cares/cares/ares_platform.c |
| 4409 | third_party/cares/cares/ares_process.c |
| 4410 | third_party/cares/cares/ares_query.c |
| 4411 | third_party/cares/cares/ares_search.c |
| 4412 | third_party/cares/cares/ares_send.c |
| 4413 | third_party/cares/cares/ares_strcasecmp.c |
| 4414 | third_party/cares/cares/ares_strdup.c |
| 4415 | third_party/cares/cares/ares_strerror.c |
| 4416 | third_party/cares/cares/ares_timeout.c |
| 4417 | third_party/cares/cares/ares_version.c |
| 4418 | third_party/cares/cares/ares_writev.c |
| 4419 | third_party/cares/cares/bitncmp.c |
| 4420 | third_party/cares/cares/inet_net_pton.c |
| 4421 | third_party/cares/cares/inet_ntop.c |
| 4422 | third_party/cares/cares/windows_port.c |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4423 | ) |
| 4424 | |
Yuchen Zeng | 2c97708 | 2017-02-27 13:35:41 -0800 | [diff] [blame] | 4425 | if(WIN32 AND MSVC) |
| 4426 | set_target_properties(ares PROPERTIES COMPILE_PDB_NAME "ares" |
| 4427 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4428 | ) |
| 4429 | if (gRPC_INSTALL) |
| 4430 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ares.pdb |
| 4431 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 4432 | ) |
| 4433 | endif() |
| 4434 | endif() |
| 4435 | |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4436 | |
| 4437 | target_include_directories(ares |
| 4438 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4439 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4440 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4441 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4442 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Yuchen Zeng | 1492f6c | 2017-02-02 12:42:54 -0800 | [diff] [blame] | 4443 | PRIVATE ${BENCHMARK}/include |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4444 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4445 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4446 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4447 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4448 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4449 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4450 | ) |
| 4451 | |
| 4452 | target_link_libraries(ares |
| 4453 | ${_gRPC_SSL_LIBRARIES} |
Yuchen Zeng | 1492f6c | 2017-02-02 12:42:54 -0800 | [diff] [blame] | 4454 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4455 | ) |
| 4456 | |
| 4457 | |
| 4458 | endif (gRPC_BUILD_TESTS) |
| 4459 | if (gRPC_BUILD_TESTS) |
| 4460 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4461 | add_library(bad_client_test |
| 4462 | test/core/bad_client/bad_client.c |
| 4463 | ) |
| 4464 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4465 | if(WIN32 AND MSVC) |
| 4466 | set_target_properties(bad_client_test PROPERTIES COMPILE_PDB_NAME "bad_client_test" |
| 4467 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4468 | ) |
| 4469 | if (gRPC_INSTALL) |
| 4470 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_client_test.pdb |
| 4471 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 4472 | ) |
| 4473 | endif() |
| 4474 | endif() |
| 4475 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4476 | |
| 4477 | target_include_directories(bad_client_test |
| 4478 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4479 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4480 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4481 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4482 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4483 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4484 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4485 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4486 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4487 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4488 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4489 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4490 | ) |
| 4491 | |
| 4492 | target_link_libraries(bad_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4493 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4494 | grpc_test_util_unsecure |
| 4495 | grpc_unsecure |
| 4496 | gpr_test_util |
| 4497 | gpr |
| 4498 | ) |
| 4499 | |
| 4500 | |
| 4501 | endif (gRPC_BUILD_TESTS) |
| 4502 | if (gRPC_BUILD_TESTS) |
| 4503 | |
| 4504 | add_library(bad_ssl_test_server |
| 4505 | test/core/bad_ssl/server_common.c |
| 4506 | ) |
| 4507 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4508 | if(WIN32 AND MSVC) |
| 4509 | set_target_properties(bad_ssl_test_server PROPERTIES COMPILE_PDB_NAME "bad_ssl_test_server" |
| 4510 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4511 | ) |
| 4512 | if (gRPC_INSTALL) |
| 4513 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_ssl_test_server.pdb |
| 4514 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 4515 | ) |
| 4516 | endif() |
| 4517 | endif() |
| 4518 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4519 | |
| 4520 | target_include_directories(bad_ssl_test_server |
| 4521 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4522 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4523 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4524 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4525 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4526 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4527 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4528 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4529 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4530 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4531 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4532 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4533 | ) |
| 4534 | |
| 4535 | target_link_libraries(bad_ssl_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4536 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4537 | grpc_test_util |
| 4538 | grpc |
| 4539 | gpr_test_util |
| 4540 | gpr |
| 4541 | ) |
| 4542 | |
| 4543 | |
| 4544 | endif (gRPC_BUILD_TESTS) |
| 4545 | if (gRPC_BUILD_TESTS) |
| 4546 | |
| 4547 | add_library(end2end_tests |
| 4548 | test/core/end2end/end2end_tests.c |
| 4549 | test/core/end2end/end2end_test_utils.c |
| 4550 | test/core/end2end/tests/authority_not_supported.c |
| 4551 | test/core/end2end/tests/bad_hostname.c |
Yuchen Zeng | af5c505 | 2017-02-28 16:24:00 -0800 | [diff] [blame] | 4552 | test/core/end2end/tests/bad_ping.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4553 | test/core/end2end/tests/binary_metadata.c |
| 4554 | test/core/end2end/tests/call_creds.c |
| 4555 | test/core/end2end/tests/cancel_after_accept.c |
| 4556 | test/core/end2end/tests/cancel_after_client_done.c |
| 4557 | test/core/end2end/tests/cancel_after_invoke.c |
| 4558 | test/core/end2end/tests/cancel_before_invoke.c |
| 4559 | test/core/end2end/tests/cancel_in_a_vacuum.c |
| 4560 | test/core/end2end/tests/cancel_with_status.c |
| 4561 | test/core/end2end/tests/compressed_payload.c |
| 4562 | test/core/end2end/tests/connectivity.c |
| 4563 | test/core/end2end/tests/default_host.c |
| 4564 | test/core/end2end/tests/disappearing_server.c |
| 4565 | test/core/end2end/tests/empty_batch.c |
| 4566 | test/core/end2end/tests/filter_call_init_fails.c |
| 4567 | test/core/end2end/tests/filter_causes_close.c |
| 4568 | test/core/end2end/tests/filter_latency.c |
| 4569 | test/core/end2end/tests/graceful_server_shutdown.c |
| 4570 | test/core/end2end/tests/high_initial_seqno.c |
| 4571 | test/core/end2end/tests/hpack_size.c |
| 4572 | test/core/end2end/tests/idempotent_request.c |
| 4573 | test/core/end2end/tests/invoke_large_request.c |
Yuchen Zeng | 990d9fe | 2017-02-26 16:54:18 -0800 | [diff] [blame] | 4574 | test/core/end2end/tests/keepalive_timeout.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4575 | test/core/end2end/tests/large_metadata.c |
| 4576 | test/core/end2end/tests/load_reporting_hook.c |
| 4577 | test/core/end2end/tests/max_concurrent_streams.c |
Yuchen Zeng | 22321fc | 2017-03-28 19:10:09 -0700 | [diff] [blame] | 4578 | test/core/end2end/tests/max_connection_age.c |
Yuchen Zeng | b2caafc | 2017-03-29 01:54:08 -0700 | [diff] [blame] | 4579 | test/core/end2end/tests/max_connection_idle.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4580 | test/core/end2end/tests/max_message_length.c |
| 4581 | test/core/end2end/tests/negative_deadline.c |
| 4582 | test/core/end2end/tests/network_status_change.c |
| 4583 | test/core/end2end/tests/no_logging.c |
| 4584 | test/core/end2end/tests/no_op.c |
| 4585 | test/core/end2end/tests/payload.c |
| 4586 | test/core/end2end/tests/ping.c |
| 4587 | test/core/end2end/tests/ping_pong_streaming.c |
| 4588 | test/core/end2end/tests/registered_call.c |
| 4589 | test/core/end2end/tests/request_with_flags.c |
| 4590 | test/core/end2end/tests/request_with_payload.c |
| 4591 | test/core/end2end/tests/resource_quota_server.c |
| 4592 | test/core/end2end/tests/server_finishes_request.c |
| 4593 | test/core/end2end/tests/shutdown_finishes_calls.c |
| 4594 | test/core/end2end/tests/shutdown_finishes_tags.c |
| 4595 | test/core/end2end/tests/simple_cacheable_request.c |
| 4596 | test/core/end2end/tests/simple_delayed_request.c |
| 4597 | test/core/end2end/tests/simple_metadata.c |
| 4598 | test/core/end2end/tests/simple_request.c |
| 4599 | test/core/end2end/tests/streaming_error_response.c |
| 4600 | test/core/end2end/tests/trailing_metadata.c |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 4601 | test/core/end2end/tests/workaround_cronet_compression.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4602 | test/core/end2end/tests/write_buffering.c |
| 4603 | test/core/end2end/tests/write_buffering_at_end.c |
| 4604 | ) |
| 4605 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4606 | if(WIN32 AND MSVC) |
| 4607 | set_target_properties(end2end_tests PROPERTIES COMPILE_PDB_NAME "end2end_tests" |
| 4608 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4609 | ) |
| 4610 | if (gRPC_INSTALL) |
| 4611 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_tests.pdb |
| 4612 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 4613 | ) |
| 4614 | endif() |
| 4615 | endif() |
| 4616 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4617 | |
| 4618 | target_include_directories(end2end_tests |
| 4619 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4620 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4621 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4622 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4623 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4624 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4625 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4626 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4627 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4628 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4629 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4630 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4631 | ) |
| 4632 | |
| 4633 | target_link_libraries(end2end_tests |
| 4634 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4635 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4636 | grpc_test_util |
| 4637 | grpc |
| 4638 | gpr_test_util |
| 4639 | gpr |
| 4640 | ) |
| 4641 | |
| 4642 | |
| 4643 | endif (gRPC_BUILD_TESTS) |
| 4644 | if (gRPC_BUILD_TESTS) |
| 4645 | |
| 4646 | add_library(end2end_nosec_tests |
| 4647 | test/core/end2end/end2end_nosec_tests.c |
| 4648 | test/core/end2end/end2end_test_utils.c |
| 4649 | test/core/end2end/tests/authority_not_supported.c |
| 4650 | test/core/end2end/tests/bad_hostname.c |
Yuchen Zeng | af5c505 | 2017-02-28 16:24:00 -0800 | [diff] [blame] | 4651 | test/core/end2end/tests/bad_ping.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4652 | test/core/end2end/tests/binary_metadata.c |
| 4653 | test/core/end2end/tests/cancel_after_accept.c |
| 4654 | test/core/end2end/tests/cancel_after_client_done.c |
| 4655 | test/core/end2end/tests/cancel_after_invoke.c |
| 4656 | test/core/end2end/tests/cancel_before_invoke.c |
| 4657 | test/core/end2end/tests/cancel_in_a_vacuum.c |
| 4658 | test/core/end2end/tests/cancel_with_status.c |
| 4659 | test/core/end2end/tests/compressed_payload.c |
| 4660 | test/core/end2end/tests/connectivity.c |
| 4661 | test/core/end2end/tests/default_host.c |
| 4662 | test/core/end2end/tests/disappearing_server.c |
| 4663 | test/core/end2end/tests/empty_batch.c |
| 4664 | test/core/end2end/tests/filter_call_init_fails.c |
| 4665 | test/core/end2end/tests/filter_causes_close.c |
| 4666 | test/core/end2end/tests/filter_latency.c |
| 4667 | test/core/end2end/tests/graceful_server_shutdown.c |
| 4668 | test/core/end2end/tests/high_initial_seqno.c |
| 4669 | test/core/end2end/tests/hpack_size.c |
| 4670 | test/core/end2end/tests/idempotent_request.c |
| 4671 | test/core/end2end/tests/invoke_large_request.c |
Yuchen Zeng | 990d9fe | 2017-02-26 16:54:18 -0800 | [diff] [blame] | 4672 | test/core/end2end/tests/keepalive_timeout.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4673 | test/core/end2end/tests/large_metadata.c |
| 4674 | test/core/end2end/tests/load_reporting_hook.c |
| 4675 | test/core/end2end/tests/max_concurrent_streams.c |
Yuchen Zeng | 22321fc | 2017-03-28 19:10:09 -0700 | [diff] [blame] | 4676 | test/core/end2end/tests/max_connection_age.c |
Yuchen Zeng | b2caafc | 2017-03-29 01:54:08 -0700 | [diff] [blame] | 4677 | test/core/end2end/tests/max_connection_idle.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4678 | test/core/end2end/tests/max_message_length.c |
| 4679 | test/core/end2end/tests/negative_deadline.c |
| 4680 | test/core/end2end/tests/network_status_change.c |
| 4681 | test/core/end2end/tests/no_logging.c |
| 4682 | test/core/end2end/tests/no_op.c |
| 4683 | test/core/end2end/tests/payload.c |
| 4684 | test/core/end2end/tests/ping.c |
| 4685 | test/core/end2end/tests/ping_pong_streaming.c |
| 4686 | test/core/end2end/tests/registered_call.c |
| 4687 | test/core/end2end/tests/request_with_flags.c |
| 4688 | test/core/end2end/tests/request_with_payload.c |
| 4689 | test/core/end2end/tests/resource_quota_server.c |
| 4690 | test/core/end2end/tests/server_finishes_request.c |
| 4691 | test/core/end2end/tests/shutdown_finishes_calls.c |
| 4692 | test/core/end2end/tests/shutdown_finishes_tags.c |
| 4693 | test/core/end2end/tests/simple_cacheable_request.c |
| 4694 | test/core/end2end/tests/simple_delayed_request.c |
| 4695 | test/core/end2end/tests/simple_metadata.c |
| 4696 | test/core/end2end/tests/simple_request.c |
| 4697 | test/core/end2end/tests/streaming_error_response.c |
| 4698 | test/core/end2end/tests/trailing_metadata.c |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 4699 | test/core/end2end/tests/workaround_cronet_compression.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4700 | test/core/end2end/tests/write_buffering.c |
| 4701 | test/core/end2end/tests/write_buffering_at_end.c |
| 4702 | ) |
| 4703 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4704 | if(WIN32 AND MSVC) |
| 4705 | set_target_properties(end2end_nosec_tests PROPERTIES COMPILE_PDB_NAME "end2end_nosec_tests" |
| 4706 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4707 | ) |
| 4708 | if (gRPC_INSTALL) |
| 4709 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_nosec_tests.pdb |
| 4710 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 4711 | ) |
| 4712 | endif() |
| 4713 | endif() |
| 4714 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4715 | |
| 4716 | target_include_directories(end2end_nosec_tests |
| 4717 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4718 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4719 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4720 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4721 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4722 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4723 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4724 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4725 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4726 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4727 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4728 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4729 | ) |
| 4730 | |
| 4731 | target_link_libraries(end2end_nosec_tests |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4732 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4733 | grpc_test_util_unsecure |
| 4734 | grpc_unsecure |
| 4735 | gpr_test_util |
| 4736 | gpr |
| 4737 | ) |
| 4738 | |
| 4739 | |
| 4740 | endif (gRPC_BUILD_TESTS) |
| 4741 | |
| 4742 | if (gRPC_BUILD_TESTS) |
| 4743 | |
| 4744 | add_executable(alarm_test |
| 4745 | test/core/surface/alarm_test.c |
| 4746 | ) |
| 4747 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4748 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4749 | target_include_directories(alarm_test |
| 4750 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4751 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4752 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4753 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4754 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4755 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4756 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4757 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4758 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4759 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4760 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4761 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4762 | ) |
| 4763 | |
| 4764 | target_link_libraries(alarm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4765 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4766 | grpc_test_util |
| 4767 | grpc |
| 4768 | gpr_test_util |
| 4769 | gpr |
| 4770 | ) |
| 4771 | |
| 4772 | endif (gRPC_BUILD_TESTS) |
| 4773 | if (gRPC_BUILD_TESTS) |
| 4774 | |
| 4775 | add_executable(algorithm_test |
| 4776 | test/core/compression/algorithm_test.c |
| 4777 | ) |
| 4778 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4779 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4780 | target_include_directories(algorithm_test |
| 4781 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4782 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4783 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4784 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4785 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4786 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4787 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4788 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4789 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4790 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4791 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4792 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4793 | ) |
| 4794 | |
| 4795 | target_link_libraries(algorithm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4796 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4797 | grpc_test_util |
| 4798 | grpc |
| 4799 | gpr_test_util |
| 4800 | gpr |
| 4801 | ) |
| 4802 | |
| 4803 | endif (gRPC_BUILD_TESTS) |
| 4804 | if (gRPC_BUILD_TESTS) |
| 4805 | |
| 4806 | add_executable(alloc_test |
| 4807 | test/core/support/alloc_test.c |
| 4808 | ) |
| 4809 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4810 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4811 | target_include_directories(alloc_test |
| 4812 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4813 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4814 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4815 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4816 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4817 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4818 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4819 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4820 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4821 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4822 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4823 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4824 | ) |
| 4825 | |
| 4826 | target_link_libraries(alloc_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4827 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4828 | gpr_test_util |
| 4829 | gpr |
| 4830 | ) |
| 4831 | |
| 4832 | endif (gRPC_BUILD_TESTS) |
| 4833 | if (gRPC_BUILD_TESTS) |
| 4834 | |
| 4835 | add_executable(alpn_test |
| 4836 | test/core/transport/chttp2/alpn_test.c |
| 4837 | ) |
| 4838 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4839 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4840 | target_include_directories(alpn_test |
| 4841 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4842 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4843 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4844 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4845 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4846 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4847 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4848 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4849 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4850 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4851 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4852 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4853 | ) |
| 4854 | |
| 4855 | target_link_libraries(alpn_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4856 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4857 | grpc_test_util |
| 4858 | grpc |
| 4859 | gpr_test_util |
| 4860 | gpr |
| 4861 | ) |
| 4862 | |
| 4863 | endif (gRPC_BUILD_TESTS) |
| 4864 | if (gRPC_BUILD_TESTS) |
| 4865 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4866 | add_executable(arena_test |
| 4867 | test/core/support/arena_test.c |
| 4868 | ) |
| 4869 | |
| 4870 | |
| 4871 | target_include_directories(arena_test |
| 4872 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4873 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4874 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4875 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4876 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 4877 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4878 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4879 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4880 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4881 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4882 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4883 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4884 | ) |
| 4885 | |
| 4886 | target_link_libraries(arena_test |
| 4887 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4888 | gpr_test_util |
| 4889 | gpr |
| 4890 | ) |
| 4891 | |
| 4892 | endif (gRPC_BUILD_TESTS) |
| 4893 | if (gRPC_BUILD_TESTS) |
| 4894 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4895 | add_executable(bad_server_response_test |
| 4896 | test/core/end2end/bad_server_response_test.c |
| 4897 | ) |
| 4898 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4899 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4900 | target_include_directories(bad_server_response_test |
| 4901 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4902 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4903 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4904 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4905 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4906 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4907 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4908 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4909 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4910 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4911 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4912 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4913 | ) |
| 4914 | |
| 4915 | target_link_libraries(bad_server_response_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4916 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4917 | test_tcp_server |
| 4918 | grpc_test_util |
| 4919 | grpc |
| 4920 | gpr_test_util |
| 4921 | gpr |
| 4922 | ) |
| 4923 | |
| 4924 | endif (gRPC_BUILD_TESTS) |
| 4925 | if (gRPC_BUILD_TESTS) |
| 4926 | |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 4927 | add_executable(bdp_estimator_test |
| 4928 | test/core/transport/bdp_estimator_test.c |
| 4929 | ) |
| 4930 | |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 4931 | |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 4932 | target_include_directories(bdp_estimator_test |
| 4933 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4934 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4935 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4936 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 4937 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 4938 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4939 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4940 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4941 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4942 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4943 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 4944 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4945 | ) |
| 4946 | |
| 4947 | target_link_libraries(bdp_estimator_test |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 4948 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 4949 | grpc_test_util |
| 4950 | grpc |
| 4951 | gpr_test_util |
| 4952 | gpr |
| 4953 | ) |
| 4954 | |
| 4955 | endif (gRPC_BUILD_TESTS) |
| 4956 | if (gRPC_BUILD_TESTS) |
| 4957 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4958 | add_executable(bin_decoder_test |
| 4959 | test/core/transport/chttp2/bin_decoder_test.c |
| 4960 | ) |
| 4961 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4962 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4963 | target_include_directories(bin_decoder_test |
| 4964 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4965 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4966 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4967 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4968 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4969 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4970 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4971 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4972 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4973 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4974 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4975 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4976 | ) |
| 4977 | |
| 4978 | target_link_libraries(bin_decoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4979 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4980 | grpc_test_util |
| 4981 | grpc |
| 4982 | ) |
| 4983 | |
| 4984 | endif (gRPC_BUILD_TESTS) |
| 4985 | if (gRPC_BUILD_TESTS) |
| 4986 | |
| 4987 | add_executable(bin_encoder_test |
| 4988 | test/core/transport/chttp2/bin_encoder_test.c |
| 4989 | ) |
| 4990 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4991 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4992 | target_include_directories(bin_encoder_test |
| 4993 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4994 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4995 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4996 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4997 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4998 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4999 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5000 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5001 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5002 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5003 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5004 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5005 | ) |
| 5006 | |
| 5007 | target_link_libraries(bin_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5008 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5009 | grpc_test_util |
| 5010 | grpc |
| 5011 | ) |
| 5012 | |
| 5013 | endif (gRPC_BUILD_TESTS) |
| 5014 | if (gRPC_BUILD_TESTS) |
| 5015 | |
| 5016 | add_executable(census_context_test |
| 5017 | test/core/census/context_test.c |
| 5018 | ) |
| 5019 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5020 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5021 | target_include_directories(census_context_test |
| 5022 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5023 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5024 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5025 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5026 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5027 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5028 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5029 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5030 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5031 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5032 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5033 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5034 | ) |
| 5035 | |
| 5036 | target_link_libraries(census_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5037 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5038 | grpc_test_util |
| 5039 | grpc |
| 5040 | gpr_test_util |
| 5041 | gpr |
| 5042 | ) |
| 5043 | |
| 5044 | endif (gRPC_BUILD_TESTS) |
| 5045 | if (gRPC_BUILD_TESTS) |
| 5046 | |
| 5047 | add_executable(census_resource_test |
| 5048 | test/core/census/resource_test.c |
| 5049 | ) |
| 5050 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5051 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5052 | target_include_directories(census_resource_test |
| 5053 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5054 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5055 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5056 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5057 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5058 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5059 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5060 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5061 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5062 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5063 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5064 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5065 | ) |
| 5066 | |
| 5067 | target_link_libraries(census_resource_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5068 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5069 | grpc_test_util |
| 5070 | grpc |
| 5071 | gpr_test_util |
| 5072 | gpr |
| 5073 | ) |
| 5074 | |
| 5075 | endif (gRPC_BUILD_TESTS) |
| 5076 | if (gRPC_BUILD_TESTS) |
| 5077 | |
| 5078 | add_executable(census_trace_context_test |
| 5079 | test/core/census/trace_context_test.c |
| 5080 | ) |
| 5081 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5082 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5083 | target_include_directories(census_trace_context_test |
| 5084 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5085 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5086 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5087 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5088 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5089 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5090 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5091 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5092 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5093 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5094 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5095 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5096 | ) |
| 5097 | |
| 5098 | target_link_libraries(census_trace_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5099 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5100 | grpc_test_util |
| 5101 | grpc |
| 5102 | gpr_test_util |
| 5103 | gpr |
| 5104 | ) |
| 5105 | |
| 5106 | endif (gRPC_BUILD_TESTS) |
| 5107 | if (gRPC_BUILD_TESTS) |
| 5108 | |
| 5109 | add_executable(channel_create_test |
| 5110 | test/core/surface/channel_create_test.c |
| 5111 | ) |
| 5112 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5113 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5114 | target_include_directories(channel_create_test |
| 5115 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5116 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5117 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5118 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5119 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5120 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5121 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5122 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5123 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5124 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5125 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5126 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5127 | ) |
| 5128 | |
| 5129 | target_link_libraries(channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5130 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5131 | grpc_test_util |
| 5132 | grpc |
| 5133 | gpr_test_util |
| 5134 | gpr |
| 5135 | ) |
| 5136 | |
| 5137 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5138 | |
| 5139 | add_executable(check_epollexclusive |
| 5140 | test/build/check_epollexclusive.c |
| 5141 | ) |
| 5142 | |
| 5143 | |
| 5144 | target_include_directories(check_epollexclusive |
| 5145 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5146 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5147 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5148 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5149 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5150 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5151 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5152 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 5153 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5154 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5155 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5156 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5157 | ) |
| 5158 | |
| 5159 | target_link_libraries(check_epollexclusive |
| 5160 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5161 | grpc |
| 5162 | gpr |
| 5163 | ) |
| 5164 | |
| 5165 | |
| 5166 | if (gRPC_INSTALL) |
| 5167 | install(TARGETS check_epollexclusive EXPORT gRPCTargets |
| 5168 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 5169 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 5170 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 5171 | ) |
| 5172 | endif() |
| 5173 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5174 | if (gRPC_BUILD_TESTS) |
| 5175 | |
| 5176 | add_executable(chttp2_hpack_encoder_test |
| 5177 | test/core/transport/chttp2/hpack_encoder_test.c |
| 5178 | ) |
| 5179 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5180 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5181 | target_include_directories(chttp2_hpack_encoder_test |
| 5182 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5183 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5184 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5185 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5186 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5187 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5188 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5189 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5190 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5191 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5192 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5193 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5194 | ) |
| 5195 | |
| 5196 | target_link_libraries(chttp2_hpack_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5197 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5198 | grpc_test_util |
| 5199 | grpc |
| 5200 | gpr_test_util |
| 5201 | gpr |
| 5202 | ) |
| 5203 | |
| 5204 | endif (gRPC_BUILD_TESTS) |
| 5205 | if (gRPC_BUILD_TESTS) |
| 5206 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5207 | add_executable(chttp2_stream_map_test |
| 5208 | test/core/transport/chttp2/stream_map_test.c |
| 5209 | ) |
| 5210 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5211 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5212 | target_include_directories(chttp2_stream_map_test |
| 5213 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5214 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5215 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5216 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5217 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5218 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5219 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5220 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5221 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5222 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5223 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5224 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5225 | ) |
| 5226 | |
| 5227 | target_link_libraries(chttp2_stream_map_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5228 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5229 | grpc_test_util |
| 5230 | grpc |
| 5231 | gpr_test_util |
| 5232 | gpr |
| 5233 | ) |
| 5234 | |
| 5235 | endif (gRPC_BUILD_TESTS) |
| 5236 | if (gRPC_BUILD_TESTS) |
| 5237 | |
| 5238 | add_executable(chttp2_varint_test |
| 5239 | test/core/transport/chttp2/varint_test.c |
| 5240 | ) |
| 5241 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5242 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5243 | target_include_directories(chttp2_varint_test |
| 5244 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5245 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5246 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5247 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5248 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5249 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5250 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5251 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5252 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5253 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5254 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5255 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5256 | ) |
| 5257 | |
| 5258 | target_link_libraries(chttp2_varint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5259 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5260 | grpc_test_util |
| 5261 | grpc |
| 5262 | gpr_test_util |
| 5263 | gpr |
| 5264 | ) |
| 5265 | |
| 5266 | endif (gRPC_BUILD_TESTS) |
| 5267 | if (gRPC_BUILD_TESTS) |
| 5268 | |
| 5269 | add_executable(combiner_test |
| 5270 | test/core/iomgr/combiner_test.c |
| 5271 | ) |
| 5272 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5273 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5274 | target_include_directories(combiner_test |
| 5275 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5276 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5277 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5278 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5279 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5280 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5281 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5282 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5283 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5284 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5285 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5286 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5287 | ) |
| 5288 | |
| 5289 | target_link_libraries(combiner_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5290 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5291 | grpc_test_util |
| 5292 | grpc |
| 5293 | gpr_test_util |
| 5294 | gpr |
| 5295 | ) |
| 5296 | |
| 5297 | endif (gRPC_BUILD_TESTS) |
| 5298 | if (gRPC_BUILD_TESTS) |
| 5299 | |
| 5300 | add_executable(compression_test |
| 5301 | test/core/compression/compression_test.c |
| 5302 | ) |
| 5303 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5304 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5305 | target_include_directories(compression_test |
| 5306 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5307 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5308 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5309 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5310 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5311 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5312 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5313 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5314 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5315 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5316 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5317 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5318 | ) |
| 5319 | |
| 5320 | target_link_libraries(compression_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5321 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5322 | grpc_test_util |
| 5323 | grpc |
| 5324 | gpr_test_util |
| 5325 | gpr |
| 5326 | ) |
| 5327 | |
| 5328 | endif (gRPC_BUILD_TESTS) |
| 5329 | if (gRPC_BUILD_TESTS) |
| 5330 | |
| 5331 | add_executable(concurrent_connectivity_test |
| 5332 | test/core/surface/concurrent_connectivity_test.c |
| 5333 | ) |
| 5334 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5335 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5336 | target_include_directories(concurrent_connectivity_test |
| 5337 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5338 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5339 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5340 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5341 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5342 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5343 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5344 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5345 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5346 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5347 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5348 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5349 | ) |
| 5350 | |
| 5351 | target_link_libraries(concurrent_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5352 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5353 | grpc_test_util |
| 5354 | grpc |
| 5355 | gpr_test_util |
| 5356 | gpr |
| 5357 | ) |
| 5358 | |
| 5359 | endif (gRPC_BUILD_TESTS) |
| 5360 | if (gRPC_BUILD_TESTS) |
| 5361 | |
| 5362 | add_executable(connection_refused_test |
| 5363 | test/core/end2end/connection_refused_test.c |
| 5364 | ) |
| 5365 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5366 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5367 | target_include_directories(connection_refused_test |
| 5368 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5369 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5370 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5371 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5372 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5373 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5374 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5375 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5376 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5377 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5378 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5379 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5380 | ) |
| 5381 | |
| 5382 | target_link_libraries(connection_refused_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5383 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5384 | grpc_test_util |
| 5385 | grpc |
| 5386 | gpr_test_util |
| 5387 | gpr |
| 5388 | ) |
| 5389 | |
| 5390 | endif (gRPC_BUILD_TESTS) |
| 5391 | if (gRPC_BUILD_TESTS) |
| 5392 | |
| 5393 | add_executable(dns_resolver_connectivity_test |
| 5394 | test/core/client_channel/resolvers/dns_resolver_connectivity_test.c |
| 5395 | ) |
| 5396 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5397 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5398 | target_include_directories(dns_resolver_connectivity_test |
| 5399 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5400 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5401 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5402 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5403 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5404 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5405 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5406 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5407 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5408 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5409 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5410 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5411 | ) |
| 5412 | |
| 5413 | target_link_libraries(dns_resolver_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5414 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5415 | grpc_test_util |
| 5416 | grpc |
| 5417 | gpr_test_util |
| 5418 | gpr |
| 5419 | ) |
| 5420 | |
| 5421 | endif (gRPC_BUILD_TESTS) |
| 5422 | if (gRPC_BUILD_TESTS) |
| 5423 | |
| 5424 | add_executable(dns_resolver_test |
| 5425 | test/core/client_channel/resolvers/dns_resolver_test.c |
| 5426 | ) |
| 5427 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5428 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5429 | target_include_directories(dns_resolver_test |
| 5430 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5431 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5432 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5433 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5434 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5435 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5436 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5437 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5438 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5439 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5440 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5441 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5442 | ) |
| 5443 | |
| 5444 | target_link_libraries(dns_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5445 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5446 | grpc_test_util |
| 5447 | grpc |
| 5448 | gpr_test_util |
| 5449 | gpr |
| 5450 | ) |
| 5451 | |
| 5452 | endif (gRPC_BUILD_TESTS) |
| 5453 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5454 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5455 | |
| 5456 | add_executable(dualstack_socket_test |
| 5457 | test/core/end2end/dualstack_socket_test.c |
| 5458 | ) |
| 5459 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5460 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5461 | target_include_directories(dualstack_socket_test |
| 5462 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5463 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5464 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5465 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5466 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5467 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5468 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5469 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5470 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5471 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5472 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5473 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5474 | ) |
| 5475 | |
| 5476 | target_link_libraries(dualstack_socket_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5477 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5478 | grpc_test_util |
| 5479 | grpc |
| 5480 | gpr_test_util |
| 5481 | gpr |
| 5482 | ) |
| 5483 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5484 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5485 | endif (gRPC_BUILD_TESTS) |
| 5486 | if (gRPC_BUILD_TESTS) |
| 5487 | |
| 5488 | add_executable(endpoint_pair_test |
| 5489 | test/core/iomgr/endpoint_pair_test.c |
| 5490 | ) |
| 5491 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5492 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5493 | target_include_directories(endpoint_pair_test |
| 5494 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5495 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5496 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5497 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5498 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5499 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5500 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5501 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5502 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5503 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5504 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5505 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5506 | ) |
| 5507 | |
| 5508 | target_link_libraries(endpoint_pair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5509 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5510 | grpc_test_util |
| 5511 | grpc |
| 5512 | gpr_test_util |
| 5513 | gpr |
| 5514 | ) |
| 5515 | |
| 5516 | endif (gRPC_BUILD_TESTS) |
| 5517 | if (gRPC_BUILD_TESTS) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5518 | |
| 5519 | add_executable(error_test |
| 5520 | test/core/iomgr/error_test.c |
| 5521 | ) |
| 5522 | |
| 5523 | |
| 5524 | target_include_directories(error_test |
| 5525 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5526 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5527 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5528 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5529 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5530 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5531 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5532 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5533 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5534 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5535 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5536 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5537 | ) |
| 5538 | |
| 5539 | target_link_libraries(error_test |
| 5540 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5541 | grpc_test_util |
| 5542 | grpc |
| 5543 | gpr_test_util |
| 5544 | gpr |
| 5545 | ) |
| 5546 | |
| 5547 | endif (gRPC_BUILD_TESTS) |
| 5548 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5549 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5550 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5551 | add_executable(ev_epollsig_linux_test |
| 5552 | test/core/iomgr/ev_epollsig_linux_test.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5553 | ) |
| 5554 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5555 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5556 | target_include_directories(ev_epollsig_linux_test |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5557 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5558 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5559 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5560 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5561 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5562 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5563 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5564 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5565 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5566 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5567 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5568 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5569 | ) |
| 5570 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5571 | target_link_libraries(ev_epollsig_linux_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5572 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5573 | grpc_test_util |
| 5574 | grpc |
| 5575 | gpr_test_util |
| 5576 | gpr |
| 5577 | ) |
| 5578 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5579 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5580 | endif (gRPC_BUILD_TESTS) |
| 5581 | if (gRPC_BUILD_TESTS) |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5582 | |
| 5583 | add_executable(fake_resolver_test |
| 5584 | test/core/client_channel/resolvers/fake_resolver_test.c |
| 5585 | ) |
| 5586 | |
| 5587 | |
| 5588 | target_include_directories(fake_resolver_test |
| 5589 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5590 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5591 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5592 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5593 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5594 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5595 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5596 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 5597 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5598 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5599 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5600 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5601 | ) |
| 5602 | |
| 5603 | target_link_libraries(fake_resolver_test |
| 5604 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5605 | grpc_test_util |
| 5606 | grpc |
| 5607 | gpr_test_util |
| 5608 | gpr |
| 5609 | ) |
| 5610 | |
| 5611 | endif (gRPC_BUILD_TESTS) |
| 5612 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5613 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5614 | |
| 5615 | add_executable(fd_conservation_posix_test |
| 5616 | test/core/iomgr/fd_conservation_posix_test.c |
| 5617 | ) |
| 5618 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5619 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5620 | target_include_directories(fd_conservation_posix_test |
| 5621 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5622 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5623 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5624 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5625 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5626 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5627 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5628 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5629 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5630 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5631 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5632 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5633 | ) |
| 5634 | |
| 5635 | target_link_libraries(fd_conservation_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5636 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5637 | grpc_test_util |
| 5638 | grpc |
| 5639 | gpr_test_util |
| 5640 | gpr |
| 5641 | ) |
| 5642 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5643 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5644 | endif (gRPC_BUILD_TESTS) |
| 5645 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5646 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5647 | |
| 5648 | add_executable(fd_posix_test |
| 5649 | test/core/iomgr/fd_posix_test.c |
| 5650 | ) |
| 5651 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5652 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5653 | target_include_directories(fd_posix_test |
| 5654 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5655 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5656 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5657 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5658 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5659 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5660 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5661 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5662 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5663 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5664 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5665 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5666 | ) |
| 5667 | |
| 5668 | target_link_libraries(fd_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5669 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5670 | grpc_test_util |
| 5671 | grpc |
| 5672 | gpr_test_util |
| 5673 | gpr |
| 5674 | ) |
| 5675 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5676 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5677 | endif (gRPC_BUILD_TESTS) |
| 5678 | if (gRPC_BUILD_TESTS) |
| 5679 | |
| 5680 | add_executable(fling_client |
| 5681 | test/core/fling/client.c |
| 5682 | ) |
| 5683 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5684 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5685 | target_include_directories(fling_client |
| 5686 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5687 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5688 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5689 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5690 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5691 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5692 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5693 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5694 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5695 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5696 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5697 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5698 | ) |
| 5699 | |
| 5700 | target_link_libraries(fling_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5701 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5702 | grpc_test_util |
| 5703 | grpc |
| 5704 | gpr_test_util |
| 5705 | gpr |
| 5706 | ) |
| 5707 | |
| 5708 | endif (gRPC_BUILD_TESTS) |
| 5709 | if (gRPC_BUILD_TESTS) |
| 5710 | |
| 5711 | add_executable(fling_server |
| 5712 | test/core/fling/server.c |
| 5713 | ) |
| 5714 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5715 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5716 | target_include_directories(fling_server |
| 5717 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5718 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5719 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5720 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5721 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5722 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5723 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5724 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5725 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5726 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5727 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5728 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5729 | ) |
| 5730 | |
| 5731 | target_link_libraries(fling_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5732 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5733 | grpc_test_util |
| 5734 | grpc |
| 5735 | gpr_test_util |
| 5736 | gpr |
| 5737 | ) |
| 5738 | |
| 5739 | endif (gRPC_BUILD_TESTS) |
| 5740 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5741 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5742 | |
| 5743 | add_executable(fling_stream_test |
| 5744 | test/core/fling/fling_stream_test.c |
| 5745 | ) |
| 5746 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5747 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5748 | target_include_directories(fling_stream_test |
| 5749 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5750 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5751 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5752 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5753 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5754 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5755 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5756 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5757 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5758 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5759 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5760 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5761 | ) |
| 5762 | |
| 5763 | target_link_libraries(fling_stream_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5764 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5765 | grpc_test_util |
| 5766 | grpc |
| 5767 | gpr_test_util |
| 5768 | gpr |
| 5769 | ) |
| 5770 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5771 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5772 | endif (gRPC_BUILD_TESTS) |
| 5773 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5774 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5775 | |
| 5776 | add_executable(fling_test |
| 5777 | test/core/fling/fling_test.c |
| 5778 | ) |
| 5779 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5780 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5781 | target_include_directories(fling_test |
| 5782 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5783 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5784 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5785 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5786 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5787 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5788 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5789 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5790 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5791 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5792 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5793 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5794 | ) |
| 5795 | |
| 5796 | target_link_libraries(fling_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5797 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5798 | grpc_test_util |
| 5799 | grpc |
| 5800 | gpr_test_util |
| 5801 | gpr |
| 5802 | ) |
| 5803 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5804 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5805 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 5806 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5807 | add_executable(gen_hpack_tables |
| 5808 | tools/codegen/core/gen_hpack_tables.c |
| 5809 | ) |
| 5810 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5811 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5812 | target_include_directories(gen_hpack_tables |
| 5813 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5814 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5815 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5816 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5817 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5818 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5819 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5820 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5821 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5822 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5823 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5824 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5825 | ) |
| 5826 | |
| 5827 | target_link_libraries(gen_hpack_tables |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5828 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5829 | gpr |
| 5830 | grpc |
| 5831 | ) |
| 5832 | |
| 5833 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 5834 | if (gRPC_INSTALL) |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 5835 | install(TARGETS gen_hpack_tables EXPORT gRPCTargets |
| 5836 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 5837 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 5838 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 5839 | ) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 5840 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 5841 | |
| 5842 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5843 | add_executable(gen_legal_metadata_characters |
| 5844 | tools/codegen/core/gen_legal_metadata_characters.c |
| 5845 | ) |
| 5846 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5847 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5848 | target_include_directories(gen_legal_metadata_characters |
| 5849 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5850 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5851 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5852 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5853 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5854 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5855 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5856 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5857 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5858 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5859 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5860 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5861 | ) |
| 5862 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5863 | target_link_libraries(gen_legal_metadata_characters |
| 5864 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5865 | ) |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5866 | |
| 5867 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 5868 | if (gRPC_INSTALL) |
| 5869 | install(TARGETS gen_legal_metadata_characters EXPORT gRPCTargets |
| 5870 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 5871 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 5872 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 5873 | ) |
| 5874 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 5875 | |
| 5876 | |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5877 | add_executable(gen_percent_encoding_tables |
| 5878 | tools/codegen/core/gen_percent_encoding_tables.c |
| 5879 | ) |
| 5880 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5881 | |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5882 | target_include_directories(gen_percent_encoding_tables |
| 5883 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5884 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5885 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5886 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5887 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5888 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5889 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5890 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5891 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5892 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5893 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5894 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5895 | ) |
| 5896 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5897 | target_link_libraries(gen_percent_encoding_tables |
| 5898 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5899 | ) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5900 | |
| 5901 | |
Craig Tiller | 426dcde | 2016-09-07 15:43:10 -0700 | [diff] [blame] | 5902 | if (gRPC_INSTALL) |
| 5903 | install(TARGETS gen_percent_encoding_tables EXPORT gRPCTargets |
| 5904 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 5905 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 5906 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 5907 | ) |
| 5908 | endif() |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5909 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5910 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5911 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5912 | |
| 5913 | add_executable(goaway_server_test |
| 5914 | test/core/end2end/goaway_server_test.c |
| 5915 | ) |
| 5916 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5917 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5918 | target_include_directories(goaway_server_test |
| 5919 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5920 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5921 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5922 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5923 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5924 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5925 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5926 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5927 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5928 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5929 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5930 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5931 | ) |
| 5932 | |
| 5933 | target_link_libraries(goaway_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5934 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5935 | grpc_test_util |
| 5936 | grpc |
| 5937 | gpr_test_util |
| 5938 | gpr |
| 5939 | ) |
| 5940 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5941 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5942 | endif (gRPC_BUILD_TESTS) |
| 5943 | if (gRPC_BUILD_TESTS) |
| 5944 | |
| 5945 | add_executable(gpr_avl_test |
| 5946 | test/core/support/avl_test.c |
| 5947 | ) |
| 5948 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5949 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5950 | target_include_directories(gpr_avl_test |
| 5951 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5952 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5953 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5954 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5955 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5956 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5957 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5958 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5959 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5960 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5961 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5962 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5963 | ) |
| 5964 | |
| 5965 | target_link_libraries(gpr_avl_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 | gpr_test_util |
| 5968 | gpr |
| 5969 | ) |
| 5970 | |
| 5971 | endif (gRPC_BUILD_TESTS) |
| 5972 | if (gRPC_BUILD_TESTS) |
| 5973 | |
| 5974 | add_executable(gpr_backoff_test |
| 5975 | test/core/support/backoff_test.c |
| 5976 | ) |
| 5977 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5978 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5979 | target_include_directories(gpr_backoff_test |
| 5980 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5981 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5982 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5983 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5984 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5985 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5986 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5987 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5988 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5989 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5990 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5991 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5992 | ) |
| 5993 | |
| 5994 | target_link_libraries(gpr_backoff_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5995 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5996 | gpr_test_util |
| 5997 | gpr |
| 5998 | ) |
| 5999 | |
| 6000 | endif (gRPC_BUILD_TESTS) |
| 6001 | if (gRPC_BUILD_TESTS) |
| 6002 | |
| 6003 | add_executable(gpr_cmdline_test |
| 6004 | test/core/support/cmdline_test.c |
| 6005 | ) |
| 6006 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6007 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6008 | target_include_directories(gpr_cmdline_test |
| 6009 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6010 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6011 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6012 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6013 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6014 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6015 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6016 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6017 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6018 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6019 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6020 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6021 | ) |
| 6022 | |
| 6023 | target_link_libraries(gpr_cmdline_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6024 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6025 | gpr_test_util |
| 6026 | gpr |
| 6027 | ) |
| 6028 | |
| 6029 | endif (gRPC_BUILD_TESTS) |
| 6030 | if (gRPC_BUILD_TESTS) |
| 6031 | |
| 6032 | add_executable(gpr_cpu_test |
| 6033 | test/core/support/cpu_test.c |
| 6034 | ) |
| 6035 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6036 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6037 | target_include_directories(gpr_cpu_test |
| 6038 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6039 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6040 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6041 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6042 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6043 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6044 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6045 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6046 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6047 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6048 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6049 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6050 | ) |
| 6051 | |
| 6052 | target_link_libraries(gpr_cpu_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6053 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6054 | gpr_test_util |
| 6055 | gpr |
| 6056 | ) |
| 6057 | |
| 6058 | endif (gRPC_BUILD_TESTS) |
| 6059 | if (gRPC_BUILD_TESTS) |
| 6060 | |
| 6061 | add_executable(gpr_env_test |
| 6062 | test/core/support/env_test.c |
| 6063 | ) |
| 6064 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6065 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6066 | target_include_directories(gpr_env_test |
| 6067 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6068 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6069 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6070 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6071 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6072 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6073 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6074 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6075 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6076 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6077 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6078 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6079 | ) |
| 6080 | |
| 6081 | target_link_libraries(gpr_env_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6082 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6083 | gpr_test_util |
| 6084 | gpr |
| 6085 | ) |
| 6086 | |
| 6087 | endif (gRPC_BUILD_TESTS) |
| 6088 | if (gRPC_BUILD_TESTS) |
| 6089 | |
| 6090 | add_executable(gpr_histogram_test |
| 6091 | test/core/support/histogram_test.c |
| 6092 | ) |
| 6093 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6094 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6095 | target_include_directories(gpr_histogram_test |
| 6096 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6097 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6098 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6099 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6100 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6101 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6102 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6103 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6104 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6105 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6106 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6107 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6108 | ) |
| 6109 | |
| 6110 | target_link_libraries(gpr_histogram_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6111 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6112 | gpr_test_util |
| 6113 | gpr |
| 6114 | ) |
| 6115 | |
| 6116 | endif (gRPC_BUILD_TESTS) |
| 6117 | if (gRPC_BUILD_TESTS) |
| 6118 | |
| 6119 | add_executable(gpr_host_port_test |
| 6120 | test/core/support/host_port_test.c |
| 6121 | ) |
| 6122 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6123 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6124 | target_include_directories(gpr_host_port_test |
| 6125 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6126 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6127 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6128 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6129 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6130 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6131 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6132 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6133 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6134 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6135 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6136 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6137 | ) |
| 6138 | |
| 6139 | target_link_libraries(gpr_host_port_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6140 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6141 | gpr_test_util |
| 6142 | gpr |
| 6143 | ) |
| 6144 | |
| 6145 | endif (gRPC_BUILD_TESTS) |
| 6146 | if (gRPC_BUILD_TESTS) |
| 6147 | |
| 6148 | add_executable(gpr_log_test |
| 6149 | test/core/support/log_test.c |
| 6150 | ) |
| 6151 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6152 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6153 | target_include_directories(gpr_log_test |
| 6154 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6155 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6156 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6157 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6158 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6159 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6160 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6161 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6162 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6163 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6164 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6165 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6166 | ) |
| 6167 | |
| 6168 | target_link_libraries(gpr_log_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6169 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6170 | gpr_test_util |
| 6171 | gpr |
| 6172 | ) |
| 6173 | |
| 6174 | endif (gRPC_BUILD_TESTS) |
| 6175 | if (gRPC_BUILD_TESTS) |
| 6176 | |
| 6177 | add_executable(gpr_mpscq_test |
| 6178 | test/core/support/mpscq_test.c |
| 6179 | ) |
| 6180 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6181 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6182 | target_include_directories(gpr_mpscq_test |
| 6183 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6184 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6185 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6186 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6187 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6188 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6189 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6190 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6191 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6192 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6193 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6194 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6195 | ) |
| 6196 | |
| 6197 | target_link_libraries(gpr_mpscq_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6198 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6199 | gpr_test_util |
| 6200 | gpr |
| 6201 | ) |
| 6202 | |
| 6203 | endif (gRPC_BUILD_TESTS) |
| 6204 | if (gRPC_BUILD_TESTS) |
| 6205 | |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6206 | add_executable(gpr_spinlock_test |
| 6207 | test/core/support/spinlock_test.c |
| 6208 | ) |
| 6209 | |
| 6210 | |
| 6211 | target_include_directories(gpr_spinlock_test |
| 6212 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6213 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6214 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6215 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6216 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6217 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6218 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6219 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6220 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6221 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6222 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6223 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6224 | ) |
| 6225 | |
| 6226 | target_link_libraries(gpr_spinlock_test |
| 6227 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6228 | gpr_test_util |
| 6229 | gpr |
| 6230 | ) |
| 6231 | |
| 6232 | endif (gRPC_BUILD_TESTS) |
| 6233 | if (gRPC_BUILD_TESTS) |
| 6234 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6235 | add_executable(gpr_stack_lockfree_test |
| 6236 | test/core/support/stack_lockfree_test.c |
| 6237 | ) |
| 6238 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6239 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6240 | target_include_directories(gpr_stack_lockfree_test |
| 6241 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6242 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6243 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6244 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6245 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6246 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6247 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6248 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6249 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6250 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6251 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6252 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6253 | ) |
| 6254 | |
| 6255 | target_link_libraries(gpr_stack_lockfree_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6256 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6257 | gpr_test_util |
| 6258 | gpr |
| 6259 | ) |
| 6260 | |
| 6261 | endif (gRPC_BUILD_TESTS) |
| 6262 | if (gRPC_BUILD_TESTS) |
| 6263 | |
| 6264 | add_executable(gpr_string_test |
| 6265 | test/core/support/string_test.c |
| 6266 | ) |
| 6267 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6268 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6269 | target_include_directories(gpr_string_test |
| 6270 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6271 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6272 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6273 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6274 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6275 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6276 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6277 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6278 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6279 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6280 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6281 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6282 | ) |
| 6283 | |
| 6284 | target_link_libraries(gpr_string_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6285 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6286 | gpr_test_util |
| 6287 | gpr |
| 6288 | ) |
| 6289 | |
| 6290 | endif (gRPC_BUILD_TESTS) |
| 6291 | if (gRPC_BUILD_TESTS) |
| 6292 | |
| 6293 | add_executable(gpr_sync_test |
| 6294 | test/core/support/sync_test.c |
| 6295 | ) |
| 6296 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6297 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6298 | target_include_directories(gpr_sync_test |
| 6299 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6300 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6301 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6302 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6303 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6304 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6305 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6306 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6307 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6308 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6309 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6310 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6311 | ) |
| 6312 | |
| 6313 | target_link_libraries(gpr_sync_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6314 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6315 | gpr_test_util |
| 6316 | gpr |
| 6317 | ) |
| 6318 | |
| 6319 | endif (gRPC_BUILD_TESTS) |
| 6320 | if (gRPC_BUILD_TESTS) |
| 6321 | |
| 6322 | add_executable(gpr_thd_test |
| 6323 | test/core/support/thd_test.c |
| 6324 | ) |
| 6325 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6326 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6327 | target_include_directories(gpr_thd_test |
| 6328 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6329 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6330 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6331 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6332 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6333 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6334 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6335 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6336 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6337 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6338 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6339 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6340 | ) |
| 6341 | |
| 6342 | target_link_libraries(gpr_thd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6343 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6344 | gpr_test_util |
| 6345 | gpr |
| 6346 | ) |
| 6347 | |
| 6348 | endif (gRPC_BUILD_TESTS) |
| 6349 | if (gRPC_BUILD_TESTS) |
| 6350 | |
| 6351 | add_executable(gpr_time_test |
| 6352 | test/core/support/time_test.c |
| 6353 | ) |
| 6354 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6355 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6356 | target_include_directories(gpr_time_test |
| 6357 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6358 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6359 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6360 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6361 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6362 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6363 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6364 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6365 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6366 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6367 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6368 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6369 | ) |
| 6370 | |
| 6371 | target_link_libraries(gpr_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6372 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6373 | gpr_test_util |
| 6374 | gpr |
| 6375 | ) |
| 6376 | |
| 6377 | endif (gRPC_BUILD_TESTS) |
| 6378 | if (gRPC_BUILD_TESTS) |
| 6379 | |
| 6380 | add_executable(gpr_tls_test |
| 6381 | test/core/support/tls_test.c |
| 6382 | ) |
| 6383 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6384 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6385 | target_include_directories(gpr_tls_test |
| 6386 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6387 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6388 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6389 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6390 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6391 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6392 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6393 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6394 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6395 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6396 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6397 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6398 | ) |
| 6399 | |
| 6400 | target_link_libraries(gpr_tls_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6401 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6402 | gpr_test_util |
| 6403 | gpr |
| 6404 | ) |
| 6405 | |
| 6406 | endif (gRPC_BUILD_TESTS) |
| 6407 | if (gRPC_BUILD_TESTS) |
| 6408 | |
| 6409 | add_executable(gpr_useful_test |
| 6410 | test/core/support/useful_test.c |
| 6411 | ) |
| 6412 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6413 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6414 | target_include_directories(gpr_useful_test |
| 6415 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6416 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6417 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6418 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6419 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6420 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6421 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6422 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6423 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6424 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6425 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6426 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6427 | ) |
| 6428 | |
| 6429 | target_link_libraries(gpr_useful_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6430 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6431 | gpr_test_util |
| 6432 | gpr |
| 6433 | ) |
| 6434 | |
| 6435 | endif (gRPC_BUILD_TESTS) |
| 6436 | if (gRPC_BUILD_TESTS) |
| 6437 | |
| 6438 | add_executable(grpc_auth_context_test |
| 6439 | test/core/security/auth_context_test.c |
| 6440 | ) |
| 6441 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6442 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6443 | target_include_directories(grpc_auth_context_test |
| 6444 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6445 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6446 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6447 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6448 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6449 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6450 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6451 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6452 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6453 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6454 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6455 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6456 | ) |
| 6457 | |
| 6458 | target_link_libraries(grpc_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6459 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6460 | grpc_test_util |
| 6461 | grpc |
| 6462 | gpr_test_util |
| 6463 | gpr |
| 6464 | ) |
| 6465 | |
| 6466 | endif (gRPC_BUILD_TESTS) |
| 6467 | if (gRPC_BUILD_TESTS) |
| 6468 | |
| 6469 | add_executable(grpc_b64_test |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 6470 | test/core/slice/b64_test.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6471 | ) |
| 6472 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6473 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6474 | target_include_directories(grpc_b64_test |
| 6475 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6476 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6477 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6478 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6479 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6480 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6481 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6482 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6483 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6484 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6485 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6486 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6487 | ) |
| 6488 | |
| 6489 | target_link_libraries(grpc_b64_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6490 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6491 | grpc_test_util |
| 6492 | grpc |
| 6493 | gpr_test_util |
| 6494 | gpr |
| 6495 | ) |
| 6496 | |
| 6497 | endif (gRPC_BUILD_TESTS) |
| 6498 | if (gRPC_BUILD_TESTS) |
| 6499 | |
| 6500 | add_executable(grpc_byte_buffer_reader_test |
| 6501 | test/core/surface/byte_buffer_reader_test.c |
| 6502 | ) |
| 6503 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6504 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6505 | target_include_directories(grpc_byte_buffer_reader_test |
| 6506 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6507 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6508 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6509 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6510 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6511 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6512 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6513 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6514 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6515 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6516 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6517 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6518 | ) |
| 6519 | |
| 6520 | target_link_libraries(grpc_byte_buffer_reader_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6521 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6522 | grpc_test_util |
| 6523 | grpc |
| 6524 | gpr_test_util |
| 6525 | gpr |
| 6526 | ) |
| 6527 | |
| 6528 | endif (gRPC_BUILD_TESTS) |
| 6529 | if (gRPC_BUILD_TESTS) |
| 6530 | |
| 6531 | add_executable(grpc_channel_args_test |
| 6532 | test/core/channel/channel_args_test.c |
| 6533 | ) |
| 6534 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6535 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6536 | target_include_directories(grpc_channel_args_test |
| 6537 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6538 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6539 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6540 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6541 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6542 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6543 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6544 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6545 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6546 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6547 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6548 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6549 | ) |
| 6550 | |
| 6551 | target_link_libraries(grpc_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6552 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6553 | grpc_test_util |
| 6554 | grpc |
| 6555 | gpr_test_util |
| 6556 | gpr |
| 6557 | ) |
| 6558 | |
| 6559 | endif (gRPC_BUILD_TESTS) |
| 6560 | if (gRPC_BUILD_TESTS) |
| 6561 | |
| 6562 | add_executable(grpc_channel_stack_test |
| 6563 | test/core/channel/channel_stack_test.c |
| 6564 | ) |
| 6565 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6566 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6567 | target_include_directories(grpc_channel_stack_test |
| 6568 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6569 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6570 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6571 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6572 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6573 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6574 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6575 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6576 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6577 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6578 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6579 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6580 | ) |
| 6581 | |
| 6582 | target_link_libraries(grpc_channel_stack_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6583 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6584 | grpc_test_util |
| 6585 | grpc |
| 6586 | gpr_test_util |
| 6587 | gpr |
| 6588 | ) |
| 6589 | |
| 6590 | endif (gRPC_BUILD_TESTS) |
| 6591 | if (gRPC_BUILD_TESTS) |
| 6592 | |
| 6593 | add_executable(grpc_completion_queue_test |
| 6594 | test/core/surface/completion_queue_test.c |
| 6595 | ) |
| 6596 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6597 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6598 | target_include_directories(grpc_completion_queue_test |
| 6599 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6600 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6601 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6602 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6603 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6604 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6605 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6606 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6607 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6608 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6609 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6610 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6611 | ) |
| 6612 | |
| 6613 | target_link_libraries(grpc_completion_queue_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6614 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6615 | grpc_test_util |
| 6616 | grpc |
| 6617 | gpr_test_util |
| 6618 | gpr |
| 6619 | ) |
| 6620 | |
| 6621 | endif (gRPC_BUILD_TESTS) |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6622 | if (gRPC_BUILD_TESTS) |
| 6623 | |
| 6624 | add_executable(grpc_completion_queue_threading_test |
| 6625 | test/core/surface/completion_queue_threading_test.c |
| 6626 | ) |
| 6627 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6628 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6629 | target_include_directories(grpc_completion_queue_threading_test |
| 6630 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6631 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6632 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6633 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6634 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6635 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6636 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6637 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6638 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6639 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6640 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6641 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6642 | ) |
| 6643 | |
| 6644 | target_link_libraries(grpc_completion_queue_threading_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6645 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6646 | grpc_test_util |
| 6647 | grpc |
| 6648 | gpr_test_util |
| 6649 | gpr |
| 6650 | ) |
| 6651 | |
| 6652 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6653 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6654 | add_executable(grpc_create_jwt |
| 6655 | test/core/security/create_jwt.c |
| 6656 | ) |
| 6657 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6658 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6659 | target_include_directories(grpc_create_jwt |
| 6660 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6661 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6662 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6663 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6664 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6665 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6666 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6667 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6668 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6669 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6670 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6671 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6672 | ) |
| 6673 | |
| 6674 | target_link_libraries(grpc_create_jwt |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 6675 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6676 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6677 | grpc |
| 6678 | gpr |
| 6679 | ) |
| 6680 | |
| 6681 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6682 | if (gRPC_INSTALL) |
| 6683 | install(TARGETS grpc_create_jwt EXPORT gRPCTargets |
| 6684 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 6685 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 6686 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 6687 | ) |
| 6688 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6689 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6690 | if (gRPC_BUILD_TESTS) |
| 6691 | |
| 6692 | add_executable(grpc_credentials_test |
| 6693 | test/core/security/credentials_test.c |
| 6694 | ) |
| 6695 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6696 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6697 | target_include_directories(grpc_credentials_test |
| 6698 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6699 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6700 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6701 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6702 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6703 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6704 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6705 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6706 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6707 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6708 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6709 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6710 | ) |
| 6711 | |
| 6712 | target_link_libraries(grpc_credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6713 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6714 | grpc_test_util |
| 6715 | grpc |
| 6716 | gpr_test_util |
| 6717 | gpr |
| 6718 | ) |
| 6719 | |
| 6720 | endif (gRPC_BUILD_TESTS) |
| 6721 | if (gRPC_BUILD_TESTS) |
| 6722 | |
| 6723 | add_executable(grpc_fetch_oauth2 |
| 6724 | test/core/security/fetch_oauth2.c |
| 6725 | ) |
| 6726 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6727 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6728 | target_include_directories(grpc_fetch_oauth2 |
| 6729 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6730 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6731 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6732 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6733 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6734 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6735 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6736 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6737 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6738 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6739 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6740 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6741 | ) |
| 6742 | |
| 6743 | target_link_libraries(grpc_fetch_oauth2 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6744 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6745 | grpc_test_util |
| 6746 | grpc |
| 6747 | gpr_test_util |
| 6748 | gpr |
| 6749 | ) |
| 6750 | |
| 6751 | endif (gRPC_BUILD_TESTS) |
| 6752 | if (gRPC_BUILD_TESTS) |
| 6753 | |
| 6754 | add_executable(grpc_invalid_channel_args_test |
| 6755 | test/core/surface/invalid_channel_args_test.c |
| 6756 | ) |
| 6757 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6758 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6759 | target_include_directories(grpc_invalid_channel_args_test |
| 6760 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6761 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6762 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6763 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6764 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6765 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6766 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6767 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6768 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6769 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6770 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6771 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6772 | ) |
| 6773 | |
| 6774 | target_link_libraries(grpc_invalid_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6775 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6776 | grpc_test_util |
| 6777 | grpc |
| 6778 | gpr_test_util |
| 6779 | gpr |
| 6780 | ) |
| 6781 | |
| 6782 | endif (gRPC_BUILD_TESTS) |
| 6783 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6784 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6785 | |
| 6786 | add_executable(grpc_json_token_test |
| 6787 | test/core/security/json_token_test.c |
| 6788 | ) |
| 6789 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6790 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6791 | target_include_directories(grpc_json_token_test |
| 6792 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6793 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6794 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6795 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6796 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6797 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6798 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6799 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6800 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6801 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6802 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6803 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6804 | ) |
| 6805 | |
| 6806 | target_link_libraries(grpc_json_token_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6807 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6808 | grpc_test_util |
| 6809 | grpc |
| 6810 | gpr_test_util |
| 6811 | gpr |
| 6812 | ) |
| 6813 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6814 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6815 | endif (gRPC_BUILD_TESTS) |
| 6816 | if (gRPC_BUILD_TESTS) |
| 6817 | |
| 6818 | add_executable(grpc_jwt_verifier_test |
| 6819 | test/core/security/jwt_verifier_test.c |
| 6820 | ) |
| 6821 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6822 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6823 | target_include_directories(grpc_jwt_verifier_test |
| 6824 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6825 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6826 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6827 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6828 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6829 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6830 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6831 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6832 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6833 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6834 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6835 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6836 | ) |
| 6837 | |
| 6838 | target_link_libraries(grpc_jwt_verifier_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6839 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6840 | grpc_test_util |
| 6841 | grpc |
| 6842 | gpr_test_util |
| 6843 | gpr |
| 6844 | ) |
| 6845 | |
| 6846 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6847 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6848 | add_executable(grpc_print_google_default_creds_token |
| 6849 | test/core/security/print_google_default_creds_token.c |
| 6850 | ) |
| 6851 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6852 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6853 | target_include_directories(grpc_print_google_default_creds_token |
| 6854 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6855 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6856 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6857 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6858 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6859 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6860 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6861 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6862 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6863 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6864 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6865 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6866 | ) |
| 6867 | |
| 6868 | target_link_libraries(grpc_print_google_default_creds_token |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6869 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6870 | grpc |
| 6871 | gpr |
| 6872 | ) |
| 6873 | |
| 6874 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6875 | if (gRPC_INSTALL) |
| 6876 | install(TARGETS grpc_print_google_default_creds_token EXPORT gRPCTargets |
| 6877 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 6878 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 6879 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 6880 | ) |
| 6881 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6882 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6883 | if (gRPC_BUILD_TESTS) |
| 6884 | |
| 6885 | add_executable(grpc_security_connector_test |
| 6886 | test/core/security/security_connector_test.c |
| 6887 | ) |
| 6888 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6889 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6890 | target_include_directories(grpc_security_connector_test |
| 6891 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6892 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6893 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6894 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6895 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6896 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6897 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6898 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6899 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6900 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6901 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6902 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6903 | ) |
| 6904 | |
| 6905 | target_link_libraries(grpc_security_connector_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6906 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6907 | grpc_test_util |
| 6908 | grpc |
| 6909 | gpr_test_util |
| 6910 | gpr |
| 6911 | ) |
| 6912 | |
| 6913 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6914 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6915 | add_executable(grpc_verify_jwt |
| 6916 | test/core/security/verify_jwt.c |
| 6917 | ) |
| 6918 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6919 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6920 | target_include_directories(grpc_verify_jwt |
| 6921 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6922 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6923 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6924 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6925 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6926 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6927 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6928 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6929 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6930 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6931 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6932 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6933 | ) |
| 6934 | |
| 6935 | target_link_libraries(grpc_verify_jwt |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6936 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6937 | grpc |
| 6938 | gpr |
| 6939 | ) |
| 6940 | |
| 6941 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6942 | if (gRPC_INSTALL) |
| 6943 | install(TARGETS grpc_verify_jwt EXPORT gRPCTargets |
| 6944 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 6945 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 6946 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 6947 | ) |
| 6948 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6949 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6950 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6951 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6952 | |
| 6953 | add_executable(handshake_client |
| 6954 | test/core/handshake/client_ssl.c |
| 6955 | ) |
| 6956 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6957 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6958 | target_include_directories(handshake_client |
| 6959 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6960 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6961 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6962 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6963 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6964 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6965 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6966 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6967 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6968 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6969 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6970 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6971 | ) |
| 6972 | |
| 6973 | target_link_libraries(handshake_client |
| 6974 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6975 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6976 | grpc_test_util |
| 6977 | grpc |
| 6978 | gpr_test_util |
| 6979 | gpr |
| 6980 | ) |
| 6981 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6982 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6983 | endif (gRPC_BUILD_TESTS) |
| 6984 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6985 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6986 | |
| 6987 | add_executable(handshake_server |
| 6988 | test/core/handshake/server_ssl.c |
| 6989 | ) |
| 6990 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6991 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6992 | target_include_directories(handshake_server |
| 6993 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6994 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6995 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6996 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6997 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6998 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6999 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7000 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7001 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7002 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7003 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7004 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7005 | ) |
| 7006 | |
| 7007 | target_link_libraries(handshake_server |
| 7008 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7009 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7010 | grpc_test_util |
| 7011 | grpc |
| 7012 | gpr_test_util |
| 7013 | gpr |
| 7014 | ) |
| 7015 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7016 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7017 | endif (gRPC_BUILD_TESTS) |
| 7018 | if (gRPC_BUILD_TESTS) |
| 7019 | |
| 7020 | add_executable(hpack_parser_test |
| 7021 | test/core/transport/chttp2/hpack_parser_test.c |
| 7022 | ) |
| 7023 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7024 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7025 | target_include_directories(hpack_parser_test |
| 7026 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7027 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7028 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7029 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7030 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7031 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7032 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7033 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7034 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7035 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7036 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7037 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7038 | ) |
| 7039 | |
| 7040 | target_link_libraries(hpack_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7041 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7042 | grpc_test_util |
| 7043 | grpc |
| 7044 | gpr_test_util |
| 7045 | gpr |
| 7046 | ) |
| 7047 | |
| 7048 | endif (gRPC_BUILD_TESTS) |
| 7049 | if (gRPC_BUILD_TESTS) |
| 7050 | |
| 7051 | add_executable(hpack_table_test |
| 7052 | test/core/transport/chttp2/hpack_table_test.c |
| 7053 | ) |
| 7054 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7055 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7056 | target_include_directories(hpack_table_test |
| 7057 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7058 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7059 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7060 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7061 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7062 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7063 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7064 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7065 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7066 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7067 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7068 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7069 | ) |
| 7070 | |
| 7071 | target_link_libraries(hpack_table_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7072 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7073 | grpc_test_util |
| 7074 | grpc |
| 7075 | gpr_test_util |
| 7076 | gpr |
| 7077 | ) |
| 7078 | |
| 7079 | endif (gRPC_BUILD_TESTS) |
| 7080 | if (gRPC_BUILD_TESTS) |
| 7081 | |
| 7082 | add_executable(http_parser_test |
| 7083 | test/core/http/parser_test.c |
| 7084 | ) |
| 7085 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7086 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7087 | target_include_directories(http_parser_test |
| 7088 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7089 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7090 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7091 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7092 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7093 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7094 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7095 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7096 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7097 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7098 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7099 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7100 | ) |
| 7101 | |
| 7102 | target_link_libraries(http_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7103 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7104 | grpc_test_util |
| 7105 | grpc |
| 7106 | gpr_test_util |
| 7107 | gpr |
| 7108 | ) |
| 7109 | |
| 7110 | endif (gRPC_BUILD_TESTS) |
| 7111 | if (gRPC_BUILD_TESTS) |
| 7112 | |
| 7113 | add_executable(httpcli_format_request_test |
| 7114 | test/core/http/format_request_test.c |
| 7115 | ) |
| 7116 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7117 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7118 | target_include_directories(httpcli_format_request_test |
| 7119 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7120 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7121 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7122 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7123 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7124 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7125 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7126 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7127 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7128 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7129 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7130 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7131 | ) |
| 7132 | |
| 7133 | target_link_libraries(httpcli_format_request_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7134 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7135 | grpc_test_util |
| 7136 | grpc |
| 7137 | gpr_test_util |
| 7138 | gpr |
| 7139 | ) |
| 7140 | |
| 7141 | endif (gRPC_BUILD_TESTS) |
| 7142 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7143 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7144 | |
| 7145 | add_executable(httpcli_test |
| 7146 | test/core/http/httpcli_test.c |
| 7147 | ) |
| 7148 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7149 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7150 | target_include_directories(httpcli_test |
| 7151 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7152 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7153 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7154 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7155 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7156 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7157 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7158 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7159 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7160 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7161 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7162 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7163 | ) |
| 7164 | |
| 7165 | target_link_libraries(httpcli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7166 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7167 | grpc_test_util |
| 7168 | grpc |
| 7169 | gpr_test_util |
| 7170 | gpr |
| 7171 | ) |
| 7172 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7173 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7174 | endif (gRPC_BUILD_TESTS) |
| 7175 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7176 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7177 | |
| 7178 | add_executable(httpscli_test |
| 7179 | test/core/http/httpscli_test.c |
| 7180 | ) |
| 7181 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7182 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7183 | target_include_directories(httpscli_test |
| 7184 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7185 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7186 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7187 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7188 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7189 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7190 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7191 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7192 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7193 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7194 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7195 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7196 | ) |
| 7197 | |
| 7198 | target_link_libraries(httpscli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7199 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7200 | grpc_test_util |
| 7201 | grpc |
| 7202 | gpr_test_util |
| 7203 | gpr |
| 7204 | ) |
| 7205 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7206 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7207 | endif (gRPC_BUILD_TESTS) |
| 7208 | if (gRPC_BUILD_TESTS) |
| 7209 | |
| 7210 | add_executable(init_test |
| 7211 | test/core/surface/init_test.c |
| 7212 | ) |
| 7213 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7214 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7215 | target_include_directories(init_test |
| 7216 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7217 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7218 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7219 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7220 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7221 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7222 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7223 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7224 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7225 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7226 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7227 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7228 | ) |
| 7229 | |
| 7230 | target_link_libraries(init_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7231 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7232 | grpc_test_util |
| 7233 | grpc |
| 7234 | gpr_test_util |
| 7235 | gpr |
| 7236 | ) |
| 7237 | |
| 7238 | endif (gRPC_BUILD_TESTS) |
| 7239 | if (gRPC_BUILD_TESTS) |
| 7240 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7241 | add_executable(invalid_call_argument_test |
| 7242 | test/core/end2end/invalid_call_argument_test.c |
| 7243 | ) |
| 7244 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7245 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7246 | target_include_directories(invalid_call_argument_test |
| 7247 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7248 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7249 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7250 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7251 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7252 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7253 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7254 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7255 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7256 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7257 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7258 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7259 | ) |
| 7260 | |
| 7261 | target_link_libraries(invalid_call_argument_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7262 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7263 | grpc_test_util |
| 7264 | grpc |
| 7265 | gpr_test_util |
| 7266 | gpr |
| 7267 | ) |
| 7268 | |
| 7269 | endif (gRPC_BUILD_TESTS) |
| 7270 | if (gRPC_BUILD_TESTS) |
| 7271 | |
| 7272 | add_executable(json_rewrite |
| 7273 | test/core/json/json_rewrite.c |
| 7274 | ) |
| 7275 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7276 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7277 | target_include_directories(json_rewrite |
| 7278 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7279 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7280 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7281 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7282 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7283 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7284 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7285 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7286 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7287 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7288 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7289 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7290 | ) |
| 7291 | |
| 7292 | target_link_libraries(json_rewrite |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7293 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7294 | grpc |
| 7295 | gpr |
| 7296 | ) |
| 7297 | |
| 7298 | endif (gRPC_BUILD_TESTS) |
| 7299 | if (gRPC_BUILD_TESTS) |
| 7300 | |
| 7301 | add_executable(json_rewrite_test |
| 7302 | test/core/json/json_rewrite_test.c |
| 7303 | ) |
| 7304 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7305 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7306 | target_include_directories(json_rewrite_test |
| 7307 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7308 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7309 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7310 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7311 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7312 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7313 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7314 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7315 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7316 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7317 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7318 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7319 | ) |
| 7320 | |
| 7321 | target_link_libraries(json_rewrite_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7322 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7323 | grpc_test_util |
| 7324 | grpc |
| 7325 | gpr_test_util |
| 7326 | gpr |
| 7327 | ) |
| 7328 | |
| 7329 | endif (gRPC_BUILD_TESTS) |
| 7330 | if (gRPC_BUILD_TESTS) |
| 7331 | |
| 7332 | add_executable(json_stream_error_test |
| 7333 | test/core/json/json_stream_error_test.c |
| 7334 | ) |
| 7335 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7336 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7337 | target_include_directories(json_stream_error_test |
| 7338 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7339 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7340 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7341 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7342 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7343 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7344 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7345 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7346 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7347 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7348 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7349 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7350 | ) |
| 7351 | |
| 7352 | target_link_libraries(json_stream_error_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7353 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7354 | grpc_test_util |
| 7355 | grpc |
| 7356 | gpr_test_util |
| 7357 | gpr |
| 7358 | ) |
| 7359 | |
| 7360 | endif (gRPC_BUILD_TESTS) |
| 7361 | if (gRPC_BUILD_TESTS) |
| 7362 | |
| 7363 | add_executable(json_test |
| 7364 | test/core/json/json_test.c |
| 7365 | ) |
| 7366 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7367 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7368 | target_include_directories(json_test |
| 7369 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7370 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7371 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7372 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7373 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7374 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7375 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7376 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7377 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7378 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7379 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7380 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7381 | ) |
| 7382 | |
| 7383 | target_link_libraries(json_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7384 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7385 | grpc_test_util |
| 7386 | grpc |
| 7387 | gpr_test_util |
| 7388 | gpr |
| 7389 | ) |
| 7390 | |
| 7391 | endif (gRPC_BUILD_TESTS) |
| 7392 | if (gRPC_BUILD_TESTS) |
| 7393 | |
| 7394 | add_executable(lame_client_test |
| 7395 | test/core/surface/lame_client_test.c |
| 7396 | ) |
| 7397 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7398 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7399 | target_include_directories(lame_client_test |
| 7400 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7401 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7402 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7403 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7404 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7405 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7406 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7407 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7408 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7409 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7410 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7411 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7412 | ) |
| 7413 | |
| 7414 | target_link_libraries(lame_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7415 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7416 | grpc_test_util |
| 7417 | grpc |
| 7418 | gpr_test_util |
| 7419 | gpr |
| 7420 | ) |
| 7421 | |
| 7422 | endif (gRPC_BUILD_TESTS) |
| 7423 | if (gRPC_BUILD_TESTS) |
| 7424 | |
| 7425 | add_executable(lb_policies_test |
| 7426 | test/core/client_channel/lb_policies_test.c |
| 7427 | ) |
| 7428 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7429 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7430 | target_include_directories(lb_policies_test |
| 7431 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7432 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7433 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7434 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7435 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7436 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7437 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7438 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7439 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7440 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7441 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7442 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7443 | ) |
| 7444 | |
| 7445 | target_link_libraries(lb_policies_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7446 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7447 | grpc_test_util |
| 7448 | grpc |
| 7449 | gpr_test_util |
| 7450 | gpr |
| 7451 | ) |
| 7452 | |
| 7453 | endif (gRPC_BUILD_TESTS) |
| 7454 | if (gRPC_BUILD_TESTS) |
| 7455 | |
| 7456 | add_executable(load_file_test |
| 7457 | test/core/iomgr/load_file_test.c |
| 7458 | ) |
| 7459 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7460 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7461 | target_include_directories(load_file_test |
| 7462 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7463 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7464 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7465 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7466 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7467 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7468 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7469 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7470 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7471 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7472 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7473 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7474 | ) |
| 7475 | |
| 7476 | target_link_libraries(load_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7477 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7478 | grpc_test_util |
| 7479 | grpc |
| 7480 | gpr_test_util |
| 7481 | gpr |
| 7482 | ) |
| 7483 | |
| 7484 | endif (gRPC_BUILD_TESTS) |
| 7485 | if (gRPC_BUILD_TESTS) |
| 7486 | |
| 7487 | add_executable(memory_profile_client |
| 7488 | test/core/memory_usage/client.c |
| 7489 | ) |
| 7490 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7491 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7492 | target_include_directories(memory_profile_client |
| 7493 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7494 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7495 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7496 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7497 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7498 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7499 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7500 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7501 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7502 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7503 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7504 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7505 | ) |
| 7506 | |
| 7507 | target_link_libraries(memory_profile_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7508 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7509 | grpc_test_util |
| 7510 | grpc |
| 7511 | gpr_test_util |
| 7512 | gpr |
| 7513 | ) |
| 7514 | |
| 7515 | endif (gRPC_BUILD_TESTS) |
| 7516 | if (gRPC_BUILD_TESTS) |
| 7517 | |
| 7518 | add_executable(memory_profile_server |
| 7519 | test/core/memory_usage/server.c |
| 7520 | ) |
| 7521 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7522 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7523 | target_include_directories(memory_profile_server |
| 7524 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7525 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7526 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7527 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7528 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7529 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7530 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7531 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7532 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7533 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7534 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7535 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7536 | ) |
| 7537 | |
| 7538 | target_link_libraries(memory_profile_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7539 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7540 | grpc_test_util |
| 7541 | grpc |
| 7542 | gpr_test_util |
| 7543 | gpr |
| 7544 | ) |
| 7545 | |
| 7546 | endif (gRPC_BUILD_TESTS) |
| 7547 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7548 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7549 | |
| 7550 | add_executable(memory_profile_test |
| 7551 | test/core/memory_usage/memory_usage_test.c |
| 7552 | ) |
| 7553 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7554 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7555 | target_include_directories(memory_profile_test |
| 7556 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7557 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7558 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7559 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7560 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7561 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7562 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7563 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7564 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7565 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7566 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7567 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7568 | ) |
| 7569 | |
| 7570 | target_link_libraries(memory_profile_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7571 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7572 | grpc_test_util |
| 7573 | grpc |
| 7574 | gpr_test_util |
| 7575 | gpr |
| 7576 | ) |
| 7577 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7578 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7579 | endif (gRPC_BUILD_TESTS) |
| 7580 | if (gRPC_BUILD_TESTS) |
| 7581 | |
| 7582 | add_executable(message_compress_test |
| 7583 | test/core/compression/message_compress_test.c |
| 7584 | ) |
| 7585 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7586 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7587 | target_include_directories(message_compress_test |
| 7588 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7589 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7590 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7591 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7592 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7593 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7594 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7595 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7596 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7597 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7598 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7599 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7600 | ) |
| 7601 | |
| 7602 | target_link_libraries(message_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7603 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7604 | grpc_test_util |
| 7605 | grpc |
| 7606 | gpr_test_util |
| 7607 | gpr |
| 7608 | ) |
| 7609 | |
| 7610 | endif (gRPC_BUILD_TESTS) |
| 7611 | if (gRPC_BUILD_TESTS) |
| 7612 | |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7613 | add_executable(minimal_stack_is_minimal_test |
| 7614 | test/core/channel/minimal_stack_is_minimal_test.c |
| 7615 | ) |
| 7616 | |
| 7617 | |
| 7618 | target_include_directories(minimal_stack_is_minimal_test |
| 7619 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7620 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7621 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7622 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 7623 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 7624 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7625 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7626 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 7627 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7628 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7629 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 7630 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7631 | ) |
| 7632 | |
| 7633 | target_link_libraries(minimal_stack_is_minimal_test |
| 7634 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7635 | grpc_test_util |
| 7636 | grpc |
| 7637 | gpr_test_util |
| 7638 | gpr |
| 7639 | ) |
| 7640 | |
| 7641 | endif (gRPC_BUILD_TESTS) |
| 7642 | if (gRPC_BUILD_TESTS) |
| 7643 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7644 | add_executable(mlog_test |
| 7645 | test/core/census/mlog_test.c |
| 7646 | ) |
| 7647 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7648 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7649 | target_include_directories(mlog_test |
| 7650 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7651 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7652 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7653 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7654 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7655 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7656 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7657 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7658 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7659 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7660 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7661 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7662 | ) |
| 7663 | |
| 7664 | target_link_libraries(mlog_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7665 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7666 | grpc_test_util |
| 7667 | grpc |
| 7668 | gpr_test_util |
| 7669 | gpr |
| 7670 | ) |
| 7671 | |
| 7672 | endif (gRPC_BUILD_TESTS) |
| 7673 | if (gRPC_BUILD_TESTS) |
| 7674 | |
| 7675 | add_executable(multiple_server_queues_test |
| 7676 | test/core/end2end/multiple_server_queues_test.c |
| 7677 | ) |
| 7678 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7679 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7680 | target_include_directories(multiple_server_queues_test |
| 7681 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7682 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7683 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7684 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7685 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7686 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7687 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7688 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7689 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7690 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7691 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7692 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7693 | ) |
| 7694 | |
| 7695 | target_link_libraries(multiple_server_queues_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7696 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7697 | grpc_test_util |
| 7698 | grpc |
| 7699 | gpr_test_util |
| 7700 | gpr |
| 7701 | ) |
| 7702 | |
| 7703 | endif (gRPC_BUILD_TESTS) |
| 7704 | if (gRPC_BUILD_TESTS) |
| 7705 | |
| 7706 | add_executable(murmur_hash_test |
| 7707 | test/core/support/murmur_hash_test.c |
| 7708 | ) |
| 7709 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7710 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7711 | target_include_directories(murmur_hash_test |
| 7712 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7713 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7714 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7715 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7716 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7717 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7718 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7719 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7720 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7721 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7722 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7723 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7724 | ) |
| 7725 | |
| 7726 | target_link_libraries(murmur_hash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7727 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7728 | gpr_test_util |
| 7729 | gpr |
| 7730 | ) |
| 7731 | |
| 7732 | endif (gRPC_BUILD_TESTS) |
| 7733 | if (gRPC_BUILD_TESTS) |
| 7734 | |
| 7735 | add_executable(no_server_test |
| 7736 | test/core/end2end/no_server_test.c |
| 7737 | ) |
| 7738 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7739 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7740 | target_include_directories(no_server_test |
| 7741 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7742 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7743 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7744 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7745 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7746 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7747 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7748 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7749 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7750 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7751 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7752 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7753 | ) |
| 7754 | |
| 7755 | target_link_libraries(no_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7756 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7757 | grpc_test_util |
| 7758 | grpc |
| 7759 | gpr_test_util |
| 7760 | gpr |
| 7761 | ) |
| 7762 | |
| 7763 | endif (gRPC_BUILD_TESTS) |
| 7764 | if (gRPC_BUILD_TESTS) |
| 7765 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7766 | add_executable(parse_address_test |
| 7767 | test/core/client_channel/parse_address_test.c |
| 7768 | ) |
| 7769 | |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7770 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7771 | target_include_directories(parse_address_test |
| 7772 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7773 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7774 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7775 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7776 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7777 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7778 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7779 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7780 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7781 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7782 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7783 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7784 | ) |
| 7785 | |
| 7786 | target_link_libraries(parse_address_test |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7787 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7788 | grpc_test_util |
| 7789 | grpc |
| 7790 | gpr_test_util |
| 7791 | gpr |
| 7792 | ) |
| 7793 | |
| 7794 | endif (gRPC_BUILD_TESTS) |
| 7795 | if (gRPC_BUILD_TESTS) |
| 7796 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7797 | add_executable(percent_encoding_test |
| 7798 | test/core/slice/percent_encoding_test.c |
| 7799 | ) |
| 7800 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7801 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7802 | target_include_directories(percent_encoding_test |
| 7803 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7804 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7805 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7806 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7807 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7808 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7809 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7810 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7811 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7812 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7813 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7814 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7815 | ) |
| 7816 | |
| 7817 | target_link_libraries(percent_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7818 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7819 | grpc_test_util |
| 7820 | grpc |
| 7821 | gpr_test_util |
| 7822 | gpr |
| 7823 | ) |
| 7824 | |
| 7825 | endif (gRPC_BUILD_TESTS) |
| 7826 | if (gRPC_BUILD_TESTS) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7827 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7828 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7829 | add_executable(pollset_set_test |
| 7830 | test/core/iomgr/pollset_set_test.c |
| 7831 | ) |
| 7832 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7833 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7834 | target_include_directories(pollset_set_test |
| 7835 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7836 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7837 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7838 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7839 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7840 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7841 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7842 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7843 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7844 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7845 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7846 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7847 | ) |
| 7848 | |
| 7849 | target_link_libraries(pollset_set_test |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7850 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7851 | grpc_test_util |
| 7852 | grpc |
| 7853 | gpr_test_util |
| 7854 | gpr |
| 7855 | ) |
| 7856 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7857 | endif() |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7858 | endif (gRPC_BUILD_TESTS) |
| 7859 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7860 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7861 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7862 | add_executable(resolve_address_posix_test |
| 7863 | test/core/iomgr/resolve_address_posix_test.c |
| 7864 | ) |
| 7865 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7866 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7867 | target_include_directories(resolve_address_posix_test |
| 7868 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7869 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7870 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7871 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7872 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7873 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7874 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7875 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7876 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7877 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7878 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7879 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7880 | ) |
| 7881 | |
| 7882 | target_link_libraries(resolve_address_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7883 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7884 | grpc_test_util |
| 7885 | grpc |
| 7886 | gpr_test_util |
| 7887 | gpr |
| 7888 | ) |
| 7889 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7890 | endif() |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7891 | endif (gRPC_BUILD_TESTS) |
| 7892 | if (gRPC_BUILD_TESTS) |
| 7893 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7894 | add_executable(resolve_address_test |
| 7895 | test/core/iomgr/resolve_address_test.c |
| 7896 | ) |
| 7897 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7898 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7899 | target_include_directories(resolve_address_test |
| 7900 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7901 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7902 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7903 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7904 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7905 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7906 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7907 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7908 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7909 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7910 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7911 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7912 | ) |
| 7913 | |
| 7914 | target_link_libraries(resolve_address_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7915 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7916 | grpc_test_util |
| 7917 | grpc |
| 7918 | gpr_test_util |
| 7919 | gpr |
| 7920 | ) |
| 7921 | |
| 7922 | endif (gRPC_BUILD_TESTS) |
| 7923 | if (gRPC_BUILD_TESTS) |
| 7924 | |
| 7925 | add_executable(resource_quota_test |
| 7926 | test/core/iomgr/resource_quota_test.c |
| 7927 | ) |
| 7928 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7929 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7930 | target_include_directories(resource_quota_test |
| 7931 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7932 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7933 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7934 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7935 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7936 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7937 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7938 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7939 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7940 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7941 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7942 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7943 | ) |
| 7944 | |
| 7945 | target_link_libraries(resource_quota_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7946 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7947 | grpc_test_util |
| 7948 | grpc |
| 7949 | gpr_test_util |
| 7950 | gpr |
| 7951 | ) |
| 7952 | |
| 7953 | endif (gRPC_BUILD_TESTS) |
| 7954 | if (gRPC_BUILD_TESTS) |
| 7955 | |
| 7956 | add_executable(secure_channel_create_test |
| 7957 | test/core/surface/secure_channel_create_test.c |
| 7958 | ) |
| 7959 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7960 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7961 | target_include_directories(secure_channel_create_test |
| 7962 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7963 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7964 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7965 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7966 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7967 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7968 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7969 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7970 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7971 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7972 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7973 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7974 | ) |
| 7975 | |
| 7976 | target_link_libraries(secure_channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7977 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7978 | grpc_test_util |
| 7979 | grpc |
| 7980 | gpr_test_util |
| 7981 | gpr |
| 7982 | ) |
| 7983 | |
| 7984 | endif (gRPC_BUILD_TESTS) |
| 7985 | if (gRPC_BUILD_TESTS) |
| 7986 | |
| 7987 | add_executable(secure_endpoint_test |
| 7988 | test/core/security/secure_endpoint_test.c |
| 7989 | ) |
| 7990 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7991 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7992 | target_include_directories(secure_endpoint_test |
| 7993 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7994 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7995 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7996 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7997 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7998 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7999 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8000 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8001 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8002 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8003 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8004 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8005 | ) |
| 8006 | |
| 8007 | target_link_libraries(secure_endpoint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8008 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8009 | grpc_test_util |
| 8010 | grpc |
| 8011 | gpr_test_util |
| 8012 | gpr |
| 8013 | ) |
| 8014 | |
| 8015 | endif (gRPC_BUILD_TESTS) |
| 8016 | if (gRPC_BUILD_TESTS) |
| 8017 | |
| 8018 | add_executable(sequential_connectivity_test |
| 8019 | test/core/surface/sequential_connectivity_test.c |
| 8020 | ) |
| 8021 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8022 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8023 | target_include_directories(sequential_connectivity_test |
| 8024 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8025 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8026 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8027 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8028 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8029 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8030 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8031 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8032 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8033 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8034 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8035 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8036 | ) |
| 8037 | |
| 8038 | target_link_libraries(sequential_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8039 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8040 | grpc_test_util |
| 8041 | grpc |
| 8042 | gpr_test_util |
| 8043 | gpr |
| 8044 | ) |
| 8045 | |
| 8046 | endif (gRPC_BUILD_TESTS) |
| 8047 | if (gRPC_BUILD_TESTS) |
| 8048 | |
| 8049 | add_executable(server_chttp2_test |
| 8050 | test/core/surface/server_chttp2_test.c |
| 8051 | ) |
| 8052 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8053 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8054 | target_include_directories(server_chttp2_test |
| 8055 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8056 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8057 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8058 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8059 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8060 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8061 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8062 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8063 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8064 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8065 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8066 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8067 | ) |
| 8068 | |
| 8069 | target_link_libraries(server_chttp2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8070 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8071 | grpc_test_util |
| 8072 | grpc |
| 8073 | gpr_test_util |
| 8074 | gpr |
| 8075 | ) |
| 8076 | |
| 8077 | endif (gRPC_BUILD_TESTS) |
| 8078 | if (gRPC_BUILD_TESTS) |
| 8079 | |
| 8080 | add_executable(server_test |
| 8081 | test/core/surface/server_test.c |
| 8082 | ) |
| 8083 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8084 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8085 | target_include_directories(server_test |
| 8086 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8087 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8088 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8089 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8090 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8091 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8092 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8093 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8094 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8095 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8096 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8097 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8098 | ) |
| 8099 | |
| 8100 | target_link_libraries(server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8101 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8102 | grpc_test_util |
| 8103 | grpc |
| 8104 | gpr_test_util |
| 8105 | gpr |
| 8106 | ) |
| 8107 | |
| 8108 | endif (gRPC_BUILD_TESTS) |
| 8109 | if (gRPC_BUILD_TESTS) |
| 8110 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8111 | add_executable(slice_buffer_test |
| 8112 | test/core/slice/slice_buffer_test.c |
| 8113 | ) |
| 8114 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8115 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8116 | target_include_directories(slice_buffer_test |
| 8117 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8118 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8119 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8120 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8121 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8122 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8123 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8124 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8125 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8126 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8127 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8128 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8129 | ) |
| 8130 | |
| 8131 | target_link_libraries(slice_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8132 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8133 | grpc_test_util |
| 8134 | grpc |
| 8135 | gpr_test_util |
| 8136 | gpr |
| 8137 | ) |
| 8138 | |
| 8139 | endif (gRPC_BUILD_TESTS) |
| 8140 | if (gRPC_BUILD_TESTS) |
| 8141 | |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 8142 | add_executable(slice_hash_table_test |
| 8143 | test/core/slice/slice_hash_table_test.c |
| 8144 | ) |
| 8145 | |
| 8146 | |
| 8147 | target_include_directories(slice_hash_table_test |
| 8148 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8149 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8150 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8151 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8152 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8153 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8154 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8155 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 8156 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8157 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8158 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8159 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8160 | ) |
| 8161 | |
| 8162 | target_link_libraries(slice_hash_table_test |
| 8163 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8164 | grpc_test_util |
| 8165 | grpc |
| 8166 | gpr_test_util |
| 8167 | gpr |
| 8168 | ) |
| 8169 | |
| 8170 | endif (gRPC_BUILD_TESTS) |
| 8171 | if (gRPC_BUILD_TESTS) |
| 8172 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8173 | add_executable(slice_string_helpers_test |
| 8174 | test/core/slice/slice_string_helpers_test.c |
| 8175 | ) |
| 8176 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8177 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8178 | target_include_directories(slice_string_helpers_test |
| 8179 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8180 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8181 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8182 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8183 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8184 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8185 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8186 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8187 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8188 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8189 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8190 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8191 | ) |
| 8192 | |
| 8193 | target_link_libraries(slice_string_helpers_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8194 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8195 | grpc_test_util |
| 8196 | grpc |
| 8197 | gpr_test_util |
| 8198 | gpr |
| 8199 | ) |
| 8200 | |
| 8201 | endif (gRPC_BUILD_TESTS) |
| 8202 | if (gRPC_BUILD_TESTS) |
| 8203 | |
| 8204 | add_executable(slice_test |
| 8205 | test/core/slice/slice_test.c |
| 8206 | ) |
| 8207 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8208 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8209 | target_include_directories(slice_test |
| 8210 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8211 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8212 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8213 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8214 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8215 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8216 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8217 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8218 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8219 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8220 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8221 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8222 | ) |
| 8223 | |
| 8224 | target_link_libraries(slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8225 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8226 | grpc_test_util |
| 8227 | grpc |
| 8228 | gpr_test_util |
| 8229 | gpr |
| 8230 | ) |
| 8231 | |
| 8232 | endif (gRPC_BUILD_TESTS) |
| 8233 | if (gRPC_BUILD_TESTS) |
| 8234 | |
| 8235 | add_executable(sockaddr_resolver_test |
| 8236 | test/core/client_channel/resolvers/sockaddr_resolver_test.c |
| 8237 | ) |
| 8238 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8239 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8240 | target_include_directories(sockaddr_resolver_test |
| 8241 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8242 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8243 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8244 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8245 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8246 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8247 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8248 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8249 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8250 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8251 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8252 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8253 | ) |
| 8254 | |
| 8255 | target_link_libraries(sockaddr_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8256 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8257 | grpc_test_util |
| 8258 | grpc |
| 8259 | gpr_test_util |
| 8260 | gpr |
| 8261 | ) |
| 8262 | |
| 8263 | endif (gRPC_BUILD_TESTS) |
| 8264 | if (gRPC_BUILD_TESTS) |
| 8265 | |
| 8266 | add_executable(sockaddr_utils_test |
| 8267 | test/core/iomgr/sockaddr_utils_test.c |
| 8268 | ) |
| 8269 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8270 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8271 | target_include_directories(sockaddr_utils_test |
| 8272 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8273 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8274 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8275 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8276 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8277 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8278 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8279 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8280 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8281 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8282 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8283 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8284 | ) |
| 8285 | |
| 8286 | target_link_libraries(sockaddr_utils_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) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8296 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8297 | |
| 8298 | add_executable(socket_utils_test |
| 8299 | test/core/iomgr/socket_utils_test.c |
| 8300 | ) |
| 8301 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8302 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8303 | target_include_directories(socket_utils_test |
| 8304 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8305 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8306 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8307 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8308 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8309 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8310 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8311 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8312 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8313 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8314 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8315 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8316 | ) |
| 8317 | |
| 8318 | target_link_libraries(socket_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8319 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8320 | grpc_test_util |
| 8321 | grpc |
| 8322 | gpr_test_util |
| 8323 | gpr |
| 8324 | ) |
| 8325 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8326 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8327 | endif (gRPC_BUILD_TESTS) |
| 8328 | if (gRPC_BUILD_TESTS) |
| 8329 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8330 | add_executable(status_conversion_test |
| 8331 | test/core/transport/status_conversion_test.c |
| 8332 | ) |
| 8333 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8334 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8335 | target_include_directories(status_conversion_test |
| 8336 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8337 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8338 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8339 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8340 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8341 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8342 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8343 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8344 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8345 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8346 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8347 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8348 | ) |
| 8349 | |
| 8350 | target_link_libraries(status_conversion_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8351 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8352 | grpc_test_util |
| 8353 | grpc |
| 8354 | gpr_test_util |
| 8355 | gpr |
| 8356 | ) |
| 8357 | |
| 8358 | endif (gRPC_BUILD_TESTS) |
| 8359 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8360 | |
| 8361 | add_executable(stream_owned_slice_test |
| 8362 | test/core/transport/stream_owned_slice_test.c |
| 8363 | ) |
| 8364 | |
| 8365 | |
| 8366 | target_include_directories(stream_owned_slice_test |
| 8367 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8368 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8369 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8370 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8371 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8372 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8373 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8374 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8375 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8376 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8377 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8378 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8379 | ) |
| 8380 | |
| 8381 | target_link_libraries(stream_owned_slice_test |
| 8382 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8383 | grpc_test_util |
| 8384 | grpc |
| 8385 | gpr_test_util |
| 8386 | gpr |
| 8387 | ) |
| 8388 | |
| 8389 | endif (gRPC_BUILD_TESTS) |
| 8390 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8391 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8392 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8393 | add_executable(tcp_client_posix_test |
| 8394 | test/core/iomgr/tcp_client_posix_test.c |
| 8395 | ) |
| 8396 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8397 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8398 | target_include_directories(tcp_client_posix_test |
| 8399 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8400 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8401 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8402 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8403 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8404 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8405 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8406 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8407 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8408 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8409 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8410 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8411 | ) |
| 8412 | |
| 8413 | target_link_libraries(tcp_client_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8414 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8415 | grpc_test_util |
| 8416 | grpc |
| 8417 | gpr_test_util |
| 8418 | gpr |
| 8419 | ) |
| 8420 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8421 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8422 | endif (gRPC_BUILD_TESTS) |
| 8423 | if (gRPC_BUILD_TESTS) |
| 8424 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8425 | add_executable(tcp_client_uv_test |
| 8426 | test/core/iomgr/tcp_client_uv_test.c |
| 8427 | ) |
| 8428 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8429 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8430 | target_include_directories(tcp_client_uv_test |
| 8431 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8432 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8433 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8434 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8435 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8436 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8437 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8438 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8439 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8440 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8441 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8442 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8443 | ) |
| 8444 | |
| 8445 | target_link_libraries(tcp_client_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8446 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8447 | grpc_test_util |
| 8448 | grpc |
| 8449 | gpr_test_util |
| 8450 | gpr |
| 8451 | ) |
| 8452 | |
| 8453 | endif (gRPC_BUILD_TESTS) |
| 8454 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8455 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8456 | |
| 8457 | add_executable(tcp_posix_test |
| 8458 | test/core/iomgr/tcp_posix_test.c |
| 8459 | ) |
| 8460 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8461 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8462 | target_include_directories(tcp_posix_test |
| 8463 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8464 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8465 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8466 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8467 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8468 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8469 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8470 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8471 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8472 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8473 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8474 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8475 | ) |
| 8476 | |
| 8477 | target_link_libraries(tcp_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8478 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8479 | grpc_test_util |
| 8480 | grpc |
| 8481 | gpr_test_util |
| 8482 | gpr |
| 8483 | ) |
| 8484 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8485 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8486 | endif (gRPC_BUILD_TESTS) |
| 8487 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8488 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8489 | |
| 8490 | add_executable(tcp_server_posix_test |
| 8491 | test/core/iomgr/tcp_server_posix_test.c |
| 8492 | ) |
| 8493 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8494 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8495 | target_include_directories(tcp_server_posix_test |
| 8496 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8497 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8498 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8499 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8500 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8501 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8502 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8503 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8504 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8505 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8506 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8507 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8508 | ) |
| 8509 | |
| 8510 | target_link_libraries(tcp_server_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8511 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8512 | grpc_test_util |
| 8513 | grpc |
| 8514 | gpr_test_util |
| 8515 | gpr |
| 8516 | ) |
| 8517 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8518 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8519 | endif (gRPC_BUILD_TESTS) |
| 8520 | if (gRPC_BUILD_TESTS) |
| 8521 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8522 | add_executable(tcp_server_uv_test |
| 8523 | test/core/iomgr/tcp_server_uv_test.c |
| 8524 | ) |
| 8525 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8526 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8527 | target_include_directories(tcp_server_uv_test |
| 8528 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8529 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8530 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8531 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8532 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8533 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8534 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8535 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8536 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8537 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8538 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8539 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8540 | ) |
| 8541 | |
| 8542 | target_link_libraries(tcp_server_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8543 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8544 | grpc_test_util |
| 8545 | grpc |
| 8546 | gpr_test_util |
| 8547 | gpr |
| 8548 | ) |
| 8549 | |
| 8550 | endif (gRPC_BUILD_TESTS) |
| 8551 | if (gRPC_BUILD_TESTS) |
| 8552 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8553 | add_executable(time_averaged_stats_test |
| 8554 | test/core/iomgr/time_averaged_stats_test.c |
| 8555 | ) |
| 8556 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8557 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8558 | target_include_directories(time_averaged_stats_test |
| 8559 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8560 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8561 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8562 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8563 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8564 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8565 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8566 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8567 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8568 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8569 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8570 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8571 | ) |
| 8572 | |
| 8573 | target_link_libraries(time_averaged_stats_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8574 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8575 | grpc_test_util |
| 8576 | grpc |
| 8577 | gpr_test_util |
| 8578 | gpr |
| 8579 | ) |
| 8580 | |
| 8581 | endif (gRPC_BUILD_TESTS) |
| 8582 | if (gRPC_BUILD_TESTS) |
| 8583 | |
| 8584 | add_executable(timeout_encoding_test |
| 8585 | test/core/transport/timeout_encoding_test.c |
| 8586 | ) |
| 8587 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8588 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8589 | target_include_directories(timeout_encoding_test |
| 8590 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8591 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8592 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8593 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8594 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8595 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8596 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8597 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8598 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8599 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8600 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8601 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8602 | ) |
| 8603 | |
| 8604 | target_link_libraries(timeout_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8605 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8606 | grpc_test_util |
| 8607 | grpc |
| 8608 | gpr_test_util |
| 8609 | gpr |
| 8610 | ) |
| 8611 | |
| 8612 | endif (gRPC_BUILD_TESTS) |
| 8613 | if (gRPC_BUILD_TESTS) |
| 8614 | |
| 8615 | add_executable(timer_heap_test |
| 8616 | test/core/iomgr/timer_heap_test.c |
| 8617 | ) |
| 8618 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8619 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8620 | target_include_directories(timer_heap_test |
| 8621 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8622 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8623 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8624 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8625 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8626 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8627 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8628 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8629 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8630 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8631 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8632 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8633 | ) |
| 8634 | |
| 8635 | target_link_libraries(timer_heap_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8636 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8637 | grpc_test_util |
| 8638 | grpc |
| 8639 | gpr_test_util |
| 8640 | gpr |
| 8641 | ) |
| 8642 | |
| 8643 | endif (gRPC_BUILD_TESTS) |
| 8644 | if (gRPC_BUILD_TESTS) |
| 8645 | |
| 8646 | add_executable(timer_list_test |
| 8647 | test/core/iomgr/timer_list_test.c |
| 8648 | ) |
| 8649 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8650 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8651 | target_include_directories(timer_list_test |
| 8652 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8653 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8654 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8655 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8656 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8657 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8658 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8659 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8660 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8661 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8662 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8663 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8664 | ) |
| 8665 | |
| 8666 | target_link_libraries(timer_list_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8667 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8668 | grpc_test_util |
| 8669 | grpc |
| 8670 | gpr_test_util |
| 8671 | gpr |
| 8672 | ) |
| 8673 | |
| 8674 | endif (gRPC_BUILD_TESTS) |
| 8675 | if (gRPC_BUILD_TESTS) |
| 8676 | |
| 8677 | add_executable(transport_connectivity_state_test |
| 8678 | test/core/transport/connectivity_state_test.c |
| 8679 | ) |
| 8680 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8681 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8682 | target_include_directories(transport_connectivity_state_test |
| 8683 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8684 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8685 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8686 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8687 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8688 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8689 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8690 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8691 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8692 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8693 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8694 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8695 | ) |
| 8696 | |
| 8697 | target_link_libraries(transport_connectivity_state_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8698 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8699 | grpc_test_util |
| 8700 | grpc |
| 8701 | gpr_test_util |
| 8702 | gpr |
| 8703 | ) |
| 8704 | |
| 8705 | endif (gRPC_BUILD_TESTS) |
| 8706 | if (gRPC_BUILD_TESTS) |
| 8707 | |
| 8708 | add_executable(transport_metadata_test |
| 8709 | test/core/transport/metadata_test.c |
| 8710 | ) |
| 8711 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8712 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8713 | target_include_directories(transport_metadata_test |
| 8714 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8715 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8716 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8717 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8718 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8719 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8720 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8721 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8722 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8723 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8724 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8725 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8726 | ) |
| 8727 | |
| 8728 | target_link_libraries(transport_metadata_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8729 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8730 | grpc_test_util |
| 8731 | grpc |
| 8732 | gpr_test_util |
| 8733 | gpr |
| 8734 | ) |
| 8735 | |
| 8736 | endif (gRPC_BUILD_TESTS) |
| 8737 | if (gRPC_BUILD_TESTS) |
| 8738 | |
| 8739 | add_executable(transport_pid_controller_test |
| 8740 | test/core/transport/pid_controller_test.c |
| 8741 | ) |
| 8742 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8743 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8744 | target_include_directories(transport_pid_controller_test |
| 8745 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8746 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8747 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8748 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8749 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8750 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8751 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8752 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8753 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8754 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8755 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8756 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8757 | ) |
| 8758 | |
| 8759 | target_link_libraries(transport_pid_controller_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8760 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8761 | grpc_test_util |
| 8762 | grpc |
| 8763 | gpr_test_util |
| 8764 | gpr |
| 8765 | ) |
| 8766 | |
| 8767 | endif (gRPC_BUILD_TESTS) |
| 8768 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8769 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8770 | |
| 8771 | add_executable(transport_security_test |
| 8772 | test/core/tsi/transport_security_test.c |
| 8773 | ) |
| 8774 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8775 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8776 | target_include_directories(transport_security_test |
| 8777 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8778 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8779 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8780 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8781 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8782 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8783 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8784 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8785 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8786 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8787 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8788 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8789 | ) |
| 8790 | |
| 8791 | target_link_libraries(transport_security_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8792 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8793 | grpc_test_util |
| 8794 | grpc |
| 8795 | gpr_test_util |
| 8796 | gpr |
| 8797 | ) |
| 8798 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8799 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8800 | endif (gRPC_BUILD_TESTS) |
| 8801 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8802 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8803 | |
| 8804 | add_executable(udp_server_test |
| 8805 | test/core/iomgr/udp_server_test.c |
| 8806 | ) |
| 8807 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8808 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8809 | target_include_directories(udp_server_test |
| 8810 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8811 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8812 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8813 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8814 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8815 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8816 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8817 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8818 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8819 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8820 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8821 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8822 | ) |
| 8823 | |
| 8824 | target_link_libraries(udp_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8825 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8826 | grpc_test_util |
| 8827 | grpc |
| 8828 | gpr_test_util |
| 8829 | gpr |
| 8830 | ) |
| 8831 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8832 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8833 | endif (gRPC_BUILD_TESTS) |
| 8834 | if (gRPC_BUILD_TESTS) |
| 8835 | |
| 8836 | add_executable(uri_parser_test |
| 8837 | test/core/client_channel/uri_parser_test.c |
| 8838 | ) |
| 8839 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8840 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8841 | target_include_directories(uri_parser_test |
| 8842 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8843 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8844 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8845 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8846 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8847 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8848 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8849 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8850 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8851 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8852 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8853 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8854 | ) |
| 8855 | |
| 8856 | target_link_libraries(uri_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8857 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8858 | grpc_test_util |
| 8859 | grpc |
| 8860 | gpr_test_util |
| 8861 | gpr |
| 8862 | ) |
| 8863 | |
| 8864 | endif (gRPC_BUILD_TESTS) |
| 8865 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8866 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8867 | |
| 8868 | add_executable(wakeup_fd_cv_test |
| 8869 | test/core/iomgr/wakeup_fd_cv_test.c |
| 8870 | ) |
| 8871 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8872 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8873 | target_include_directories(wakeup_fd_cv_test |
| 8874 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8875 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8876 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8877 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8878 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8879 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8880 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8881 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8882 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8883 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8884 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8885 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8886 | ) |
| 8887 | |
| 8888 | target_link_libraries(wakeup_fd_cv_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8889 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8890 | grpc_test_util |
| 8891 | grpc |
| 8892 | gpr_test_util |
| 8893 | gpr |
| 8894 | ) |
| 8895 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8896 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8897 | endif (gRPC_BUILD_TESTS) |
| 8898 | if (gRPC_BUILD_TESTS) |
| 8899 | |
| 8900 | add_executable(alarm_cpp_test |
| 8901 | test/cpp/common/alarm_cpp_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8902 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8903 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8904 | ) |
| 8905 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8906 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8907 | target_include_directories(alarm_cpp_test |
| 8908 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8909 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8910 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8911 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8912 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8913 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8914 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8915 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8916 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8917 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8918 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8919 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8920 | PRIVATE third_party/googletest/googletest/include |
| 8921 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8922 | PRIVATE third_party/googletest/googlemock/include |
| 8923 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8924 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8925 | ) |
| 8926 | |
| 8927 | target_link_libraries(alarm_cpp_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8928 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8929 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8930 | grpc++_test_util |
| 8931 | grpc_test_util |
| 8932 | grpc++ |
| 8933 | grpc |
| 8934 | gpr_test_util |
| 8935 | gpr |
| 8936 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8937 | ) |
| 8938 | |
| 8939 | endif (gRPC_BUILD_TESTS) |
| 8940 | if (gRPC_BUILD_TESTS) |
| 8941 | |
| 8942 | add_executable(async_end2end_test |
| 8943 | test/cpp/end2end/async_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8944 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8945 | third_party/googletest/googlemock/src/gmock-all.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(async_end2end_test |
| 8950 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8951 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8952 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8953 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8954 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8955 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8956 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8957 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8958 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8959 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8960 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8961 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8962 | PRIVATE third_party/googletest/googletest/include |
| 8963 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8964 | PRIVATE third_party/googletest/googlemock/include |
| 8965 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8966 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8967 | ) |
| 8968 | |
| 8969 | target_link_libraries(async_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8970 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8971 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8972 | grpc++_test_util |
| 8973 | grpc_test_util |
| 8974 | grpc++ |
| 8975 | grpc |
| 8976 | gpr_test_util |
| 8977 | gpr |
| 8978 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8979 | ) |
| 8980 | |
| 8981 | endif (gRPC_BUILD_TESTS) |
| 8982 | if (gRPC_BUILD_TESTS) |
| 8983 | |
| 8984 | add_executable(auth_property_iterator_test |
| 8985 | test/cpp/common/auth_property_iterator_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8986 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8987 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8988 | ) |
| 8989 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8990 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8991 | target_include_directories(auth_property_iterator_test |
| 8992 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8993 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8994 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8995 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8996 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8997 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8998 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8999 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9000 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9001 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9002 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9003 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9004 | PRIVATE third_party/googletest/googletest/include |
| 9005 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9006 | PRIVATE third_party/googletest/googlemock/include |
| 9007 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9008 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9009 | ) |
| 9010 | |
| 9011 | target_link_libraries(auth_property_iterator_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9012 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9013 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9014 | grpc++_test_util |
| 9015 | grpc_test_util |
| 9016 | grpc++ |
| 9017 | grpc |
| 9018 | gpr_test_util |
| 9019 | gpr |
| 9020 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9021 | ) |
| 9022 | |
| 9023 | endif (gRPC_BUILD_TESTS) |
| 9024 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9025 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9026 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9027 | add_executable(bm_arena |
| 9028 | test/cpp/microbenchmarks/bm_arena.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9029 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9030 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9031 | ) |
| 9032 | |
| 9033 | |
| 9034 | target_include_directories(bm_arena |
| 9035 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9036 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9037 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9038 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9039 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9040 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9041 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9042 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9043 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9044 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9045 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9046 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9047 | PRIVATE third_party/googletest/googletest/include |
| 9048 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9049 | PRIVATE third_party/googletest/googlemock/include |
| 9050 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9051 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9052 | ) |
| 9053 | |
| 9054 | target_link_libraries(bm_arena |
| 9055 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9056 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9057 | grpc_benchmark |
| 9058 | benchmark |
| 9059 | grpc++_test_util |
| 9060 | grpc_test_util |
| 9061 | grpc++ |
| 9062 | grpc |
| 9063 | gpr_test_util |
| 9064 | gpr |
| 9065 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9066 | ) |
| 9067 | |
| 9068 | endif() |
| 9069 | endif (gRPC_BUILD_TESTS) |
| 9070 | if (gRPC_BUILD_TESTS) |
| 9071 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9072 | |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9073 | add_executable(bm_call_create |
| 9074 | test/cpp/microbenchmarks/bm_call_create.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9075 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9076 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9077 | ) |
| 9078 | |
| 9079 | |
| 9080 | target_include_directories(bm_call_create |
| 9081 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9082 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9083 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9084 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9085 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9086 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9087 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9088 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9089 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9090 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9091 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9092 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9093 | PRIVATE third_party/googletest/googletest/include |
| 9094 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9095 | PRIVATE third_party/googletest/googlemock/include |
| 9096 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9097 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9098 | ) |
| 9099 | |
| 9100 | target_link_libraries(bm_call_create |
| 9101 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9102 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9103 | grpc_benchmark |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9104 | benchmark |
| 9105 | grpc++_test_util |
| 9106 | grpc_test_util |
| 9107 | grpc++ |
| 9108 | grpc |
| 9109 | gpr_test_util |
| 9110 | gpr |
| 9111 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9112 | ) |
| 9113 | |
| 9114 | endif() |
| 9115 | endif (gRPC_BUILD_TESTS) |
| 9116 | if (gRPC_BUILD_TESTS) |
| 9117 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9118 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 9119 | add_executable(bm_chttp2_hpack |
| 9120 | test/cpp/microbenchmarks/bm_chttp2_hpack.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9121 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9122 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9123 | ) |
| 9124 | |
| 9125 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 9126 | target_include_directories(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9127 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9128 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9129 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9130 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9131 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9132 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9133 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9134 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9135 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9136 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9137 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9138 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9139 | PRIVATE third_party/googletest/googletest/include |
| 9140 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9141 | PRIVATE third_party/googletest/googlemock/include |
| 9142 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9143 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9144 | ) |
| 9145 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 9146 | target_link_libraries(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9147 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9148 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9149 | grpc_benchmark |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9150 | benchmark |
| 9151 | grpc++_test_util |
| 9152 | grpc_test_util |
| 9153 | grpc++ |
| 9154 | grpc |
| 9155 | gpr_test_util |
| 9156 | gpr |
| 9157 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9158 | ) |
| 9159 | |
| 9160 | endif() |
| 9161 | endif (gRPC_BUILD_TESTS) |
| 9162 | if (gRPC_BUILD_TESTS) |
| 9163 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9164 | |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9165 | add_executable(bm_chttp2_transport |
| 9166 | test/cpp/microbenchmarks/bm_chttp2_transport.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9167 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9168 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9169 | ) |
| 9170 | |
| 9171 | |
| 9172 | target_include_directories(bm_chttp2_transport |
| 9173 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9174 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9175 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9176 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9177 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9178 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9179 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 937302b | 2017-03-22 10:54:31 -0700 | [diff] [blame] | 9180 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 9181 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9182 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9183 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9184 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9185 | PRIVATE third_party/googletest/googletest/include |
| 9186 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9187 | PRIVATE third_party/googletest/googlemock/include |
| 9188 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9189 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9190 | ) |
| 9191 | |
| 9192 | target_link_libraries(bm_chttp2_transport |
| 9193 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9194 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9195 | grpc_benchmark |
| 9196 | benchmark |
| 9197 | grpc++_test_util |
| 9198 | grpc_test_util |
| 9199 | grpc++ |
| 9200 | grpc |
| 9201 | gpr_test_util |
| 9202 | gpr |
| 9203 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9204 | ) |
| 9205 | |
| 9206 | endif() |
| 9207 | endif (gRPC_BUILD_TESTS) |
| 9208 | if (gRPC_BUILD_TESTS) |
| 9209 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9210 | |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9211 | add_executable(bm_closure |
| 9212 | test/cpp/microbenchmarks/bm_closure.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9213 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9214 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9215 | ) |
| 9216 | |
| 9217 | |
| 9218 | target_include_directories(bm_closure |
| 9219 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9220 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9221 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9222 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9223 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9224 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9225 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9226 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9227 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9228 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9229 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9230 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9231 | PRIVATE third_party/googletest/googletest/include |
| 9232 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9233 | PRIVATE third_party/googletest/googlemock/include |
| 9234 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9235 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9236 | ) |
| 9237 | |
| 9238 | target_link_libraries(bm_closure |
| 9239 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9240 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9241 | grpc_benchmark |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9242 | benchmark |
Craig Tiller | 510f38a | 2017-02-24 17:00:19 -0800 | [diff] [blame] | 9243 | grpc++_test_util |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9244 | grpc_test_util |
Craig Tiller | 510f38a | 2017-02-24 17:00:19 -0800 | [diff] [blame] | 9245 | grpc++ |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9246 | grpc |
| 9247 | gpr_test_util |
| 9248 | gpr |
| 9249 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9250 | ) |
| 9251 | |
| 9252 | endif() |
| 9253 | endif (gRPC_BUILD_TESTS) |
| 9254 | if (gRPC_BUILD_TESTS) |
| 9255 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9256 | |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9257 | add_executable(bm_cq |
| 9258 | test/cpp/microbenchmarks/bm_cq.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9259 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9260 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9261 | ) |
| 9262 | |
| 9263 | |
| 9264 | target_include_directories(bm_cq |
| 9265 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9266 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9267 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9268 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9269 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9270 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9271 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9272 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9273 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9274 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9275 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9276 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9277 | PRIVATE third_party/googletest/googletest/include |
| 9278 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9279 | PRIVATE third_party/googletest/googlemock/include |
| 9280 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9281 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9282 | ) |
| 9283 | |
| 9284 | target_link_libraries(bm_cq |
| 9285 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9286 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9287 | grpc_benchmark |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9288 | benchmark |
| 9289 | grpc++_test_util |
| 9290 | grpc_test_util |
| 9291 | grpc++ |
| 9292 | grpc |
| 9293 | gpr_test_util |
| 9294 | gpr |
| 9295 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9296 | ) |
| 9297 | |
| 9298 | endif() |
| 9299 | endif (gRPC_BUILD_TESTS) |
| 9300 | if (gRPC_BUILD_TESTS) |
| 9301 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9302 | |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9303 | add_executable(bm_cq_multiple_threads |
| 9304 | test/cpp/microbenchmarks/bm_cq_multiple_threads.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 9305 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9306 | third_party/googletest/googlemock/src/gmock-all.cc |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9307 | ) |
| 9308 | |
| 9309 | |
| 9310 | target_include_directories(bm_cq_multiple_threads |
| 9311 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9312 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9313 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9314 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9315 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9316 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9317 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9318 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 9319 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9320 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9321 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9322 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 9323 | PRIVATE third_party/googletest/googletest/include |
| 9324 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9325 | PRIVATE third_party/googletest/googlemock/include |
| 9326 | PRIVATE third_party/googletest/googlemock |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9327 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9328 | ) |
| 9329 | |
| 9330 | target_link_libraries(bm_cq_multiple_threads |
| 9331 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9332 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9333 | grpc_benchmark |
| 9334 | benchmark |
| 9335 | grpc++_test_util |
| 9336 | grpc_test_util |
| 9337 | grpc++ |
| 9338 | grpc |
| 9339 | gpr_test_util |
| 9340 | gpr |
| 9341 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9342 | ) |
| 9343 | |
| 9344 | endif() |
| 9345 | endif (gRPC_BUILD_TESTS) |
| 9346 | if (gRPC_BUILD_TESTS) |
| 9347 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9348 | |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9349 | add_executable(bm_error |
| 9350 | test/cpp/microbenchmarks/bm_error.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9351 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9352 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9353 | ) |
| 9354 | |
| 9355 | |
| 9356 | target_include_directories(bm_error |
| 9357 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9358 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9359 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9360 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9361 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9362 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9363 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9364 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9365 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9366 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9367 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9368 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9369 | PRIVATE third_party/googletest/googletest/include |
| 9370 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9371 | PRIVATE third_party/googletest/googlemock/include |
| 9372 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9373 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9374 | ) |
| 9375 | |
| 9376 | target_link_libraries(bm_error |
| 9377 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9378 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9379 | grpc_benchmark |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9380 | benchmark |
| 9381 | grpc++_test_util |
| 9382 | grpc_test_util |
| 9383 | grpc++ |
| 9384 | grpc |
| 9385 | gpr_test_util |
| 9386 | gpr |
| 9387 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9388 | ) |
| 9389 | |
| 9390 | endif() |
| 9391 | endif (gRPC_BUILD_TESTS) |
| 9392 | if (gRPC_BUILD_TESTS) |
| 9393 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9394 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9395 | add_executable(bm_fullstack_streaming_ping_pong |
| 9396 | test/cpp/microbenchmarks/bm_fullstack_streaming_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9397 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9398 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9399 | ) |
| 9400 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9401 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9402 | target_include_directories(bm_fullstack_streaming_ping_pong |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9403 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9404 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9405 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9406 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9407 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9408 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9409 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9410 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9411 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9412 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9413 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9414 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9415 | PRIVATE third_party/googletest/googletest/include |
| 9416 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9417 | PRIVATE third_party/googletest/googlemock/include |
| 9418 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9419 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9420 | ) |
| 9421 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9422 | target_link_libraries(bm_fullstack_streaming_ping_pong |
| 9423 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9424 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9425 | grpc_benchmark |
| 9426 | benchmark |
| 9427 | grpc++_test_util |
| 9428 | grpc_test_util |
| 9429 | grpc++ |
| 9430 | grpc |
| 9431 | gpr_test_util |
| 9432 | gpr |
| 9433 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9434 | ) |
| 9435 | |
| 9436 | endif() |
| 9437 | endif (gRPC_BUILD_TESTS) |
| 9438 | if (gRPC_BUILD_TESTS) |
| 9439 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9440 | |
| 9441 | add_executable(bm_fullstack_streaming_pump |
| 9442 | test/cpp/microbenchmarks/bm_fullstack_streaming_pump.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9443 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9444 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9445 | ) |
| 9446 | |
| 9447 | |
| 9448 | target_include_directories(bm_fullstack_streaming_pump |
| 9449 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9450 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9451 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9452 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9453 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9454 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9455 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9456 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9457 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9458 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9459 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9460 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9461 | PRIVATE third_party/googletest/googletest/include |
| 9462 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9463 | PRIVATE third_party/googletest/googlemock/include |
| 9464 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9465 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9466 | ) |
| 9467 | |
| 9468 | target_link_libraries(bm_fullstack_streaming_pump |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9469 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9470 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9471 | grpc_benchmark |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9472 | benchmark |
| 9473 | grpc++_test_util |
| 9474 | grpc_test_util |
| 9475 | grpc++ |
| 9476 | grpc |
| 9477 | gpr_test_util |
| 9478 | gpr |
| 9479 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9480 | ) |
| 9481 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9482 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9483 | endif (gRPC_BUILD_TESTS) |
| 9484 | if (gRPC_BUILD_TESTS) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9485 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9486 | |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9487 | add_executable(bm_fullstack_trickle |
| 9488 | test/cpp/microbenchmarks/bm_fullstack_trickle.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9489 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9490 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9491 | ) |
| 9492 | |
| 9493 | |
| 9494 | target_include_directories(bm_fullstack_trickle |
| 9495 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9496 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9497 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9498 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9499 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9500 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9501 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9502 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9503 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9504 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9505 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9506 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9507 | PRIVATE third_party/googletest/googletest/include |
| 9508 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9509 | PRIVATE third_party/googletest/googlemock/include |
| 9510 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9511 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9512 | ) |
| 9513 | |
| 9514 | target_link_libraries(bm_fullstack_trickle |
| 9515 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9516 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9517 | grpc_benchmark |
| 9518 | benchmark |
| 9519 | grpc++_test_util |
| 9520 | grpc_test_util |
| 9521 | grpc++ |
| 9522 | grpc |
| 9523 | gpr_test_util |
| 9524 | gpr |
| 9525 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9526 | ) |
| 9527 | |
| 9528 | endif() |
| 9529 | endif (gRPC_BUILD_TESTS) |
| 9530 | if (gRPC_BUILD_TESTS) |
| 9531 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9532 | |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9533 | add_executable(bm_fullstack_unary_ping_pong |
| 9534 | test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9535 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9536 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9537 | ) |
| 9538 | |
| 9539 | |
| 9540 | target_include_directories(bm_fullstack_unary_ping_pong |
| 9541 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9542 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9543 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9544 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9545 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9546 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9547 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9548 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9549 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9550 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9551 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9552 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9553 | PRIVATE third_party/googletest/googletest/include |
| 9554 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9555 | PRIVATE third_party/googletest/googlemock/include |
| 9556 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9557 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9558 | ) |
| 9559 | |
| 9560 | target_link_libraries(bm_fullstack_unary_ping_pong |
| 9561 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9562 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9563 | grpc_benchmark |
| 9564 | benchmark |
| 9565 | grpc++_test_util |
| 9566 | grpc_test_util |
| 9567 | grpc++ |
| 9568 | grpc |
| 9569 | gpr_test_util |
| 9570 | gpr |
| 9571 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9572 | ) |
| 9573 | |
| 9574 | endif() |
| 9575 | endif (gRPC_BUILD_TESTS) |
| 9576 | if (gRPC_BUILD_TESTS) |
| 9577 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9578 | |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9579 | add_executable(bm_metadata |
| 9580 | test/cpp/microbenchmarks/bm_metadata.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9581 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9582 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9583 | ) |
| 9584 | |
| 9585 | |
| 9586 | target_include_directories(bm_metadata |
| 9587 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9588 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9589 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9590 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9591 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9592 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9593 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9594 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9595 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9596 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9597 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9598 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9599 | PRIVATE third_party/googletest/googletest/include |
| 9600 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9601 | PRIVATE third_party/googletest/googlemock/include |
| 9602 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9603 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9604 | ) |
| 9605 | |
| 9606 | target_link_libraries(bm_metadata |
| 9607 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9608 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9609 | grpc_benchmark |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9610 | benchmark |
Craig Tiller | ad14bce | 2017-03-09 08:32:01 -0800 | [diff] [blame] | 9611 | grpc++_test_util |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9612 | grpc_test_util |
Craig Tiller | ad14bce | 2017-03-09 08:32:01 -0800 | [diff] [blame] | 9613 | grpc++ |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9614 | grpc |
| 9615 | gpr_test_util |
| 9616 | gpr |
| 9617 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9618 | ) |
| 9619 | |
| 9620 | endif() |
| 9621 | endif (gRPC_BUILD_TESTS) |
| 9622 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9623 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9624 | |
| 9625 | add_executable(bm_pollset |
| 9626 | test/cpp/microbenchmarks/bm_pollset.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9627 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9628 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9629 | ) |
| 9630 | |
| 9631 | |
| 9632 | target_include_directories(bm_pollset |
| 9633 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9634 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9635 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9636 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9637 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9638 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9639 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9640 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9641 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9642 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9643 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9644 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9645 | PRIVATE third_party/googletest/googletest/include |
| 9646 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9647 | PRIVATE third_party/googletest/googlemock/include |
| 9648 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9649 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9650 | ) |
| 9651 | |
| 9652 | target_link_libraries(bm_pollset |
| 9653 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9654 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9655 | grpc_benchmark |
| 9656 | benchmark |
Craig Tiller | 3a35189 | 2017-03-10 07:39:26 -0800 | [diff] [blame] | 9657 | grpc++_test_util |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9658 | grpc_test_util |
Craig Tiller | 3a35189 | 2017-03-10 07:39:26 -0800 | [diff] [blame] | 9659 | grpc++ |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9660 | grpc |
| 9661 | gpr_test_util |
| 9662 | gpr |
| 9663 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9664 | ) |
| 9665 | |
| 9666 | endif() |
| 9667 | endif (gRPC_BUILD_TESTS) |
| 9668 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9669 | |
| 9670 | add_executable(channel_arguments_test |
| 9671 | test/cpp/common/channel_arguments_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9672 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9673 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9674 | ) |
| 9675 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9676 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9677 | target_include_directories(channel_arguments_test |
| 9678 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9679 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9680 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9681 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9682 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9683 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9684 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9685 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9686 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9687 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9688 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9689 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9690 | PRIVATE third_party/googletest/googletest/include |
| 9691 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9692 | PRIVATE third_party/googletest/googlemock/include |
| 9693 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9694 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9695 | ) |
| 9696 | |
| 9697 | target_link_libraries(channel_arguments_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9698 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9699 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9700 | grpc++ |
| 9701 | grpc |
| 9702 | gpr |
| 9703 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9704 | ) |
| 9705 | |
| 9706 | endif (gRPC_BUILD_TESTS) |
| 9707 | if (gRPC_BUILD_TESTS) |
| 9708 | |
| 9709 | add_executable(channel_filter_test |
| 9710 | test/cpp/common/channel_filter_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9711 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9712 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9713 | ) |
| 9714 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9715 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9716 | target_include_directories(channel_filter_test |
| 9717 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9718 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9719 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9720 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9721 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9722 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9723 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9724 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9725 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9726 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9727 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9728 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9729 | PRIVATE third_party/googletest/googletest/include |
| 9730 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9731 | PRIVATE third_party/googletest/googlemock/include |
| 9732 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9733 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9734 | ) |
| 9735 | |
| 9736 | target_link_libraries(channel_filter_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9737 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9738 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9739 | grpc++ |
| 9740 | grpc |
| 9741 | gpr |
| 9742 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9743 | ) |
| 9744 | |
| 9745 | endif (gRPC_BUILD_TESTS) |
| 9746 | if (gRPC_BUILD_TESTS) |
| 9747 | |
| 9748 | add_executable(cli_call_test |
| 9749 | test/cpp/util/cli_call_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9750 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9751 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9752 | ) |
| 9753 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9754 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9755 | target_include_directories(cli_call_test |
| 9756 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9757 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9758 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9759 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9760 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9761 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9762 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9763 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9764 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9765 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9766 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9767 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9768 | PRIVATE third_party/googletest/googletest/include |
| 9769 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9770 | PRIVATE third_party/googletest/googlemock/include |
| 9771 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9772 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9773 | ) |
| 9774 | |
| 9775 | target_link_libraries(cli_call_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9776 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9777 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9778 | grpc_cli_libs |
| 9779 | grpc++_test_util |
| 9780 | grpc_test_util |
| 9781 | grpc++ |
| 9782 | grpc |
| 9783 | gpr_test_util |
| 9784 | gpr |
| 9785 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9786 | ) |
| 9787 | |
| 9788 | endif (gRPC_BUILD_TESTS) |
| 9789 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9790 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9791 | |
| 9792 | add_executable(client_crash_test |
| 9793 | test/cpp/end2end/client_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9794 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9795 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9796 | ) |
| 9797 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9798 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9799 | target_include_directories(client_crash_test |
| 9800 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9801 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9802 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9803 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9804 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9805 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9806 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9807 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9808 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9809 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9810 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9811 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9812 | PRIVATE third_party/googletest/googletest/include |
| 9813 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9814 | PRIVATE third_party/googletest/googlemock/include |
| 9815 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9816 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9817 | ) |
| 9818 | |
| 9819 | target_link_libraries(client_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9820 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9821 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9822 | grpc++_test_util |
| 9823 | grpc_test_util |
| 9824 | grpc++ |
| 9825 | grpc |
| 9826 | gpr_test_util |
| 9827 | gpr |
| 9828 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9829 | ) |
| 9830 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9831 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9832 | endif (gRPC_BUILD_TESTS) |
| 9833 | if (gRPC_BUILD_TESTS) |
| 9834 | |
| 9835 | add_executable(client_crash_test_server |
| 9836 | test/cpp/end2end/client_crash_test_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9837 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9838 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9839 | ) |
| 9840 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9841 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9842 | target_include_directories(client_crash_test_server |
| 9843 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9844 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9845 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9846 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9847 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9848 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9849 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9850 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9851 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9852 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9853 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9854 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9855 | PRIVATE third_party/googletest/googletest/include |
| 9856 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9857 | PRIVATE third_party/googletest/googlemock/include |
| 9858 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9859 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9860 | ) |
| 9861 | |
| 9862 | target_link_libraries(client_crash_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9863 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9864 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9865 | grpc++_test_util |
| 9866 | grpc_test_util |
| 9867 | grpc++ |
| 9868 | grpc |
| 9869 | gpr_test_util |
| 9870 | gpr |
| 9871 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9872 | ) |
| 9873 | |
| 9874 | endif (gRPC_BUILD_TESTS) |
| 9875 | if (gRPC_BUILD_TESTS) |
| 9876 | |
| 9877 | add_executable(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9878 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 9879 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 9880 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 9881 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 9882 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 9883 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 9884 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 9885 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 9886 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 9887 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 9888 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 9889 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 9890 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 9891 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 9892 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 9893 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 9894 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 9895 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 9896 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 9897 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9898 | test/cpp/codegen/codegen_test_full.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9899 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9900 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9901 | ) |
| 9902 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9903 | protobuf_generate_grpc_cpp( |
| 9904 | src/proto/grpc/testing/control.proto |
| 9905 | ) |
| 9906 | protobuf_generate_grpc_cpp( |
| 9907 | src/proto/grpc/testing/messages.proto |
| 9908 | ) |
| 9909 | protobuf_generate_grpc_cpp( |
| 9910 | src/proto/grpc/testing/payloads.proto |
| 9911 | ) |
| 9912 | protobuf_generate_grpc_cpp( |
| 9913 | src/proto/grpc/testing/services.proto |
| 9914 | ) |
| 9915 | protobuf_generate_grpc_cpp( |
| 9916 | src/proto/grpc/testing/stats.proto |
| 9917 | ) |
| 9918 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9919 | target_include_directories(codegen_test_full |
| 9920 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9921 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9922 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9923 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9924 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9925 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9926 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9927 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9928 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9929 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9930 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9931 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9932 | PRIVATE third_party/googletest/googletest/include |
| 9933 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9934 | PRIVATE third_party/googletest/googlemock/include |
| 9935 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9936 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9937 | ) |
| 9938 | |
| 9939 | target_link_libraries(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9940 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9941 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9942 | grpc++ |
| 9943 | grpc |
| 9944 | gpr |
| 9945 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9946 | ) |
| 9947 | |
| 9948 | endif (gRPC_BUILD_TESTS) |
| 9949 | if (gRPC_BUILD_TESTS) |
| 9950 | |
| 9951 | add_executable(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9952 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 9953 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 9954 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 9955 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 9956 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 9957 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 9958 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 9959 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 9960 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 9961 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 9962 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 9963 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 9964 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 9965 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 9966 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 9967 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 9968 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 9969 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 9970 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 9971 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9972 | test/cpp/codegen/codegen_test_minimal.cc |
| 9973 | src/cpp/codegen/codegen_init.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9974 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9975 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9976 | ) |
| 9977 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9978 | protobuf_generate_grpc_cpp( |
| 9979 | src/proto/grpc/testing/control.proto |
| 9980 | ) |
| 9981 | protobuf_generate_grpc_cpp( |
| 9982 | src/proto/grpc/testing/messages.proto |
| 9983 | ) |
| 9984 | protobuf_generate_grpc_cpp( |
| 9985 | src/proto/grpc/testing/payloads.proto |
| 9986 | ) |
| 9987 | protobuf_generate_grpc_cpp( |
| 9988 | src/proto/grpc/testing/services.proto |
| 9989 | ) |
| 9990 | protobuf_generate_grpc_cpp( |
| 9991 | src/proto/grpc/testing/stats.proto |
| 9992 | ) |
| 9993 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9994 | target_include_directories(codegen_test_minimal |
| 9995 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9996 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9997 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9998 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9999 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10000 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10001 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10002 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10003 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10004 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10005 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10006 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10007 | PRIVATE third_party/googletest/googletest/include |
| 10008 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10009 | PRIVATE third_party/googletest/googlemock/include |
| 10010 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10011 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10012 | ) |
| 10013 | |
| 10014 | target_link_libraries(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10015 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10016 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | c0e6701 | 2017-03-17 20:00:55 -0700 | [diff] [blame] | 10017 | grpc |
| 10018 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10019 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10020 | ) |
| 10021 | |
| 10022 | endif (gRPC_BUILD_TESTS) |
| 10023 | if (gRPC_BUILD_TESTS) |
| 10024 | |
| 10025 | add_executable(credentials_test |
| 10026 | test/cpp/client/credentials_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10027 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10028 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10029 | ) |
| 10030 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10031 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10032 | target_include_directories(credentials_test |
| 10033 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10034 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10035 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10036 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10037 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10038 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10039 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10040 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10041 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10042 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10043 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10044 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10045 | PRIVATE third_party/googletest/googletest/include |
| 10046 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10047 | PRIVATE third_party/googletest/googlemock/include |
| 10048 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10049 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10050 | ) |
| 10051 | |
| 10052 | target_link_libraries(credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10053 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10054 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10055 | grpc++ |
| 10056 | grpc |
| 10057 | gpr |
| 10058 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10059 | ) |
| 10060 | |
| 10061 | endif (gRPC_BUILD_TESTS) |
| 10062 | if (gRPC_BUILD_TESTS) |
| 10063 | |
| 10064 | add_executable(cxx_byte_buffer_test |
| 10065 | test/cpp/util/byte_buffer_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10066 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10067 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10068 | ) |
| 10069 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10070 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10071 | target_include_directories(cxx_byte_buffer_test |
| 10072 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10073 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10074 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10075 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10076 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10077 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10078 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10079 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10080 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10081 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10082 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10083 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10084 | PRIVATE third_party/googletest/googletest/include |
| 10085 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10086 | PRIVATE third_party/googletest/googlemock/include |
| 10087 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10088 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10089 | ) |
| 10090 | |
| 10091 | target_link_libraries(cxx_byte_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10092 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10093 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10094 | grpc_test_util |
| 10095 | grpc++ |
| 10096 | grpc |
| 10097 | gpr_test_util |
| 10098 | gpr |
| 10099 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10100 | ) |
| 10101 | |
| 10102 | endif (gRPC_BUILD_TESTS) |
| 10103 | if (gRPC_BUILD_TESTS) |
| 10104 | |
| 10105 | add_executable(cxx_slice_test |
| 10106 | test/cpp/util/slice_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10107 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10108 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10109 | ) |
| 10110 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10111 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10112 | target_include_directories(cxx_slice_test |
| 10113 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10114 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10115 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10116 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10117 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10118 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10119 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10120 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10121 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10122 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10123 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10124 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10125 | PRIVATE third_party/googletest/googletest/include |
| 10126 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10127 | PRIVATE third_party/googletest/googlemock/include |
| 10128 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10129 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10130 | ) |
| 10131 | |
| 10132 | target_link_libraries(cxx_slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10133 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10134 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10135 | grpc_test_util |
| 10136 | grpc++ |
| 10137 | grpc |
| 10138 | gpr_test_util |
| 10139 | gpr |
| 10140 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10141 | ) |
| 10142 | |
| 10143 | endif (gRPC_BUILD_TESTS) |
| 10144 | if (gRPC_BUILD_TESTS) |
| 10145 | |
| 10146 | add_executable(cxx_string_ref_test |
| 10147 | test/cpp/util/string_ref_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10148 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10149 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10150 | ) |
| 10151 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10152 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10153 | target_include_directories(cxx_string_ref_test |
| 10154 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10155 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10156 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10157 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10158 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10159 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10160 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10161 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10162 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10163 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10164 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10165 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10166 | PRIVATE third_party/googletest/googletest/include |
| 10167 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10168 | PRIVATE third_party/googletest/googlemock/include |
| 10169 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10170 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10171 | ) |
| 10172 | |
| 10173 | target_link_libraries(cxx_string_ref_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10174 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10175 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10176 | grpc++ |
| 10177 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10178 | ) |
| 10179 | |
| 10180 | endif (gRPC_BUILD_TESTS) |
| 10181 | if (gRPC_BUILD_TESTS) |
| 10182 | |
| 10183 | add_executable(cxx_time_test |
| 10184 | test/cpp/util/time_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10185 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10186 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10187 | ) |
| 10188 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10189 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10190 | target_include_directories(cxx_time_test |
| 10191 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10192 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10193 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10194 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10195 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10196 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10197 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10198 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10199 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10200 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10201 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10202 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10203 | PRIVATE third_party/googletest/googletest/include |
| 10204 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10205 | PRIVATE third_party/googletest/googlemock/include |
| 10206 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10207 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10208 | ) |
| 10209 | |
| 10210 | target_link_libraries(cxx_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10211 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10212 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10213 | grpc_test_util |
| 10214 | grpc++ |
| 10215 | grpc |
| 10216 | gpr_test_util |
| 10217 | gpr |
| 10218 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10219 | ) |
| 10220 | |
| 10221 | endif (gRPC_BUILD_TESTS) |
| 10222 | if (gRPC_BUILD_TESTS) |
| 10223 | |
| 10224 | add_executable(end2end_test |
| 10225 | test/cpp/end2end/end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10226 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10227 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10228 | ) |
| 10229 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10230 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10231 | target_include_directories(end2end_test |
| 10232 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10233 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10234 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10235 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10236 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10237 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10238 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10239 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10240 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10241 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10242 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10243 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10244 | PRIVATE third_party/googletest/googletest/include |
| 10245 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10246 | PRIVATE third_party/googletest/googlemock/include |
| 10247 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10248 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10249 | ) |
| 10250 | |
| 10251 | target_link_libraries(end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10252 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10253 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10254 | grpc++_test_util |
| 10255 | grpc_test_util |
| 10256 | grpc++ |
| 10257 | grpc |
| 10258 | gpr_test_util |
| 10259 | gpr |
| 10260 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10261 | ) |
| 10262 | |
| 10263 | endif (gRPC_BUILD_TESTS) |
| 10264 | if (gRPC_BUILD_TESTS) |
| 10265 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10266 | add_executable(error_details_test |
| 10267 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 10268 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 10269 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 10270 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 10271 | test/cpp/util/error_details_test.cc |
| 10272 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10273 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10274 | ) |
| 10275 | |
| 10276 | protobuf_generate_grpc_cpp( |
| 10277 | src/proto/grpc/testing/echo_messages.proto |
| 10278 | ) |
| 10279 | |
| 10280 | target_include_directories(error_details_test |
| 10281 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10282 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10283 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10284 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10285 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10286 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10287 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10288 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 10289 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10290 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10291 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10292 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10293 | PRIVATE third_party/googletest/googletest/include |
| 10294 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10295 | PRIVATE third_party/googletest/googlemock/include |
| 10296 | PRIVATE third_party/googletest/googlemock |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10297 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10298 | ) |
| 10299 | |
| 10300 | target_link_libraries(error_details_test |
| 10301 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10302 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10303 | grpc++_error_details |
| 10304 | grpc++ |
| 10305 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10306 | ) |
| 10307 | |
| 10308 | endif (gRPC_BUILD_TESTS) |
| 10309 | if (gRPC_BUILD_TESTS) |
| 10310 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10311 | add_executable(filter_end2end_test |
| 10312 | test/cpp/end2end/filter_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10313 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10314 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10315 | ) |
| 10316 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10317 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10318 | target_include_directories(filter_end2end_test |
| 10319 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10320 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10321 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10322 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10323 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10324 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10325 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10326 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10327 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10328 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10329 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10330 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10331 | PRIVATE third_party/googletest/googletest/include |
| 10332 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10333 | PRIVATE third_party/googletest/googlemock/include |
| 10334 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10335 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10336 | ) |
| 10337 | |
| 10338 | target_link_libraries(filter_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10339 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10340 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10341 | grpc++_test_util |
| 10342 | grpc_test_util |
| 10343 | grpc++ |
| 10344 | grpc |
| 10345 | gpr_test_util |
| 10346 | gpr |
| 10347 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10348 | ) |
| 10349 | |
| 10350 | endif (gRPC_BUILD_TESTS) |
| 10351 | if (gRPC_BUILD_TESTS) |
| 10352 | |
| 10353 | add_executable(generic_end2end_test |
| 10354 | test/cpp/end2end/generic_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10355 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10356 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10357 | ) |
| 10358 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10359 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10360 | target_include_directories(generic_end2end_test |
| 10361 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10362 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10363 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10364 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10365 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10366 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10367 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10368 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10369 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10370 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10371 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10372 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10373 | PRIVATE third_party/googletest/googletest/include |
| 10374 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10375 | PRIVATE third_party/googletest/googlemock/include |
| 10376 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10377 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10378 | ) |
| 10379 | |
| 10380 | target_link_libraries(generic_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10381 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10382 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10383 | grpc++_test_util |
| 10384 | grpc_test_util |
| 10385 | grpc++ |
| 10386 | grpc |
| 10387 | gpr_test_util |
| 10388 | gpr |
| 10389 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10390 | ) |
| 10391 | |
| 10392 | endif (gRPC_BUILD_TESTS) |
| 10393 | if (gRPC_BUILD_TESTS) |
| 10394 | |
| 10395 | add_executable(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10396 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.cc |
| 10397 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.grpc.pb.cc |
| 10398 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.h |
| 10399 | ${_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] | 10400 | test/cpp/codegen/golden_file_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10401 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10402 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10403 | ) |
| 10404 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10405 | protobuf_generate_grpc_cpp( |
| 10406 | src/proto/grpc/testing/compiler_test.proto |
| 10407 | ) |
| 10408 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10409 | target_include_directories(golden_file_test |
| 10410 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10411 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10412 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10413 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10414 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10415 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10416 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10417 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10418 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10419 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10420 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10421 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10422 | PRIVATE third_party/googletest/googletest/include |
| 10423 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10424 | PRIVATE third_party/googletest/googlemock/include |
| 10425 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10426 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10427 | ) |
| 10428 | |
| 10429 | target_link_libraries(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10430 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10431 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10432 | grpc++ |
| 10433 | grpc |
| 10434 | gpr |
| 10435 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10436 | ) |
| 10437 | |
| 10438 | endif (gRPC_BUILD_TESTS) |
| 10439 | if (gRPC_BUILD_TESTS) |
| 10440 | |
| 10441 | add_executable(grpc_cli |
| 10442 | test/cpp/util/grpc_cli.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10443 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10444 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10445 | ) |
| 10446 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10447 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10448 | target_include_directories(grpc_cli |
| 10449 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10450 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10451 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10452 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10453 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10454 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10455 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10456 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10457 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10458 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10459 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10460 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10461 | PRIVATE third_party/googletest/googletest/include |
| 10462 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10463 | PRIVATE third_party/googletest/googlemock/include |
| 10464 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10465 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10466 | ) |
| 10467 | |
| 10468 | target_link_libraries(grpc_cli |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10469 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10470 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10471 | grpc_cli_libs |
| 10472 | grpc++_proto_reflection_desc_db |
| 10473 | grpc++ |
| 10474 | grpc |
| 10475 | gpr |
| 10476 | grpc++_test_config |
| 10477 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10478 | ) |
| 10479 | |
| 10480 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10481 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10482 | add_executable(grpc_cpp_plugin |
| 10483 | src/compiler/cpp_plugin.cc |
| 10484 | ) |
| 10485 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10486 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10487 | target_include_directories(grpc_cpp_plugin |
| 10488 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10489 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10490 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10491 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10492 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10493 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10494 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10495 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10496 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10497 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10498 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10499 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10500 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10501 | ) |
| 10502 | |
| 10503 | target_link_libraries(grpc_cpp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10504 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10505 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10506 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10507 | grpc_plugin_support |
| 10508 | ) |
| 10509 | |
| 10510 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10511 | if (gRPC_INSTALL) |
| 10512 | install(TARGETS grpc_cpp_plugin EXPORT gRPCTargets |
| 10513 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 10514 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10515 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10516 | ) |
| 10517 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10518 | |
| 10519 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10520 | add_executable(grpc_csharp_plugin |
| 10521 | src/compiler/csharp_plugin.cc |
| 10522 | ) |
| 10523 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10524 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10525 | target_include_directories(grpc_csharp_plugin |
| 10526 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10527 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10528 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10529 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10530 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10531 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10532 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10533 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10534 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10535 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10536 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10537 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10538 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10539 | ) |
| 10540 | |
| 10541 | target_link_libraries(grpc_csharp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10542 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10543 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10544 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10545 | grpc_plugin_support |
| 10546 | ) |
| 10547 | |
| 10548 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10549 | if (gRPC_INSTALL) |
| 10550 | install(TARGETS grpc_csharp_plugin EXPORT gRPCTargets |
| 10551 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 10552 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10553 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10554 | ) |
| 10555 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10556 | |
| 10557 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10558 | add_executable(grpc_node_plugin |
| 10559 | src/compiler/node_plugin.cc |
| 10560 | ) |
| 10561 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10562 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10563 | target_include_directories(grpc_node_plugin |
| 10564 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10565 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10566 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10567 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10568 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10569 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10570 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10571 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10572 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10573 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10574 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10575 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10576 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10577 | ) |
| 10578 | |
| 10579 | target_link_libraries(grpc_node_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10580 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10581 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10582 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10583 | grpc_plugin_support |
| 10584 | ) |
| 10585 | |
| 10586 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10587 | if (gRPC_INSTALL) |
| 10588 | install(TARGETS grpc_node_plugin EXPORT gRPCTargets |
| 10589 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 10590 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10591 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10592 | ) |
| 10593 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10594 | |
| 10595 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10596 | add_executable(grpc_objective_c_plugin |
| 10597 | src/compiler/objective_c_plugin.cc |
| 10598 | ) |
| 10599 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10600 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10601 | target_include_directories(grpc_objective_c_plugin |
| 10602 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10603 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10604 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10605 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10606 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10607 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10608 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10609 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10610 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10611 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10612 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10613 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10614 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10615 | ) |
| 10616 | |
| 10617 | target_link_libraries(grpc_objective_c_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10618 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10619 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10620 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10621 | grpc_plugin_support |
| 10622 | ) |
| 10623 | |
| 10624 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10625 | if (gRPC_INSTALL) |
| 10626 | install(TARGETS grpc_objective_c_plugin EXPORT gRPCTargets |
| 10627 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 10628 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10629 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10630 | ) |
| 10631 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10632 | |
| 10633 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10634 | add_executable(grpc_php_plugin |
| 10635 | src/compiler/php_plugin.cc |
| 10636 | ) |
| 10637 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10638 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10639 | target_include_directories(grpc_php_plugin |
| 10640 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10641 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10642 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10643 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10644 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10645 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10646 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10647 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10648 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10649 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10650 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10651 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10652 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10653 | ) |
| 10654 | |
| 10655 | target_link_libraries(grpc_php_plugin |
| 10656 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10657 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10658 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10659 | grpc_plugin_support |
| 10660 | ) |
| 10661 | |
| 10662 | |
| 10663 | if (gRPC_INSTALL) |
| 10664 | install(TARGETS grpc_php_plugin EXPORT gRPCTargets |
| 10665 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 10666 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10667 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10668 | ) |
| 10669 | endif() |
| 10670 | |
| 10671 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10672 | add_executable(grpc_python_plugin |
| 10673 | src/compiler/python_plugin.cc |
| 10674 | ) |
| 10675 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10676 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10677 | target_include_directories(grpc_python_plugin |
| 10678 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10679 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10680 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10681 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10682 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10683 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10684 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10685 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10686 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10687 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10688 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10689 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10690 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10691 | ) |
| 10692 | |
| 10693 | target_link_libraries(grpc_python_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10694 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10695 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10696 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10697 | grpc_plugin_support |
| 10698 | ) |
| 10699 | |
| 10700 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10701 | if (gRPC_INSTALL) |
| 10702 | install(TARGETS grpc_python_plugin EXPORT gRPCTargets |
| 10703 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 10704 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10705 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10706 | ) |
| 10707 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10708 | |
| 10709 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10710 | add_executable(grpc_ruby_plugin |
| 10711 | src/compiler/ruby_plugin.cc |
| 10712 | ) |
| 10713 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10714 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10715 | target_include_directories(grpc_ruby_plugin |
| 10716 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10717 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10718 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10719 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10720 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10721 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10722 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10723 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10724 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10725 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10726 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10727 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10728 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10729 | ) |
| 10730 | |
| 10731 | target_link_libraries(grpc_ruby_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10732 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10733 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10734 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10735 | grpc_plugin_support |
| 10736 | ) |
| 10737 | |
| 10738 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10739 | if (gRPC_INSTALL) |
| 10740 | install(TARGETS grpc_ruby_plugin EXPORT gRPCTargets |
| 10741 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 10742 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10743 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10744 | ) |
| 10745 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10746 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10747 | if (gRPC_BUILD_TESTS) |
| 10748 | |
| 10749 | add_executable(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10750 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 10751 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 10752 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 10753 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 10754 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 10755 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 10756 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 10757 | ${_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] | 10758 | test/cpp/util/grpc_tool_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10759 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10760 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10761 | ) |
| 10762 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10763 | protobuf_generate_grpc_cpp( |
| 10764 | src/proto/grpc/testing/echo.proto |
| 10765 | ) |
| 10766 | protobuf_generate_grpc_cpp( |
| 10767 | src/proto/grpc/testing/echo_messages.proto |
| 10768 | ) |
| 10769 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10770 | target_include_directories(grpc_tool_test |
| 10771 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10772 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10773 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10774 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10775 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10776 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10777 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10778 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10779 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10780 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10781 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10782 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10783 | PRIVATE third_party/googletest/googletest/include |
| 10784 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10785 | PRIVATE third_party/googletest/googlemock/include |
| 10786 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10787 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10788 | ) |
| 10789 | |
| 10790 | target_link_libraries(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10791 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10792 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10793 | grpc_cli_libs |
| 10794 | grpc++_proto_reflection_desc_db |
| 10795 | grpc++_reflection |
| 10796 | grpc++_test_util |
| 10797 | grpc_test_util |
| 10798 | grpc++ |
| 10799 | grpc |
| 10800 | gpr_test_util |
| 10801 | gpr |
| 10802 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10803 | ) |
| 10804 | |
| 10805 | endif (gRPC_BUILD_TESTS) |
| 10806 | if (gRPC_BUILD_TESTS) |
| 10807 | |
| 10808 | add_executable(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10809 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10810 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10811 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10812 | ${_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] | 10813 | test/cpp/grpclb/grpclb_api_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10814 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10815 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10816 | ) |
| 10817 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10818 | protobuf_generate_grpc_cpp( |
| 10819 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10820 | ) |
| 10821 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10822 | target_include_directories(grpclb_api_test |
| 10823 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10824 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10825 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10826 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10827 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10828 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10829 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10830 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10831 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10832 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10833 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10834 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10835 | PRIVATE third_party/googletest/googletest/include |
| 10836 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10837 | PRIVATE third_party/googletest/googlemock/include |
| 10838 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10839 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10840 | ) |
| 10841 | |
| 10842 | target_link_libraries(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10843 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10844 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10845 | grpc++_test_util |
| 10846 | grpc_test_util |
| 10847 | grpc++ |
| 10848 | grpc |
| 10849 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10850 | ) |
| 10851 | |
| 10852 | endif (gRPC_BUILD_TESTS) |
| 10853 | if (gRPC_BUILD_TESTS) |
| 10854 | |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10855 | add_executable(grpclb_end2end_test |
| 10856 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10857 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10858 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10859 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 10860 | test/cpp/end2end/grpclb_end2end_test.cc |
| 10861 | third_party/googletest/googletest/src/gtest-all.cc |
| 10862 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10863 | ) |
| 10864 | |
| 10865 | protobuf_generate_grpc_cpp( |
| 10866 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10867 | ) |
| 10868 | |
| 10869 | target_include_directories(grpclb_end2end_test |
| 10870 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10871 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10872 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10873 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10874 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10875 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10876 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10877 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 10878 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10879 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10880 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10881 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 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(grpclb_end2end_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 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10904 | add_executable(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10905 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10906 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10907 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10908 | ${_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] | 10909 | test/cpp/grpclb/grpclb_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10910 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10911 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10912 | ) |
| 10913 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10914 | protobuf_generate_grpc_cpp( |
| 10915 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10916 | ) |
| 10917 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10918 | target_include_directories(grpclb_test |
| 10919 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10920 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10921 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10922 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10923 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10924 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10925 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10926 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10927 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10928 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10929 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10930 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10931 | PRIVATE third_party/googletest/googletest/include |
| 10932 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10933 | PRIVATE third_party/googletest/googlemock/include |
| 10934 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10935 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10936 | ) |
| 10937 | |
| 10938 | target_link_libraries(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10939 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10940 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10941 | grpc++_test_util |
| 10942 | grpc_test_util |
Jan Tattermusch | 1c6a144 | 2017-01-13 14:17:40 +0100 | [diff] [blame] | 10943 | grpc++ |
| 10944 | grpc |
| 10945 | gpr_test_util |
| 10946 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10947 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10948 | ) |
| 10949 | |
| 10950 | endif (gRPC_BUILD_TESTS) |
| 10951 | if (gRPC_BUILD_TESTS) |
| 10952 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10953 | add_executable(health_service_end2end_test |
| 10954 | test/cpp/end2end/health_service_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10955 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10956 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10957 | ) |
| 10958 | |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10959 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10960 | target_include_directories(health_service_end2end_test |
| 10961 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10962 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10963 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10964 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10965 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10966 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10967 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10968 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10969 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10970 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10971 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10972 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10973 | PRIVATE third_party/googletest/googletest/include |
| 10974 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10975 | PRIVATE third_party/googletest/googlemock/include |
| 10976 | PRIVATE third_party/googletest/googlemock |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10977 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10978 | ) |
| 10979 | |
| 10980 | target_link_libraries(health_service_end2end_test |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10981 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10982 | ${_gRPC_ALLTARGETS_LIBRARIES} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10983 | grpc++_test_util |
| 10984 | grpc_test_util |
| 10985 | grpc++ |
| 10986 | grpc |
| 10987 | gpr_test_util |
| 10988 | gpr |
| 10989 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10990 | ) |
| 10991 | |
| 10992 | endif (gRPC_BUILD_TESTS) |
| 10993 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10994 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10995 | |
| 10996 | add_executable(http2_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10997 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10998 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10999 | ) |
| 11000 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11001 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11002 | target_include_directories(http2_client |
| 11003 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11004 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11005 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11006 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11007 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11008 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11009 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11010 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11011 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11012 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11013 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11014 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11015 | PRIVATE third_party/googletest/googletest/include |
| 11016 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11017 | PRIVATE third_party/googletest/googlemock/include |
| 11018 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11019 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11020 | ) |
| 11021 | |
| 11022 | target_link_libraries(http2_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11023 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11024 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11025 | http2_client_main |
| 11026 | grpc++_test_util |
| 11027 | grpc_test_util |
| 11028 | grpc++ |
| 11029 | grpc |
| 11030 | grpc++_test_config |
| 11031 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11032 | ) |
| 11033 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11034 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11035 | endif (gRPC_BUILD_TESTS) |
| 11036 | if (gRPC_BUILD_TESTS) |
| 11037 | |
| 11038 | add_executable(hybrid_end2end_test |
| 11039 | test/cpp/end2end/hybrid_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11040 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11041 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11042 | ) |
| 11043 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11044 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11045 | target_include_directories(hybrid_end2end_test |
| 11046 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11047 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11048 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11049 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11050 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11051 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11052 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11053 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11054 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11055 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11056 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11057 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11058 | PRIVATE third_party/googletest/googletest/include |
| 11059 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11060 | PRIVATE third_party/googletest/googlemock/include |
| 11061 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11062 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11063 | ) |
| 11064 | |
| 11065 | target_link_libraries(hybrid_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11066 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11067 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11068 | grpc++_test_util |
| 11069 | grpc_test_util |
| 11070 | grpc++ |
| 11071 | grpc |
| 11072 | gpr_test_util |
| 11073 | gpr |
| 11074 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11075 | ) |
| 11076 | |
| 11077 | endif (gRPC_BUILD_TESTS) |
| 11078 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11079 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11080 | |
| 11081 | add_executable(interop_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11082 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11083 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11084 | ) |
| 11085 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11086 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11087 | target_include_directories(interop_client |
| 11088 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11089 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11090 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11091 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11092 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11093 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11094 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11095 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11096 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11097 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11098 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11099 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11100 | PRIVATE third_party/googletest/googletest/include |
| 11101 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11102 | PRIVATE third_party/googletest/googlemock/include |
| 11103 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11104 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11105 | ) |
| 11106 | |
| 11107 | target_link_libraries(interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11108 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11109 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11110 | interop_client_main |
| 11111 | interop_client_helper |
| 11112 | grpc++_test_util |
| 11113 | grpc_test_util |
| 11114 | grpc++ |
| 11115 | grpc |
| 11116 | gpr_test_util |
| 11117 | gpr |
| 11118 | grpc++_test_config |
| 11119 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11120 | ) |
| 11121 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11122 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11123 | endif (gRPC_BUILD_TESTS) |
| 11124 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11125 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11126 | |
| 11127 | add_executable(interop_server |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11128 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11129 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11130 | ) |
| 11131 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11132 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11133 | target_include_directories(interop_server |
| 11134 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11135 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11136 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11137 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11138 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11139 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11140 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11141 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11142 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11143 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11144 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11145 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11146 | PRIVATE third_party/googletest/googletest/include |
| 11147 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11148 | PRIVATE third_party/googletest/googlemock/include |
| 11149 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11150 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11151 | ) |
| 11152 | |
| 11153 | target_link_libraries(interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11154 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11155 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11156 | interop_server_main |
| 11157 | interop_server_helper |
| 11158 | interop_server_lib |
| 11159 | grpc++_test_util |
| 11160 | grpc_test_util |
| 11161 | grpc++ |
| 11162 | grpc |
| 11163 | gpr_test_util |
| 11164 | gpr |
| 11165 | grpc++_test_config |
| 11166 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11167 | ) |
| 11168 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11169 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11170 | endif (gRPC_BUILD_TESTS) |
| 11171 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11172 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11173 | |
| 11174 | add_executable(interop_test |
| 11175 | test/cpp/interop/interop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11176 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11177 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11178 | ) |
| 11179 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11180 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11181 | target_include_directories(interop_test |
| 11182 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11183 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11184 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11185 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11186 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11187 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11188 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11189 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11190 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11191 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11192 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11193 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11194 | PRIVATE third_party/googletest/googletest/include |
| 11195 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11196 | PRIVATE third_party/googletest/googlemock/include |
| 11197 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11198 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11199 | ) |
| 11200 | |
| 11201 | target_link_libraries(interop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11202 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11203 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11204 | grpc_test_util |
| 11205 | grpc |
| 11206 | gpr_test_util |
| 11207 | gpr |
| 11208 | grpc++_test_config |
| 11209 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11210 | ) |
| 11211 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11212 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11213 | endif (gRPC_BUILD_TESTS) |
| 11214 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11215 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11216 | |
| 11217 | add_executable(json_run_localhost |
| 11218 | test/cpp/qps/json_run_localhost.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11219 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11220 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11221 | ) |
| 11222 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11223 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11224 | target_include_directories(json_run_localhost |
| 11225 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11226 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11227 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11228 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11229 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11230 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11231 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11232 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11233 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11234 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11235 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11236 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11237 | PRIVATE third_party/googletest/googletest/include |
| 11238 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11239 | PRIVATE third_party/googletest/googlemock/include |
| 11240 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11241 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11242 | ) |
| 11243 | |
| 11244 | target_link_libraries(json_run_localhost |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11245 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11246 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11247 | grpc++_test_util |
| 11248 | grpc_test_util |
| 11249 | grpc++ |
| 11250 | grpc |
| 11251 | gpr_test_util |
| 11252 | gpr |
| 11253 | grpc++_test_config |
| 11254 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11255 | ) |
| 11256 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11257 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11258 | endif (gRPC_BUILD_TESTS) |
| 11259 | if (gRPC_BUILD_TESTS) |
| 11260 | |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11261 | add_executable(memory_test |
| 11262 | test/core/support/memory_test.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 11263 | third_party/googletest/googletest/src/gtest-all.cc |
David Garcia Quintas | 4e9bef0 | 2017-05-01 13:16:58 -0700 | [diff] [blame] | 11264 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11265 | ) |
| 11266 | |
| 11267 | |
| 11268 | target_include_directories(memory_test |
| 11269 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11270 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11271 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11272 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11273 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11274 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11275 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 11276 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 11277 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11278 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11279 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 11280 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 11281 | PRIVATE third_party/googletest/googletest/include |
| 11282 | PRIVATE third_party/googletest/googletest |
David Garcia Quintas | 4e9bef0 | 2017-05-01 13:16:58 -0700 | [diff] [blame] | 11283 | PRIVATE third_party/googletest/googlemock/include |
| 11284 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11285 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11286 | ) |
| 11287 | |
| 11288 | target_link_libraries(memory_test |
| 11289 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11290 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11291 | grpc_test_util |
| 11292 | grpc++ |
| 11293 | grpc |
| 11294 | gpr_test_util |
| 11295 | gpr |
| 11296 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11297 | ) |
| 11298 | |
| 11299 | endif (gRPC_BUILD_TESTS) |
| 11300 | if (gRPC_BUILD_TESTS) |
| 11301 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11302 | add_executable(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11303 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 11304 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 11305 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 11306 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11307 | test/cpp/interop/metrics_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11308 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11309 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11310 | ) |
| 11311 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11312 | protobuf_generate_grpc_cpp( |
| 11313 | src/proto/grpc/testing/metrics.proto |
| 11314 | ) |
| 11315 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11316 | target_include_directories(metrics_client |
| 11317 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11318 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11319 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11320 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11321 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11322 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11323 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11324 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11325 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11326 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11327 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11328 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11329 | PRIVATE third_party/googletest/googletest/include |
| 11330 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11331 | PRIVATE third_party/googletest/googlemock/include |
| 11332 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11333 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11334 | ) |
| 11335 | |
| 11336 | target_link_libraries(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11337 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11338 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11339 | grpc++ |
| 11340 | grpc |
| 11341 | gpr |
| 11342 | grpc++_test_config |
| 11343 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11344 | ) |
| 11345 | |
| 11346 | endif (gRPC_BUILD_TESTS) |
| 11347 | if (gRPC_BUILD_TESTS) |
| 11348 | |
| 11349 | add_executable(mock_test |
| 11350 | test/cpp/end2end/mock_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11351 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11352 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11353 | ) |
| 11354 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11355 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11356 | target_include_directories(mock_test |
| 11357 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11358 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11359 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11360 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11361 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11362 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11363 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11364 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11365 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11366 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11367 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11368 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11369 | PRIVATE third_party/googletest/googletest/include |
| 11370 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11371 | PRIVATE third_party/googletest/googlemock/include |
| 11372 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11373 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11374 | ) |
| 11375 | |
| 11376 | target_link_libraries(mock_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11377 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11378 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11379 | grpc++_test_util |
| 11380 | grpc_test_util |
| 11381 | grpc++ |
| 11382 | grpc |
| 11383 | gpr_test_util |
| 11384 | gpr |
| 11385 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11386 | ) |
| 11387 | |
| 11388 | endif (gRPC_BUILD_TESTS) |
| 11389 | if (gRPC_BUILD_TESTS) |
| 11390 | |
| 11391 | add_executable(noop-benchmark |
| 11392 | test/cpp/microbenchmarks/noop-benchmark.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11393 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11394 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11395 | ) |
| 11396 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11397 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11398 | target_include_directories(noop-benchmark |
| 11399 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11400 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11401 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11402 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11403 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11404 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11405 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11406 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11407 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11408 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11409 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11410 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11411 | PRIVATE third_party/googletest/googletest/include |
| 11412 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11413 | PRIVATE third_party/googletest/googlemock/include |
| 11414 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11415 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11416 | ) |
| 11417 | |
| 11418 | target_link_libraries(noop-benchmark |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11419 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11420 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11421 | benchmark |
| 11422 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11423 | ) |
| 11424 | |
| 11425 | endif (gRPC_BUILD_TESTS) |
| 11426 | if (gRPC_BUILD_TESTS) |
| 11427 | |
| 11428 | add_executable(proto_server_reflection_test |
| 11429 | test/cpp/end2end/proto_server_reflection_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11430 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11431 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11432 | ) |
| 11433 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11434 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11435 | target_include_directories(proto_server_reflection_test |
| 11436 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11437 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11438 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11439 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11440 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11441 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11442 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11443 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11444 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11445 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11446 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11447 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11448 | PRIVATE third_party/googletest/googletest/include |
| 11449 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11450 | PRIVATE third_party/googletest/googlemock/include |
| 11451 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11452 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11453 | ) |
| 11454 | |
| 11455 | target_link_libraries(proto_server_reflection_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11456 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11457 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11458 | grpc++_proto_reflection_desc_db |
| 11459 | grpc++_reflection |
| 11460 | grpc++_test_util |
| 11461 | grpc_test_util |
| 11462 | grpc++ |
| 11463 | grpc |
| 11464 | gpr_test_util |
| 11465 | gpr |
| 11466 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11467 | ) |
| 11468 | |
| 11469 | endif (gRPC_BUILD_TESTS) |
| 11470 | if (gRPC_BUILD_TESTS) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11471 | |
| 11472 | add_executable(proto_utils_test |
| 11473 | test/cpp/codegen/proto_utils_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11474 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11475 | third_party/googletest/googlemock/src/gmock-all.cc |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11476 | ) |
| 11477 | |
| 11478 | |
| 11479 | target_include_directories(proto_utils_test |
| 11480 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11481 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11482 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11483 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11484 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11485 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11486 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11487 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11488 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11489 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11490 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11491 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11492 | PRIVATE third_party/googletest/googletest/include |
| 11493 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11494 | PRIVATE third_party/googletest/googlemock/include |
| 11495 | PRIVATE third_party/googletest/googlemock |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11496 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11497 | ) |
| 11498 | |
| 11499 | target_link_libraries(proto_utils_test |
| 11500 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11501 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11502 | grpc++ |
| 11503 | grpc |
| 11504 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11505 | ) |
| 11506 | |
| 11507 | endif (gRPC_BUILD_TESTS) |
| 11508 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11509 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11510 | |
| 11511 | add_executable(qps_interarrival_test |
| 11512 | test/cpp/qps/qps_interarrival_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11513 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11514 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11515 | ) |
| 11516 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11517 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11518 | target_include_directories(qps_interarrival_test |
| 11519 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11520 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11521 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11522 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11523 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11524 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11525 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11526 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11527 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11528 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11529 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11530 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11531 | PRIVATE third_party/googletest/googletest/include |
| 11532 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11533 | PRIVATE third_party/googletest/googlemock/include |
| 11534 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11535 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11536 | ) |
| 11537 | |
| 11538 | target_link_libraries(qps_interarrival_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11539 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11540 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11541 | qps |
| 11542 | grpc++_test_util |
| 11543 | grpc_test_util |
| 11544 | grpc++ |
| 11545 | grpc |
| 11546 | gpr_test_util |
| 11547 | gpr |
| 11548 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11549 | ) |
| 11550 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11551 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11552 | endif (gRPC_BUILD_TESTS) |
| 11553 | if (gRPC_BUILD_TESTS) |
| 11554 | |
| 11555 | add_executable(qps_json_driver |
| 11556 | test/cpp/qps/qps_json_driver.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11557 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11558 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11559 | ) |
| 11560 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11561 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11562 | target_include_directories(qps_json_driver |
| 11563 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11564 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11565 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11566 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11567 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11568 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11569 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11570 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11571 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11572 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11573 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11574 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11575 | PRIVATE third_party/googletest/googletest/include |
| 11576 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11577 | PRIVATE third_party/googletest/googlemock/include |
| 11578 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11579 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11580 | ) |
| 11581 | |
| 11582 | target_link_libraries(qps_json_driver |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11583 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11584 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11585 | qps |
| 11586 | grpc++_test_util |
| 11587 | grpc_test_util |
| 11588 | grpc++ |
| 11589 | grpc |
| 11590 | gpr_test_util |
| 11591 | gpr |
| 11592 | grpc++_test_config |
| 11593 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11594 | ) |
| 11595 | |
| 11596 | endif (gRPC_BUILD_TESTS) |
| 11597 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11598 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11599 | |
| 11600 | add_executable(qps_openloop_test |
| 11601 | test/cpp/qps/qps_openloop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11602 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11603 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11604 | ) |
| 11605 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11606 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11607 | target_include_directories(qps_openloop_test |
| 11608 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11609 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11610 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11611 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11612 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11613 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11614 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11615 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11616 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11617 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11618 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11619 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11620 | PRIVATE third_party/googletest/googletest/include |
| 11621 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11622 | PRIVATE third_party/googletest/googlemock/include |
| 11623 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11624 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11625 | ) |
| 11626 | |
| 11627 | target_link_libraries(qps_openloop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11628 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11629 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11630 | qps |
| 11631 | grpc++_test_util |
| 11632 | grpc_test_util |
| 11633 | grpc++ |
| 11634 | grpc |
| 11635 | gpr_test_util |
| 11636 | gpr |
| 11637 | grpc++_test_config |
| 11638 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11639 | ) |
| 11640 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11641 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11642 | endif (gRPC_BUILD_TESTS) |
| 11643 | if (gRPC_BUILD_TESTS) |
| 11644 | |
| 11645 | add_executable(qps_worker |
| 11646 | test/cpp/qps/worker.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11647 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11648 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11649 | ) |
| 11650 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11651 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11652 | target_include_directories(qps_worker |
| 11653 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11654 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11655 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11656 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11657 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11658 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11659 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11660 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11661 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11662 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11663 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11664 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11665 | PRIVATE third_party/googletest/googletest/include |
| 11666 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11667 | PRIVATE third_party/googletest/googlemock/include |
| 11668 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11669 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11670 | ) |
| 11671 | |
| 11672 | target_link_libraries(qps_worker |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11673 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11674 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11675 | qps |
| 11676 | grpc++_test_util |
| 11677 | grpc_test_util |
| 11678 | grpc++ |
| 11679 | grpc |
| 11680 | gpr_test_util |
| 11681 | gpr |
| 11682 | grpc++_test_config |
| 11683 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11684 | ) |
| 11685 | |
| 11686 | endif (gRPC_BUILD_TESTS) |
| 11687 | if (gRPC_BUILD_TESTS) |
| 11688 | |
| 11689 | add_executable(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11690 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11691 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11692 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11693 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11694 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11695 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11696 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11697 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11698 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11699 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11700 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11701 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11702 | test/cpp/interop/reconnect_interop_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11703 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11704 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11705 | ) |
| 11706 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11707 | protobuf_generate_grpc_cpp( |
| 11708 | src/proto/grpc/testing/empty.proto |
| 11709 | ) |
| 11710 | protobuf_generate_grpc_cpp( |
| 11711 | src/proto/grpc/testing/messages.proto |
| 11712 | ) |
| 11713 | protobuf_generate_grpc_cpp( |
| 11714 | src/proto/grpc/testing/test.proto |
| 11715 | ) |
| 11716 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11717 | target_include_directories(reconnect_interop_client |
| 11718 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11719 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11720 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11721 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11722 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11723 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11724 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11725 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11726 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11727 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11728 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11729 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11730 | PRIVATE third_party/googletest/googletest/include |
| 11731 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11732 | PRIVATE third_party/googletest/googlemock/include |
| 11733 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11734 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11735 | ) |
| 11736 | |
| 11737 | target_link_libraries(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11738 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11739 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11740 | grpc++_test_util |
| 11741 | grpc_test_util |
| 11742 | grpc++ |
| 11743 | grpc |
| 11744 | gpr_test_util |
| 11745 | gpr |
| 11746 | grpc++_test_config |
| 11747 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11748 | ) |
| 11749 | |
| 11750 | endif (gRPC_BUILD_TESTS) |
| 11751 | if (gRPC_BUILD_TESTS) |
| 11752 | |
| 11753 | add_executable(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11754 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11755 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11756 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11757 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11758 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11759 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11760 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11761 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11762 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11763 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11764 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11765 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11766 | test/cpp/interop/reconnect_interop_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11767 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11768 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11769 | ) |
| 11770 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11771 | protobuf_generate_grpc_cpp( |
| 11772 | src/proto/grpc/testing/empty.proto |
| 11773 | ) |
| 11774 | protobuf_generate_grpc_cpp( |
| 11775 | src/proto/grpc/testing/messages.proto |
| 11776 | ) |
| 11777 | protobuf_generate_grpc_cpp( |
| 11778 | src/proto/grpc/testing/test.proto |
| 11779 | ) |
| 11780 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11781 | target_include_directories(reconnect_interop_server |
| 11782 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11783 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11784 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11785 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11786 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11787 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11788 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11789 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11790 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11791 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11792 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11793 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11794 | PRIVATE third_party/googletest/googletest/include |
| 11795 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11796 | PRIVATE third_party/googletest/googlemock/include |
| 11797 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11798 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11799 | ) |
| 11800 | |
| 11801 | target_link_libraries(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11802 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11803 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11804 | reconnect_server |
| 11805 | test_tcp_server |
| 11806 | grpc++_test_util |
| 11807 | grpc_test_util |
| 11808 | grpc++ |
| 11809 | grpc |
| 11810 | gpr_test_util |
| 11811 | gpr |
| 11812 | grpc++_test_config |
| 11813 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11814 | ) |
| 11815 | |
| 11816 | endif (gRPC_BUILD_TESTS) |
| 11817 | if (gRPC_BUILD_TESTS) |
| 11818 | |
| 11819 | add_executable(round_robin_end2end_test |
| 11820 | test/cpp/end2end/round_robin_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11821 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11822 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11823 | ) |
| 11824 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11825 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11826 | target_include_directories(round_robin_end2end_test |
| 11827 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11828 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11829 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11830 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11831 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11832 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11833 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11834 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11835 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11836 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11837 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11838 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11839 | PRIVATE third_party/googletest/googletest/include |
| 11840 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11841 | PRIVATE third_party/googletest/googlemock/include |
| 11842 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11843 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11844 | ) |
| 11845 | |
| 11846 | target_link_libraries(round_robin_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11847 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11848 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11849 | grpc++_test_util |
| 11850 | grpc_test_util |
| 11851 | grpc++ |
| 11852 | grpc |
| 11853 | gpr_test_util |
| 11854 | gpr |
| 11855 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11856 | ) |
| 11857 | |
| 11858 | endif (gRPC_BUILD_TESTS) |
| 11859 | if (gRPC_BUILD_TESTS) |
| 11860 | |
| 11861 | add_executable(secure_auth_context_test |
| 11862 | test/cpp/common/secure_auth_context_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11863 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11864 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11865 | ) |
| 11866 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11867 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11868 | target_include_directories(secure_auth_context_test |
| 11869 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11870 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11871 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11872 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11873 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11874 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11875 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11876 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11877 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11878 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11879 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11880 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11881 | PRIVATE third_party/googletest/googletest/include |
| 11882 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11883 | PRIVATE third_party/googletest/googlemock/include |
| 11884 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11885 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11886 | ) |
| 11887 | |
| 11888 | target_link_libraries(secure_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11889 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11890 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11891 | grpc++_test_util |
| 11892 | grpc_test_util |
| 11893 | grpc++ |
| 11894 | grpc |
| 11895 | gpr_test_util |
| 11896 | gpr |
| 11897 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11898 | ) |
| 11899 | |
| 11900 | endif (gRPC_BUILD_TESTS) |
| 11901 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11902 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11903 | |
| 11904 | add_executable(secure_sync_unary_ping_pong_test |
| 11905 | test/cpp/qps/secure_sync_unary_ping_pong_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11906 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11907 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11908 | ) |
| 11909 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11910 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11911 | target_include_directories(secure_sync_unary_ping_pong_test |
| 11912 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11913 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11914 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11915 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11916 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11917 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11918 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11919 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11920 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11921 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11922 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11923 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11924 | PRIVATE third_party/googletest/googletest/include |
| 11925 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11926 | PRIVATE third_party/googletest/googlemock/include |
| 11927 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11928 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11929 | ) |
| 11930 | |
| 11931 | target_link_libraries(secure_sync_unary_ping_pong_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11932 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11933 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11934 | qps |
| 11935 | grpc++_test_util |
| 11936 | grpc_test_util |
| 11937 | grpc++ |
| 11938 | grpc |
| 11939 | gpr_test_util |
| 11940 | gpr |
| 11941 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11942 | ) |
| 11943 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11944 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11945 | endif (gRPC_BUILD_TESTS) |
| 11946 | if (gRPC_BUILD_TESTS) |
| 11947 | |
| 11948 | add_executable(server_builder_plugin_test |
| 11949 | test/cpp/end2end/server_builder_plugin_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11950 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11951 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11952 | ) |
| 11953 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11954 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11955 | target_include_directories(server_builder_plugin_test |
| 11956 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11957 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11958 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11959 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11960 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11961 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11962 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11963 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11964 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11965 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11966 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11967 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11968 | PRIVATE third_party/googletest/googletest/include |
| 11969 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11970 | PRIVATE third_party/googletest/googlemock/include |
| 11971 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11972 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11973 | ) |
| 11974 | |
| 11975 | target_link_libraries(server_builder_plugin_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11976 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11977 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11978 | grpc++_test_util |
| 11979 | grpc_test_util |
| 11980 | grpc++ |
| 11981 | grpc |
| 11982 | gpr_test_util |
| 11983 | gpr |
| 11984 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11985 | ) |
| 11986 | |
| 11987 | endif (gRPC_BUILD_TESTS) |
| 11988 | if (gRPC_BUILD_TESTS) |
| 11989 | |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11990 | add_executable(server_builder_test |
| 11991 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 11992 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 11993 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 11994 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 11995 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 11996 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 11997 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 11998 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 11999 | test/cpp/server/server_builder_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12000 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12001 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12002 | ) |
| 12003 | |
| 12004 | protobuf_generate_grpc_cpp( |
| 12005 | src/proto/grpc/testing/echo_messages.proto |
| 12006 | ) |
| 12007 | protobuf_generate_grpc_cpp( |
| 12008 | src/proto/grpc/testing/echo.proto |
| 12009 | ) |
| 12010 | |
| 12011 | target_include_directories(server_builder_test |
| 12012 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12013 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12014 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12015 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12016 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12017 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12018 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12019 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12020 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12021 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12022 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12023 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
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 |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12028 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12029 | ) |
| 12030 | |
| 12031 | target_link_libraries(server_builder_test |
| 12032 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12033 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12034 | grpc++_test_util |
| 12035 | grpc_test_util |
| 12036 | gpr_test_util |
| 12037 | grpc++ |
| 12038 | grpc |
| 12039 | gpr |
| 12040 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12041 | ) |
| 12042 | |
| 12043 | endif (gRPC_BUILD_TESTS) |
| 12044 | if (gRPC_BUILD_TESTS) |
| 12045 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12046 | add_executable(server_context_test_spouse_test |
| 12047 | test/cpp/test/server_context_test_spouse_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12048 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12049 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12050 | ) |
| 12051 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12052 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12053 | target_include_directories(server_context_test_spouse_test |
| 12054 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12055 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12056 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12057 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12058 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12059 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12060 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12061 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12062 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12063 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12064 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12065 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12066 | PRIVATE third_party/googletest/googletest/include |
| 12067 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12068 | PRIVATE third_party/googletest/googlemock/include |
| 12069 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12070 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12071 | ) |
| 12072 | |
| 12073 | target_link_libraries(server_context_test_spouse_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12074 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12075 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12076 | grpc_test_util |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12077 | grpc++ |
| 12078 | grpc |
| 12079 | gpr_test_util |
| 12080 | gpr |
| 12081 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12082 | ) |
| 12083 | |
| 12084 | endif (gRPC_BUILD_TESTS) |
| 12085 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12086 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12087 | |
| 12088 | add_executable(server_crash_test |
| 12089 | test/cpp/end2end/server_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12090 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12091 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12092 | ) |
| 12093 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12094 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12095 | target_include_directories(server_crash_test |
| 12096 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12097 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12098 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12099 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12100 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12101 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12102 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12103 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12104 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12105 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12106 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12107 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12108 | PRIVATE third_party/googletest/googletest/include |
| 12109 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12110 | PRIVATE third_party/googletest/googlemock/include |
| 12111 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12112 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12113 | ) |
| 12114 | |
| 12115 | target_link_libraries(server_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12116 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12117 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12118 | grpc++_test_util |
| 12119 | grpc_test_util |
| 12120 | grpc++ |
| 12121 | grpc |
| 12122 | gpr_test_util |
| 12123 | gpr |
| 12124 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12125 | ) |
| 12126 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12127 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12128 | endif (gRPC_BUILD_TESTS) |
| 12129 | if (gRPC_BUILD_TESTS) |
| 12130 | |
| 12131 | add_executable(server_crash_test_client |
| 12132 | test/cpp/end2end/server_crash_test_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12133 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12134 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12135 | ) |
| 12136 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12137 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12138 | target_include_directories(server_crash_test_client |
| 12139 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12140 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12141 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12142 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12143 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12144 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12145 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12146 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12147 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12148 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12149 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12150 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12151 | PRIVATE third_party/googletest/googletest/include |
| 12152 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12153 | PRIVATE third_party/googletest/googlemock/include |
| 12154 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12155 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12156 | ) |
| 12157 | |
| 12158 | target_link_libraries(server_crash_test_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12159 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12160 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12161 | grpc++_test_util |
| 12162 | grpc_test_util |
| 12163 | grpc++ |
| 12164 | grpc |
| 12165 | gpr_test_util |
| 12166 | gpr |
| 12167 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12168 | ) |
| 12169 | |
| 12170 | endif (gRPC_BUILD_TESTS) |
| 12171 | if (gRPC_BUILD_TESTS) |
| 12172 | |
| 12173 | add_executable(shutdown_test |
| 12174 | test/cpp/end2end/shutdown_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12175 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12176 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12177 | ) |
| 12178 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12179 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12180 | target_include_directories(shutdown_test |
| 12181 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12182 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12183 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12184 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12185 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12186 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12187 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12188 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12189 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12190 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12191 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12192 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12193 | PRIVATE third_party/googletest/googletest/include |
| 12194 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12195 | PRIVATE third_party/googletest/googlemock/include |
| 12196 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12197 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12198 | ) |
| 12199 | |
| 12200 | target_link_libraries(shutdown_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12201 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12202 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12203 | grpc++_test_util |
| 12204 | grpc_test_util |
| 12205 | grpc++ |
| 12206 | grpc |
| 12207 | gpr_test_util |
| 12208 | gpr |
| 12209 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12210 | ) |
| 12211 | |
| 12212 | endif (gRPC_BUILD_TESTS) |
| 12213 | if (gRPC_BUILD_TESTS) |
| 12214 | |
| 12215 | add_executable(status_test |
| 12216 | test/cpp/util/status_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12217 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12218 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12219 | ) |
| 12220 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12221 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12222 | target_include_directories(status_test |
| 12223 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12224 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12225 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12226 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12227 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12228 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12229 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12230 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12231 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12232 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12233 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12234 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12235 | PRIVATE third_party/googletest/googletest/include |
| 12236 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12237 | PRIVATE third_party/googletest/googlemock/include |
| 12238 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12239 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12240 | ) |
| 12241 | |
| 12242 | target_link_libraries(status_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12243 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12244 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12245 | grpc_test_util |
| 12246 | grpc++ |
| 12247 | grpc |
| 12248 | gpr_test_util |
| 12249 | gpr |
| 12250 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12251 | ) |
| 12252 | |
| 12253 | endif (gRPC_BUILD_TESTS) |
| 12254 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12255 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12256 | |
| 12257 | add_executable(streaming_throughput_test |
| 12258 | test/cpp/end2end/streaming_throughput_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12259 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12260 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12261 | ) |
| 12262 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12263 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12264 | target_include_directories(streaming_throughput_test |
| 12265 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12266 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12267 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12268 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12269 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12270 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12271 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12272 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12273 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12274 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12275 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12276 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12277 | PRIVATE third_party/googletest/googletest/include |
| 12278 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12279 | PRIVATE third_party/googletest/googlemock/include |
| 12280 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12281 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12282 | ) |
| 12283 | |
| 12284 | target_link_libraries(streaming_throughput_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12285 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12286 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12287 | grpc++_test_util |
| 12288 | grpc_test_util |
| 12289 | grpc++ |
| 12290 | grpc |
| 12291 | gpr_test_util |
| 12292 | gpr |
| 12293 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12294 | ) |
| 12295 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12296 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12297 | endif (gRPC_BUILD_TESTS) |
| 12298 | if (gRPC_BUILD_TESTS) |
| 12299 | |
| 12300 | add_executable(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12301 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 12302 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 12303 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 12304 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 12305 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 12306 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 12307 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 12308 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 12309 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 12310 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 12311 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 12312 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
| 12313 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 12314 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 12315 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 12316 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12317 | test/cpp/interop/interop_client.cc |
| 12318 | test/cpp/interop/stress_interop_client.cc |
| 12319 | test/cpp/interop/stress_test.cc |
| 12320 | test/cpp/util/metrics_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12321 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12322 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12323 | ) |
| 12324 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12325 | protobuf_generate_grpc_cpp( |
| 12326 | src/proto/grpc/testing/empty.proto |
| 12327 | ) |
| 12328 | protobuf_generate_grpc_cpp( |
| 12329 | src/proto/grpc/testing/messages.proto |
| 12330 | ) |
| 12331 | protobuf_generate_grpc_cpp( |
| 12332 | src/proto/grpc/testing/metrics.proto |
| 12333 | ) |
| 12334 | protobuf_generate_grpc_cpp( |
| 12335 | src/proto/grpc/testing/test.proto |
| 12336 | ) |
| 12337 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12338 | target_include_directories(stress_test |
| 12339 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12340 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12341 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12342 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12343 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12344 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12345 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12346 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12347 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12348 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12349 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12350 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12351 | PRIVATE third_party/googletest/googletest/include |
| 12352 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12353 | PRIVATE third_party/googletest/googlemock/include |
| 12354 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12355 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12356 | ) |
| 12357 | |
| 12358 | target_link_libraries(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12359 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12360 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12361 | grpc++_test_util |
| 12362 | grpc_test_util |
| 12363 | grpc++ |
| 12364 | grpc |
| 12365 | gpr_test_util |
| 12366 | gpr |
| 12367 | grpc++_test_config |
| 12368 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12369 | ) |
| 12370 | |
| 12371 | endif (gRPC_BUILD_TESTS) |
| 12372 | if (gRPC_BUILD_TESTS) |
| 12373 | |
| 12374 | add_executable(thread_manager_test |
| 12375 | test/cpp/thread_manager/thread_manager_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12376 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12377 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12378 | ) |
| 12379 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12380 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12381 | target_include_directories(thread_manager_test |
| 12382 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12383 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12384 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12385 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12386 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12387 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12388 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12389 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12390 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12391 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12392 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12393 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
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(thread_manager_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++ |
| 12405 | grpc |
| 12406 | gpr |
| 12407 | grpc++_test_config |
| 12408 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12409 | ) |
| 12410 | |
| 12411 | endif (gRPC_BUILD_TESTS) |
| 12412 | if (gRPC_BUILD_TESTS) |
| 12413 | |
| 12414 | add_executable(thread_stress_test |
| 12415 | test/cpp/end2end/thread_stress_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12416 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12417 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12418 | ) |
| 12419 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12420 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12421 | target_include_directories(thread_stress_test |
| 12422 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12423 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12424 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12425 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12426 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12427 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12428 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12429 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12430 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12431 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12432 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12433 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12434 | PRIVATE third_party/googletest/googletest/include |
| 12435 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12436 | PRIVATE third_party/googletest/googlemock/include |
| 12437 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12438 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12439 | ) |
| 12440 | |
| 12441 | target_link_libraries(thread_stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12442 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12443 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12444 | grpc++_test_util |
| 12445 | grpc_test_util |
| 12446 | grpc++ |
| 12447 | grpc |
| 12448 | gpr_test_util |
| 12449 | gpr |
| 12450 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12451 | ) |
| 12452 | |
| 12453 | endif (gRPC_BUILD_TESTS) |
| 12454 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12455 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12456 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12457 | add_executable(writes_per_rpc_test |
| 12458 | test/cpp/performance/writes_per_rpc_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12459 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12460 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12461 | ) |
| 12462 | |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12463 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12464 | target_include_directories(writes_per_rpc_test |
| 12465 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12466 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12467 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12468 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12469 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12470 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12471 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12472 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12473 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12474 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12475 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12476 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12477 | PRIVATE third_party/googletest/googletest/include |
| 12478 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12479 | PRIVATE third_party/googletest/googlemock/include |
| 12480 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12481 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12482 | ) |
| 12483 | |
| 12484 | target_link_libraries(writes_per_rpc_test |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12485 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12486 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12487 | grpc++_test_util |
| 12488 | grpc_test_util |
| 12489 | grpc++ |
| 12490 | grpc |
| 12491 | gpr_test_util |
| 12492 | gpr |
| 12493 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12494 | ) |
| 12495 | |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12496 | endif() |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12497 | endif (gRPC_BUILD_TESTS) |
| 12498 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12499 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12500 | add_executable(public_headers_must_be_c89 |
| 12501 | test/core/surface/public_headers_must_be_c89.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12502 | ) |
| 12503 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12504 | |
| 12505 | target_include_directories(public_headers_must_be_c89 |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12506 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12507 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12508 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12509 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12510 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12511 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12512 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12513 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12514 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12515 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12516 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12517 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12518 | ) |
| 12519 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12520 | target_link_libraries(public_headers_must_be_c89 |
| 12521 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12522 | grpc |
| 12523 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12524 | ) |
| 12525 | |
| 12526 | endif (gRPC_BUILD_TESTS) |
| 12527 | if (gRPC_BUILD_TESTS) |
| 12528 | |
| 12529 | add_executable(badreq_bad_client_test |
| 12530 | test/core/bad_client/tests/badreq.c |
| 12531 | ) |
| 12532 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12533 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12534 | target_include_directories(badreq_bad_client_test |
| 12535 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12536 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12537 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12538 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12539 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12540 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12541 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12542 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12543 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12544 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12545 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12546 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12547 | ) |
| 12548 | |
| 12549 | target_link_libraries(badreq_bad_client_test |
| 12550 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12551 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12552 | bad_client_test |
| 12553 | grpc_test_util_unsecure |
| 12554 | grpc_unsecure |
| 12555 | gpr_test_util |
| 12556 | gpr |
| 12557 | ) |
| 12558 | |
| 12559 | endif (gRPC_BUILD_TESTS) |
| 12560 | if (gRPC_BUILD_TESTS) |
| 12561 | |
| 12562 | add_executable(connection_prefix_bad_client_test |
| 12563 | test/core/bad_client/tests/connection_prefix.c |
| 12564 | ) |
| 12565 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12566 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12567 | target_include_directories(connection_prefix_bad_client_test |
| 12568 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12569 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12570 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12571 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12572 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12573 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12574 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12575 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12576 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12577 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12578 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12579 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12580 | ) |
| 12581 | |
| 12582 | target_link_libraries(connection_prefix_bad_client_test |
| 12583 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12584 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12585 | bad_client_test |
| 12586 | grpc_test_util_unsecure |
| 12587 | grpc_unsecure |
| 12588 | gpr_test_util |
| 12589 | gpr |
| 12590 | ) |
| 12591 | |
| 12592 | endif (gRPC_BUILD_TESTS) |
| 12593 | if (gRPC_BUILD_TESTS) |
| 12594 | |
| 12595 | add_executable(head_of_line_blocking_bad_client_test |
| 12596 | test/core/bad_client/tests/head_of_line_blocking.c |
| 12597 | ) |
| 12598 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12599 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12600 | target_include_directories(head_of_line_blocking_bad_client_test |
| 12601 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12602 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12603 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12604 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12605 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12606 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12607 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12608 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12609 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12610 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12611 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12612 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12613 | ) |
| 12614 | |
| 12615 | target_link_libraries(head_of_line_blocking_bad_client_test |
| 12616 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12617 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12618 | bad_client_test |
| 12619 | grpc_test_util_unsecure |
| 12620 | grpc_unsecure |
| 12621 | gpr_test_util |
| 12622 | gpr |
| 12623 | ) |
| 12624 | |
| 12625 | endif (gRPC_BUILD_TESTS) |
| 12626 | if (gRPC_BUILD_TESTS) |
| 12627 | |
| 12628 | add_executable(headers_bad_client_test |
| 12629 | test/core/bad_client/tests/headers.c |
| 12630 | ) |
| 12631 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12632 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12633 | target_include_directories(headers_bad_client_test |
| 12634 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12635 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12636 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12637 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12638 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12639 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12640 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12641 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12642 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12643 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12644 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12645 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12646 | ) |
| 12647 | |
| 12648 | target_link_libraries(headers_bad_client_test |
| 12649 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12650 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12651 | bad_client_test |
| 12652 | grpc_test_util_unsecure |
| 12653 | grpc_unsecure |
| 12654 | gpr_test_util |
| 12655 | gpr |
| 12656 | ) |
| 12657 | |
| 12658 | endif (gRPC_BUILD_TESTS) |
| 12659 | if (gRPC_BUILD_TESTS) |
| 12660 | |
| 12661 | add_executable(initial_settings_frame_bad_client_test |
| 12662 | test/core/bad_client/tests/initial_settings_frame.c |
| 12663 | ) |
| 12664 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12665 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12666 | target_include_directories(initial_settings_frame_bad_client_test |
| 12667 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12668 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12669 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12670 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12671 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12672 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12673 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12674 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12675 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12676 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12677 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12678 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12679 | ) |
| 12680 | |
| 12681 | target_link_libraries(initial_settings_frame_bad_client_test |
| 12682 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12683 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12684 | bad_client_test |
| 12685 | grpc_test_util_unsecure |
| 12686 | grpc_unsecure |
| 12687 | gpr_test_util |
| 12688 | gpr |
| 12689 | ) |
| 12690 | |
| 12691 | endif (gRPC_BUILD_TESTS) |
| 12692 | if (gRPC_BUILD_TESTS) |
| 12693 | |
| 12694 | add_executable(large_metadata_bad_client_test |
| 12695 | test/core/bad_client/tests/large_metadata.c |
| 12696 | ) |
| 12697 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12698 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12699 | target_include_directories(large_metadata_bad_client_test |
| 12700 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12701 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12702 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12703 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12704 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12705 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12706 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12707 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12708 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12709 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12710 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12711 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12712 | ) |
| 12713 | |
| 12714 | target_link_libraries(large_metadata_bad_client_test |
| 12715 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12716 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12717 | bad_client_test |
| 12718 | grpc_test_util_unsecure |
| 12719 | grpc_unsecure |
| 12720 | gpr_test_util |
| 12721 | gpr |
| 12722 | ) |
| 12723 | |
| 12724 | endif (gRPC_BUILD_TESTS) |
| 12725 | if (gRPC_BUILD_TESTS) |
| 12726 | |
| 12727 | add_executable(server_registered_method_bad_client_test |
| 12728 | test/core/bad_client/tests/server_registered_method.c |
| 12729 | ) |
| 12730 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12731 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12732 | target_include_directories(server_registered_method_bad_client_test |
| 12733 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12734 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12735 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12736 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12737 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12738 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12739 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12740 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12741 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12742 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12743 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12744 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12745 | ) |
| 12746 | |
| 12747 | target_link_libraries(server_registered_method_bad_client_test |
| 12748 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12749 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12750 | bad_client_test |
| 12751 | grpc_test_util_unsecure |
| 12752 | grpc_unsecure |
| 12753 | gpr_test_util |
| 12754 | gpr |
| 12755 | ) |
| 12756 | |
| 12757 | endif (gRPC_BUILD_TESTS) |
| 12758 | if (gRPC_BUILD_TESTS) |
| 12759 | |
| 12760 | add_executable(simple_request_bad_client_test |
| 12761 | test/core/bad_client/tests/simple_request.c |
| 12762 | ) |
| 12763 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12764 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12765 | target_include_directories(simple_request_bad_client_test |
| 12766 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12767 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12768 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12769 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12770 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12771 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12772 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12773 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12774 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12775 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12776 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12777 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12778 | ) |
| 12779 | |
| 12780 | target_link_libraries(simple_request_bad_client_test |
| 12781 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12782 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12783 | bad_client_test |
| 12784 | grpc_test_util_unsecure |
| 12785 | grpc_unsecure |
| 12786 | gpr_test_util |
| 12787 | gpr |
| 12788 | ) |
| 12789 | |
| 12790 | endif (gRPC_BUILD_TESTS) |
| 12791 | if (gRPC_BUILD_TESTS) |
| 12792 | |
| 12793 | add_executable(unknown_frame_bad_client_test |
| 12794 | test/core/bad_client/tests/unknown_frame.c |
| 12795 | ) |
| 12796 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12797 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12798 | target_include_directories(unknown_frame_bad_client_test |
| 12799 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12800 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12801 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12802 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12803 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12804 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12805 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12806 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12807 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12808 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12809 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12810 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12811 | ) |
| 12812 | |
| 12813 | target_link_libraries(unknown_frame_bad_client_test |
| 12814 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12815 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12816 | bad_client_test |
| 12817 | grpc_test_util_unsecure |
| 12818 | grpc_unsecure |
| 12819 | gpr_test_util |
| 12820 | gpr |
| 12821 | ) |
| 12822 | |
| 12823 | endif (gRPC_BUILD_TESTS) |
| 12824 | if (gRPC_BUILD_TESTS) |
| 12825 | |
| 12826 | add_executable(window_overflow_bad_client_test |
| 12827 | test/core/bad_client/tests/window_overflow.c |
| 12828 | ) |
| 12829 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12830 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12831 | target_include_directories(window_overflow_bad_client_test |
| 12832 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12833 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12834 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12835 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12836 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12837 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12838 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12839 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12840 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12841 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12842 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12843 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12844 | ) |
| 12845 | |
| 12846 | target_link_libraries(window_overflow_bad_client_test |
| 12847 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12848 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12849 | bad_client_test |
| 12850 | grpc_test_util_unsecure |
| 12851 | grpc_unsecure |
| 12852 | gpr_test_util |
| 12853 | gpr |
| 12854 | ) |
| 12855 | |
| 12856 | endif (gRPC_BUILD_TESTS) |
| 12857 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12858 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12859 | |
| 12860 | add_executable(bad_ssl_cert_server |
| 12861 | test/core/bad_ssl/servers/cert.c |
| 12862 | ) |
| 12863 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12864 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12865 | target_include_directories(bad_ssl_cert_server |
| 12866 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12867 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12868 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12869 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12870 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12871 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12872 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12873 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12874 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12875 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12876 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12877 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12878 | ) |
| 12879 | |
| 12880 | target_link_libraries(bad_ssl_cert_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12881 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12882 | bad_ssl_test_server |
| 12883 | grpc_test_util |
| 12884 | grpc |
| 12885 | gpr_test_util |
| 12886 | gpr |
| 12887 | ) |
| 12888 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12889 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12890 | endif (gRPC_BUILD_TESTS) |
| 12891 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12892 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12893 | |
| 12894 | add_executable(bad_ssl_cert_test |
| 12895 | test/core/bad_ssl/bad_ssl_test.c |
| 12896 | ) |
| 12897 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12898 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12899 | target_include_directories(bad_ssl_cert_test |
| 12900 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12901 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12902 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12903 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12904 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12905 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12906 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12907 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12908 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12909 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12910 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12911 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12912 | ) |
| 12913 | |
| 12914 | target_link_libraries(bad_ssl_cert_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12915 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12916 | grpc_test_util |
| 12917 | grpc |
| 12918 | gpr_test_util |
| 12919 | gpr |
| 12920 | ) |
| 12921 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12922 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12923 | endif (gRPC_BUILD_TESTS) |
| 12924 | if (gRPC_BUILD_TESTS) |
| 12925 | |
| 12926 | add_executable(h2_census_test |
| 12927 | test/core/end2end/fixtures/h2_census.c |
| 12928 | ) |
| 12929 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12930 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12931 | target_include_directories(h2_census_test |
| 12932 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12933 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12934 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12935 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12936 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12937 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12938 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12939 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12940 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12941 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12942 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12943 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12944 | ) |
| 12945 | |
| 12946 | target_link_libraries(h2_census_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12947 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12948 | end2end_tests |
| 12949 | grpc_test_util |
| 12950 | grpc |
| 12951 | gpr_test_util |
| 12952 | gpr |
| 12953 | ) |
| 12954 | |
| 12955 | endif (gRPC_BUILD_TESTS) |
| 12956 | if (gRPC_BUILD_TESTS) |
| 12957 | |
| 12958 | add_executable(h2_compress_test |
| 12959 | test/core/end2end/fixtures/h2_compress.c |
| 12960 | ) |
| 12961 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12962 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12963 | target_include_directories(h2_compress_test |
| 12964 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12965 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12966 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12967 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12968 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12969 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12970 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12971 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12972 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12973 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12974 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12975 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12976 | ) |
| 12977 | |
| 12978 | target_link_libraries(h2_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12979 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12980 | end2end_tests |
| 12981 | grpc_test_util |
| 12982 | grpc |
| 12983 | gpr_test_util |
| 12984 | gpr |
| 12985 | ) |
| 12986 | |
| 12987 | endif (gRPC_BUILD_TESTS) |
| 12988 | if (gRPC_BUILD_TESTS) |
| 12989 | |
| 12990 | add_executable(h2_fakesec_test |
| 12991 | test/core/end2end/fixtures/h2_fakesec.c |
| 12992 | ) |
| 12993 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12994 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12995 | target_include_directories(h2_fakesec_test |
| 12996 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12997 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12998 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12999 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13000 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13001 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13002 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13003 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13004 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13005 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13006 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13007 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13008 | ) |
| 13009 | |
| 13010 | target_link_libraries(h2_fakesec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13011 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13012 | end2end_tests |
| 13013 | grpc_test_util |
| 13014 | grpc |
| 13015 | gpr_test_util |
| 13016 | gpr |
| 13017 | ) |
| 13018 | |
| 13019 | endif (gRPC_BUILD_TESTS) |
| 13020 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13021 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13022 | |
| 13023 | add_executable(h2_fd_test |
| 13024 | test/core/end2end/fixtures/h2_fd.c |
| 13025 | ) |
| 13026 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13027 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13028 | target_include_directories(h2_fd_test |
| 13029 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13030 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13031 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13032 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13033 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13034 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13035 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13036 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13037 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13038 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13039 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13040 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13041 | ) |
| 13042 | |
| 13043 | target_link_libraries(h2_fd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13044 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13045 | end2end_tests |
| 13046 | grpc_test_util |
| 13047 | grpc |
| 13048 | gpr_test_util |
| 13049 | gpr |
| 13050 | ) |
| 13051 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13052 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13053 | endif (gRPC_BUILD_TESTS) |
| 13054 | if (gRPC_BUILD_TESTS) |
| 13055 | |
| 13056 | add_executable(h2_full_test |
| 13057 | test/core/end2end/fixtures/h2_full.c |
| 13058 | ) |
| 13059 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13060 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13061 | target_include_directories(h2_full_test |
| 13062 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13063 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13064 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13065 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13066 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13067 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13068 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13069 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13070 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13071 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13072 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13073 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13074 | ) |
| 13075 | |
| 13076 | target_link_libraries(h2_full_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13077 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13078 | end2end_tests |
| 13079 | grpc_test_util |
| 13080 | grpc |
| 13081 | gpr_test_util |
| 13082 | gpr |
| 13083 | ) |
| 13084 | |
| 13085 | endif (gRPC_BUILD_TESTS) |
| 13086 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13087 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13088 | |
| 13089 | add_executable(h2_full+pipe_test |
| 13090 | test/core/end2end/fixtures/h2_full+pipe.c |
| 13091 | ) |
| 13092 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13093 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13094 | target_include_directories(h2_full+pipe_test |
| 13095 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13096 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13097 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13098 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13099 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13100 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13101 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13102 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13103 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13104 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13105 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13106 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13107 | ) |
| 13108 | |
| 13109 | target_link_libraries(h2_full+pipe_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13110 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13111 | end2end_tests |
| 13112 | grpc_test_util |
| 13113 | grpc |
| 13114 | gpr_test_util |
| 13115 | gpr |
| 13116 | ) |
| 13117 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13118 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13119 | endif (gRPC_BUILD_TESTS) |
| 13120 | if (gRPC_BUILD_TESTS) |
| 13121 | |
| 13122 | add_executable(h2_full+trace_test |
| 13123 | test/core/end2end/fixtures/h2_full+trace.c |
| 13124 | ) |
| 13125 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13126 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13127 | target_include_directories(h2_full+trace_test |
| 13128 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13129 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13130 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13131 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13132 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13133 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13134 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13135 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13136 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13137 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13138 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13139 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13140 | ) |
| 13141 | |
| 13142 | target_link_libraries(h2_full+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13143 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13144 | end2end_tests |
| 13145 | grpc_test_util |
| 13146 | grpc |
| 13147 | gpr_test_util |
| 13148 | gpr |
| 13149 | ) |
| 13150 | |
| 13151 | endif (gRPC_BUILD_TESTS) |
| 13152 | if (gRPC_BUILD_TESTS) |
| 13153 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13154 | add_executable(h2_full+workarounds_test |
| 13155 | test/core/end2end/fixtures/h2_full+workarounds.c |
| 13156 | ) |
| 13157 | |
| 13158 | |
| 13159 | target_include_directories(h2_full+workarounds_test |
| 13160 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13161 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13162 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13163 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13164 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13165 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13166 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 13167 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 13168 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13169 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13170 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13171 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13172 | ) |
| 13173 | |
| 13174 | target_link_libraries(h2_full+workarounds_test |
| 13175 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13176 | end2end_tests |
| 13177 | grpc_test_util |
| 13178 | grpc |
| 13179 | gpr_test_util |
| 13180 | gpr |
| 13181 | ) |
| 13182 | |
| 13183 | endif (gRPC_BUILD_TESTS) |
| 13184 | if (gRPC_BUILD_TESTS) |
| 13185 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13186 | add_executable(h2_http_proxy_test |
| 13187 | test/core/end2end/fixtures/h2_http_proxy.c |
| 13188 | ) |
| 13189 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13190 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13191 | target_include_directories(h2_http_proxy_test |
| 13192 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13193 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13194 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13195 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13196 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13197 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13198 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13199 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13200 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13201 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13202 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13203 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13204 | ) |
| 13205 | |
| 13206 | target_link_libraries(h2_http_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13207 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13208 | end2end_tests |
| 13209 | grpc_test_util |
| 13210 | grpc |
| 13211 | gpr_test_util |
| 13212 | gpr |
| 13213 | ) |
| 13214 | |
| 13215 | endif (gRPC_BUILD_TESTS) |
| 13216 | if (gRPC_BUILD_TESTS) |
| 13217 | |
| 13218 | add_executable(h2_load_reporting_test |
| 13219 | test/core/end2end/fixtures/h2_load_reporting.c |
| 13220 | ) |
| 13221 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13222 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13223 | target_include_directories(h2_load_reporting_test |
| 13224 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13225 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13226 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13227 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13228 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13229 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13230 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13231 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13232 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13233 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13234 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13235 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13236 | ) |
| 13237 | |
| 13238 | target_link_libraries(h2_load_reporting_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13239 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13240 | end2end_tests |
| 13241 | grpc_test_util |
| 13242 | grpc |
| 13243 | gpr_test_util |
| 13244 | gpr |
| 13245 | ) |
| 13246 | |
| 13247 | endif (gRPC_BUILD_TESTS) |
| 13248 | if (gRPC_BUILD_TESTS) |
| 13249 | |
| 13250 | add_executable(h2_oauth2_test |
| 13251 | test/core/end2end/fixtures/h2_oauth2.c |
| 13252 | ) |
| 13253 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13254 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13255 | target_include_directories(h2_oauth2_test |
| 13256 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13257 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13258 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13259 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13260 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13261 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13262 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13263 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13264 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13265 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13266 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13267 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13268 | ) |
| 13269 | |
| 13270 | target_link_libraries(h2_oauth2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13271 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13272 | end2end_tests |
| 13273 | grpc_test_util |
| 13274 | grpc |
| 13275 | gpr_test_util |
| 13276 | gpr |
| 13277 | ) |
| 13278 | |
| 13279 | endif (gRPC_BUILD_TESTS) |
| 13280 | if (gRPC_BUILD_TESTS) |
| 13281 | |
| 13282 | add_executable(h2_proxy_test |
| 13283 | test/core/end2end/fixtures/h2_proxy.c |
| 13284 | ) |
| 13285 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13286 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13287 | target_include_directories(h2_proxy_test |
| 13288 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13289 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13290 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13291 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13292 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13293 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13294 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13295 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13296 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13297 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13298 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13299 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13300 | ) |
| 13301 | |
| 13302 | target_link_libraries(h2_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13303 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13304 | end2end_tests |
| 13305 | grpc_test_util |
| 13306 | grpc |
| 13307 | gpr_test_util |
| 13308 | gpr |
| 13309 | ) |
| 13310 | |
| 13311 | endif (gRPC_BUILD_TESTS) |
| 13312 | if (gRPC_BUILD_TESTS) |
| 13313 | |
| 13314 | add_executable(h2_sockpair_test |
| 13315 | test/core/end2end/fixtures/h2_sockpair.c |
| 13316 | ) |
| 13317 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13318 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13319 | target_include_directories(h2_sockpair_test |
| 13320 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13321 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13322 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13323 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13324 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13325 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13326 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13327 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13328 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13329 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13330 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13331 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13332 | ) |
| 13333 | |
| 13334 | target_link_libraries(h2_sockpair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13335 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13336 | end2end_tests |
| 13337 | grpc_test_util |
| 13338 | grpc |
| 13339 | gpr_test_util |
| 13340 | gpr |
| 13341 | ) |
| 13342 | |
| 13343 | endif (gRPC_BUILD_TESTS) |
| 13344 | if (gRPC_BUILD_TESTS) |
| 13345 | |
| 13346 | add_executable(h2_sockpair+trace_test |
| 13347 | test/core/end2end/fixtures/h2_sockpair+trace.c |
| 13348 | ) |
| 13349 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13350 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13351 | target_include_directories(h2_sockpair+trace_test |
| 13352 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13353 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13354 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13355 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13356 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13357 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13358 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13359 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13360 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13361 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13362 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13363 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13364 | ) |
| 13365 | |
| 13366 | target_link_libraries(h2_sockpair+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13367 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13368 | end2end_tests |
| 13369 | grpc_test_util |
| 13370 | grpc |
| 13371 | gpr_test_util |
| 13372 | gpr |
| 13373 | ) |
| 13374 | |
| 13375 | endif (gRPC_BUILD_TESTS) |
| 13376 | if (gRPC_BUILD_TESTS) |
| 13377 | |
| 13378 | add_executable(h2_sockpair_1byte_test |
| 13379 | test/core/end2end/fixtures/h2_sockpair_1byte.c |
| 13380 | ) |
| 13381 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13382 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13383 | target_include_directories(h2_sockpair_1byte_test |
| 13384 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13385 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13386 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13387 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13388 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13389 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13390 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13391 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13392 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13393 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13394 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13395 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13396 | ) |
| 13397 | |
| 13398 | target_link_libraries(h2_sockpair_1byte_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13399 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13400 | end2end_tests |
| 13401 | grpc_test_util |
| 13402 | grpc |
| 13403 | gpr_test_util |
| 13404 | gpr |
| 13405 | ) |
| 13406 | |
| 13407 | endif (gRPC_BUILD_TESTS) |
| 13408 | if (gRPC_BUILD_TESTS) |
| 13409 | |
| 13410 | add_executable(h2_ssl_test |
| 13411 | test/core/end2end/fixtures/h2_ssl.c |
| 13412 | ) |
| 13413 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13414 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13415 | target_include_directories(h2_ssl_test |
| 13416 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13417 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13418 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13419 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13420 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13421 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13422 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13423 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13424 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13425 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13426 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13427 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13428 | ) |
| 13429 | |
| 13430 | target_link_libraries(h2_ssl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13431 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13432 | end2end_tests |
| 13433 | grpc_test_util |
| 13434 | grpc |
| 13435 | gpr_test_util |
| 13436 | gpr |
| 13437 | ) |
| 13438 | |
| 13439 | endif (gRPC_BUILD_TESTS) |
| 13440 | if (gRPC_BUILD_TESTS) |
| 13441 | |
| 13442 | add_executable(h2_ssl_cert_test |
| 13443 | test/core/end2end/fixtures/h2_ssl_cert.c |
| 13444 | ) |
| 13445 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13446 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13447 | target_include_directories(h2_ssl_cert_test |
| 13448 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13449 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13450 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13451 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13452 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13453 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13454 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13455 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13456 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13457 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13458 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13459 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13460 | ) |
| 13461 | |
| 13462 | target_link_libraries(h2_ssl_cert_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13463 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13464 | end2end_tests |
| 13465 | grpc_test_util |
| 13466 | grpc |
| 13467 | gpr_test_util |
| 13468 | gpr |
| 13469 | ) |
| 13470 | |
| 13471 | endif (gRPC_BUILD_TESTS) |
| 13472 | if (gRPC_BUILD_TESTS) |
| 13473 | |
| 13474 | add_executable(h2_ssl_proxy_test |
| 13475 | test/core/end2end/fixtures/h2_ssl_proxy.c |
| 13476 | ) |
| 13477 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13478 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13479 | target_include_directories(h2_ssl_proxy_test |
| 13480 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13481 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13482 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13483 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13484 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13485 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13486 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13487 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13488 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13489 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13490 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13491 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13492 | ) |
| 13493 | |
| 13494 | target_link_libraries(h2_ssl_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13495 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13496 | end2end_tests |
| 13497 | grpc_test_util |
| 13498 | grpc |
| 13499 | gpr_test_util |
| 13500 | gpr |
| 13501 | ) |
| 13502 | |
| 13503 | endif (gRPC_BUILD_TESTS) |
| 13504 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13505 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13506 | |
| 13507 | add_executable(h2_uds_test |
| 13508 | test/core/end2end/fixtures/h2_uds.c |
| 13509 | ) |
| 13510 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13511 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13512 | target_include_directories(h2_uds_test |
| 13513 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13514 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13515 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13516 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13517 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13518 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13519 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13520 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13521 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13522 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13523 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13524 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13525 | ) |
| 13526 | |
| 13527 | target_link_libraries(h2_uds_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13528 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13529 | end2end_tests |
| 13530 | grpc_test_util |
| 13531 | grpc |
| 13532 | gpr_test_util |
| 13533 | gpr |
| 13534 | ) |
| 13535 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13536 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13537 | endif (gRPC_BUILD_TESTS) |
| 13538 | if (gRPC_BUILD_TESTS) |
| 13539 | |
| 13540 | add_executable(h2_census_nosec_test |
| 13541 | test/core/end2end/fixtures/h2_census.c |
| 13542 | ) |
| 13543 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13544 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13545 | target_include_directories(h2_census_nosec_test |
| 13546 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13547 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13548 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13549 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13550 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13551 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13552 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13553 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13554 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13555 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13556 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13557 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13558 | ) |
| 13559 | |
| 13560 | target_link_libraries(h2_census_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13561 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13562 | end2end_nosec_tests |
| 13563 | grpc_test_util_unsecure |
| 13564 | grpc_unsecure |
| 13565 | gpr_test_util |
| 13566 | gpr |
| 13567 | ) |
| 13568 | |
| 13569 | endif (gRPC_BUILD_TESTS) |
| 13570 | if (gRPC_BUILD_TESTS) |
| 13571 | |
| 13572 | add_executable(h2_compress_nosec_test |
| 13573 | test/core/end2end/fixtures/h2_compress.c |
| 13574 | ) |
| 13575 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13576 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13577 | target_include_directories(h2_compress_nosec_test |
| 13578 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13579 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13580 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13581 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13582 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13583 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13584 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13585 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13586 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13587 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13588 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13589 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13590 | ) |
| 13591 | |
| 13592 | target_link_libraries(h2_compress_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13593 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13594 | end2end_nosec_tests |
| 13595 | grpc_test_util_unsecure |
| 13596 | grpc_unsecure |
| 13597 | gpr_test_util |
| 13598 | gpr |
| 13599 | ) |
| 13600 | |
| 13601 | endif (gRPC_BUILD_TESTS) |
| 13602 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13603 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13604 | |
| 13605 | add_executable(h2_fd_nosec_test |
| 13606 | test/core/end2end/fixtures/h2_fd.c |
| 13607 | ) |
| 13608 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13609 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13610 | target_include_directories(h2_fd_nosec_test |
| 13611 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13612 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13613 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13614 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13615 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13616 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13617 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13618 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13619 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13620 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13621 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13622 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13623 | ) |
| 13624 | |
| 13625 | target_link_libraries(h2_fd_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13626 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13627 | end2end_nosec_tests |
| 13628 | grpc_test_util_unsecure |
| 13629 | grpc_unsecure |
| 13630 | gpr_test_util |
| 13631 | gpr |
| 13632 | ) |
| 13633 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13634 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13635 | endif (gRPC_BUILD_TESTS) |
| 13636 | if (gRPC_BUILD_TESTS) |
| 13637 | |
| 13638 | add_executable(h2_full_nosec_test |
| 13639 | test/core/end2end/fixtures/h2_full.c |
| 13640 | ) |
| 13641 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13642 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13643 | target_include_directories(h2_full_nosec_test |
| 13644 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13645 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13646 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13647 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13648 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13649 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13650 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13651 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13652 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13653 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13654 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13655 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13656 | ) |
| 13657 | |
| 13658 | target_link_libraries(h2_full_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13659 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13660 | end2end_nosec_tests |
| 13661 | grpc_test_util_unsecure |
| 13662 | grpc_unsecure |
| 13663 | gpr_test_util |
| 13664 | gpr |
| 13665 | ) |
| 13666 | |
| 13667 | endif (gRPC_BUILD_TESTS) |
| 13668 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13669 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13670 | |
| 13671 | add_executable(h2_full+pipe_nosec_test |
| 13672 | test/core/end2end/fixtures/h2_full+pipe.c |
| 13673 | ) |
| 13674 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13675 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13676 | target_include_directories(h2_full+pipe_nosec_test |
| 13677 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13678 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13679 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13680 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13681 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13682 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13683 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13684 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13685 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13686 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13687 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13688 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13689 | ) |
| 13690 | |
| 13691 | target_link_libraries(h2_full+pipe_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13692 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13693 | end2end_nosec_tests |
| 13694 | grpc_test_util_unsecure |
| 13695 | grpc_unsecure |
| 13696 | gpr_test_util |
| 13697 | gpr |
| 13698 | ) |
| 13699 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13700 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13701 | endif (gRPC_BUILD_TESTS) |
| 13702 | if (gRPC_BUILD_TESTS) |
| 13703 | |
| 13704 | add_executable(h2_full+trace_nosec_test |
| 13705 | test/core/end2end/fixtures/h2_full+trace.c |
| 13706 | ) |
| 13707 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13708 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13709 | target_include_directories(h2_full+trace_nosec_test |
| 13710 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13711 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13712 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13713 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13714 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13715 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13716 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13717 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13718 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13719 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13720 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13721 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13722 | ) |
| 13723 | |
| 13724 | target_link_libraries(h2_full+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13725 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13726 | end2end_nosec_tests |
| 13727 | grpc_test_util_unsecure |
| 13728 | grpc_unsecure |
| 13729 | gpr_test_util |
| 13730 | gpr |
| 13731 | ) |
| 13732 | |
| 13733 | endif (gRPC_BUILD_TESTS) |
| 13734 | if (gRPC_BUILD_TESTS) |
| 13735 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13736 | add_executable(h2_full+workarounds_nosec_test |
| 13737 | test/core/end2end/fixtures/h2_full+workarounds.c |
| 13738 | ) |
| 13739 | |
| 13740 | |
| 13741 | target_include_directories(h2_full+workarounds_nosec_test |
| 13742 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13743 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13744 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13745 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13746 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13747 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13748 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 13749 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 13750 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13751 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13752 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13753 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13754 | ) |
| 13755 | |
| 13756 | target_link_libraries(h2_full+workarounds_nosec_test |
| 13757 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13758 | end2end_nosec_tests |
| 13759 | grpc_test_util_unsecure |
| 13760 | grpc_unsecure |
| 13761 | gpr_test_util |
| 13762 | gpr |
| 13763 | ) |
| 13764 | |
| 13765 | endif (gRPC_BUILD_TESTS) |
| 13766 | if (gRPC_BUILD_TESTS) |
| 13767 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13768 | add_executable(h2_http_proxy_nosec_test |
| 13769 | test/core/end2end/fixtures/h2_http_proxy.c |
| 13770 | ) |
| 13771 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13772 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13773 | target_include_directories(h2_http_proxy_nosec_test |
| 13774 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13775 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13776 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13777 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13778 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13779 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13780 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13781 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13782 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13783 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13784 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13785 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13786 | ) |
| 13787 | |
| 13788 | target_link_libraries(h2_http_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13789 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13790 | end2end_nosec_tests |
| 13791 | grpc_test_util_unsecure |
| 13792 | grpc_unsecure |
| 13793 | gpr_test_util |
| 13794 | gpr |
| 13795 | ) |
| 13796 | |
| 13797 | endif (gRPC_BUILD_TESTS) |
| 13798 | if (gRPC_BUILD_TESTS) |
| 13799 | |
| 13800 | add_executable(h2_load_reporting_nosec_test |
| 13801 | test/core/end2end/fixtures/h2_load_reporting.c |
| 13802 | ) |
| 13803 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13804 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13805 | target_include_directories(h2_load_reporting_nosec_test |
| 13806 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13807 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13808 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13809 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13810 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13811 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13812 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13813 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13814 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13815 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13816 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13817 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13818 | ) |
| 13819 | |
| 13820 | target_link_libraries(h2_load_reporting_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13821 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13822 | end2end_nosec_tests |
| 13823 | grpc_test_util_unsecure |
| 13824 | grpc_unsecure |
| 13825 | gpr_test_util |
| 13826 | gpr |
| 13827 | ) |
| 13828 | |
| 13829 | endif (gRPC_BUILD_TESTS) |
| 13830 | if (gRPC_BUILD_TESTS) |
| 13831 | |
| 13832 | add_executable(h2_proxy_nosec_test |
| 13833 | test/core/end2end/fixtures/h2_proxy.c |
| 13834 | ) |
| 13835 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13836 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13837 | target_include_directories(h2_proxy_nosec_test |
| 13838 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13839 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13840 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13841 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13842 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13843 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13844 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13845 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13846 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13847 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13848 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13849 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13850 | ) |
| 13851 | |
| 13852 | target_link_libraries(h2_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13853 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13854 | end2end_nosec_tests |
| 13855 | grpc_test_util_unsecure |
| 13856 | grpc_unsecure |
| 13857 | gpr_test_util |
| 13858 | gpr |
| 13859 | ) |
| 13860 | |
| 13861 | endif (gRPC_BUILD_TESTS) |
| 13862 | if (gRPC_BUILD_TESTS) |
| 13863 | |
| 13864 | add_executable(h2_sockpair_nosec_test |
| 13865 | test/core/end2end/fixtures/h2_sockpair.c |
| 13866 | ) |
| 13867 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13868 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13869 | target_include_directories(h2_sockpair_nosec_test |
| 13870 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13871 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13872 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13873 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13874 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13875 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13876 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13877 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13878 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13879 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13880 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13881 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13882 | ) |
| 13883 | |
| 13884 | target_link_libraries(h2_sockpair_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13885 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13886 | end2end_nosec_tests |
| 13887 | grpc_test_util_unsecure |
| 13888 | grpc_unsecure |
| 13889 | gpr_test_util |
| 13890 | gpr |
| 13891 | ) |
| 13892 | |
| 13893 | endif (gRPC_BUILD_TESTS) |
| 13894 | if (gRPC_BUILD_TESTS) |
| 13895 | |
| 13896 | add_executable(h2_sockpair+trace_nosec_test |
| 13897 | test/core/end2end/fixtures/h2_sockpair+trace.c |
| 13898 | ) |
| 13899 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13900 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13901 | target_include_directories(h2_sockpair+trace_nosec_test |
| 13902 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13903 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13904 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13905 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13906 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13907 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13908 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13909 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13910 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13911 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13912 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13913 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13914 | ) |
| 13915 | |
| 13916 | target_link_libraries(h2_sockpair+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13917 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13918 | end2end_nosec_tests |
| 13919 | grpc_test_util_unsecure |
| 13920 | grpc_unsecure |
| 13921 | gpr_test_util |
| 13922 | gpr |
| 13923 | ) |
| 13924 | |
| 13925 | endif (gRPC_BUILD_TESTS) |
| 13926 | if (gRPC_BUILD_TESTS) |
| 13927 | |
| 13928 | add_executable(h2_sockpair_1byte_nosec_test |
| 13929 | test/core/end2end/fixtures/h2_sockpair_1byte.c |
| 13930 | ) |
| 13931 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13932 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13933 | target_include_directories(h2_sockpair_1byte_nosec_test |
| 13934 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13935 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13936 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13937 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13938 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13939 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13940 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13941 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13942 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13943 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13944 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13945 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13946 | ) |
| 13947 | |
| 13948 | target_link_libraries(h2_sockpair_1byte_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13949 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13950 | end2end_nosec_tests |
| 13951 | grpc_test_util_unsecure |
| 13952 | grpc_unsecure |
| 13953 | gpr_test_util |
| 13954 | gpr |
| 13955 | ) |
| 13956 | |
| 13957 | endif (gRPC_BUILD_TESTS) |
| 13958 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13959 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13960 | |
| 13961 | add_executable(h2_uds_nosec_test |
| 13962 | test/core/end2end/fixtures/h2_uds.c |
| 13963 | ) |
| 13964 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13965 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13966 | target_include_directories(h2_uds_nosec_test |
| 13967 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13968 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13969 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13970 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13971 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13972 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13973 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13974 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13975 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13976 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13977 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13978 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13979 | ) |
| 13980 | |
| 13981 | target_link_libraries(h2_uds_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13982 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13983 | end2end_nosec_tests |
| 13984 | grpc_test_util_unsecure |
| 13985 | grpc_unsecure |
| 13986 | gpr_test_util |
| 13987 | gpr |
| 13988 | ) |
| 13989 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13990 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13991 | endif (gRPC_BUILD_TESTS) |
| 13992 | if (gRPC_BUILD_TESTS) |
| 13993 | |
| 13994 | add_executable(api_fuzzer_one_entry |
| 13995 | test/core/end2end/fuzzers/api_fuzzer.c |
| 13996 | test/core/util/one_corpus_entry_fuzzer.c |
| 13997 | ) |
| 13998 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13999 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14000 | target_include_directories(api_fuzzer_one_entry |
| 14001 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14002 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14003 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14004 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14005 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14006 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14007 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14008 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14009 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14010 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14011 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14012 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14013 | ) |
| 14014 | |
| 14015 | target_link_libraries(api_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14016 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14017 | grpc_test_util |
| 14018 | grpc |
| 14019 | gpr_test_util |
| 14020 | gpr |
| 14021 | ) |
| 14022 | |
| 14023 | endif (gRPC_BUILD_TESTS) |
| 14024 | if (gRPC_BUILD_TESTS) |
| 14025 | |
| 14026 | add_executable(client_fuzzer_one_entry |
| 14027 | test/core/end2end/fuzzers/client_fuzzer.c |
| 14028 | test/core/util/one_corpus_entry_fuzzer.c |
| 14029 | ) |
| 14030 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14031 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14032 | target_include_directories(client_fuzzer_one_entry |
| 14033 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14034 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14035 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14036 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14037 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14038 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14039 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14040 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14041 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14042 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14043 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14044 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14045 | ) |
| 14046 | |
| 14047 | target_link_libraries(client_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14048 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14049 | grpc_test_util |
| 14050 | grpc |
| 14051 | gpr_test_util |
| 14052 | gpr |
| 14053 | ) |
| 14054 | |
| 14055 | endif (gRPC_BUILD_TESTS) |
| 14056 | if (gRPC_BUILD_TESTS) |
| 14057 | |
| 14058 | add_executable(hpack_parser_fuzzer_test_one_entry |
| 14059 | test/core/transport/chttp2/hpack_parser_fuzzer_test.c |
| 14060 | test/core/util/one_corpus_entry_fuzzer.c |
| 14061 | ) |
| 14062 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14063 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14064 | target_include_directories(hpack_parser_fuzzer_test_one_entry |
| 14065 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14066 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14067 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14068 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14069 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14070 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14071 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14072 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14073 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14074 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14075 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14076 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14077 | ) |
| 14078 | |
| 14079 | target_link_libraries(hpack_parser_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14080 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14081 | grpc_test_util |
| 14082 | grpc |
| 14083 | gpr_test_util |
| 14084 | gpr |
| 14085 | ) |
| 14086 | |
| 14087 | endif (gRPC_BUILD_TESTS) |
| 14088 | if (gRPC_BUILD_TESTS) |
| 14089 | |
| 14090 | add_executable(http_request_fuzzer_test_one_entry |
| 14091 | test/core/http/request_fuzzer.c |
| 14092 | test/core/util/one_corpus_entry_fuzzer.c |
| 14093 | ) |
| 14094 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14095 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14096 | target_include_directories(http_request_fuzzer_test_one_entry |
| 14097 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14098 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14099 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14100 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14101 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14102 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14103 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14104 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14105 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14106 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14107 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14108 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14109 | ) |
| 14110 | |
| 14111 | target_link_libraries(http_request_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14112 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14113 | grpc_test_util |
| 14114 | grpc |
| 14115 | gpr_test_util |
| 14116 | gpr |
| 14117 | ) |
| 14118 | |
| 14119 | endif (gRPC_BUILD_TESTS) |
| 14120 | if (gRPC_BUILD_TESTS) |
| 14121 | |
| 14122 | add_executable(http_response_fuzzer_test_one_entry |
| 14123 | test/core/http/response_fuzzer.c |
| 14124 | test/core/util/one_corpus_entry_fuzzer.c |
| 14125 | ) |
| 14126 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14127 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14128 | target_include_directories(http_response_fuzzer_test_one_entry |
| 14129 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14130 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14131 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14132 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14133 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14134 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14135 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14136 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14137 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14138 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14139 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14140 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14141 | ) |
| 14142 | |
| 14143 | target_link_libraries(http_response_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14144 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14145 | grpc_test_util |
| 14146 | grpc |
| 14147 | gpr_test_util |
| 14148 | gpr |
| 14149 | ) |
| 14150 | |
| 14151 | endif (gRPC_BUILD_TESTS) |
| 14152 | if (gRPC_BUILD_TESTS) |
| 14153 | |
| 14154 | add_executable(json_fuzzer_test_one_entry |
| 14155 | test/core/json/fuzzer.c |
| 14156 | test/core/util/one_corpus_entry_fuzzer.c |
| 14157 | ) |
| 14158 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14159 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14160 | target_include_directories(json_fuzzer_test_one_entry |
| 14161 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14162 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14163 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14164 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14165 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14166 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14167 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14168 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14169 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14170 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14171 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14172 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14173 | ) |
| 14174 | |
| 14175 | target_link_libraries(json_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14176 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14177 | grpc_test_util |
| 14178 | grpc |
| 14179 | gpr_test_util |
| 14180 | gpr |
| 14181 | ) |
| 14182 | |
| 14183 | endif (gRPC_BUILD_TESTS) |
| 14184 | if (gRPC_BUILD_TESTS) |
| 14185 | |
| 14186 | add_executable(nanopb_fuzzer_response_test_one_entry |
| 14187 | test/core/nanopb/fuzzer_response.c |
| 14188 | test/core/util/one_corpus_entry_fuzzer.c |
| 14189 | ) |
| 14190 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14191 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14192 | target_include_directories(nanopb_fuzzer_response_test_one_entry |
| 14193 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14194 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14195 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14196 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14197 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14198 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14199 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14200 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14201 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14202 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14203 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14204 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14205 | ) |
| 14206 | |
| 14207 | target_link_libraries(nanopb_fuzzer_response_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14208 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14209 | grpc_test_util |
| 14210 | grpc |
| 14211 | gpr_test_util |
| 14212 | gpr |
| 14213 | ) |
| 14214 | |
| 14215 | endif (gRPC_BUILD_TESTS) |
| 14216 | if (gRPC_BUILD_TESTS) |
| 14217 | |
| 14218 | add_executable(nanopb_fuzzer_serverlist_test_one_entry |
| 14219 | test/core/nanopb/fuzzer_serverlist.c |
| 14220 | test/core/util/one_corpus_entry_fuzzer.c |
| 14221 | ) |
| 14222 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14223 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14224 | target_include_directories(nanopb_fuzzer_serverlist_test_one_entry |
| 14225 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14226 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14227 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14228 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14229 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14230 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14231 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14232 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14233 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14234 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14235 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14236 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14237 | ) |
| 14238 | |
| 14239 | target_link_libraries(nanopb_fuzzer_serverlist_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14240 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14241 | grpc_test_util |
| 14242 | grpc |
| 14243 | gpr_test_util |
| 14244 | gpr |
| 14245 | ) |
| 14246 | |
| 14247 | endif (gRPC_BUILD_TESTS) |
| 14248 | if (gRPC_BUILD_TESTS) |
| 14249 | |
| 14250 | add_executable(percent_decode_fuzzer_one_entry |
| 14251 | test/core/slice/percent_decode_fuzzer.c |
| 14252 | test/core/util/one_corpus_entry_fuzzer.c |
| 14253 | ) |
| 14254 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14255 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14256 | target_include_directories(percent_decode_fuzzer_one_entry |
| 14257 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14258 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14259 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14260 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14261 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14262 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14263 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14264 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14265 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14266 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14267 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14268 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14269 | ) |
| 14270 | |
| 14271 | target_link_libraries(percent_decode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14272 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14273 | grpc_test_util |
| 14274 | grpc |
| 14275 | gpr_test_util |
| 14276 | gpr |
| 14277 | ) |
| 14278 | |
| 14279 | endif (gRPC_BUILD_TESTS) |
| 14280 | if (gRPC_BUILD_TESTS) |
| 14281 | |
| 14282 | add_executable(percent_encode_fuzzer_one_entry |
| 14283 | test/core/slice/percent_encode_fuzzer.c |
| 14284 | test/core/util/one_corpus_entry_fuzzer.c |
| 14285 | ) |
| 14286 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14287 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14288 | target_include_directories(percent_encode_fuzzer_one_entry |
| 14289 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14290 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14291 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14292 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14293 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14294 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14295 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14296 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14297 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14298 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14299 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14300 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14301 | ) |
| 14302 | |
| 14303 | target_link_libraries(percent_encode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14304 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14305 | grpc_test_util |
| 14306 | grpc |
| 14307 | gpr_test_util |
| 14308 | gpr |
| 14309 | ) |
| 14310 | |
| 14311 | endif (gRPC_BUILD_TESTS) |
| 14312 | if (gRPC_BUILD_TESTS) |
| 14313 | |
| 14314 | add_executable(server_fuzzer_one_entry |
| 14315 | test/core/end2end/fuzzers/server_fuzzer.c |
| 14316 | test/core/util/one_corpus_entry_fuzzer.c |
| 14317 | ) |
| 14318 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14319 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14320 | target_include_directories(server_fuzzer_one_entry |
| 14321 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14322 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14323 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14324 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14325 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14326 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14327 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14328 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14329 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14330 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14331 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14332 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14333 | ) |
| 14334 | |
| 14335 | target_link_libraries(server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14336 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14337 | grpc_test_util |
| 14338 | grpc |
| 14339 | gpr_test_util |
| 14340 | gpr |
| 14341 | ) |
| 14342 | |
| 14343 | endif (gRPC_BUILD_TESTS) |
| 14344 | if (gRPC_BUILD_TESTS) |
| 14345 | |
| 14346 | add_executable(ssl_server_fuzzer_one_entry |
| 14347 | test/core/security/ssl_server_fuzzer.c |
| 14348 | test/core/util/one_corpus_entry_fuzzer.c |
| 14349 | ) |
| 14350 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14351 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14352 | target_include_directories(ssl_server_fuzzer_one_entry |
| 14353 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14354 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14355 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14356 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14357 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14358 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14359 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14360 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14361 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14362 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14363 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14364 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14365 | ) |
| 14366 | |
| 14367 | target_link_libraries(ssl_server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14368 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14369 | grpc_test_util |
| 14370 | grpc |
| 14371 | gpr_test_util |
| 14372 | gpr |
| 14373 | ) |
| 14374 | |
| 14375 | endif (gRPC_BUILD_TESTS) |
| 14376 | if (gRPC_BUILD_TESTS) |
| 14377 | |
| 14378 | add_executable(uri_fuzzer_test_one_entry |
| 14379 | test/core/client_channel/uri_fuzzer_test.c |
| 14380 | test/core/util/one_corpus_entry_fuzzer.c |
| 14381 | ) |
| 14382 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14383 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14384 | target_include_directories(uri_fuzzer_test_one_entry |
| 14385 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14386 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14387 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14388 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14389 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14390 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14391 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14392 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14393 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14394 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14395 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14396 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14397 | ) |
| 14398 | |
| 14399 | target_link_libraries(uri_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14400 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14401 | grpc_test_util |
| 14402 | grpc |
| 14403 | gpr_test_util |
| 14404 | gpr |
| 14405 | ) |
| 14406 | |
| 14407 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14408 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14409 | |
| 14410 | |
| 14411 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 14412 | |
| 14413 | |
| 14414 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14415 | foreach(_config gRPCConfig gRPCConfigVersion) |
| 14416 | configure_file(tools/cmake/${_config}.cmake.in |
| 14417 | ${_config}.cmake @ONLY) |
| 14418 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_config}.cmake |
| 14419 | DESTINATION ${CMAKE_INSTALL_CMAKEDIR} |
| 14420 | ) |
| 14421 | endforeach() |