Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1 | # GRPC global cmake file |
| 2 | # This currently builds C and C++ code. |
| 3 | # This file has been automatically generated from a template file. |
| 4 | # Please look at the templates directory instead. |
| 5 | # This file can be regenerated from the template by running |
| 6 | # tools/buildgen/generate_projects.sh |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 7 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 8 | # Copyright 2015 gRPC authors. |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 9 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 10 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 11 | # you may not use this file except in compliance with the License. |
| 12 | # You may obtain a copy of the License at |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 13 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 14 | # http://www.apache.org/licenses/LICENSE-2.0 |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 15 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 16 | # Unless required by applicable law or agreed to in writing, software |
| 17 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 18 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 19 | # See the License for the specific language governing permissions and |
| 20 | # limitations under the License. |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 21 | |
| 22 | |
| 23 | |
| 24 | cmake_minimum_required(VERSION 2.8) |
| 25 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 26 | set(PACKAGE_NAME "grpc") |
David Garcia Quintas | aebcdbd | 2017-05-30 14:14:27 -0700 | [diff] [blame] | 27 | set(PACKAGE_VERSION "1.5.0-dev") |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 28 | set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") |
| 29 | set(PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}") |
| 30 | set(PACKAGE_BUGREPORT "https://github.com/grpc/grpc/issues/") |
| 31 | project(${PACKAGE_NAME} C CXX) |
| 32 | |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 33 | set(gRPC_INSTALL_BINDIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Installation directory for executables") |
| 34 | set(gRPC_INSTALL_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Installation directory for libraries") |
| 35 | set(gRPC_INSTALL_INCLUDEDIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Installation directory for headers") |
| 36 | set(gRPC_INSTALL_CMAKEDIR "${CMAKE_INSTALL_PREFIX}/lib/cmake/${PACKAGE_NAME}" CACHE PATH "Installation directory for cmake config files") |
| 37 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 38 | # Options |
| 39 | option(gRPC_BUILD_TESTS "Build tests" OFF) |
| 40 | |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 41 | set(gRPC_INSTALL_default ON) |
Alex Merry | a65f006 | 2017-05-15 22:59:37 +0100 | [diff] [blame] | 42 | if (NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) |
| 43 | # Disable gRPC_INSTALL by default if building as a submodule |
| 44 | set(gRPC_INSTALL_default OFF) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 45 | endif() |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 46 | set(gRPC_INSTALL ${gRPC_INSTALL_default} CACHE BOOL |
| 47 | "Generate installation target: gRPC_ZLIB_PROVIDER, gRPC_CARES_PROVIDER, gRPC_SSL_PROVIDER and gRPC_PROTOBUF_PROVIDER must all be \"package\"") |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 48 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 49 | set(gRPC_ZLIB_PROVIDER "module" CACHE STRING "Provider of zlib library") |
| 50 | set_property(CACHE gRPC_ZLIB_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 51 | |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 52 | set(gRPC_CARES_PROVIDER "module" CACHE STRING "Provider of c-ares library") |
| 53 | set_property(CACHE gRPC_CARES_PROVIDER PROPERTY STRINGS "module" "package") |
| 54 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 55 | set(gRPC_SSL_PROVIDER "module" CACHE STRING "Provider of ssl library") |
| 56 | set_property(CACHE gRPC_SSL_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | a72712e | 2016-07-06 10:30:25 +0100 | [diff] [blame] | 57 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 58 | set(gRPC_PROTOBUF_PROVIDER "module" CACHE STRING "Provider of protobuf library") |
| 59 | set_property(CACHE gRPC_PROTOBUF_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 60 | |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 61 | set(gRPC_PROTOBUF_PACKAGE_TYPE "" CACHE STRING "Algorithm for searching protobuf package") |
| 62 | set_property(CACHE gRPC_PROTOBUF_PACKAGE_TYPE PROPERTY STRINGS "CONFIG" "MODULE") |
| 63 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 64 | set(gRPC_GFLAGS_PROVIDER "module" CACHE STRING "Provider of gflags library") |
| 65 | set_property(CACHE gRPC_GFLAGS_PROVIDER PROPERTY STRINGS "module" "package") |
| 66 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 67 | set(gRPC_BENCHMARK_PROVIDER "module" CACHE STRING "Provider of benchmark library") |
| 68 | set_property(CACHE gRPC_BENCHMARK_PROVIDER PROPERTY STRINGS "module" "package") |
| 69 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 70 | set(gRPC_USE_PROTO_LITE OFF CACHE BOOL "Use the protobuf-lite library") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 71 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 72 | if(UNIX) |
| 73 | if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") |
| 74 | set(_gRPC_PLATFORM_LINUX ON) |
| 75 | elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") |
| 76 | set(_gRPC_PLATFORM_MAC ON) |
| 77 | else() |
| 78 | set(_gRPC_PLATFORM_POSIX ON) |
| 79 | endif() |
| 80 | endif() |
| 81 | if(WIN32) |
| 82 | set(_gRPC_PLATFORM_WINDOWS ON) |
| 83 | endif() |
| 84 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 85 | set(CMAKE_POSITION_INDEPENDENT_CODE TRUE) |
| 86 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 87 | if (MSVC) |
Jan Tattermusch | 5140791 | 2017-02-02 20:44:22 +0100 | [diff] [blame] | 88 | include(cmake/msvc_static_runtime.cmake) |
Jan Tattermusch | 3aab96f | 2017-01-11 16:12:46 +0100 | [diff] [blame] | 89 | add_definitions(-D_WIN32_WINNT=0x600 -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS) |
Jan Tattermusch | 3aab96f | 2017-01-11 16:12:46 +0100 | [diff] [blame] | 90 | # needed to compile protobuf |
| 91 | add_definitions(/wd4065 /wd4506) |
| 92 | # TODO(jtattermusch): revisit C4267 occurrences throughout the code |
| 93 | add_definitions(/wd4267) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 94 | endif() |
| 95 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 96 | if (gRPC_USE_PROTO_LITE) |
| 97 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf-lite") |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 98 | add_definitions("-DGRPC_USE_PROTO_LITE") |
| 99 | else() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 100 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 101 | endif() |
| 102 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 103 | if("${gRPC_ZLIB_PROVIDER}" STREQUAL "module") |
| 104 | if(NOT ZLIB_ROOT_DIR) |
| 105 | set(ZLIB_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zlib) |
| 106 | endif() |
| 107 | set(ZLIB_INCLUDE_DIR "${ZLIB_ROOT_DIR}") |
| 108 | if(EXISTS "${ZLIB_ROOT_DIR}/CMakeLists.txt") |
Jan Tattermusch | 74c74fb | 2017-06-19 16:14:50 +0200 | [diff] [blame] | 109 | # TODO(jtattermusch): workaround for https://github.com/madler/zlib/issues/218 |
| 110 | include_directories(${ZLIB_INCLUDE_DIR}) |
| 111 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 112 | add_subdirectory(${ZLIB_ROOT_DIR} third_party/zlib) |
| 113 | if(TARGET zlibstatic) |
| 114 | set(_gRPC_ZLIB_LIBRARIES zlibstatic) |
| 115 | endif() |
| 116 | else() |
| 117 | message(WARNING "gRPC_ZLIB_PROVIDER is \"module\" but ZLIB_ROOT_DIR is wrong") |
| 118 | endif() |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 119 | if(gRPC_INSTALL) |
| 120 | message(WARNING "gRPC_INSTALL will be forced to FALSE because gRPC_ZLIB_PROVIDER is \"module\"") |
| 121 | set(gRPC_INSTALL FALSE) |
| 122 | endif() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 123 | elseif("${gRPC_ZLIB_PROVIDER}" STREQUAL "package") |
| 124 | find_package(ZLIB) |
| 125 | if(TARGET ZLIB::ZLIB) |
| 126 | set(_gRPC_ZLIB_LIBRARIES ZLIB::ZLIB) |
| 127 | endif() |
Konstantin Podsvirov | dd33148 | 2016-07-28 00:00:25 +0300 | [diff] [blame] | 128 | 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] | 129 | endif() |
| 130 | |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 131 | if("${gRPC_CARES_PROVIDER}" STREQUAL "module") |
| 132 | if(NOT CARES_ROOT_DIR) |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 133 | set(CARES_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/c-ares) |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 134 | endif() |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 135 | string(TOLOWER ${CMAKE_SYSTEM_NAME} CARES_SYSTEM_NAME) |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 136 | set(CARES_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/cares/cares") |
| 137 | set(CARES_BUILD_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/cares") |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 138 | 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] | 139 | if(EXISTS "${CARES_ROOT_DIR}/CMakeLists.txt") |
| 140 | if("${CARES_SYSTEM_NAME}" MATCHES "windows") |
| 141 | add_definitions(-DCARES_STATICLIB=1) |
| 142 | add_definitions(-DWIN32_LEAN_AND_MEAN=1) |
| 143 | else() |
| 144 | add_definitions(-DHAVE_CONFIG_H=1) |
| 145 | add_definitions(-D_GNU_SOURCE=1) |
| 146 | endif() |
| 147 | add_subdirectory(src/c-ares third_party/cares) |
| 148 | if(TARGET cares) |
| 149 | set(_gRPC_CARES_LIBRARIES cares) |
| 150 | endif() |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 151 | else() |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 152 | 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] | 153 | endif() |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 154 | if(gRPC_INSTALL) |
| 155 | message(WARNING "gRPC_INSTALL will be forced to FALSE because gRPC_CARES_PROVIDER is \"module\"") |
| 156 | set(gRPC_INSTALL FALSE) |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 157 | endif() |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 158 | elseif("${gRPC_CARES_PROVIDER}" STREQUAL "package") |
Alex Merry | 8ced27a36 | 2017-05-15 21:56:44 +0100 | [diff] [blame] | 159 | find_package(c-ares CONFIG) |
| 160 | if(TARGET c-ares::cares) |
| 161 | set(_gRPC_CARES_LIBRARIES c-ares::cares) |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 162 | endif() |
Alex Merry | 8ced27a36 | 2017-05-15 21:56:44 +0100 | [diff] [blame] | 163 | set(_gRPC_FIND_CARES "if(NOT c-ares_FOUND)\n find_package(c-ares CONFIG)\nendif()") |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 164 | endif() |
| 165 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 166 | if("${gRPC_PROTOBUF_PROVIDER}" STREQUAL "module") |
| 167 | # Building the protobuf tests require gmock what is not part of a standard protobuf checkout. |
| 168 | # Disable them unless they are explicitly requested from the cmake command line (when we assume |
| 169 | # gmock is downloaded to the right location inside protobuf). |
| 170 | if(NOT protobuf_BUILD_TESTS) |
| 171 | set(protobuf_BUILD_TESTS OFF CACHE BOOL "Build protobuf tests") |
| 172 | endif() |
Jan Tattermusch | b70df57 | 2017-06-19 16:37:15 +0200 | [diff] [blame] | 173 | # Disable building protobuf with zlib. Building protobuf with zlib breaks |
| 174 | # the build if zlib is not installed on the system. |
| 175 | if(NOT protobuf_WITH_ZLIB) |
| 176 | set(protobuf_WITH_ZLIB OFF CACHE BOOL "Build protobuf with zlib.") |
| 177 | endif() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 178 | if(NOT PROTOBUF_ROOT_DIR) |
| 179 | set(PROTOBUF_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/protobuf) |
| 180 | endif() |
yang-g | 66d40c6 | 2017-04-12 10:18:10 -0700 | [diff] [blame] | 181 | set(PROTOBUF_WELLKNOWN_IMPORT_DIR ${PROTOBUF_ROOT_DIR}/src) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 182 | if(EXISTS "${PROTOBUF_ROOT_DIR}/cmake/CMakeLists.txt") |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 183 | set(protobuf_MSVC_STATIC_RUNTIME OFF CACHE BOOL "Link static runtime libraries") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 184 | add_subdirectory(${PROTOBUF_ROOT_DIR}/cmake third_party/protobuf) |
| 185 | if(TARGET ${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 186 | set(_gRPC_PROTOBUF_LIBRARIES ${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 187 | endif() |
| 188 | if(TARGET libprotoc) |
| 189 | set(_gRPC_PROTOBUF_PROTOC_LIBRARIES libprotoc) |
| 190 | endif() |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 191 | if(TARGET protoc) |
| 192 | set(_gRPC_PROTOBUF_PROTOC protoc) |
| 193 | endif() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 194 | else() |
| 195 | message(WARNING "gRPC_PROTOBUF_PROVIDER is \"module\" but PROTOBUF_ROOT_DIR is wrong") |
| 196 | endif() |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 197 | if(gRPC_INSTALL) |
| 198 | message(WARNING "gRPC_INSTALL will be forced to FALSE because gRPC_PROTOBUF_PROVIDER is \"module\"") |
| 199 | set(gRPC_INSTALL FALSE) |
| 200 | endif() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 201 | elseif("${gRPC_PROTOBUF_PROVIDER}" STREQUAL "package") |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 202 | find_package(Protobuf ${gRPC_PROTOBUF_PACKAGE_TYPE}) |
| 203 | if(Protobuf_FOUND OR PROTOBUF_FOUND) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 204 | if(TARGET protobuf::${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 205 | set(_gRPC_PROTOBUF_LIBRARIES protobuf::${_gRPC_PROTOBUF_LIBRARY_NAME}) |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 206 | else() |
| 207 | set(_gRPC_PROTOBUF_LIBRARIES ${PROTOBUF_LIBRARIES}) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 208 | endif() |
| 209 | if(TARGET protobuf::libprotoc) |
| 210 | set(_gRPC_PROTOBUF_PROTOC_LIBRARIES protobuf::libprotoc) |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 211 | else() |
| 212 | set(_gRPC_PROTOBUF_PROTOC_LIBRARIES ${PROTOBUF_PROTOC_LIBRARIES}) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 213 | endif() |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 214 | if(TARGET protobuf::protoc) |
| 215 | set(_gRPC_PROTOBUF_PROTOC protobuf::protoc) |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 216 | else() |
| 217 | set(_gRPC_PROTOBUF_PROTOC ${PROTOBUF_PROTOC_EXECUTABLE}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 218 | endif() |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 219 | set(_gRPC_FIND_PROTOBUF "if(NOT Protobuf_FOUND AND NOT PROTOBUF_FOUND)\n find_package(Protobuf ${gRPC_PROTOBUF_PACKAGE_TYPE})\nendif()") |
| 220 | endif() |
| 221 | if(PROTOBUF_FOUND) |
| 222 | include_directories(${PROTOBUF_INCLUDE_DIRS}) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 223 | endif() |
yang-g | 66d40c6 | 2017-04-12 10:18:10 -0700 | [diff] [blame] | 224 | set(PROTOBUF_WELLKNOWN_IMPORT_DIR /usr/local/include) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 225 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 226 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 227 | if("${gRPC_SSL_PROVIDER}" STREQUAL "module") |
| 228 | if(NOT BORINGSSL_ROOT_DIR) |
| 229 | set(BORINGSSL_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/boringssl) |
| 230 | endif() |
| 231 | if(EXISTS "${BORINGSSL_ROOT_DIR}/CMakeLists.txt") |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 232 | set(OPENSSL_NO_ASM ON) # make boringssl buildable with Visual Studio |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 233 | add_subdirectory(${BORINGSSL_ROOT_DIR} third_party/boringssl) |
| 234 | if(TARGET ssl) |
| 235 | set(_gRPC_SSL_LIBRARIES ssl) |
| 236 | endif() |
| 237 | else() |
| 238 | message(WARNING "gRPC_SSL_PROVIDER is \"module\" but BORINGSSL_ROOT_DIR is wrong") |
| 239 | endif() |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 240 | if(gRPC_INSTALL) |
| 241 | message(WARNING "gRPC_INSTALL will be forced to FALSE because gRPC_SSL_PROVIDER is \"module\"") |
| 242 | set(gRPC_INSTALL FALSE) |
| 243 | endif() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 244 | elseif("${gRPC_SSL_PROVIDER}" STREQUAL "package") |
| 245 | find_package(OpenSSL) |
| 246 | if(TARGET OpenSSL::SSL) |
| 247 | set(_gRPC_SSL_LIBRARIES OpenSSL::SSL) |
| 248 | endif() |
Konstantin Podsvirov | dd33148 | 2016-07-28 00:00:25 +0300 | [diff] [blame] | 249 | 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] | 250 | endif() |
| 251 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 252 | if("${gRPC_GFLAGS_PROVIDER}" STREQUAL "module") |
| 253 | if(NOT GFLAGS_ROOT_DIR) |
| 254 | set(GFLAGS_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/gflags) |
| 255 | endif() |
| 256 | if(EXISTS "${GFLAGS_ROOT_DIR}/CMakeLists.txt") |
| 257 | add_subdirectory(${GFLAGS_ROOT_DIR} third_party/gflags) |
| 258 | if(TARGET gflags_static) |
| 259 | set(_gRPC_GFLAGS_LIBRARIES gflags_static) |
| 260 | endif() |
| 261 | else() |
| 262 | message(WARNING "gRPC_GFLAGS_PROVIDER is \"module\" but GFLAGS_ROOT_DIR is wrong") |
| 263 | endif() |
| 264 | elseif("${gRPC_GFLAGS_PROVIDER}" STREQUAL "package") |
| 265 | find_package(gflags) |
| 266 | if(TARGET gflags::gflags) |
| 267 | set(_gRPC_GFLAGS_LIBRARIES gflags::gflags) |
| 268 | endif() |
| 269 | set(_gRPC_FIND_GFLAGS "if(NOT gflags_FOUND)\n find_package(gflags)\nendif()") |
| 270 | endif() |
| 271 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 272 | if("${gRPC_BENCHMARK_PROVIDER}" STREQUAL "module") |
| 273 | if(NOT BENCHMARK_ROOT_DIR) |
| 274 | set(BENCHMARK_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/benchmark) |
| 275 | endif() |
| 276 | if(EXISTS "${BENCHMARK_ROOT_DIR}/CMakeLists.txt") |
| 277 | add_subdirectory(${BENCHMARK_ROOT_DIR} third_party/benchmark) |
| 278 | if(TARGET benchmark) |
| 279 | set(_gRPC_BENCHMARK_LIBRARIES benchmark) |
| 280 | endif() |
| 281 | else() |
| 282 | message(WARNING "gRPC_BENCHMARK_PROVIDER is \"module\" but BENCHMARK_ROOT_DIR is wrong") |
| 283 | endif() |
| 284 | elseif("${gRPC_BENCHMARK_PROVIDER}" STREQUAL "package") |
| 285 | find_package(benchmark) |
| 286 | if(TARGET benchmark::benchmark) |
| 287 | set(_gRPC_BENCHMARK_LIBRARIES benchmark::benchmark) |
| 288 | endif() |
| 289 | set(_gRPC_FIND_BENCHMARK "if(NOT benchmark_FOUND)\n find_package(benchmark)\nendif()") |
| 290 | endif() |
| 291 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 292 | if(NOT MSVC) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 293 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 294 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |
| 295 | endif() |
| 296 | |
Mehrdad Afshari | 79ec0ff | 2017-04-19 03:14:26 -0700 | [diff] [blame] | 297 | if(_gRPC_PLATFORM_MAC) |
| 298 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m pthread) |
| 299 | elseif(UNIX) |
| 300 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} rt m pthread) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 301 | endif() |
| 302 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 303 | if(WIN32 AND MSVC) |
| 304 | set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32) |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 305 | endif() |
| 306 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 307 | # Create directory for generated .proto files |
| 308 | set(_gRPC_PROTO_GENS_DIR ${CMAKE_BINARY_DIR}/gens) |
| 309 | file(MAKE_DIRECTORY ${_gRPC_PROTO_GENS_DIR}) |
| 310 | |
| 311 | # protobuf_generate_grpc_cpp |
| 312 | # -------------------------- |
| 313 | # |
| 314 | # Add custom commands to process ``.proto`` files to C++ using protoc and |
| 315 | # GRPC plugin:: |
| 316 | # |
| 317 | # protobuf_generate_grpc_cpp [<ARGN>...] |
| 318 | # |
| 319 | # ``ARGN`` |
| 320 | # ``.proto`` files |
| 321 | # |
| 322 | function(protobuf_generate_grpc_cpp) |
| 323 | if(NOT ARGN) |
| 324 | message(SEND_ERROR "Error: PROTOBUF_GENERATE_GRPC_CPP() called without any proto files") |
| 325 | return() |
| 326 | endif() |
| 327 | |
yang-g | 66d40c6 | 2017-04-12 10:18:10 -0700 | [diff] [blame] | 328 | set(_protobuf_include_path -I . -I ${PROTOBUF_WELLKNOWN_IMPORT_DIR}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 329 | foreach(FIL ${ARGN}) |
| 330 | get_filename_component(ABS_FIL ${FIL} ABSOLUTE) |
| 331 | get_filename_component(FIL_WE ${FIL} NAME_WE) |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 332 | file(RELATIVE_PATH REL_FIL ${CMAKE_CURRENT_SOURCE_DIR} ${ABS_FIL}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 333 | get_filename_component(REL_DIR ${REL_FIL} DIRECTORY) |
| 334 | set(RELFIL_WE "${REL_DIR}/${FIL_WE}") |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 335 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 336 | add_custom_command( |
| 337 | OUTPUT "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.cc" |
| 338 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.h" |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 339 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}_mock.grpc.pb.h" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 340 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc" |
| 341 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h" |
Jan Tattermusch | 6fe1d80 | 2017-06-12 11:37:40 +0200 | [diff] [blame] | 342 | COMMAND $<TARGET_FILE:${_gRPC_PROTOBUF_PROTOC}> |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 343 | ARGS --grpc_out=generate_mock_code=true:${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 344 | --cpp_out=${_gRPC_PROTO_GENS_DIR} |
| 345 | --plugin=protoc-gen-grpc=$<TARGET_FILE:grpc_cpp_plugin> |
| 346 | ${_protobuf_include_path} |
| 347 | ${REL_FIL} |
| 348 | DEPENDS ${ABS_FIL} ${_gRPC_PROTOBUF_PROTOC} grpc_cpp_plugin |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 349 | WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 350 | COMMENT "Running gRPC C++ protocol buffer compiler on ${FIL}" |
| 351 | VERBATIM) |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 352 | |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 353 | 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] | 354 | endforeach() |
| 355 | endfunction() |
| 356 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 357 | add_custom_target(plugins |
| 358 | DEPENDS |
| 359 | grpc_cpp_plugin |
| 360 | grpc_csharp_plugin |
| 361 | grpc_node_plugin |
| 362 | grpc_objective_c_plugin |
| 363 | grpc_php_plugin |
| 364 | grpc_python_plugin |
| 365 | grpc_ruby_plugin |
| 366 | ) |
| 367 | |
| 368 | add_custom_target(tools_c |
| 369 | DEPENDS |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 370 | check_epollexclusive |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 371 | gen_hpack_tables |
| 372 | gen_legal_metadata_characters |
| 373 | gen_percent_encoding_tables |
| 374 | grpc_create_jwt |
| 375 | grpc_print_google_default_creds_token |
| 376 | grpc_verify_jwt |
| 377 | ) |
| 378 | |
| 379 | add_custom_target(tools_cxx |
| 380 | DEPENDS |
| 381 | ) |
| 382 | |
| 383 | add_custom_target(tools |
| 384 | DEPENDS tools_c tools_cxx) |
| 385 | |
| 386 | if (gRPC_BUILD_TESTS) |
| 387 | add_custom_target(buildtests_c) |
| 388 | add_dependencies(buildtests_c alarm_test) |
| 389 | add_dependencies(buildtests_c algorithm_test) |
| 390 | add_dependencies(buildtests_c alloc_test) |
| 391 | add_dependencies(buildtests_c alpn_test) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 392 | add_dependencies(buildtests_c arena_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 393 | add_dependencies(buildtests_c bad_server_response_test) |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 394 | add_dependencies(buildtests_c bdp_estimator_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 395 | add_dependencies(buildtests_c bin_decoder_test) |
| 396 | add_dependencies(buildtests_c bin_encoder_test) |
| 397 | add_dependencies(buildtests_c census_context_test) |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 398 | add_dependencies(buildtests_c census_intrusive_hash_map_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 399 | add_dependencies(buildtests_c census_resource_test) |
| 400 | add_dependencies(buildtests_c census_trace_context_test) |
| 401 | add_dependencies(buildtests_c channel_create_test) |
| 402 | add_dependencies(buildtests_c chttp2_hpack_encoder_test) |
| 403 | add_dependencies(buildtests_c chttp2_stream_map_test) |
| 404 | add_dependencies(buildtests_c chttp2_varint_test) |
| 405 | add_dependencies(buildtests_c combiner_test) |
| 406 | add_dependencies(buildtests_c compression_test) |
| 407 | add_dependencies(buildtests_c concurrent_connectivity_test) |
| 408 | add_dependencies(buildtests_c connection_refused_test) |
| 409 | add_dependencies(buildtests_c dns_resolver_connectivity_test) |
| 410 | add_dependencies(buildtests_c dns_resolver_test) |
| 411 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 412 | add_dependencies(buildtests_c dualstack_socket_test) |
| 413 | endif() |
| 414 | add_dependencies(buildtests_c endpoint_pair_test) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 415 | add_dependencies(buildtests_c error_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 416 | if(_gRPC_PLATFORM_LINUX) |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 417 | add_dependencies(buildtests_c ev_epollsig_linux_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 418 | endif() |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 419 | add_dependencies(buildtests_c fake_resolver_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 420 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 421 | add_dependencies(buildtests_c fd_conservation_posix_test) |
| 422 | endif() |
| 423 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 424 | add_dependencies(buildtests_c fd_posix_test) |
| 425 | endif() |
| 426 | add_dependencies(buildtests_c fling_client) |
| 427 | add_dependencies(buildtests_c fling_server) |
| 428 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 429 | add_dependencies(buildtests_c fling_stream_test) |
| 430 | endif() |
| 431 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 432 | add_dependencies(buildtests_c fling_test) |
| 433 | endif() |
| 434 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 435 | add_dependencies(buildtests_c goaway_server_test) |
| 436 | endif() |
| 437 | add_dependencies(buildtests_c gpr_avl_test) |
| 438 | add_dependencies(buildtests_c gpr_backoff_test) |
| 439 | add_dependencies(buildtests_c gpr_cmdline_test) |
| 440 | add_dependencies(buildtests_c gpr_cpu_test) |
| 441 | add_dependencies(buildtests_c gpr_env_test) |
| 442 | add_dependencies(buildtests_c gpr_histogram_test) |
| 443 | add_dependencies(buildtests_c gpr_host_port_test) |
| 444 | add_dependencies(buildtests_c gpr_log_test) |
| 445 | add_dependencies(buildtests_c gpr_mpscq_test) |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 446 | add_dependencies(buildtests_c gpr_spinlock_test) |
Ken Payson | a4710a0 | 2017-07-10 16:49:59 -0700 | [diff] [blame] | 447 | add_dependencies(buildtests_c gpr_stack_lockfree_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 448 | add_dependencies(buildtests_c gpr_string_test) |
| 449 | add_dependencies(buildtests_c gpr_sync_test) |
| 450 | add_dependencies(buildtests_c gpr_thd_test) |
| 451 | add_dependencies(buildtests_c gpr_time_test) |
| 452 | add_dependencies(buildtests_c gpr_tls_test) |
| 453 | add_dependencies(buildtests_c gpr_useful_test) |
| 454 | add_dependencies(buildtests_c grpc_auth_context_test) |
| 455 | add_dependencies(buildtests_c grpc_b64_test) |
| 456 | add_dependencies(buildtests_c grpc_byte_buffer_reader_test) |
| 457 | add_dependencies(buildtests_c grpc_channel_args_test) |
| 458 | add_dependencies(buildtests_c grpc_channel_stack_test) |
| 459 | add_dependencies(buildtests_c grpc_completion_queue_test) |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 460 | add_dependencies(buildtests_c grpc_completion_queue_threading_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 461 | add_dependencies(buildtests_c grpc_credentials_test) |
| 462 | add_dependencies(buildtests_c grpc_fetch_oauth2) |
| 463 | add_dependencies(buildtests_c grpc_invalid_channel_args_test) |
| 464 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 465 | add_dependencies(buildtests_c grpc_json_token_test) |
| 466 | endif() |
| 467 | add_dependencies(buildtests_c grpc_jwt_verifier_test) |
| 468 | add_dependencies(buildtests_c grpc_security_connector_test) |
| 469 | if(_gRPC_PLATFORM_LINUX) |
| 470 | add_dependencies(buildtests_c handshake_client) |
| 471 | endif() |
| 472 | if(_gRPC_PLATFORM_LINUX) |
| 473 | add_dependencies(buildtests_c handshake_server) |
| 474 | endif() |
| 475 | add_dependencies(buildtests_c hpack_parser_test) |
| 476 | add_dependencies(buildtests_c hpack_table_test) |
| 477 | add_dependencies(buildtests_c http_parser_test) |
| 478 | add_dependencies(buildtests_c httpcli_format_request_test) |
| 479 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 480 | add_dependencies(buildtests_c httpcli_test) |
| 481 | endif() |
| 482 | if(_gRPC_PLATFORM_LINUX) |
| 483 | add_dependencies(buildtests_c httpscli_test) |
| 484 | endif() |
| 485 | add_dependencies(buildtests_c init_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 486 | add_dependencies(buildtests_c invalid_call_argument_test) |
| 487 | add_dependencies(buildtests_c json_rewrite) |
| 488 | add_dependencies(buildtests_c json_rewrite_test) |
| 489 | add_dependencies(buildtests_c json_stream_error_test) |
| 490 | add_dependencies(buildtests_c json_test) |
| 491 | add_dependencies(buildtests_c lame_client_test) |
| 492 | add_dependencies(buildtests_c lb_policies_test) |
| 493 | add_dependencies(buildtests_c load_file_test) |
| 494 | add_dependencies(buildtests_c memory_profile_client) |
| 495 | add_dependencies(buildtests_c memory_profile_server) |
| 496 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 497 | add_dependencies(buildtests_c memory_profile_test) |
| 498 | endif() |
| 499 | add_dependencies(buildtests_c message_compress_test) |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 500 | add_dependencies(buildtests_c minimal_stack_is_minimal_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 501 | add_dependencies(buildtests_c mlog_test) |
| 502 | add_dependencies(buildtests_c multiple_server_queues_test) |
| 503 | add_dependencies(buildtests_c murmur_hash_test) |
| 504 | add_dependencies(buildtests_c no_server_test) |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 505 | add_dependencies(buildtests_c num_external_connectivity_watchers_test) |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 506 | add_dependencies(buildtests_c parse_address_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 507 | add_dependencies(buildtests_c percent_encoding_test) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 508 | if(_gRPC_PLATFORM_LINUX) |
| 509 | add_dependencies(buildtests_c pollset_set_test) |
| 510 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 511 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 512 | add_dependencies(buildtests_c resolve_address_posix_test) |
| 513 | endif() |
| 514 | add_dependencies(buildtests_c resolve_address_test) |
| 515 | add_dependencies(buildtests_c resource_quota_test) |
| 516 | add_dependencies(buildtests_c secure_channel_create_test) |
| 517 | add_dependencies(buildtests_c secure_endpoint_test) |
| 518 | add_dependencies(buildtests_c sequential_connectivity_test) |
| 519 | add_dependencies(buildtests_c server_chttp2_test) |
| 520 | add_dependencies(buildtests_c server_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 521 | add_dependencies(buildtests_c slice_buffer_test) |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 522 | add_dependencies(buildtests_c slice_hash_table_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 523 | add_dependencies(buildtests_c slice_string_helpers_test) |
| 524 | add_dependencies(buildtests_c slice_test) |
| 525 | add_dependencies(buildtests_c sockaddr_resolver_test) |
| 526 | add_dependencies(buildtests_c sockaddr_utils_test) |
| 527 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 528 | add_dependencies(buildtests_c socket_utils_test) |
| 529 | endif() |
| 530 | add_dependencies(buildtests_c status_conversion_test) |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 531 | add_dependencies(buildtests_c stream_compression_test) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 532 | add_dependencies(buildtests_c stream_owned_slice_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 533 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 534 | add_dependencies(buildtests_c tcp_client_posix_test) |
| 535 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 536 | add_dependencies(buildtests_c tcp_client_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 537 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 538 | add_dependencies(buildtests_c tcp_posix_test) |
| 539 | endif() |
| 540 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 541 | add_dependencies(buildtests_c tcp_server_posix_test) |
| 542 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 543 | add_dependencies(buildtests_c tcp_server_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 544 | add_dependencies(buildtests_c time_averaged_stats_test) |
| 545 | add_dependencies(buildtests_c timeout_encoding_test) |
| 546 | add_dependencies(buildtests_c timer_heap_test) |
| 547 | add_dependencies(buildtests_c timer_list_test) |
| 548 | add_dependencies(buildtests_c transport_connectivity_state_test) |
| 549 | add_dependencies(buildtests_c transport_metadata_test) |
| 550 | add_dependencies(buildtests_c transport_pid_controller_test) |
| 551 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 552 | add_dependencies(buildtests_c transport_security_test) |
| 553 | endif() |
| 554 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 555 | add_dependencies(buildtests_c udp_server_test) |
| 556 | endif() |
| 557 | add_dependencies(buildtests_c uri_parser_test) |
| 558 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 559 | add_dependencies(buildtests_c wakeup_fd_cv_test) |
| 560 | endif() |
| 561 | add_dependencies(buildtests_c public_headers_must_be_c89) |
| 562 | add_dependencies(buildtests_c badreq_bad_client_test) |
| 563 | add_dependencies(buildtests_c connection_prefix_bad_client_test) |
| 564 | add_dependencies(buildtests_c head_of_line_blocking_bad_client_test) |
| 565 | add_dependencies(buildtests_c headers_bad_client_test) |
| 566 | add_dependencies(buildtests_c initial_settings_frame_bad_client_test) |
| 567 | add_dependencies(buildtests_c large_metadata_bad_client_test) |
| 568 | add_dependencies(buildtests_c server_registered_method_bad_client_test) |
| 569 | add_dependencies(buildtests_c simple_request_bad_client_test) |
| 570 | add_dependencies(buildtests_c unknown_frame_bad_client_test) |
| 571 | add_dependencies(buildtests_c window_overflow_bad_client_test) |
| 572 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 573 | add_dependencies(buildtests_c bad_ssl_cert_server) |
| 574 | endif() |
| 575 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 576 | add_dependencies(buildtests_c bad_ssl_cert_test) |
| 577 | endif() |
| 578 | add_dependencies(buildtests_c h2_census_test) |
| 579 | add_dependencies(buildtests_c h2_compress_test) |
| 580 | add_dependencies(buildtests_c h2_fakesec_test) |
| 581 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 582 | add_dependencies(buildtests_c h2_fd_test) |
| 583 | endif() |
| 584 | add_dependencies(buildtests_c h2_full_test) |
| 585 | if(_gRPC_PLATFORM_LINUX) |
| 586 | add_dependencies(buildtests_c h2_full+pipe_test) |
| 587 | endif() |
| 588 | add_dependencies(buildtests_c h2_full+trace_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 589 | add_dependencies(buildtests_c h2_full+workarounds_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 590 | add_dependencies(buildtests_c h2_http_proxy_test) |
| 591 | add_dependencies(buildtests_c h2_load_reporting_test) |
| 592 | add_dependencies(buildtests_c h2_oauth2_test) |
| 593 | add_dependencies(buildtests_c h2_proxy_test) |
| 594 | add_dependencies(buildtests_c h2_sockpair_test) |
| 595 | add_dependencies(buildtests_c h2_sockpair+trace_test) |
| 596 | add_dependencies(buildtests_c h2_sockpair_1byte_test) |
| 597 | add_dependencies(buildtests_c h2_ssl_test) |
| 598 | add_dependencies(buildtests_c h2_ssl_cert_test) |
| 599 | add_dependencies(buildtests_c h2_ssl_proxy_test) |
| 600 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 601 | add_dependencies(buildtests_c h2_uds_test) |
| 602 | endif() |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 603 | add_dependencies(buildtests_c inproc_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 604 | add_dependencies(buildtests_c h2_census_nosec_test) |
| 605 | add_dependencies(buildtests_c h2_compress_nosec_test) |
| 606 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 607 | add_dependencies(buildtests_c h2_fd_nosec_test) |
| 608 | endif() |
| 609 | add_dependencies(buildtests_c h2_full_nosec_test) |
| 610 | if(_gRPC_PLATFORM_LINUX) |
| 611 | add_dependencies(buildtests_c h2_full+pipe_nosec_test) |
| 612 | endif() |
| 613 | add_dependencies(buildtests_c h2_full+trace_nosec_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 614 | add_dependencies(buildtests_c h2_full+workarounds_nosec_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 615 | add_dependencies(buildtests_c h2_http_proxy_nosec_test) |
| 616 | add_dependencies(buildtests_c h2_load_reporting_nosec_test) |
| 617 | add_dependencies(buildtests_c h2_proxy_nosec_test) |
| 618 | add_dependencies(buildtests_c h2_sockpair_nosec_test) |
| 619 | add_dependencies(buildtests_c h2_sockpair+trace_nosec_test) |
| 620 | add_dependencies(buildtests_c h2_sockpair_1byte_nosec_test) |
| 621 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 622 | add_dependencies(buildtests_c h2_uds_nosec_test) |
| 623 | endif() |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 624 | add_dependencies(buildtests_c inproc_nosec_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 625 | add_dependencies(buildtests_c api_fuzzer_one_entry) |
| 626 | add_dependencies(buildtests_c client_fuzzer_one_entry) |
| 627 | add_dependencies(buildtests_c hpack_parser_fuzzer_test_one_entry) |
| 628 | add_dependencies(buildtests_c http_request_fuzzer_test_one_entry) |
| 629 | add_dependencies(buildtests_c http_response_fuzzer_test_one_entry) |
| 630 | add_dependencies(buildtests_c json_fuzzer_test_one_entry) |
| 631 | add_dependencies(buildtests_c nanopb_fuzzer_response_test_one_entry) |
| 632 | add_dependencies(buildtests_c nanopb_fuzzer_serverlist_test_one_entry) |
| 633 | add_dependencies(buildtests_c percent_decode_fuzzer_one_entry) |
| 634 | add_dependencies(buildtests_c percent_encode_fuzzer_one_entry) |
| 635 | add_dependencies(buildtests_c server_fuzzer_one_entry) |
| 636 | add_dependencies(buildtests_c ssl_server_fuzzer_one_entry) |
| 637 | add_dependencies(buildtests_c uri_fuzzer_test_one_entry) |
| 638 | |
| 639 | add_custom_target(buildtests_cxx) |
| 640 | add_dependencies(buildtests_cxx alarm_cpp_test) |
| 641 | add_dependencies(buildtests_cxx async_end2end_test) |
| 642 | add_dependencies(buildtests_cxx auth_property_iterator_test) |
| 643 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 644 | add_dependencies(buildtests_cxx bm_arena) |
| 645 | endif() |
| 646 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 647 | add_dependencies(buildtests_cxx bm_call_create) |
| 648 | endif() |
| 649 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 650 | add_dependencies(buildtests_cxx bm_chttp2_hpack) |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 651 | endif() |
| 652 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 653 | add_dependencies(buildtests_cxx bm_chttp2_transport) |
| 654 | endif() |
| 655 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 656 | add_dependencies(buildtests_cxx bm_closure) |
| 657 | endif() |
| 658 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 659 | add_dependencies(buildtests_cxx bm_cq) |
| 660 | endif() |
| 661 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 662 | add_dependencies(buildtests_cxx bm_cq_multiple_threads) |
| 663 | endif() |
| 664 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 665 | add_dependencies(buildtests_cxx bm_error) |
| 666 | endif() |
| 667 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 668 | add_dependencies(buildtests_cxx bm_fullstack_streaming_ping_pong) |
| 669 | endif() |
| 670 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 671 | add_dependencies(buildtests_cxx bm_fullstack_streaming_pump) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 672 | endif() |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 673 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 674 | add_dependencies(buildtests_cxx bm_fullstack_trickle) |
| 675 | endif() |
| 676 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 677 | add_dependencies(buildtests_cxx bm_fullstack_unary_ping_pong) |
| 678 | endif() |
| 679 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 680 | add_dependencies(buildtests_cxx bm_metadata) |
| 681 | endif() |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 682 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 683 | add_dependencies(buildtests_cxx bm_pollset) |
| 684 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 685 | add_dependencies(buildtests_cxx channel_arguments_test) |
| 686 | add_dependencies(buildtests_cxx channel_filter_test) |
| 687 | add_dependencies(buildtests_cxx cli_call_test) |
| 688 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 689 | add_dependencies(buildtests_cxx client_crash_test) |
| 690 | endif() |
| 691 | add_dependencies(buildtests_cxx client_crash_test_server) |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 692 | add_dependencies(buildtests_cxx client_lb_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 693 | add_dependencies(buildtests_cxx codegen_test_full) |
| 694 | add_dependencies(buildtests_cxx codegen_test_minimal) |
| 695 | add_dependencies(buildtests_cxx credentials_test) |
| 696 | add_dependencies(buildtests_cxx cxx_byte_buffer_test) |
| 697 | add_dependencies(buildtests_cxx cxx_slice_test) |
| 698 | add_dependencies(buildtests_cxx cxx_string_ref_test) |
| 699 | add_dependencies(buildtests_cxx cxx_time_test) |
| 700 | add_dependencies(buildtests_cxx end2end_test) |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 701 | add_dependencies(buildtests_cxx error_details_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 702 | add_dependencies(buildtests_cxx filter_end2end_test) |
| 703 | add_dependencies(buildtests_cxx generic_end2end_test) |
| 704 | add_dependencies(buildtests_cxx golden_file_test) |
| 705 | add_dependencies(buildtests_cxx grpc_cli) |
| 706 | add_dependencies(buildtests_cxx grpc_tool_test) |
| 707 | add_dependencies(buildtests_cxx grpclb_api_test) |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 708 | add_dependencies(buildtests_cxx grpclb_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 709 | add_dependencies(buildtests_cxx grpclb_test) |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 710 | add_dependencies(buildtests_cxx health_service_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 711 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 712 | add_dependencies(buildtests_cxx http2_client) |
| 713 | endif() |
| 714 | add_dependencies(buildtests_cxx hybrid_end2end_test) |
| 715 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 716 | add_dependencies(buildtests_cxx interop_client) |
| 717 | endif() |
| 718 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 719 | add_dependencies(buildtests_cxx interop_server) |
| 720 | endif() |
| 721 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 722 | add_dependencies(buildtests_cxx interop_test) |
| 723 | endif() |
| 724 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 725 | add_dependencies(buildtests_cxx json_run_localhost) |
| 726 | endif() |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 727 | add_dependencies(buildtests_cxx memory_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 728 | add_dependencies(buildtests_cxx metrics_client) |
| 729 | add_dependencies(buildtests_cxx mock_test) |
| 730 | add_dependencies(buildtests_cxx noop-benchmark) |
| 731 | add_dependencies(buildtests_cxx proto_server_reflection_test) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 732 | add_dependencies(buildtests_cxx proto_utils_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 733 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 734 | add_dependencies(buildtests_cxx qps_interarrival_test) |
| 735 | endif() |
| 736 | add_dependencies(buildtests_cxx qps_json_driver) |
| 737 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 738 | add_dependencies(buildtests_cxx qps_openloop_test) |
| 739 | endif() |
| 740 | add_dependencies(buildtests_cxx qps_worker) |
| 741 | add_dependencies(buildtests_cxx reconnect_interop_client) |
| 742 | add_dependencies(buildtests_cxx reconnect_interop_server) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 743 | add_dependencies(buildtests_cxx secure_auth_context_test) |
| 744 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 745 | add_dependencies(buildtests_cxx secure_sync_unary_ping_pong_test) |
| 746 | endif() |
| 747 | add_dependencies(buildtests_cxx server_builder_plugin_test) |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 748 | add_dependencies(buildtests_cxx server_builder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 749 | add_dependencies(buildtests_cxx server_context_test_spouse_test) |
| 750 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 751 | add_dependencies(buildtests_cxx server_crash_test) |
| 752 | endif() |
| 753 | add_dependencies(buildtests_cxx server_crash_test_client) |
| 754 | add_dependencies(buildtests_cxx shutdown_test) |
| 755 | add_dependencies(buildtests_cxx status_test) |
| 756 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 757 | add_dependencies(buildtests_cxx streaming_throughput_test) |
| 758 | endif() |
| 759 | add_dependencies(buildtests_cxx stress_test) |
| 760 | add_dependencies(buildtests_cxx thread_manager_test) |
| 761 | add_dependencies(buildtests_cxx thread_stress_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 762 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 763 | add_dependencies(buildtests_cxx writes_per_rpc_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 764 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 765 | |
| 766 | add_custom_target(buildtests |
| 767 | DEPENDS buildtests_c buildtests_cxx) |
| 768 | endif (gRPC_BUILD_TESTS) |
| 769 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 770 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 771 | add_library(gpr |
| 772 | src/core/lib/profiling/basic_timers.c |
| 773 | src/core/lib/profiling/stap_timers.c |
| 774 | src/core/lib/support/alloc.c |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 775 | src/core/lib/support/arena.c |
Mark D. Roth | fecba53 | 2017-03-17 09:50:48 -0700 | [diff] [blame] | 776 | src/core/lib/support/atm.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 777 | src/core/lib/support/avl.c |
| 778 | src/core/lib/support/backoff.c |
| 779 | src/core/lib/support/cmdline.c |
| 780 | src/core/lib/support/cpu_iphone.c |
| 781 | src/core/lib/support/cpu_linux.c |
| 782 | src/core/lib/support/cpu_posix.c |
| 783 | src/core/lib/support/cpu_windows.c |
| 784 | src/core/lib/support/env_linux.c |
| 785 | src/core/lib/support/env_posix.c |
| 786 | src/core/lib/support/env_windows.c |
| 787 | src/core/lib/support/histogram.c |
| 788 | src/core/lib/support/host_port.c |
| 789 | src/core/lib/support/log.c |
| 790 | src/core/lib/support/log_android.c |
| 791 | src/core/lib/support/log_linux.c |
| 792 | src/core/lib/support/log_posix.c |
| 793 | src/core/lib/support/log_windows.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 794 | src/core/lib/support/mpscq.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 795 | src/core/lib/support/murmur_hash.c |
Ken Payson | a4710a0 | 2017-07-10 16:49:59 -0700 | [diff] [blame] | 796 | src/core/lib/support/stack_lockfree.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 797 | src/core/lib/support/string.c |
| 798 | src/core/lib/support/string_posix.c |
| 799 | src/core/lib/support/string_util_windows.c |
| 800 | src/core/lib/support/string_windows.c |
| 801 | src/core/lib/support/subprocess_posix.c |
| 802 | src/core/lib/support/subprocess_windows.c |
| 803 | src/core/lib/support/sync.c |
| 804 | src/core/lib/support/sync_posix.c |
| 805 | src/core/lib/support/sync_windows.c |
| 806 | src/core/lib/support/thd.c |
| 807 | src/core/lib/support/thd_posix.c |
| 808 | src/core/lib/support/thd_windows.c |
| 809 | src/core/lib/support/time.c |
| 810 | src/core/lib/support/time_posix.c |
| 811 | src/core/lib/support/time_precise.c |
| 812 | src/core/lib/support/time_windows.c |
| 813 | src/core/lib/support/tls_pthread.c |
| 814 | src/core/lib/support/tmpfile_msys.c |
| 815 | src/core/lib/support/tmpfile_posix.c |
| 816 | src/core/lib/support/tmpfile_windows.c |
| 817 | src/core/lib/support/wrap_memcpy.c |
| 818 | ) |
| 819 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 820 | if(WIN32 AND MSVC) |
| 821 | set_target_properties(gpr PROPERTIES COMPILE_PDB_NAME "gpr" |
| 822 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 823 | ) |
| 824 | if (gRPC_INSTALL) |
| 825 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 826 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 827 | ) |
| 828 | endif() |
| 829 | endif() |
| 830 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 831 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 832 | target_include_directories(gpr |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 833 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 834 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 835 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 836 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 837 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 838 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 839 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 840 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 841 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 842 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 843 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 844 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 845 | ) |
| 846 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 847 | target_link_libraries(gpr |
| 848 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 849 | ) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 850 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 851 | foreach(_hdr |
| 852 | include/grpc/support/alloc.h |
| 853 | include/grpc/support/atm.h |
| 854 | include/grpc/support/atm_gcc_atomic.h |
| 855 | include/grpc/support/atm_gcc_sync.h |
| 856 | include/grpc/support/atm_windows.h |
| 857 | include/grpc/support/avl.h |
| 858 | include/grpc/support/cmdline.h |
| 859 | include/grpc/support/cpu.h |
| 860 | include/grpc/support/histogram.h |
| 861 | include/grpc/support/host_port.h |
| 862 | include/grpc/support/log.h |
| 863 | include/grpc/support/log_windows.h |
| 864 | include/grpc/support/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 865 | include/grpc/support/string_util.h |
| 866 | include/grpc/support/subprocess.h |
| 867 | include/grpc/support/sync.h |
| 868 | include/grpc/support/sync_generic.h |
| 869 | include/grpc/support/sync_posix.h |
| 870 | include/grpc/support/sync_windows.h |
| 871 | include/grpc/support/thd.h |
| 872 | include/grpc/support/time.h |
| 873 | include/grpc/support/tls.h |
| 874 | include/grpc/support/tls_gcc.h |
| 875 | include/grpc/support/tls_msvc.h |
| 876 | include/grpc/support/tls_pthread.h |
| 877 | include/grpc/support/useful.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 878 | include/grpc/impl/codegen/atm.h |
| 879 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 880 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 881 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 882 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 883 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 884 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 885 | include/grpc/impl/codegen/sync.h |
| 886 | include/grpc/impl/codegen/sync_generic.h |
| 887 | include/grpc/impl/codegen/sync_posix.h |
| 888 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 889 | ) |
| 890 | string(REPLACE "include/" "" _path ${_hdr}) |
| 891 | get_filename_component(_path ${_path} PATH) |
| 892 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 893 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 894 | ) |
| 895 | endforeach() |
| 896 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 897 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 898 | if (gRPC_INSTALL) |
| 899 | install(TARGETS gpr EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 900 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 901 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 902 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 903 | ) |
| 904 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 905 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 906 | if (gRPC_BUILD_TESTS) |
| 907 | |
| 908 | add_library(gpr_test_util |
| 909 | test/core/util/test_config.c |
| 910 | ) |
| 911 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 912 | if(WIN32 AND MSVC) |
| 913 | set_target_properties(gpr_test_util PROPERTIES COMPILE_PDB_NAME "gpr_test_util" |
| 914 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 915 | ) |
| 916 | if (gRPC_INSTALL) |
| 917 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 918 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 919 | ) |
| 920 | endif() |
| 921 | endif() |
| 922 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 923 | |
| 924 | target_include_directories(gpr_test_util |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 925 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 926 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 927 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 928 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 929 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 930 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 931 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 932 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 933 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 934 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 935 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 936 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 937 | ) |
| 938 | |
| 939 | target_link_libraries(gpr_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 940 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 941 | gpr |
| 942 | ) |
| 943 | |
| 944 | |
| 945 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 946 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 947 | add_library(grpc |
| 948 | src/core/lib/surface/init.c |
| 949 | src/core/lib/channel/channel_args.c |
| 950 | src/core/lib/channel/channel_stack.c |
| 951 | src/core/lib/channel/channel_stack_builder.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 952 | src/core/lib/channel/connected_channel.c |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 953 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 954 | src/core/lib/channel/handshaker_factory.c |
| 955 | src/core/lib/channel/handshaker_registry.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 956 | src/core/lib/compression/compression.c |
| 957 | src/core/lib/compression/message_compress.c |
Muxi Yan | e87a7e1 | 2017-06-29 16:53:24 -0700 | [diff] [blame] | 958 | src/core/lib/compression/stream_compression.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 959 | src/core/lib/http/format_request.c |
| 960 | src/core/lib/http/httpcli.c |
| 961 | src/core/lib/http/parser.c |
| 962 | src/core/lib/iomgr/closure.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 963 | src/core/lib/iomgr/combiner.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 964 | src/core/lib/iomgr/endpoint.c |
| 965 | src/core/lib/iomgr/endpoint_pair_posix.c |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 966 | src/core/lib/iomgr/endpoint_pair_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 967 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 968 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 969 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 970 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 971 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 972 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 973 | src/core/lib/iomgr/ev_epollsig_linux.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 974 | src/core/lib/iomgr/ev_poll_posix.c |
| 975 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 976 | src/core/lib/iomgr/ev_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 977 | src/core/lib/iomgr/exec_ctx.c |
| 978 | src/core/lib/iomgr/executor.c |
| 979 | src/core/lib/iomgr/iocp_windows.c |
| 980 | src/core/lib/iomgr/iomgr.c |
| 981 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 982 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 983 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 984 | src/core/lib/iomgr/is_epollexclusive_available.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 985 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 986 | src/core/lib/iomgr/lockfree_event.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 987 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 988 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 989 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 990 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 991 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 992 | src/core/lib/iomgr/pollset_windows.c |
| 993 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 994 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 995 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 996 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 997 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 998 | src/core/lib/iomgr/socket_factory_posix.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 999 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1000 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1001 | src/core/lib/iomgr/socket_utils_linux.c |
| 1002 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1003 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 1004 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1005 | src/core/lib/iomgr/socket_windows.c |
| 1006 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1007 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1008 | src/core/lib/iomgr/tcp_client_windows.c |
| 1009 | src/core/lib/iomgr/tcp_posix.c |
| 1010 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 1011 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 1012 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 1013 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1014 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1015 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1016 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1017 | src/core/lib/iomgr/tcp_windows.c |
| 1018 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1019 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1020 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 1021 | src/core/lib/iomgr/timer_manager.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1022 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1023 | src/core/lib/iomgr/udp_server.c |
| 1024 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1025 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 1026 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1027 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1028 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1029 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1030 | src/core/lib/iomgr/wakeup_fd_posix.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1031 | src/core/lib/json/json.c |
| 1032 | src/core/lib/json/json_reader.c |
| 1033 | src/core/lib/json/json_string.c |
| 1034 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 1035 | src/core/lib/slice/b64.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1036 | src/core/lib/slice/percent_encoding.c |
| 1037 | src/core/lib/slice/slice.c |
| 1038 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1039 | src/core/lib/slice/slice_hash_table.c |
| 1040 | src/core/lib/slice/slice_intern.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1041 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1042 | src/core/lib/surface/alarm.c |
| 1043 | src/core/lib/surface/api_trace.c |
| 1044 | src/core/lib/surface/byte_buffer.c |
| 1045 | src/core/lib/surface/byte_buffer_reader.c |
| 1046 | src/core/lib/surface/call.c |
| 1047 | src/core/lib/surface/call_details.c |
| 1048 | src/core/lib/surface/call_log_batch.c |
| 1049 | src/core/lib/surface/channel.c |
| 1050 | src/core/lib/surface/channel_init.c |
| 1051 | src/core/lib/surface/channel_ping.c |
| 1052 | src/core/lib/surface/channel_stack_type.c |
| 1053 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 1054 | src/core/lib/surface/completion_queue_factory.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1055 | src/core/lib/surface/event_string.c |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1056 | src/core/lib/surface/lame_client.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1057 | src/core/lib/surface/metadata_array.c |
| 1058 | src/core/lib/surface/server.c |
| 1059 | src/core/lib/surface/validate_metadata.c |
| 1060 | src/core/lib/surface/version.c |
Craig Tiller | 9e0066b | 2016-10-20 14:04:18 -0700 | [diff] [blame] | 1061 | src/core/lib/transport/bdp_estimator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1062 | src/core/lib/transport/byte_stream.c |
| 1063 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1064 | src/core/lib/transport/error_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1065 | src/core/lib/transport/metadata.c |
| 1066 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 1067 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 1068 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1069 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1070 | src/core/lib/transport/status_conversion.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 1071 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1072 | src/core/lib/transport/transport.c |
| 1073 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 1074 | src/core/lib/debug/trace.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1075 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c |
| 1076 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 1077 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 1078 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 1079 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 1080 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 1081 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 1082 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 1083 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 1084 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 1085 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 1086 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 1087 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 1088 | src/core/ext/transport/chttp2/transport/hpack_table.c |
Craig Tiller | c8f62bc | 2017-04-03 16:25:45 -0700 | [diff] [blame] | 1089 | src/core/ext/transport/chttp2/transport/http2_settings.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1090 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 1091 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 1092 | src/core/ext/transport/chttp2/transport/parsing.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1093 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 1094 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1095 | src/core/ext/transport/chttp2/transport/varint.c |
| 1096 | src/core/ext/transport/chttp2/transport/writing.c |
| 1097 | src/core/ext/transport/chttp2/alpn/alpn.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1098 | src/core/ext/filters/http/client/http_client_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1099 | src/core/ext/filters/http/http_filters_plugin.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 1100 | src/core/ext/filters/http/message_compress/message_compress_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1101 | src/core/ext/filters/http/server/http_server_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1102 | src/core/lib/http/httpcli_security_connector.c |
| 1103 | src/core/lib/security/context/security_context.c |
| 1104 | src/core/lib/security/credentials/composite/composite_credentials.c |
| 1105 | src/core/lib/security/credentials/credentials.c |
| 1106 | src/core/lib/security/credentials/credentials_metadata.c |
| 1107 | src/core/lib/security/credentials/fake/fake_credentials.c |
murgatroid99 | 7c20590 | 2016-08-09 10:07:42 -0700 | [diff] [blame] | 1108 | src/core/lib/security/credentials/google_default/credentials_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1109 | src/core/lib/security/credentials/google_default/google_default_credentials.c |
| 1110 | src/core/lib/security/credentials/iam/iam_credentials.c |
| 1111 | src/core/lib/security/credentials/jwt/json_token.c |
| 1112 | src/core/lib/security/credentials/jwt/jwt_credentials.c |
| 1113 | src/core/lib/security/credentials/jwt/jwt_verifier.c |
| 1114 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c |
| 1115 | src/core/lib/security/credentials/plugin/plugin_credentials.c |
| 1116 | src/core/lib/security/credentials/ssl/ssl_credentials.c |
| 1117 | src/core/lib/security/transport/client_auth_filter.c |
David Garcia Quintas | 0129150 | 2017-02-07 13:26:41 -0800 | [diff] [blame] | 1118 | src/core/lib/security/transport/lb_targets_info.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1119 | src/core/lib/security/transport/secure_endpoint.c |
| 1120 | src/core/lib/security/transport/security_connector.c |
Mark D. Roth | 071cacf | 2016-11-17 13:17:56 -0800 | [diff] [blame] | 1121 | src/core/lib/security/transport/security_handshaker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1122 | src/core/lib/security/transport/server_auth_filter.c |
| 1123 | src/core/lib/security/transport/tsi_error.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1124 | src/core/lib/security/util/json_util.c |
| 1125 | src/core/lib/surface/init_secure.c |
Craig Tiller | 134fed3 | 2017-03-28 14:27:18 -0700 | [diff] [blame] | 1126 | src/core/tsi/fake_transport_security.c |
| 1127 | src/core/tsi/ssl_transport_security.c |
| 1128 | src/core/tsi/transport_security.c |
jiangtaoli2016 | e69881d | 2017-04-10 14:29:43 -0700 | [diff] [blame] | 1129 | src/core/tsi/transport_security_adapter.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 1130 | src/core/ext/transport/chttp2/server/chttp2_server.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1131 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1132 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 1133 | src/core/ext/filters/client_channel/client_channel.c |
| 1134 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 1135 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 1136 | src/core/ext/filters/client_channel/connector.c |
| 1137 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 1138 | src/core/ext/filters/client_channel/http_proxy.c |
| 1139 | src/core/ext/filters/client_channel/lb_policy.c |
| 1140 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 1141 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 1142 | src/core/ext/filters/client_channel/parse_address.c |
| 1143 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 1144 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 1145 | src/core/ext/filters/client_channel/resolver.c |
| 1146 | src/core/ext/filters/client_channel/resolver_factory.c |
| 1147 | src/core/ext/filters/client_channel/resolver_registry.c |
| 1148 | src/core/ext/filters/client_channel/retry_throttle.c |
| 1149 | src/core/ext/filters/client_channel/subchannel.c |
| 1150 | src/core/ext/filters/client_channel/subchannel_index.c |
| 1151 | src/core/ext/filters/client_channel/uri_parser.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 1152 | src/core/ext/filters/deadline/deadline_filter.c |
Mark D. Roth | 8686cab | 2016-11-17 13:12:17 -0800 | [diff] [blame] | 1153 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1154 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 1155 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
| 1156 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 1157 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 1158 | src/core/ext/transport/inproc/inproc_plugin.c |
| 1159 | src/core/ext/transport/inproc/inproc_transport.c |
Mark D. Roth | 09e458c | 2017-05-02 08:13:26 -0700 | [diff] [blame] | 1160 | 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] | 1161 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c |
| 1162 | 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] | 1163 | 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] | 1164 | src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c |
| 1165 | 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] | 1166 | third_party/nanopb/pb_common.c |
| 1167 | third_party/nanopb/pb_decode.c |
| 1168 | third_party/nanopb/pb_encode.c |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 1169 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1170 | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c |
| 1171 | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.c |
| 1172 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c |
| 1173 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c |
| 1174 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c |
Yuchen Zeng | 4ebace7 | 2017-06-05 17:24:06 -0700 | [diff] [blame] | 1175 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1176 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.c |
| 1177 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.c |
| 1178 | src/core/ext/filters/load_reporting/load_reporting.c |
| 1179 | src/core/ext/filters/load_reporting/load_reporting_filter.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 1180 | src/core/ext/census/base_resources.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1181 | src/core/ext/census/context.c |
| 1182 | src/core/ext/census/gen/census.pb.c |
Alistair Veitch | a0c69f9 | 2016-08-31 12:01:27 -0700 | [diff] [blame] | 1183 | src/core/ext/census/gen/trace_context.pb.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1184 | src/core/ext/census/grpc_context.c |
| 1185 | src/core/ext/census/grpc_filter.c |
| 1186 | src/core/ext/census/grpc_plugin.c |
| 1187 | src/core/ext/census/initialize.c |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 1188 | src/core/ext/census/intrusive_hash_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1189 | src/core/ext/census/mlog.c |
| 1190 | src/core/ext/census/operation.c |
| 1191 | src/core/ext/census/placeholders.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 1192 | src/core/ext/census/resource.c |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 1193 | src/core/ext/census/trace_context.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1194 | src/core/ext/census/tracing.c |
Craig Tiller | 6d4894e | 2017-03-31 17:22:06 -0700 | [diff] [blame] | 1195 | src/core/ext/filters/max_age/max_age_filter.c |
Craig Tiller | 9b3648a | 2017-04-03 12:25:19 -0700 | [diff] [blame] | 1196 | src/core/ext/filters/message_size/message_size_filter.c |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 1197 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c |
| 1198 | src/core/ext/filters/workarounds/workaround_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1199 | src/core/plugin_registry/grpc_plugin_registry.c |
| 1200 | ) |
| 1201 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1202 | if(WIN32 AND MSVC) |
| 1203 | set_target_properties(grpc PROPERTIES COMPILE_PDB_NAME "grpc" |
| 1204 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1205 | ) |
| 1206 | if (gRPC_INSTALL) |
| 1207 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1208 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1209 | ) |
| 1210 | endif() |
| 1211 | endif() |
| 1212 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1213 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1214 | target_include_directories(grpc |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 1215 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1216 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1217 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1218 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1219 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1220 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1221 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 1222 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1223 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 1224 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1225 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1226 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1227 | ) |
| 1228 | |
| 1229 | target_link_libraries(grpc |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1230 | ${_gRPC_BASELIB_LIBRARIES} |
| 1231 | ${_gRPC_SSL_LIBRARIES} |
| 1232 | ${_gRPC_ZLIB_LIBRARIES} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1233 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1234 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1235 | gpr |
| 1236 | ) |
| 1237 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1238 | foreach(_hdr |
| 1239 | include/grpc/byte_buffer.h |
| 1240 | include/grpc/byte_buffer_reader.h |
| 1241 | include/grpc/compression.h |
| 1242 | include/grpc/grpc.h |
| 1243 | include/grpc/grpc_posix.h |
Nicolas "Pixel" Noble | e3e17d3 | 2016-08-20 01:45:32 +0200 | [diff] [blame] | 1244 | include/grpc/grpc_security_constants.h |
David Garcia Quintas | f31f096 | 2017-02-10 14:53:58 -0800 | [diff] [blame] | 1245 | include/grpc/load_reporting.h |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1246 | include/grpc/slice.h |
| 1247 | include/grpc/slice_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1248 | include/grpc/status.h |
Muxi Yan | 1d3ce9a | 2017-05-15 16:01:17 -0700 | [diff] [blame] | 1249 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1250 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1251 | include/grpc/impl/codegen/compression_types.h |
| 1252 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1253 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1254 | include/grpc/impl/codegen/grpc_types.h |
| 1255 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1256 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1257 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1258 | include/grpc/impl/codegen/atm.h |
| 1259 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1260 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1261 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1262 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1263 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1264 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1265 | include/grpc/impl/codegen/sync.h |
| 1266 | include/grpc/impl/codegen/sync_generic.h |
| 1267 | include/grpc/impl/codegen/sync_posix.h |
| 1268 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1269 | include/grpc/grpc_security.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1270 | include/grpc/census.h |
| 1271 | ) |
| 1272 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1273 | get_filename_component(_path ${_path} PATH) |
| 1274 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1275 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1276 | ) |
| 1277 | endforeach() |
| 1278 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1279 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1280 | if (gRPC_INSTALL) |
| 1281 | install(TARGETS grpc EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1282 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1283 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1284 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1285 | ) |
| 1286 | endif() |
| 1287 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1288 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1289 | add_library(grpc_cronet |
| 1290 | src/core/lib/surface/init.c |
| 1291 | src/core/lib/channel/channel_args.c |
| 1292 | src/core/lib/channel/channel_stack.c |
| 1293 | src/core/lib/channel/channel_stack_builder.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1294 | src/core/lib/channel/connected_channel.c |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 1295 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 1296 | src/core/lib/channel/handshaker_factory.c |
| 1297 | src/core/lib/channel/handshaker_registry.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1298 | src/core/lib/compression/compression.c |
| 1299 | src/core/lib/compression/message_compress.c |
Muxi Yan | e87a7e1 | 2017-06-29 16:53:24 -0700 | [diff] [blame] | 1300 | src/core/lib/compression/stream_compression.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1301 | src/core/lib/http/format_request.c |
| 1302 | src/core/lib/http/httpcli.c |
| 1303 | src/core/lib/http/parser.c |
| 1304 | src/core/lib/iomgr/closure.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 1305 | src/core/lib/iomgr/combiner.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1306 | src/core/lib/iomgr/endpoint.c |
| 1307 | src/core/lib/iomgr/endpoint_pair_posix.c |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 1308 | src/core/lib/iomgr/endpoint_pair_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1309 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 1310 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1311 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 1312 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 1313 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 1314 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1315 | src/core/lib/iomgr/ev_epollsig_linux.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1316 | src/core/lib/iomgr/ev_poll_posix.c |
| 1317 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 1318 | src/core/lib/iomgr/ev_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1319 | src/core/lib/iomgr/exec_ctx.c |
| 1320 | src/core/lib/iomgr/executor.c |
| 1321 | src/core/lib/iomgr/iocp_windows.c |
| 1322 | src/core/lib/iomgr/iomgr.c |
| 1323 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1324 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1325 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 1326 | src/core/lib/iomgr/is_epollexclusive_available.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1327 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 1328 | src/core/lib/iomgr/lockfree_event.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 1329 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1330 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1331 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1332 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1333 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1334 | src/core/lib/iomgr/pollset_windows.c |
| 1335 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1336 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1337 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 1338 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1339 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 1340 | src/core/lib/iomgr/socket_factory_posix.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 1341 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1342 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1343 | src/core/lib/iomgr/socket_utils_linux.c |
| 1344 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1345 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 1346 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1347 | src/core/lib/iomgr/socket_windows.c |
| 1348 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1349 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1350 | src/core/lib/iomgr/tcp_client_windows.c |
| 1351 | src/core/lib/iomgr/tcp_posix.c |
| 1352 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 1353 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 1354 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 1355 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1356 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1357 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1358 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1359 | src/core/lib/iomgr/tcp_windows.c |
| 1360 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1361 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1362 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 1363 | src/core/lib/iomgr/timer_manager.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1364 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1365 | src/core/lib/iomgr/udp_server.c |
| 1366 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1367 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 1368 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1369 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1370 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1371 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1372 | src/core/lib/iomgr/wakeup_fd_posix.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1373 | src/core/lib/json/json.c |
| 1374 | src/core/lib/json/json_reader.c |
| 1375 | src/core/lib/json/json_string.c |
| 1376 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 1377 | src/core/lib/slice/b64.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1378 | src/core/lib/slice/percent_encoding.c |
| 1379 | src/core/lib/slice/slice.c |
| 1380 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1381 | src/core/lib/slice/slice_hash_table.c |
| 1382 | src/core/lib/slice/slice_intern.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1383 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1384 | src/core/lib/surface/alarm.c |
| 1385 | src/core/lib/surface/api_trace.c |
| 1386 | src/core/lib/surface/byte_buffer.c |
| 1387 | src/core/lib/surface/byte_buffer_reader.c |
| 1388 | src/core/lib/surface/call.c |
| 1389 | src/core/lib/surface/call_details.c |
| 1390 | src/core/lib/surface/call_log_batch.c |
| 1391 | src/core/lib/surface/channel.c |
| 1392 | src/core/lib/surface/channel_init.c |
| 1393 | src/core/lib/surface/channel_ping.c |
| 1394 | src/core/lib/surface/channel_stack_type.c |
| 1395 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 1396 | src/core/lib/surface/completion_queue_factory.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1397 | src/core/lib/surface/event_string.c |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1398 | src/core/lib/surface/lame_client.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1399 | src/core/lib/surface/metadata_array.c |
| 1400 | src/core/lib/surface/server.c |
| 1401 | src/core/lib/surface/validate_metadata.c |
| 1402 | src/core/lib/surface/version.c |
Craig Tiller | 9e0066b | 2016-10-20 14:04:18 -0700 | [diff] [blame] | 1403 | src/core/lib/transport/bdp_estimator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1404 | src/core/lib/transport/byte_stream.c |
| 1405 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1406 | src/core/lib/transport/error_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1407 | src/core/lib/transport/metadata.c |
| 1408 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 1409 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 1410 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1411 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1412 | src/core/lib/transport/status_conversion.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 1413 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1414 | src/core/lib/transport/transport.c |
| 1415 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 1416 | src/core/lib/debug/trace.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1417 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.c |
| 1418 | src/core/ext/transport/cronet/transport/cronet_api_dummy.c |
| 1419 | src/core/ext/transport/cronet/transport/cronet_transport.c |
| 1420 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c |
| 1421 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 1422 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 1423 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 1424 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 1425 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 1426 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 1427 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 1428 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 1429 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 1430 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 1431 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 1432 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 1433 | src/core/ext/transport/chttp2/transport/hpack_table.c |
Craig Tiller | c8f62bc | 2017-04-03 16:25:45 -0700 | [diff] [blame] | 1434 | src/core/ext/transport/chttp2/transport/http2_settings.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1435 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 1436 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 1437 | src/core/ext/transport/chttp2/transport/parsing.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1438 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 1439 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1440 | src/core/ext/transport/chttp2/transport/varint.c |
| 1441 | src/core/ext/transport/chttp2/transport/writing.c |
| 1442 | src/core/ext/transport/chttp2/alpn/alpn.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1443 | src/core/ext/filters/http/client/http_client_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1444 | src/core/ext/filters/http/http_filters_plugin.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 1445 | src/core/ext/filters/http/message_compress/message_compress_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1446 | src/core/ext/filters/http/server/http_server_filter.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1447 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 1448 | src/core/ext/filters/client_channel/client_channel.c |
| 1449 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 1450 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 1451 | src/core/ext/filters/client_channel/connector.c |
| 1452 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 1453 | src/core/ext/filters/client_channel/http_proxy.c |
| 1454 | src/core/ext/filters/client_channel/lb_policy.c |
| 1455 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 1456 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 1457 | src/core/ext/filters/client_channel/parse_address.c |
| 1458 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 1459 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 1460 | src/core/ext/filters/client_channel/resolver.c |
| 1461 | src/core/ext/filters/client_channel/resolver_factory.c |
| 1462 | src/core/ext/filters/client_channel/resolver_registry.c |
| 1463 | src/core/ext/filters/client_channel/retry_throttle.c |
| 1464 | src/core/ext/filters/client_channel/subchannel.c |
| 1465 | src/core/ext/filters/client_channel/subchannel_index.c |
| 1466 | src/core/ext/filters/client_channel/uri_parser.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 1467 | src/core/ext/filters/deadline/deadline_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1468 | src/core/lib/http/httpcli_security_connector.c |
| 1469 | src/core/lib/security/context/security_context.c |
| 1470 | src/core/lib/security/credentials/composite/composite_credentials.c |
| 1471 | src/core/lib/security/credentials/credentials.c |
| 1472 | src/core/lib/security/credentials/credentials_metadata.c |
| 1473 | src/core/lib/security/credentials/fake/fake_credentials.c |
murgatroid99 | 7c20590 | 2016-08-09 10:07:42 -0700 | [diff] [blame] | 1474 | src/core/lib/security/credentials/google_default/credentials_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1475 | src/core/lib/security/credentials/google_default/google_default_credentials.c |
| 1476 | src/core/lib/security/credentials/iam/iam_credentials.c |
| 1477 | src/core/lib/security/credentials/jwt/json_token.c |
| 1478 | src/core/lib/security/credentials/jwt/jwt_credentials.c |
| 1479 | src/core/lib/security/credentials/jwt/jwt_verifier.c |
| 1480 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c |
| 1481 | src/core/lib/security/credentials/plugin/plugin_credentials.c |
| 1482 | src/core/lib/security/credentials/ssl/ssl_credentials.c |
| 1483 | src/core/lib/security/transport/client_auth_filter.c |
David Garcia Quintas | 0129150 | 2017-02-07 13:26:41 -0800 | [diff] [blame] | 1484 | src/core/lib/security/transport/lb_targets_info.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1485 | src/core/lib/security/transport/secure_endpoint.c |
| 1486 | src/core/lib/security/transport/security_connector.c |
Mark D. Roth | 071cacf | 2016-11-17 13:17:56 -0800 | [diff] [blame] | 1487 | src/core/lib/security/transport/security_handshaker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1488 | src/core/lib/security/transport/server_auth_filter.c |
| 1489 | src/core/lib/security/transport/tsi_error.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1490 | src/core/lib/security/util/json_util.c |
| 1491 | src/core/lib/surface/init_secure.c |
Craig Tiller | 134fed3 | 2017-03-28 14:27:18 -0700 | [diff] [blame] | 1492 | src/core/tsi/fake_transport_security.c |
| 1493 | src/core/tsi/ssl_transport_security.c |
| 1494 | src/core/tsi/transport_security.c |
jiangtaoli2016 | e69881d | 2017-04-10 14:29:43 -0700 | [diff] [blame] | 1495 | src/core/tsi/transport_security_adapter.c |
Mark D. Roth | 8686cab | 2016-11-17 13:12:17 -0800 | [diff] [blame] | 1496 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1497 | src/core/ext/filters/load_reporting/load_reporting.c |
| 1498 | src/core/ext/filters/load_reporting/load_reporting_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1499 | src/core/plugin_registry/grpc_cronet_plugin_registry.c |
| 1500 | ) |
| 1501 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1502 | if(WIN32 AND MSVC) |
| 1503 | set_target_properties(grpc_cronet PROPERTIES COMPILE_PDB_NAME "grpc_cronet" |
| 1504 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1505 | ) |
| 1506 | if (gRPC_INSTALL) |
| 1507 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1508 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1509 | ) |
| 1510 | endif() |
| 1511 | endif() |
| 1512 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1513 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1514 | target_include_directories(grpc_cronet |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 1515 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1516 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1517 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1518 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1519 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1520 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1521 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 1522 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1523 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 1524 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1525 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1526 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1527 | ) |
| 1528 | |
| 1529 | target_link_libraries(grpc_cronet |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1530 | ${_gRPC_BASELIB_LIBRARIES} |
| 1531 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 1532 | ${_gRPC_ZLIB_LIBRARIES} |
| 1533 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1534 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1535 | gpr |
| 1536 | ) |
| 1537 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1538 | foreach(_hdr |
| 1539 | include/grpc/byte_buffer.h |
| 1540 | include/grpc/byte_buffer_reader.h |
| 1541 | include/grpc/compression.h |
| 1542 | include/grpc/grpc.h |
| 1543 | include/grpc/grpc_posix.h |
Nicolas "Pixel" Noble | e3e17d3 | 2016-08-20 01:45:32 +0200 | [diff] [blame] | 1544 | include/grpc/grpc_security_constants.h |
David Garcia Quintas | f31f096 | 2017-02-10 14:53:58 -0800 | [diff] [blame] | 1545 | include/grpc/load_reporting.h |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1546 | include/grpc/slice.h |
| 1547 | include/grpc/slice_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1548 | include/grpc/status.h |
Muxi Yan | 1d3ce9a | 2017-05-15 16:01:17 -0700 | [diff] [blame] | 1549 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1550 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1551 | include/grpc/impl/codegen/compression_types.h |
| 1552 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1553 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1554 | include/grpc/impl/codegen/grpc_types.h |
| 1555 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1556 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1557 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1558 | include/grpc/impl/codegen/atm.h |
| 1559 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1560 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1561 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1562 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1563 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1564 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1565 | include/grpc/impl/codegen/sync.h |
| 1566 | include/grpc/impl/codegen/sync_generic.h |
| 1567 | include/grpc/impl/codegen/sync_posix.h |
| 1568 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1569 | include/grpc/grpc_cronet.h |
| 1570 | include/grpc/grpc_security.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1571 | ) |
| 1572 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1573 | get_filename_component(_path ${_path} PATH) |
| 1574 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1575 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1576 | ) |
| 1577 | endforeach() |
| 1578 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1579 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1580 | if (gRPC_INSTALL) |
| 1581 | install(TARGETS grpc_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1582 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1583 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1584 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1585 | ) |
| 1586 | endif() |
| 1587 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1588 | if (gRPC_BUILD_TESTS) |
| 1589 | |
| 1590 | add_library(grpc_test_util |
| 1591 | test/core/end2end/data/client_certs.c |
| 1592 | test/core/end2end/data/server1_cert.c |
| 1593 | test/core/end2end/data/server1_key.c |
| 1594 | test/core/end2end/data/test_root_cert.c |
| 1595 | test/core/security/oauth2_utils.c |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 1596 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1597 | test/core/end2end/cq_verifier.c |
Craig Tiller | e067b6e | 2017-03-06 14:46:37 -0800 | [diff] [blame] | 1598 | test/core/end2end/fixtures/http_proxy_fixture.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1599 | test/core/end2end/fixtures/proxy.c |
| 1600 | test/core/iomgr/endpoint_tests.c |
Craig Tiller | 61eb40c | 2017-02-03 13:46:33 -0800 | [diff] [blame] | 1601 | test/core/util/debugger_macros.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1602 | test/core/util/grpc_profiler.c |
| 1603 | test/core/util/memory_counters.c |
| 1604 | test/core/util/mock_endpoint.c |
| 1605 | test/core/util/parse_hexstring.c |
| 1606 | test/core/util/passthru_endpoint.c |
Craig Tiller | cba864b | 2017-02-17 10:27:56 -0800 | [diff] [blame] | 1607 | test/core/util/port.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1608 | test/core/util/port_server_client.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1609 | test/core/util/slice_splitter.c |
Craig Tiller | fe5f497 | 2017-02-13 16:26:27 -0800 | [diff] [blame] | 1610 | test/core/util/trickle_endpoint.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1611 | src/core/lib/channel/channel_args.c |
| 1612 | src/core/lib/channel/channel_stack.c |
| 1613 | src/core/lib/channel/channel_stack_builder.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1614 | src/core/lib/channel/connected_channel.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1615 | src/core/lib/channel/handshaker.c |
| 1616 | src/core/lib/channel/handshaker_factory.c |
| 1617 | src/core/lib/channel/handshaker_registry.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1618 | src/core/lib/compression/compression.c |
| 1619 | src/core/lib/compression/message_compress.c |
Muxi Yan | e87a7e1 | 2017-06-29 16:53:24 -0700 | [diff] [blame] | 1620 | src/core/lib/compression/stream_compression.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1621 | src/core/lib/http/format_request.c |
| 1622 | src/core/lib/http/httpcli.c |
| 1623 | src/core/lib/http/parser.c |
| 1624 | src/core/lib/iomgr/closure.c |
| 1625 | src/core/lib/iomgr/combiner.c |
| 1626 | src/core/lib/iomgr/endpoint.c |
| 1627 | src/core/lib/iomgr/endpoint_pair_posix.c |
| 1628 | src/core/lib/iomgr/endpoint_pair_uv.c |
| 1629 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 1630 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1631 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 1632 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 1633 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 1634 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1635 | src/core/lib/iomgr/ev_epollsig_linux.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1636 | src/core/lib/iomgr/ev_poll_posix.c |
| 1637 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 1638 | src/core/lib/iomgr/ev_windows.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1639 | src/core/lib/iomgr/exec_ctx.c |
| 1640 | src/core/lib/iomgr/executor.c |
| 1641 | src/core/lib/iomgr/iocp_windows.c |
| 1642 | src/core/lib/iomgr/iomgr.c |
| 1643 | src/core/lib/iomgr/iomgr_posix.c |
| 1644 | src/core/lib/iomgr/iomgr_uv.c |
| 1645 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 1646 | src/core/lib/iomgr/is_epollexclusive_available.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1647 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 1648 | src/core/lib/iomgr/lockfree_event.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1649 | src/core/lib/iomgr/network_status_tracker.c |
| 1650 | src/core/lib/iomgr/polling_entity.c |
| 1651 | src/core/lib/iomgr/pollset_set_uv.c |
| 1652 | src/core/lib/iomgr/pollset_set_windows.c |
| 1653 | src/core/lib/iomgr/pollset_uv.c |
| 1654 | src/core/lib/iomgr/pollset_windows.c |
| 1655 | src/core/lib/iomgr/resolve_address_posix.c |
| 1656 | src/core/lib/iomgr/resolve_address_uv.c |
| 1657 | src/core/lib/iomgr/resolve_address_windows.c |
| 1658 | src/core/lib/iomgr/resource_quota.c |
| 1659 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 1660 | src/core/lib/iomgr/socket_factory_posix.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1661 | src/core/lib/iomgr/socket_mutator.c |
| 1662 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1663 | src/core/lib/iomgr/socket_utils_linux.c |
| 1664 | src/core/lib/iomgr/socket_utils_posix.c |
| 1665 | src/core/lib/iomgr/socket_utils_uv.c |
| 1666 | src/core/lib/iomgr/socket_utils_windows.c |
| 1667 | src/core/lib/iomgr/socket_windows.c |
| 1668 | src/core/lib/iomgr/tcp_client_posix.c |
| 1669 | src/core/lib/iomgr/tcp_client_uv.c |
| 1670 | src/core/lib/iomgr/tcp_client_windows.c |
| 1671 | src/core/lib/iomgr/tcp_posix.c |
| 1672 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 1673 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 1674 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 1675 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1676 | src/core/lib/iomgr/tcp_server_uv.c |
| 1677 | src/core/lib/iomgr/tcp_server_windows.c |
| 1678 | src/core/lib/iomgr/tcp_uv.c |
| 1679 | src/core/lib/iomgr/tcp_windows.c |
| 1680 | src/core/lib/iomgr/time_averaged_stats.c |
| 1681 | src/core/lib/iomgr/timer_generic.c |
| 1682 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 1683 | src/core/lib/iomgr/timer_manager.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1684 | src/core/lib/iomgr/timer_uv.c |
| 1685 | src/core/lib/iomgr/udp_server.c |
| 1686 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1687 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
| 1688 | src/core/lib/iomgr/wakeup_fd_cv.c |
| 1689 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1690 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1691 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1692 | src/core/lib/iomgr/wakeup_fd_posix.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1693 | src/core/lib/json/json.c |
| 1694 | src/core/lib/json/json_reader.c |
| 1695 | src/core/lib/json/json_string.c |
| 1696 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 1697 | src/core/lib/slice/b64.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1698 | src/core/lib/slice/percent_encoding.c |
| 1699 | src/core/lib/slice/slice.c |
| 1700 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1701 | src/core/lib/slice/slice_hash_table.c |
| 1702 | src/core/lib/slice/slice_intern.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1703 | src/core/lib/slice/slice_string_helpers.c |
| 1704 | src/core/lib/surface/alarm.c |
| 1705 | src/core/lib/surface/api_trace.c |
| 1706 | src/core/lib/surface/byte_buffer.c |
| 1707 | src/core/lib/surface/byte_buffer_reader.c |
| 1708 | src/core/lib/surface/call.c |
| 1709 | src/core/lib/surface/call_details.c |
| 1710 | src/core/lib/surface/call_log_batch.c |
| 1711 | src/core/lib/surface/channel.c |
| 1712 | src/core/lib/surface/channel_init.c |
| 1713 | src/core/lib/surface/channel_ping.c |
| 1714 | src/core/lib/surface/channel_stack_type.c |
| 1715 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 1716 | src/core/lib/surface/completion_queue_factory.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1717 | src/core/lib/surface/event_string.c |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1718 | src/core/lib/surface/lame_client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1719 | src/core/lib/surface/metadata_array.c |
| 1720 | src/core/lib/surface/server.c |
| 1721 | src/core/lib/surface/validate_metadata.c |
| 1722 | src/core/lib/surface/version.c |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 1723 | src/core/lib/transport/bdp_estimator.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1724 | src/core/lib/transport/byte_stream.c |
| 1725 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1726 | src/core/lib/transport/error_utils.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1727 | src/core/lib/transport/metadata.c |
| 1728 | src/core/lib/transport/metadata_batch.c |
| 1729 | src/core/lib/transport/pid_controller.c |
| 1730 | src/core/lib/transport/service_config.c |
| 1731 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1732 | src/core/lib/transport/status_conversion.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1733 | src/core/lib/transport/timeout_encoding.c |
| 1734 | src/core/lib/transport/transport.c |
| 1735 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 1736 | src/core/lib/debug/trace.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1737 | ) |
| 1738 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1739 | if(WIN32 AND MSVC) |
| 1740 | set_target_properties(grpc_test_util PROPERTIES COMPILE_PDB_NAME "grpc_test_util" |
| 1741 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1742 | ) |
| 1743 | if (gRPC_INSTALL) |
| 1744 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1745 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1746 | ) |
| 1747 | endif() |
| 1748 | endif() |
| 1749 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1750 | |
| 1751 | target_include_directories(grpc_test_util |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 1752 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1753 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1754 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1755 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1756 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1757 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1758 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 1759 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 1760 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 1761 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1762 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1763 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 1764 | ) |
| 1765 | |
| 1766 | target_link_libraries(grpc_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1767 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1768 | gpr_test_util |
| 1769 | gpr |
| 1770 | grpc |
| 1771 | ) |
| 1772 | |
| 1773 | foreach(_hdr |
| 1774 | include/grpc/byte_buffer.h |
| 1775 | include/grpc/byte_buffer_reader.h |
| 1776 | include/grpc/compression.h |
| 1777 | include/grpc/grpc.h |
| 1778 | include/grpc/grpc_posix.h |
| 1779 | include/grpc/grpc_security_constants.h |
David Garcia Quintas | f31f096 | 2017-02-10 14:53:58 -0800 | [diff] [blame] | 1780 | include/grpc/load_reporting.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1781 | include/grpc/slice.h |
| 1782 | include/grpc/slice_buffer.h |
| 1783 | include/grpc/status.h |
Muxi Yan | 1d3ce9a | 2017-05-15 16:01:17 -0700 | [diff] [blame] | 1784 | include/grpc/support/workaround_list.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1785 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1786 | include/grpc/impl/codegen/compression_types.h |
| 1787 | include/grpc/impl/codegen/connectivity_state.h |
| 1788 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 1789 | include/grpc/impl/codegen/grpc_types.h |
| 1790 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1791 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1792 | include/grpc/impl/codegen/status.h |
| 1793 | include/grpc/impl/codegen/atm.h |
| 1794 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1795 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1796 | include/grpc/impl/codegen/atm_windows.h |
| 1797 | include/grpc/impl/codegen/gpr_slice.h |
| 1798 | include/grpc/impl/codegen/gpr_types.h |
| 1799 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1800 | include/grpc/impl/codegen/sync.h |
| 1801 | include/grpc/impl/codegen/sync_generic.h |
| 1802 | include/grpc/impl/codegen/sync_posix.h |
| 1803 | include/grpc/impl/codegen/sync_windows.h |
| 1804 | ) |
| 1805 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1806 | get_filename_component(_path ${_path} PATH) |
| 1807 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1808 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1809 | ) |
| 1810 | endforeach() |
| 1811 | |
| 1812 | endif (gRPC_BUILD_TESTS) |
| 1813 | if (gRPC_BUILD_TESTS) |
| 1814 | |
| 1815 | add_library(grpc_test_util_unsecure |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 1816 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1817 | test/core/end2end/cq_verifier.c |
Craig Tiller | e067b6e | 2017-03-06 14:46:37 -0800 | [diff] [blame] | 1818 | test/core/end2end/fixtures/http_proxy_fixture.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1819 | test/core/end2end/fixtures/proxy.c |
| 1820 | test/core/iomgr/endpoint_tests.c |
Craig Tiller | 61eb40c | 2017-02-03 13:46:33 -0800 | [diff] [blame] | 1821 | test/core/util/debugger_macros.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1822 | test/core/util/grpc_profiler.c |
| 1823 | test/core/util/memory_counters.c |
| 1824 | test/core/util/mock_endpoint.c |
| 1825 | test/core/util/parse_hexstring.c |
| 1826 | test/core/util/passthru_endpoint.c |
Craig Tiller | cba864b | 2017-02-17 10:27:56 -0800 | [diff] [blame] | 1827 | test/core/util/port.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1828 | test/core/util/port_server_client.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1829 | test/core/util/slice_splitter.c |
Craig Tiller | fe5f497 | 2017-02-13 16:26:27 -0800 | [diff] [blame] | 1830 | test/core/util/trickle_endpoint.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1831 | ) |
| 1832 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1833 | if(WIN32 AND MSVC) |
| 1834 | set_target_properties(grpc_test_util_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_test_util_unsecure" |
| 1835 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1836 | ) |
| 1837 | if (gRPC_INSTALL) |
| 1838 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1839 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1840 | ) |
| 1841 | endif() |
| 1842 | endif() |
| 1843 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1844 | |
| 1845 | target_include_directories(grpc_test_util_unsecure |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 1846 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1847 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1848 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1849 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1850 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1851 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1852 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 1853 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 1854 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 1855 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1856 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1857 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 1858 | ) |
| 1859 | |
| 1860 | target_link_libraries(grpc_test_util_unsecure |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1861 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1862 | gpr |
| 1863 | gpr_test_util |
| 1864 | grpc_unsecure |
| 1865 | grpc |
| 1866 | ) |
| 1867 | |
| 1868 | |
| 1869 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1870 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1871 | add_library(grpc_unsecure |
| 1872 | src/core/lib/surface/init.c |
| 1873 | src/core/lib/surface/init_unsecure.c |
| 1874 | src/core/lib/channel/channel_args.c |
| 1875 | src/core/lib/channel/channel_stack.c |
| 1876 | src/core/lib/channel/channel_stack_builder.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1877 | src/core/lib/channel/connected_channel.c |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 1878 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 1879 | src/core/lib/channel/handshaker_factory.c |
| 1880 | src/core/lib/channel/handshaker_registry.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1881 | src/core/lib/compression/compression.c |
| 1882 | src/core/lib/compression/message_compress.c |
Muxi Yan | e87a7e1 | 2017-06-29 16:53:24 -0700 | [diff] [blame] | 1883 | src/core/lib/compression/stream_compression.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1884 | src/core/lib/http/format_request.c |
| 1885 | src/core/lib/http/httpcli.c |
| 1886 | src/core/lib/http/parser.c |
| 1887 | src/core/lib/iomgr/closure.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 1888 | src/core/lib/iomgr/combiner.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1889 | src/core/lib/iomgr/endpoint.c |
| 1890 | src/core/lib/iomgr/endpoint_pair_posix.c |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 1891 | src/core/lib/iomgr/endpoint_pair_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1892 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 1893 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1894 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 1895 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 1896 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 1897 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1898 | src/core/lib/iomgr/ev_epollsig_linux.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1899 | src/core/lib/iomgr/ev_poll_posix.c |
| 1900 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 1901 | src/core/lib/iomgr/ev_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1902 | src/core/lib/iomgr/exec_ctx.c |
| 1903 | src/core/lib/iomgr/executor.c |
| 1904 | src/core/lib/iomgr/iocp_windows.c |
| 1905 | src/core/lib/iomgr/iomgr.c |
| 1906 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1907 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1908 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 1909 | src/core/lib/iomgr/is_epollexclusive_available.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1910 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 1911 | src/core/lib/iomgr/lockfree_event.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 1912 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1913 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1914 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1915 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1916 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1917 | src/core/lib/iomgr/pollset_windows.c |
| 1918 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1919 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1920 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 1921 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1922 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 1923 | src/core/lib/iomgr/socket_factory_posix.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 1924 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1925 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1926 | src/core/lib/iomgr/socket_utils_linux.c |
| 1927 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1928 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 1929 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1930 | src/core/lib/iomgr/socket_windows.c |
| 1931 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1932 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1933 | src/core/lib/iomgr/tcp_client_windows.c |
| 1934 | src/core/lib/iomgr/tcp_posix.c |
| 1935 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 1936 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 1937 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 1938 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1939 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1940 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1941 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1942 | src/core/lib/iomgr/tcp_windows.c |
| 1943 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1944 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1945 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 1946 | src/core/lib/iomgr/timer_manager.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1947 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1948 | src/core/lib/iomgr/udp_server.c |
| 1949 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1950 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 1951 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1952 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1953 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1954 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1955 | src/core/lib/iomgr/wakeup_fd_posix.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1956 | src/core/lib/json/json.c |
| 1957 | src/core/lib/json/json_reader.c |
| 1958 | src/core/lib/json/json_string.c |
| 1959 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 1960 | src/core/lib/slice/b64.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1961 | src/core/lib/slice/percent_encoding.c |
| 1962 | src/core/lib/slice/slice.c |
| 1963 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1964 | src/core/lib/slice/slice_hash_table.c |
| 1965 | src/core/lib/slice/slice_intern.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1966 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1967 | src/core/lib/surface/alarm.c |
| 1968 | src/core/lib/surface/api_trace.c |
| 1969 | src/core/lib/surface/byte_buffer.c |
| 1970 | src/core/lib/surface/byte_buffer_reader.c |
| 1971 | src/core/lib/surface/call.c |
| 1972 | src/core/lib/surface/call_details.c |
| 1973 | src/core/lib/surface/call_log_batch.c |
| 1974 | src/core/lib/surface/channel.c |
| 1975 | src/core/lib/surface/channel_init.c |
| 1976 | src/core/lib/surface/channel_ping.c |
| 1977 | src/core/lib/surface/channel_stack_type.c |
| 1978 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 1979 | src/core/lib/surface/completion_queue_factory.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1980 | src/core/lib/surface/event_string.c |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1981 | src/core/lib/surface/lame_client.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1982 | src/core/lib/surface/metadata_array.c |
| 1983 | src/core/lib/surface/server.c |
| 1984 | src/core/lib/surface/validate_metadata.c |
| 1985 | src/core/lib/surface/version.c |
Craig Tiller | 9e0066b | 2016-10-20 14:04:18 -0700 | [diff] [blame] | 1986 | src/core/lib/transport/bdp_estimator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1987 | src/core/lib/transport/byte_stream.c |
| 1988 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1989 | src/core/lib/transport/error_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1990 | src/core/lib/transport/metadata.c |
| 1991 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 1992 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 1993 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1994 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1995 | src/core/lib/transport/status_conversion.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 1996 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1997 | src/core/lib/transport/transport.c |
| 1998 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 1999 | src/core/lib/debug/trace.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2000 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 2001 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
| 2002 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 2003 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 2004 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 2005 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 2006 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 2007 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 2008 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 2009 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 2010 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 2011 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 2012 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 2013 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 2014 | src/core/ext/transport/chttp2/transport/hpack_table.c |
Craig Tiller | c8f62bc | 2017-04-03 16:25:45 -0700 | [diff] [blame] | 2015 | src/core/ext/transport/chttp2/transport/http2_settings.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2016 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 2017 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 2018 | src/core/ext/transport/chttp2/transport/parsing.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2019 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 2020 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2021 | src/core/ext/transport/chttp2/transport/varint.c |
| 2022 | src/core/ext/transport/chttp2/transport/writing.c |
| 2023 | src/core/ext/transport/chttp2/alpn/alpn.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2024 | src/core/ext/filters/http/client/http_client_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2025 | src/core/ext/filters/http/http_filters_plugin.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 2026 | src/core/ext/filters/http/message_compress/message_compress_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2027 | src/core/ext/filters/http/server/http_server_filter.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 2028 | src/core/ext/transport/chttp2/server/chttp2_server.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2029 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 2030 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
Mark D. Roth | 2502afb | 2016-11-29 15:17:31 -0800 | [diff] [blame] | 2031 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2032 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 2033 | src/core/ext/filters/client_channel/client_channel.c |
| 2034 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 2035 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 2036 | src/core/ext/filters/client_channel/connector.c |
| 2037 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 2038 | src/core/ext/filters/client_channel/http_proxy.c |
| 2039 | src/core/ext/filters/client_channel/lb_policy.c |
| 2040 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 2041 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 2042 | src/core/ext/filters/client_channel/parse_address.c |
| 2043 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 2044 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 2045 | src/core/ext/filters/client_channel/resolver.c |
| 2046 | src/core/ext/filters/client_channel/resolver_factory.c |
| 2047 | src/core/ext/filters/client_channel/resolver_registry.c |
| 2048 | src/core/ext/filters/client_channel/retry_throttle.c |
| 2049 | src/core/ext/filters/client_channel/subchannel.c |
| 2050 | src/core/ext/filters/client_channel/subchannel_index.c |
| 2051 | src/core/ext/filters/client_channel/uri_parser.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 2052 | src/core/ext/filters/deadline/deadline_filter.c |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 2053 | src/core/ext/transport/inproc/inproc_plugin.c |
| 2054 | src/core/ext/transport/inproc/inproc_transport.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2055 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c |
| 2056 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c |
| 2057 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c |
Yuchen Zeng | 4ebace7 | 2017-06-05 17:24:06 -0700 | [diff] [blame] | 2058 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2059 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.c |
| 2060 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.c |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 2061 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2062 | src/core/ext/filters/load_reporting/load_reporting.c |
| 2063 | src/core/ext/filters/load_reporting/load_reporting_filter.c |
Mark D. Roth | 09e458c | 2017-05-02 08:13:26 -0700 | [diff] [blame] | 2064 | 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] | 2065 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c |
| 2066 | 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] | 2067 | 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] | 2068 | src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c |
| 2069 | 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] | 2070 | third_party/nanopb/pb_common.c |
| 2071 | third_party/nanopb/pb_decode.c |
| 2072 | third_party/nanopb/pb_encode.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2073 | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c |
| 2074 | 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] | 2075 | src/core/ext/census/base_resources.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2076 | src/core/ext/census/context.c |
| 2077 | src/core/ext/census/gen/census.pb.c |
Alistair Veitch | a0c69f9 | 2016-08-31 12:01:27 -0700 | [diff] [blame] | 2078 | src/core/ext/census/gen/trace_context.pb.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2079 | src/core/ext/census/grpc_context.c |
| 2080 | src/core/ext/census/grpc_filter.c |
| 2081 | src/core/ext/census/grpc_plugin.c |
| 2082 | src/core/ext/census/initialize.c |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 2083 | src/core/ext/census/intrusive_hash_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2084 | src/core/ext/census/mlog.c |
| 2085 | src/core/ext/census/operation.c |
| 2086 | src/core/ext/census/placeholders.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 2087 | src/core/ext/census/resource.c |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 2088 | src/core/ext/census/trace_context.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2089 | src/core/ext/census/tracing.c |
Craig Tiller | 6d4894e | 2017-03-31 17:22:06 -0700 | [diff] [blame] | 2090 | src/core/ext/filters/max_age/max_age_filter.c |
Craig Tiller | 9b3648a | 2017-04-03 12:25:19 -0700 | [diff] [blame] | 2091 | src/core/ext/filters/message_size/message_size_filter.c |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 2092 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c |
| 2093 | src/core/ext/filters/workarounds/workaround_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2094 | src/core/plugin_registry/grpc_unsecure_plugin_registry.c |
| 2095 | ) |
| 2096 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2097 | if(WIN32 AND MSVC) |
| 2098 | set_target_properties(grpc_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_unsecure" |
| 2099 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2100 | ) |
| 2101 | if (gRPC_INSTALL) |
| 2102 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2103 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2104 | ) |
| 2105 | endif() |
| 2106 | endif() |
| 2107 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2108 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2109 | target_include_directories(grpc_unsecure |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 2110 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2111 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2112 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2113 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2114 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2115 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2116 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2117 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 2118 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2119 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2120 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2121 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2122 | ) |
| 2123 | |
| 2124 | target_link_libraries(grpc_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2125 | ${_gRPC_BASELIB_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 2126 | ${_gRPC_ZLIB_LIBRARIES} |
| 2127 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2128 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2129 | gpr |
| 2130 | ) |
| 2131 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2132 | foreach(_hdr |
| 2133 | include/grpc/byte_buffer.h |
| 2134 | include/grpc/byte_buffer_reader.h |
| 2135 | include/grpc/compression.h |
| 2136 | include/grpc/grpc.h |
| 2137 | include/grpc/grpc_posix.h |
Nicolas "Pixel" Noble | e3e17d3 | 2016-08-20 01:45:32 +0200 | [diff] [blame] | 2138 | include/grpc/grpc_security_constants.h |
David Garcia Quintas | f31f096 | 2017-02-10 14:53:58 -0800 | [diff] [blame] | 2139 | include/grpc/load_reporting.h |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 2140 | include/grpc/slice.h |
| 2141 | include/grpc/slice_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2142 | include/grpc/status.h |
Muxi Yan | 1d3ce9a | 2017-05-15 16:01:17 -0700 | [diff] [blame] | 2143 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2144 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2145 | include/grpc/impl/codegen/compression_types.h |
| 2146 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 2147 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2148 | include/grpc/impl/codegen/grpc_types.h |
| 2149 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2150 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2151 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2152 | include/grpc/impl/codegen/atm.h |
| 2153 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2154 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2155 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2156 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 2157 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2158 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2159 | include/grpc/impl/codegen/sync.h |
| 2160 | include/grpc/impl/codegen/sync_generic.h |
| 2161 | include/grpc/impl/codegen/sync_posix.h |
| 2162 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2163 | include/grpc/census.h |
| 2164 | ) |
| 2165 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2166 | get_filename_component(_path ${_path} PATH) |
| 2167 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2168 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2169 | ) |
| 2170 | endforeach() |
| 2171 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2172 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2173 | if (gRPC_INSTALL) |
| 2174 | install(TARGETS grpc_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2175 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2176 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2177 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2178 | ) |
| 2179 | endif() |
| 2180 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2181 | if (gRPC_BUILD_TESTS) |
| 2182 | |
| 2183 | add_library(reconnect_server |
| 2184 | test/core/util/reconnect_server.c |
| 2185 | ) |
| 2186 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2187 | if(WIN32 AND MSVC) |
| 2188 | set_target_properties(reconnect_server PROPERTIES COMPILE_PDB_NAME "reconnect_server" |
| 2189 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2190 | ) |
| 2191 | if (gRPC_INSTALL) |
| 2192 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/reconnect_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2193 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2194 | ) |
| 2195 | endif() |
| 2196 | endif() |
| 2197 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2198 | |
| 2199 | target_include_directories(reconnect_server |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 2200 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2201 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2202 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2203 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2204 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2205 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2206 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2207 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2208 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2209 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2210 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2211 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2212 | ) |
| 2213 | |
| 2214 | target_link_libraries(reconnect_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2215 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2216 | test_tcp_server |
| 2217 | grpc_test_util |
| 2218 | grpc |
| 2219 | gpr_test_util |
| 2220 | gpr |
| 2221 | ) |
| 2222 | |
| 2223 | |
| 2224 | endif (gRPC_BUILD_TESTS) |
| 2225 | if (gRPC_BUILD_TESTS) |
| 2226 | |
| 2227 | add_library(test_tcp_server |
| 2228 | test/core/util/test_tcp_server.c |
| 2229 | ) |
| 2230 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2231 | if(WIN32 AND MSVC) |
| 2232 | set_target_properties(test_tcp_server PROPERTIES COMPILE_PDB_NAME "test_tcp_server" |
| 2233 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2234 | ) |
| 2235 | if (gRPC_INSTALL) |
| 2236 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/test_tcp_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2237 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2238 | ) |
| 2239 | endif() |
| 2240 | endif() |
| 2241 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2242 | |
| 2243 | target_include_directories(test_tcp_server |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 2244 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2245 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2246 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2247 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2248 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2249 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2250 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2251 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2252 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2253 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2254 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2255 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2256 | ) |
| 2257 | |
| 2258 | target_link_libraries(test_tcp_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2259 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2260 | grpc_test_util |
| 2261 | grpc |
| 2262 | gpr_test_util |
| 2263 | gpr |
| 2264 | ) |
| 2265 | |
| 2266 | |
| 2267 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2268 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2269 | add_library(grpc++ |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2270 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2271 | src/cpp/client/secure_credentials.cc |
| 2272 | src/cpp/common/auth_property_iterator.cc |
| 2273 | src/cpp/common/secure_auth_context.cc |
| 2274 | src/cpp/common/secure_channel_arguments.cc |
| 2275 | src/cpp/common/secure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2276 | src/cpp/server/insecure_server_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2277 | src/cpp/server/secure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2278 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2279 | src/cpp/client/client_context.cc |
| 2280 | src/cpp/client/create_channel.cc |
| 2281 | src/cpp/client/create_channel_internal.cc |
| 2282 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2283 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2284 | src/cpp/client/generic_stub.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2285 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 2286 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2287 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2288 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2289 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2290 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2291 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2292 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2293 | src/cpp/server/channel_argument_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2294 | src/cpp/server/create_default_thread_pool.cc |
| 2295 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2296 | src/cpp/server/health/default_health_check_service.cc |
| 2297 | src/cpp/server/health/health.pb.c |
| 2298 | src/cpp/server/health/health_check_service.cc |
| 2299 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2300 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2301 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2302 | src/cpp/server/server_context.cc |
| 2303 | src/cpp/server/server_credentials.cc |
| 2304 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 2305 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2306 | src/cpp/util/byte_buffer_cc.cc |
| 2307 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2308 | src/cpp/util/status.cc |
| 2309 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2310 | src/cpp/util/time_cc.cc |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2311 | third_party/nanopb/pb_common.c |
| 2312 | third_party/nanopb/pb_decode.c |
| 2313 | third_party/nanopb/pb_encode.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2314 | src/cpp/codegen/codegen_init.cc |
| 2315 | ) |
| 2316 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2317 | if(WIN32 AND MSVC) |
| 2318 | set_target_properties(grpc++ PROPERTIES COMPILE_PDB_NAME "grpc++" |
| 2319 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2320 | ) |
| 2321 | if (gRPC_INSTALL) |
| 2322 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2323 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2324 | ) |
| 2325 | endif() |
| 2326 | endif() |
| 2327 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2328 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2329 | target_include_directories(grpc++ |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 2330 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2331 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2332 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2333 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2334 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2335 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2336 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2337 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 2338 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2339 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2340 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2341 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2342 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2343 | ) |
| 2344 | |
| 2345 | target_link_libraries(grpc++ |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2346 | ${_gRPC_BASELIB_LIBRARIES} |
| 2347 | ${_gRPC_SSL_LIBRARIES} |
| 2348 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2349 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2350 | grpc |
| 2351 | ) |
| 2352 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2353 | foreach(_hdr |
| 2354 | include/grpc++/alarm.h |
| 2355 | include/grpc++/channel.h |
| 2356 | include/grpc++/client_context.h |
| 2357 | include/grpc++/completion_queue.h |
| 2358 | include/grpc++/create_channel.h |
| 2359 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2360 | include/grpc++/ext/health_check_service_server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2361 | include/grpc++/generic/async_generic_service.h |
| 2362 | include/grpc++/generic/generic_stub.h |
| 2363 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2364 | include/grpc++/health_check_service_interface.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2365 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2366 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2367 | include/grpc++/impl/client_unary_call.h |
| 2368 | include/grpc++/impl/codegen/core_codegen.h |
| 2369 | include/grpc++/impl/grpc_library.h |
| 2370 | include/grpc++/impl/method_handler_impl.h |
| 2371 | include/grpc++/impl/rpc_method.h |
| 2372 | include/grpc++/impl/rpc_service_method.h |
| 2373 | include/grpc++/impl/serialization_traits.h |
| 2374 | include/grpc++/impl/server_builder_option.h |
| 2375 | include/grpc++/impl/server_builder_plugin.h |
| 2376 | include/grpc++/impl/server_initializer.h |
| 2377 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2378 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2379 | include/grpc++/security/auth_context.h |
| 2380 | include/grpc++/security/auth_metadata_processor.h |
| 2381 | include/grpc++/security/credentials.h |
| 2382 | include/grpc++/security/server_credentials.h |
| 2383 | include/grpc++/server.h |
| 2384 | include/grpc++/server_builder.h |
| 2385 | include/grpc++/server_context.h |
| 2386 | include/grpc++/server_posix.h |
| 2387 | include/grpc++/support/async_stream.h |
| 2388 | include/grpc++/support/async_unary_call.h |
| 2389 | include/grpc++/support/byte_buffer.h |
| 2390 | include/grpc++/support/channel_arguments.h |
| 2391 | include/grpc++/support/config.h |
| 2392 | include/grpc++/support/slice.h |
| 2393 | include/grpc++/support/status.h |
| 2394 | include/grpc++/support/status_code_enum.h |
| 2395 | include/grpc++/support/string_ref.h |
| 2396 | include/grpc++/support/stub_options.h |
| 2397 | include/grpc++/support/sync_stream.h |
| 2398 | include/grpc++/support/time.h |
| 2399 | include/grpc++/impl/codegen/async_stream.h |
| 2400 | include/grpc++/impl/codegen/async_unary_call.h |
| 2401 | include/grpc++/impl/codegen/call.h |
| 2402 | include/grpc++/impl/codegen/call_hook.h |
| 2403 | include/grpc++/impl/codegen/channel_interface.h |
| 2404 | include/grpc++/impl/codegen/client_context.h |
| 2405 | include/grpc++/impl/codegen/client_unary_call.h |
| 2406 | include/grpc++/impl/codegen/completion_queue.h |
| 2407 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2408 | include/grpc++/impl/codegen/config.h |
| 2409 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2410 | include/grpc++/impl/codegen/create_auth_context.h |
| 2411 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 2412 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2413 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2414 | include/grpc++/impl/codegen/rpc_method.h |
| 2415 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2416 | include/grpc++/impl/codegen/security/auth_context.h |
| 2417 | include/grpc++/impl/codegen/serialization_traits.h |
| 2418 | include/grpc++/impl/codegen/server_context.h |
| 2419 | include/grpc++/impl/codegen/server_interface.h |
| 2420 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2421 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2422 | include/grpc++/impl/codegen/status.h |
| 2423 | include/grpc++/impl/codegen/status_code_enum.h |
| 2424 | include/grpc++/impl/codegen/string_ref.h |
| 2425 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2426 | include/grpc++/impl/codegen/sync_stream.h |
| 2427 | include/grpc++/impl/codegen/time.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 2428 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2429 | include/grpc/impl/codegen/compression_types.h |
| 2430 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 2431 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 2432 | include/grpc/impl/codegen/grpc_types.h |
| 2433 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2434 | include/grpc/impl/codegen/slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 2435 | include/grpc/impl/codegen/status.h |
| 2436 | include/grpc/impl/codegen/atm.h |
| 2437 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2438 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2439 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2440 | include/grpc/impl/codegen/gpr_slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 2441 | include/grpc/impl/codegen/gpr_types.h |
| 2442 | include/grpc/impl/codegen/port_platform.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 2443 | include/grpc/impl/codegen/sync.h |
| 2444 | include/grpc/impl/codegen/sync_generic.h |
| 2445 | include/grpc/impl/codegen/sync_posix.h |
| 2446 | include/grpc/impl/codegen/sync_windows.h |
Piotr Pietraszkiewicz | a5fac1f | 2017-02-09 11:15:44 +0100 | [diff] [blame] | 2447 | include/grpc++/impl/codegen/proto_utils.h |
| 2448 | include/grpc++/impl/codegen/config_protobuf.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2449 | ) |
| 2450 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2451 | get_filename_component(_path ${_path} PATH) |
| 2452 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2453 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2454 | ) |
| 2455 | endforeach() |
| 2456 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2457 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2458 | if (gRPC_INSTALL) |
| 2459 | install(TARGETS grpc++ EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2460 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2461 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2462 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2463 | ) |
| 2464 | endif() |
| 2465 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2466 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2467 | add_library(grpc++_cronet |
| 2468 | src/cpp/client/cronet_credentials.cc |
| 2469 | src/cpp/client/insecure_credentials.cc |
| 2470 | src/cpp/common/insecure_create_auth_context.cc |
| 2471 | src/cpp/server/insecure_server_credentials.cc |
| 2472 | src/cpp/client/channel_cc.cc |
| 2473 | src/cpp/client/client_context.cc |
| 2474 | src/cpp/client/create_channel.cc |
| 2475 | src/cpp/client/create_channel_internal.cc |
| 2476 | src/cpp/client/create_channel_posix.cc |
| 2477 | src/cpp/client/credentials_cc.cc |
| 2478 | src/cpp/client/generic_stub.cc |
| 2479 | src/cpp/common/channel_arguments.cc |
| 2480 | src/cpp/common/channel_filter.cc |
| 2481 | src/cpp/common/completion_queue_cc.cc |
| 2482 | src/cpp/common/core_codegen.cc |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2483 | src/cpp/common/resource_quota_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2484 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2485 | src/cpp/common/version_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2486 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2487 | src/cpp/server/channel_argument_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2488 | src/cpp/server/create_default_thread_pool.cc |
| 2489 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2490 | src/cpp/server/health/default_health_check_service.cc |
| 2491 | src/cpp/server/health/health.pb.c |
| 2492 | src/cpp/server/health/health_check_service.cc |
| 2493 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2494 | src/cpp/server/server_builder.cc |
| 2495 | src/cpp/server/server_cc.cc |
| 2496 | src/cpp/server/server_context.cc |
| 2497 | src/cpp/server/server_credentials.cc |
| 2498 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 33d5494 | 2016-10-25 10:03:52 -0700 | [diff] [blame] | 2499 | src/cpp/thread_manager/thread_manager.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2500 | src/cpp/util/byte_buffer_cc.cc |
| 2501 | src/cpp/util/slice_cc.cc |
| 2502 | src/cpp/util/status.cc |
| 2503 | src/cpp/util/string_ref.cc |
| 2504 | src/cpp/util/time_cc.cc |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 2505 | third_party/nanopb/pb_common.c |
| 2506 | third_party/nanopb/pb_decode.c |
| 2507 | third_party/nanopb/pb_encode.c |
| 2508 | src/cpp/codegen/codegen_init.cc |
| 2509 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 2510 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
| 2511 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
| 2512 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 2513 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 2514 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 2515 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 2516 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 2517 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 2518 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 2519 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 2520 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 2521 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 2522 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 2523 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 2524 | src/core/ext/transport/chttp2/transport/hpack_table.c |
| 2525 | src/core/ext/transport/chttp2/transport/http2_settings.c |
| 2526 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 2527 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 2528 | src/core/ext/transport/chttp2/transport/parsing.c |
| 2529 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 2530 | src/core/ext/transport/chttp2/transport/stream_map.c |
| 2531 | src/core/ext/transport/chttp2/transport/varint.c |
| 2532 | src/core/ext/transport/chttp2/transport/writing.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2533 | src/core/lib/channel/channel_args.c |
| 2534 | src/core/lib/channel/channel_stack.c |
| 2535 | src/core/lib/channel/channel_stack_builder.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2536 | src/core/lib/channel/connected_channel.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2537 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 2538 | src/core/lib/channel/handshaker_factory.c |
| 2539 | src/core/lib/channel/handshaker_registry.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2540 | src/core/lib/compression/compression.c |
| 2541 | src/core/lib/compression/message_compress.c |
Muxi Yan | e87a7e1 | 2017-06-29 16:53:24 -0700 | [diff] [blame] | 2542 | src/core/lib/compression/stream_compression.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2543 | src/core/lib/http/format_request.c |
| 2544 | src/core/lib/http/httpcli.c |
| 2545 | src/core/lib/http/parser.c |
| 2546 | src/core/lib/iomgr/closure.c |
| 2547 | src/core/lib/iomgr/combiner.c |
| 2548 | src/core/lib/iomgr/endpoint.c |
| 2549 | src/core/lib/iomgr/endpoint_pair_posix.c |
| 2550 | src/core/lib/iomgr/endpoint_pair_uv.c |
| 2551 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 2552 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 2553 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 2554 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 2555 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 2556 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 2557 | src/core/lib/iomgr/ev_epollsig_linux.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2558 | src/core/lib/iomgr/ev_poll_posix.c |
| 2559 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 2560 | src/core/lib/iomgr/ev_windows.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2561 | src/core/lib/iomgr/exec_ctx.c |
| 2562 | src/core/lib/iomgr/executor.c |
| 2563 | src/core/lib/iomgr/iocp_windows.c |
| 2564 | src/core/lib/iomgr/iomgr.c |
| 2565 | src/core/lib/iomgr/iomgr_posix.c |
| 2566 | src/core/lib/iomgr/iomgr_uv.c |
| 2567 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 2568 | src/core/lib/iomgr/is_epollexclusive_available.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2569 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 2570 | src/core/lib/iomgr/lockfree_event.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2571 | src/core/lib/iomgr/network_status_tracker.c |
| 2572 | src/core/lib/iomgr/polling_entity.c |
| 2573 | src/core/lib/iomgr/pollset_set_uv.c |
| 2574 | src/core/lib/iomgr/pollset_set_windows.c |
| 2575 | src/core/lib/iomgr/pollset_uv.c |
| 2576 | src/core/lib/iomgr/pollset_windows.c |
| 2577 | src/core/lib/iomgr/resolve_address_posix.c |
| 2578 | src/core/lib/iomgr/resolve_address_uv.c |
| 2579 | src/core/lib/iomgr/resolve_address_windows.c |
| 2580 | src/core/lib/iomgr/resource_quota.c |
| 2581 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 2582 | src/core/lib/iomgr/socket_factory_posix.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2583 | src/core/lib/iomgr/socket_mutator.c |
| 2584 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 2585 | src/core/lib/iomgr/socket_utils_linux.c |
| 2586 | src/core/lib/iomgr/socket_utils_posix.c |
| 2587 | src/core/lib/iomgr/socket_utils_uv.c |
| 2588 | src/core/lib/iomgr/socket_utils_windows.c |
| 2589 | src/core/lib/iomgr/socket_windows.c |
| 2590 | src/core/lib/iomgr/tcp_client_posix.c |
| 2591 | src/core/lib/iomgr/tcp_client_uv.c |
| 2592 | src/core/lib/iomgr/tcp_client_windows.c |
| 2593 | src/core/lib/iomgr/tcp_posix.c |
| 2594 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 2595 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 2596 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 2597 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2598 | src/core/lib/iomgr/tcp_server_uv.c |
| 2599 | src/core/lib/iomgr/tcp_server_windows.c |
| 2600 | src/core/lib/iomgr/tcp_uv.c |
| 2601 | src/core/lib/iomgr/tcp_windows.c |
| 2602 | src/core/lib/iomgr/time_averaged_stats.c |
| 2603 | src/core/lib/iomgr/timer_generic.c |
| 2604 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 2605 | src/core/lib/iomgr/timer_manager.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2606 | src/core/lib/iomgr/timer_uv.c |
| 2607 | src/core/lib/iomgr/udp_server.c |
| 2608 | src/core/lib/iomgr/unix_sockets_posix.c |
| 2609 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
| 2610 | src/core/lib/iomgr/wakeup_fd_cv.c |
| 2611 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 2612 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 2613 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 2614 | src/core/lib/iomgr/wakeup_fd_posix.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2615 | src/core/lib/json/json.c |
| 2616 | src/core/lib/json/json_reader.c |
| 2617 | src/core/lib/json/json_string.c |
| 2618 | src/core/lib/json/json_writer.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2619 | src/core/lib/slice/b64.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2620 | src/core/lib/slice/percent_encoding.c |
| 2621 | src/core/lib/slice/slice.c |
| 2622 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2623 | src/core/lib/slice/slice_hash_table.c |
| 2624 | src/core/lib/slice/slice_intern.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2625 | src/core/lib/slice/slice_string_helpers.c |
| 2626 | src/core/lib/surface/alarm.c |
| 2627 | src/core/lib/surface/api_trace.c |
| 2628 | src/core/lib/surface/byte_buffer.c |
| 2629 | src/core/lib/surface/byte_buffer_reader.c |
| 2630 | src/core/lib/surface/call.c |
| 2631 | src/core/lib/surface/call_details.c |
| 2632 | src/core/lib/surface/call_log_batch.c |
| 2633 | src/core/lib/surface/channel.c |
| 2634 | src/core/lib/surface/channel_init.c |
| 2635 | src/core/lib/surface/channel_ping.c |
| 2636 | src/core/lib/surface/channel_stack_type.c |
| 2637 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 2638 | src/core/lib/surface/completion_queue_factory.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2639 | src/core/lib/surface/event_string.c |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 2640 | src/core/lib/surface/lame_client.cc |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2641 | src/core/lib/surface/metadata_array.c |
| 2642 | src/core/lib/surface/server.c |
| 2643 | src/core/lib/surface/validate_metadata.c |
| 2644 | src/core/lib/surface/version.c |
Craig Tiller | d425712 | 2017-01-13 09:33:57 -0800 | [diff] [blame] | 2645 | src/core/lib/transport/bdp_estimator.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2646 | src/core/lib/transport/byte_stream.c |
| 2647 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2648 | src/core/lib/transport/error_utils.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2649 | src/core/lib/transport/metadata.c |
| 2650 | src/core/lib/transport/metadata_batch.c |
| 2651 | src/core/lib/transport/pid_controller.c |
| 2652 | src/core/lib/transport/service_config.c |
| 2653 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2654 | src/core/lib/transport/status_conversion.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2655 | src/core/lib/transport/timeout_encoding.c |
| 2656 | src/core/lib/transport/transport.c |
| 2657 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 2658 | src/core/lib/debug/trace.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2659 | src/core/ext/transport/chttp2/alpn/alpn.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2660 | src/core/ext/filters/http/client/http_client_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2661 | src/core/ext/filters/http/http_filters_plugin.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 2662 | src/core/ext/filters/http/message_compress/message_compress_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2663 | src/core/ext/filters/http/server/http_server_filter.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2664 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 2665 | src/core/ext/filters/client_channel/client_channel.c |
| 2666 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 2667 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 2668 | src/core/ext/filters/client_channel/connector.c |
| 2669 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 2670 | src/core/ext/filters/client_channel/http_proxy.c |
| 2671 | src/core/ext/filters/client_channel/lb_policy.c |
| 2672 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 2673 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 2674 | src/core/ext/filters/client_channel/parse_address.c |
| 2675 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 2676 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 2677 | src/core/ext/filters/client_channel/resolver.c |
| 2678 | src/core/ext/filters/client_channel/resolver_factory.c |
| 2679 | src/core/ext/filters/client_channel/resolver_registry.c |
| 2680 | src/core/ext/filters/client_channel/retry_throttle.c |
| 2681 | src/core/ext/filters/client_channel/subchannel.c |
| 2682 | src/core/ext/filters/client_channel/subchannel_index.c |
| 2683 | src/core/ext/filters/client_channel/uri_parser.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 2684 | src/core/ext/filters/deadline/deadline_filter.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2685 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 2686 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 2687 | src/core/ext/transport/chttp2/server/chttp2_server.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2688 | src/core/ext/census/base_resources.c |
| 2689 | src/core/ext/census/context.c |
| 2690 | src/core/ext/census/gen/census.pb.c |
| 2691 | src/core/ext/census/gen/trace_context.pb.c |
| 2692 | src/core/ext/census/grpc_context.c |
| 2693 | src/core/ext/census/grpc_filter.c |
| 2694 | src/core/ext/census/grpc_plugin.c |
| 2695 | src/core/ext/census/initialize.c |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 2696 | src/core/ext/census/intrusive_hash_map.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2697 | src/core/ext/census/mlog.c |
| 2698 | src/core/ext/census/operation.c |
| 2699 | src/core/ext/census/placeholders.c |
| 2700 | src/core/ext/census/resource.c |
| 2701 | src/core/ext/census/trace_context.c |
| 2702 | src/core/ext/census/tracing.c |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2703 | ) |
| 2704 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2705 | if(WIN32 AND MSVC) |
| 2706 | set_target_properties(grpc++_cronet PROPERTIES COMPILE_PDB_NAME "grpc++_cronet" |
| 2707 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2708 | ) |
| 2709 | if (gRPC_INSTALL) |
| 2710 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2711 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2712 | ) |
| 2713 | endif() |
| 2714 | endif() |
| 2715 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2716 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2717 | target_include_directories(grpc++_cronet |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 2718 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2719 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2720 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2721 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2722 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2723 | PRIVATE ${BENCHMARK}/include |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2724 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2725 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | f1cd449 | 2016-10-25 11:26:17 -0700 | [diff] [blame] | 2726 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2727 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2728 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2729 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2730 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2731 | ) |
| 2732 | |
| 2733 | target_link_libraries(grpc++_cronet |
| 2734 | ${_gRPC_BASELIB_LIBRARIES} |
| 2735 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2736 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2737 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2738 | gpr |
| 2739 | grpc_cronet |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 2740 | grpc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2741 | ) |
| 2742 | |
| 2743 | foreach(_hdr |
| 2744 | include/grpc++/alarm.h |
| 2745 | include/grpc++/channel.h |
| 2746 | include/grpc++/client_context.h |
| 2747 | include/grpc++/completion_queue.h |
| 2748 | include/grpc++/create_channel.h |
| 2749 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2750 | include/grpc++/ext/health_check_service_server_builder_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2751 | include/grpc++/generic/async_generic_service.h |
| 2752 | include/grpc++/generic/generic_stub.h |
| 2753 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2754 | include/grpc++/health_check_service_interface.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2755 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2756 | include/grpc++/impl/channel_argument_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2757 | include/grpc++/impl/client_unary_call.h |
| 2758 | include/grpc++/impl/codegen/core_codegen.h |
| 2759 | include/grpc++/impl/grpc_library.h |
| 2760 | include/grpc++/impl/method_handler_impl.h |
| 2761 | include/grpc++/impl/rpc_method.h |
| 2762 | include/grpc++/impl/rpc_service_method.h |
| 2763 | include/grpc++/impl/serialization_traits.h |
| 2764 | include/grpc++/impl/server_builder_option.h |
| 2765 | include/grpc++/impl/server_builder_plugin.h |
| 2766 | include/grpc++/impl/server_initializer.h |
| 2767 | include/grpc++/impl/service_type.h |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2768 | include/grpc++/resource_quota.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2769 | include/grpc++/security/auth_context.h |
| 2770 | include/grpc++/security/auth_metadata_processor.h |
| 2771 | include/grpc++/security/credentials.h |
| 2772 | include/grpc++/security/server_credentials.h |
| 2773 | include/grpc++/server.h |
| 2774 | include/grpc++/server_builder.h |
| 2775 | include/grpc++/server_context.h |
| 2776 | include/grpc++/server_posix.h |
| 2777 | include/grpc++/support/async_stream.h |
| 2778 | include/grpc++/support/async_unary_call.h |
| 2779 | include/grpc++/support/byte_buffer.h |
| 2780 | include/grpc++/support/channel_arguments.h |
| 2781 | include/grpc++/support/config.h |
| 2782 | include/grpc++/support/slice.h |
| 2783 | include/grpc++/support/status.h |
| 2784 | include/grpc++/support/status_code_enum.h |
| 2785 | include/grpc++/support/string_ref.h |
| 2786 | include/grpc++/support/stub_options.h |
| 2787 | include/grpc++/support/sync_stream.h |
| 2788 | include/grpc++/support/time.h |
| 2789 | include/grpc++/impl/codegen/async_stream.h |
| 2790 | include/grpc++/impl/codegen/async_unary_call.h |
| 2791 | include/grpc++/impl/codegen/call.h |
| 2792 | include/grpc++/impl/codegen/call_hook.h |
| 2793 | include/grpc++/impl/codegen/channel_interface.h |
| 2794 | include/grpc++/impl/codegen/client_context.h |
| 2795 | include/grpc++/impl/codegen/client_unary_call.h |
| 2796 | include/grpc++/impl/codegen/completion_queue.h |
| 2797 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2798 | include/grpc++/impl/codegen/config.h |
| 2799 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2800 | include/grpc++/impl/codegen/create_auth_context.h |
| 2801 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 2802 | include/grpc++/impl/codegen/metadata_map.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2803 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2804 | include/grpc++/impl/codegen/rpc_method.h |
| 2805 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2806 | include/grpc++/impl/codegen/security/auth_context.h |
| 2807 | include/grpc++/impl/codegen/serialization_traits.h |
| 2808 | include/grpc++/impl/codegen/server_context.h |
| 2809 | include/grpc++/impl/codegen/server_interface.h |
| 2810 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2811 | include/grpc++/impl/codegen/slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2812 | include/grpc++/impl/codegen/status.h |
| 2813 | include/grpc++/impl/codegen/status_code_enum.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2814 | include/grpc++/impl/codegen/string_ref.h |
| 2815 | include/grpc++/impl/codegen/stub_options.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2816 | include/grpc++/impl/codegen/sync_stream.h |
| 2817 | include/grpc++/impl/codegen/time.h |
| 2818 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2819 | include/grpc/impl/codegen/compression_types.h |
| 2820 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 2821 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2822 | include/grpc/impl/codegen/grpc_types.h |
| 2823 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2824 | include/grpc/impl/codegen/slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2825 | include/grpc/impl/codegen/status.h |
| 2826 | include/grpc/impl/codegen/atm.h |
| 2827 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2828 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2829 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2830 | include/grpc/impl/codegen/gpr_slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2831 | include/grpc/impl/codegen/gpr_types.h |
| 2832 | include/grpc/impl/codegen/port_platform.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2833 | include/grpc/impl/codegen/sync.h |
| 2834 | include/grpc/impl/codegen/sync_generic.h |
| 2835 | include/grpc/impl/codegen/sync_posix.h |
| 2836 | include/grpc/impl/codegen/sync_windows.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2837 | include/grpc/byte_buffer.h |
| 2838 | include/grpc/byte_buffer_reader.h |
| 2839 | include/grpc/compression.h |
| 2840 | include/grpc/grpc.h |
| 2841 | include/grpc/grpc_posix.h |
| 2842 | include/grpc/grpc_security_constants.h |
David Garcia Quintas | f31f096 | 2017-02-10 14:53:58 -0800 | [diff] [blame] | 2843 | include/grpc/load_reporting.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2844 | include/grpc/slice.h |
| 2845 | include/grpc/slice_buffer.h |
| 2846 | include/grpc/status.h |
Muxi Yan | 1d3ce9a | 2017-05-15 16:01:17 -0700 | [diff] [blame] | 2847 | include/grpc/support/workaround_list.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2848 | include/grpc/census.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2849 | ) |
| 2850 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2851 | get_filename_component(_path ${_path} PATH) |
| 2852 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2853 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2854 | ) |
| 2855 | endforeach() |
| 2856 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2857 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2858 | if (gRPC_INSTALL) |
| 2859 | install(TARGETS grpc++_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2860 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2861 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2862 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2863 | ) |
| 2864 | endif() |
| 2865 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 2866 | |
| 2867 | add_library(grpc++_error_details |
| 2868 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.cc |
| 2869 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.cc |
| 2870 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.h |
| 2871 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.h |
| 2872 | src/cpp/util/error_details.cc |
| 2873 | ) |
| 2874 | |
| 2875 | if(WIN32 AND MSVC) |
| 2876 | set_target_properties(grpc++_error_details PROPERTIES COMPILE_PDB_NAME "grpc++_error_details" |
| 2877 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2878 | ) |
| 2879 | if (gRPC_INSTALL) |
| 2880 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_error_details.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2881 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 2882 | ) |
| 2883 | endif() |
| 2884 | endif() |
| 2885 | |
| 2886 | protobuf_generate_grpc_cpp( |
| 2887 | src/proto/grpc/status/status.proto |
| 2888 | ) |
| 2889 | |
| 2890 | target_include_directories(grpc++_error_details |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 2891 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 2892 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 2893 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2894 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2895 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 2896 | PRIVATE ${BENCHMARK}/include |
| 2897 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 2898 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 2899 | PRIVATE ${CARES_INCLUDE_DIR} |
| 2900 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 2901 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 2902 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2903 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 2904 | ) |
| 2905 | |
| 2906 | target_link_libraries(grpc++_error_details |
| 2907 | ${_gRPC_BASELIB_LIBRARIES} |
| 2908 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2909 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 2910 | grpc++ |
| 2911 | ) |
| 2912 | |
| 2913 | foreach(_hdr |
| 2914 | include/grpc++/support/error_details.h |
| 2915 | ) |
| 2916 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2917 | get_filename_component(_path ${_path} PATH) |
| 2918 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2919 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 2920 | ) |
| 2921 | endforeach() |
| 2922 | |
| 2923 | |
| 2924 | if (gRPC_INSTALL) |
| 2925 | install(TARGETS grpc++_error_details EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2926 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2927 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2928 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 2929 | ) |
| 2930 | endif() |
| 2931 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2932 | if (gRPC_BUILD_TESTS) |
| 2933 | |
| 2934 | add_library(grpc++_proto_reflection_desc_db |
| 2935 | test/cpp/util/proto_reflection_descriptor_database.cc |
| 2936 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 2937 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 2938 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 2939 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 2940 | ) |
| 2941 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2942 | if(WIN32 AND MSVC) |
| 2943 | set_target_properties(grpc++_proto_reflection_desc_db PROPERTIES COMPILE_PDB_NAME "grpc++_proto_reflection_desc_db" |
| 2944 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2945 | ) |
| 2946 | if (gRPC_INSTALL) |
| 2947 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_proto_reflection_desc_db.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2948 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2949 | ) |
| 2950 | endif() |
| 2951 | endif() |
| 2952 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2953 | protobuf_generate_grpc_cpp( |
| 2954 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 2955 | ) |
| 2956 | |
| 2957 | target_include_directories(grpc++_proto_reflection_desc_db |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 2958 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2959 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2960 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2961 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2962 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2963 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2964 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2965 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2966 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2967 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2968 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2969 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 2970 | PRIVATE third_party/googletest/googletest/include |
| 2971 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 2972 | PRIVATE third_party/googletest/googlemock/include |
| 2973 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2974 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 2975 | ) |
| 2976 | |
| 2977 | target_link_libraries(grpc++_proto_reflection_desc_db |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2978 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2979 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2980 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 2981 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2982 | ) |
| 2983 | |
| 2984 | foreach(_hdr |
| 2985 | include/grpc++/impl/codegen/config_protobuf.h |
| 2986 | ) |
| 2987 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2988 | get_filename_component(_path ${_path} PATH) |
| 2989 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2990 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2991 | ) |
| 2992 | endforeach() |
| 2993 | |
| 2994 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2995 | |
| 2996 | add_library(grpc++_reflection |
| 2997 | src/cpp/ext/proto_server_reflection.cc |
| 2998 | src/cpp/ext/proto_server_reflection_plugin.cc |
| 2999 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3000 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3001 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3002 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3003 | ) |
| 3004 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3005 | if(WIN32 AND MSVC) |
| 3006 | set_target_properties(grpc++_reflection PROPERTIES COMPILE_PDB_NAME "grpc++_reflection" |
| 3007 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3008 | ) |
| 3009 | if (gRPC_INSTALL) |
| 3010 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_reflection.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3011 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3012 | ) |
| 3013 | endif() |
| 3014 | endif() |
| 3015 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3016 | protobuf_generate_grpc_cpp( |
| 3017 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3018 | ) |
| 3019 | |
| 3020 | target_include_directories(grpc++_reflection |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3021 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3022 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3023 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3024 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3025 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3026 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3027 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3028 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3029 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3030 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3031 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3032 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3033 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3034 | ) |
| 3035 | |
| 3036 | target_link_libraries(grpc++_reflection |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3037 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3038 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3039 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3040 | grpc |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3041 | ) |
| 3042 | |
| 3043 | foreach(_hdr |
| 3044 | include/grpc++/ext/proto_server_reflection_plugin.h |
| 3045 | ) |
| 3046 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3047 | get_filename_component(_path ${_path} PATH) |
| 3048 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3049 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3050 | ) |
| 3051 | endforeach() |
| 3052 | |
| 3053 | |
| 3054 | if (gRPC_INSTALL) |
| 3055 | install(TARGETS grpc++_reflection EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3056 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3057 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3058 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3059 | ) |
| 3060 | endif() |
| 3061 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3062 | if (gRPC_BUILD_TESTS) |
| 3063 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3064 | add_library(grpc++_test_config |
| 3065 | test/cpp/util/test_config_cc.cc |
| 3066 | ) |
| 3067 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3068 | if(WIN32 AND MSVC) |
| 3069 | set_target_properties(grpc++_test_config PROPERTIES COMPILE_PDB_NAME "grpc++_test_config" |
| 3070 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3071 | ) |
| 3072 | if (gRPC_INSTALL) |
| 3073 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_config.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3074 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3075 | ) |
| 3076 | endif() |
| 3077 | endif() |
| 3078 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3079 | |
| 3080 | target_include_directories(grpc++_test_config |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3081 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3082 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3083 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3084 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3085 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3086 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3087 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3088 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3089 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3090 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3091 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3092 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3093 | PRIVATE third_party/googletest/googletest/include |
| 3094 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3095 | PRIVATE third_party/googletest/googlemock/include |
| 3096 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3097 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3098 | ) |
| 3099 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3100 | target_link_libraries(grpc++_test_config |
| 3101 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3102 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3103 | ) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3104 | |
| 3105 | |
| 3106 | endif (gRPC_BUILD_TESTS) |
| 3107 | if (gRPC_BUILD_TESTS) |
| 3108 | |
| 3109 | add_library(grpc++_test_util |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3110 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3111 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3112 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3113 | ${_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] | 3114 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3115 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3116 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3117 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3118 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3119 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3120 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3121 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3122 | ${_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] | 3123 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3124 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3125 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3126 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3127 | test/cpp/end2end/test_service_impl.cc |
| 3128 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3129 | test/cpp/util/create_test_channel.cc |
| 3130 | test/cpp/util/string_ref_helper.cc |
| 3131 | test/cpp/util/subprocess.cc |
| 3132 | test/cpp/util/test_credentials_provider.cc |
| 3133 | src/cpp/codegen/codegen_init.cc |
| 3134 | ) |
| 3135 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3136 | if(WIN32 AND MSVC) |
| 3137 | set_target_properties(grpc++_test_util PROPERTIES COMPILE_PDB_NAME "grpc++_test_util" |
| 3138 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3139 | ) |
| 3140 | if (gRPC_INSTALL) |
| 3141 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3142 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3143 | ) |
| 3144 | endif() |
| 3145 | endif() |
| 3146 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3147 | protobuf_generate_grpc_cpp( |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3148 | src/proto/grpc/health/v1/health.proto |
| 3149 | ) |
| 3150 | protobuf_generate_grpc_cpp( |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3151 | src/proto/grpc/testing/echo_messages.proto |
| 3152 | ) |
| 3153 | protobuf_generate_grpc_cpp( |
| 3154 | src/proto/grpc/testing/echo.proto |
| 3155 | ) |
| 3156 | protobuf_generate_grpc_cpp( |
| 3157 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3158 | ) |
| 3159 | |
| 3160 | target_include_directories(grpc++_test_util |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3161 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3162 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3163 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3164 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3165 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3166 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3167 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3168 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3169 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3170 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3171 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3172 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3173 | PRIVATE third_party/googletest/googletest/include |
| 3174 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3175 | PRIVATE third_party/googletest/googlemock/include |
| 3176 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3177 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3178 | ) |
| 3179 | |
| 3180 | target_link_libraries(grpc++_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3181 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3182 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3183 | grpc++ |
| 3184 | grpc_test_util |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3185 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3186 | ) |
| 3187 | |
| 3188 | foreach(_hdr |
| 3189 | include/grpc++/impl/codegen/async_stream.h |
| 3190 | include/grpc++/impl/codegen/async_unary_call.h |
| 3191 | include/grpc++/impl/codegen/call.h |
| 3192 | include/grpc++/impl/codegen/call_hook.h |
| 3193 | include/grpc++/impl/codegen/channel_interface.h |
| 3194 | include/grpc++/impl/codegen/client_context.h |
| 3195 | include/grpc++/impl/codegen/client_unary_call.h |
| 3196 | include/grpc++/impl/codegen/completion_queue.h |
| 3197 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3198 | include/grpc++/impl/codegen/config.h |
| 3199 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3200 | include/grpc++/impl/codegen/create_auth_context.h |
| 3201 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3202 | include/grpc++/impl/codegen/metadata_map.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3203 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3204 | include/grpc++/impl/codegen/rpc_method.h |
| 3205 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3206 | include/grpc++/impl/codegen/security/auth_context.h |
| 3207 | include/grpc++/impl/codegen/serialization_traits.h |
| 3208 | include/grpc++/impl/codegen/server_context.h |
| 3209 | include/grpc++/impl/codegen/server_interface.h |
| 3210 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3211 | include/grpc++/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3212 | include/grpc++/impl/codegen/status.h |
| 3213 | include/grpc++/impl/codegen/status_code_enum.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3214 | include/grpc++/impl/codegen/string_ref.h |
| 3215 | include/grpc++/impl/codegen/stub_options.h |
| 3216 | include/grpc++/impl/codegen/sync_stream.h |
| 3217 | include/grpc++/impl/codegen/time.h |
| 3218 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3219 | include/grpc/impl/codegen/compression_types.h |
| 3220 | include/grpc/impl/codegen/connectivity_state.h |
| 3221 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 3222 | include/grpc/impl/codegen/grpc_types.h |
| 3223 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3224 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3225 | include/grpc/impl/codegen/status.h |
| 3226 | include/grpc/impl/codegen/atm.h |
| 3227 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3228 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3229 | include/grpc/impl/codegen/atm_windows.h |
| 3230 | include/grpc/impl/codegen/gpr_slice.h |
| 3231 | include/grpc/impl/codegen/gpr_types.h |
| 3232 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3233 | include/grpc/impl/codegen/sync.h |
| 3234 | include/grpc/impl/codegen/sync_generic.h |
| 3235 | include/grpc/impl/codegen/sync_posix.h |
| 3236 | include/grpc/impl/codegen/sync_windows.h |
| 3237 | include/grpc++/impl/codegen/proto_utils.h |
| 3238 | include/grpc++/impl/codegen/config_protobuf.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3239 | ) |
| 3240 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3241 | get_filename_component(_path ${_path} PATH) |
| 3242 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3243 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3244 | ) |
| 3245 | endforeach() |
| 3246 | |
| 3247 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3248 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3249 | add_library(grpc++_unsecure |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 3250 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3251 | src/cpp/common/insecure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 3252 | src/cpp/server/insecure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3253 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3254 | src/cpp/client/client_context.cc |
| 3255 | src/cpp/client/create_channel.cc |
| 3256 | src/cpp/client/create_channel_internal.cc |
| 3257 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3258 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3259 | src/cpp/client/generic_stub.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3260 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 3261 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3262 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3263 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 3264 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3265 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 3266 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3267 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 3268 | src/cpp/server/channel_argument_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3269 | src/cpp/server/create_default_thread_pool.cc |
| 3270 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 3271 | src/cpp/server/health/default_health_check_service.cc |
| 3272 | src/cpp/server/health/health.pb.c |
| 3273 | src/cpp/server/health/health_check_service.cc |
| 3274 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3275 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3276 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3277 | src/cpp/server/server_context.cc |
| 3278 | src/cpp/server/server_credentials.cc |
| 3279 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 3280 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3281 | src/cpp/util/byte_buffer_cc.cc |
| 3282 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3283 | src/cpp/util/status.cc |
| 3284 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3285 | src/cpp/util/time_cc.cc |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3286 | third_party/nanopb/pb_common.c |
| 3287 | third_party/nanopb/pb_decode.c |
| 3288 | third_party/nanopb/pb_encode.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3289 | src/cpp/codegen/codegen_init.cc |
| 3290 | ) |
| 3291 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3292 | if(WIN32 AND MSVC) |
| 3293 | set_target_properties(grpc++_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_unsecure" |
| 3294 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3295 | ) |
| 3296 | if (gRPC_INSTALL) |
| 3297 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3298 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3299 | ) |
| 3300 | endif() |
| 3301 | endif() |
| 3302 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3303 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3304 | target_include_directories(grpc++_unsecure |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3305 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3306 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3307 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3308 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3309 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3310 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3311 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3312 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 3313 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3314 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3315 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3316 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3317 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3318 | ) |
| 3319 | |
| 3320 | target_link_libraries(grpc++_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3321 | ${_gRPC_BASELIB_LIBRARIES} |
| 3322 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3323 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3324 | gpr |
| 3325 | grpc_unsecure |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 3326 | grpc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3327 | ) |
| 3328 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3329 | foreach(_hdr |
| 3330 | include/grpc++/alarm.h |
| 3331 | include/grpc++/channel.h |
| 3332 | include/grpc++/client_context.h |
| 3333 | include/grpc++/completion_queue.h |
| 3334 | include/grpc++/create_channel.h |
| 3335 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 3336 | include/grpc++/ext/health_check_service_server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3337 | include/grpc++/generic/async_generic_service.h |
| 3338 | include/grpc++/generic/generic_stub.h |
| 3339 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 3340 | include/grpc++/health_check_service_interface.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3341 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 3342 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3343 | include/grpc++/impl/client_unary_call.h |
| 3344 | include/grpc++/impl/codegen/core_codegen.h |
| 3345 | include/grpc++/impl/grpc_library.h |
| 3346 | include/grpc++/impl/method_handler_impl.h |
| 3347 | include/grpc++/impl/rpc_method.h |
| 3348 | include/grpc++/impl/rpc_service_method.h |
| 3349 | include/grpc++/impl/serialization_traits.h |
| 3350 | include/grpc++/impl/server_builder_option.h |
| 3351 | include/grpc++/impl/server_builder_plugin.h |
| 3352 | include/grpc++/impl/server_initializer.h |
| 3353 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 3354 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3355 | include/grpc++/security/auth_context.h |
| 3356 | include/grpc++/security/auth_metadata_processor.h |
| 3357 | include/grpc++/security/credentials.h |
| 3358 | include/grpc++/security/server_credentials.h |
| 3359 | include/grpc++/server.h |
| 3360 | include/grpc++/server_builder.h |
| 3361 | include/grpc++/server_context.h |
| 3362 | include/grpc++/server_posix.h |
| 3363 | include/grpc++/support/async_stream.h |
| 3364 | include/grpc++/support/async_unary_call.h |
| 3365 | include/grpc++/support/byte_buffer.h |
| 3366 | include/grpc++/support/channel_arguments.h |
| 3367 | include/grpc++/support/config.h |
| 3368 | include/grpc++/support/slice.h |
| 3369 | include/grpc++/support/status.h |
| 3370 | include/grpc++/support/status_code_enum.h |
| 3371 | include/grpc++/support/string_ref.h |
| 3372 | include/grpc++/support/stub_options.h |
| 3373 | include/grpc++/support/sync_stream.h |
| 3374 | include/grpc++/support/time.h |
| 3375 | include/grpc++/impl/codegen/async_stream.h |
| 3376 | include/grpc++/impl/codegen/async_unary_call.h |
| 3377 | include/grpc++/impl/codegen/call.h |
| 3378 | include/grpc++/impl/codegen/call_hook.h |
| 3379 | include/grpc++/impl/codegen/channel_interface.h |
| 3380 | include/grpc++/impl/codegen/client_context.h |
| 3381 | include/grpc++/impl/codegen/client_unary_call.h |
| 3382 | include/grpc++/impl/codegen/completion_queue.h |
| 3383 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3384 | include/grpc++/impl/codegen/config.h |
| 3385 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3386 | include/grpc++/impl/codegen/create_auth_context.h |
| 3387 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3388 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3389 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3390 | include/grpc++/impl/codegen/rpc_method.h |
| 3391 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3392 | include/grpc++/impl/codegen/security/auth_context.h |
| 3393 | include/grpc++/impl/codegen/serialization_traits.h |
| 3394 | include/grpc++/impl/codegen/server_context.h |
| 3395 | include/grpc++/impl/codegen/server_interface.h |
| 3396 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3397 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3398 | include/grpc++/impl/codegen/status.h |
| 3399 | include/grpc++/impl/codegen/status_code_enum.h |
| 3400 | include/grpc++/impl/codegen/string_ref.h |
| 3401 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3402 | include/grpc++/impl/codegen/sync_stream.h |
| 3403 | include/grpc++/impl/codegen/time.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3404 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3405 | include/grpc/impl/codegen/compression_types.h |
| 3406 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 3407 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3408 | include/grpc/impl/codegen/grpc_types.h |
| 3409 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3410 | include/grpc/impl/codegen/slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3411 | include/grpc/impl/codegen/status.h |
| 3412 | include/grpc/impl/codegen/atm.h |
| 3413 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3414 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3415 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 3416 | include/grpc/impl/codegen/gpr_slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3417 | include/grpc/impl/codegen/gpr_types.h |
| 3418 | include/grpc/impl/codegen/port_platform.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3419 | include/grpc/impl/codegen/sync.h |
| 3420 | include/grpc/impl/codegen/sync_generic.h |
| 3421 | include/grpc/impl/codegen/sync_posix.h |
| 3422 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3423 | ) |
| 3424 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3425 | get_filename_component(_path ${_path} PATH) |
| 3426 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3427 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3428 | ) |
| 3429 | endforeach() |
| 3430 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3431 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3432 | if (gRPC_INSTALL) |
| 3433 | install(TARGETS grpc++_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3434 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3435 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3436 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3437 | ) |
| 3438 | endif() |
| 3439 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3440 | if (gRPC_BUILD_TESTS) |
| 3441 | |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3442 | add_library(grpc_benchmark |
Craig Tiller | f09ec59 | 2017-03-03 16:52:37 -0800 | [diff] [blame] | 3443 | test/cpp/microbenchmarks/helpers.cc |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3444 | ) |
| 3445 | |
| 3446 | if(WIN32 AND MSVC) |
| 3447 | set_target_properties(grpc_benchmark PROPERTIES COMPILE_PDB_NAME "grpc_benchmark" |
| 3448 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3449 | ) |
| 3450 | if (gRPC_INSTALL) |
| 3451 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_benchmark.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3452 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3453 | ) |
| 3454 | endif() |
| 3455 | endif() |
| 3456 | |
| 3457 | |
| 3458 | target_include_directories(grpc_benchmark |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3459 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3460 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3461 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3462 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3463 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 3464 | PRIVATE ${BENCHMARK}/include |
| 3465 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3466 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 9bc0d82 | 2017-03-17 13:02:03 -0700 | [diff] [blame] | 3467 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3468 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3469 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3470 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3471 | PRIVATE third_party/googletest/googletest/include |
| 3472 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3473 | PRIVATE third_party/googletest/googlemock/include |
| 3474 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3475 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3476 | ) |
| 3477 | |
| 3478 | target_link_libraries(grpc_benchmark |
| 3479 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3480 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3481 | benchmark |
| 3482 | grpc++ |
Craig Tiller | e067b6e | 2017-03-06 14:46:37 -0800 | [diff] [blame] | 3483 | grpc_test_util |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3484 | grpc |
| 3485 | ${_gRPC_GFLAGS_LIBRARIES} |
| 3486 | ) |
| 3487 | |
| 3488 | |
| 3489 | endif (gRPC_BUILD_TESTS) |
| 3490 | if (gRPC_BUILD_TESTS) |
| 3491 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3492 | add_library(grpc_cli_libs |
| 3493 | test/cpp/util/cli_call.cc |
| 3494 | test/cpp/util/cli_credentials.cc |
| 3495 | test/cpp/util/grpc_tool.cc |
| 3496 | test/cpp/util/proto_file_parser.cc |
| 3497 | test/cpp/util/service_describer.cc |
| 3498 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3499 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3500 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3501 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3502 | ) |
| 3503 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3504 | if(WIN32 AND MSVC) |
| 3505 | set_target_properties(grpc_cli_libs PROPERTIES COMPILE_PDB_NAME "grpc_cli_libs" |
| 3506 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3507 | ) |
| 3508 | if (gRPC_INSTALL) |
| 3509 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cli_libs.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3510 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3511 | ) |
| 3512 | endif() |
| 3513 | endif() |
| 3514 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3515 | protobuf_generate_grpc_cpp( |
| 3516 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3517 | ) |
| 3518 | |
| 3519 | target_include_directories(grpc_cli_libs |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3520 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3521 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3522 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3523 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3524 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3525 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3526 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3527 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3528 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3529 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3530 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3531 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3532 | PRIVATE third_party/googletest/googletest/include |
| 3533 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3534 | PRIVATE third_party/googletest/googlemock/include |
| 3535 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3536 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3537 | ) |
| 3538 | |
| 3539 | target_link_libraries(grpc_cli_libs |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3540 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3541 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3542 | grpc++_proto_reflection_desc_db |
| 3543 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3544 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3545 | ) |
| 3546 | |
| 3547 | foreach(_hdr |
| 3548 | include/grpc++/impl/codegen/config_protobuf.h |
| 3549 | ) |
| 3550 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3551 | get_filename_component(_path ${_path} PATH) |
| 3552 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3553 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3554 | ) |
| 3555 | endforeach() |
| 3556 | |
| 3557 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3558 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3559 | add_library(grpc_plugin_support |
| 3560 | src/compiler/cpp_generator.cc |
| 3561 | src/compiler/csharp_generator.cc |
| 3562 | src/compiler/node_generator.cc |
| 3563 | src/compiler/objective_c_generator.cc |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 3564 | src/compiler/php_generator.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3565 | src/compiler/python_generator.cc |
| 3566 | src/compiler/ruby_generator.cc |
| 3567 | ) |
| 3568 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3569 | if(WIN32 AND MSVC) |
| 3570 | set_target_properties(grpc_plugin_support PROPERTIES COMPILE_PDB_NAME "grpc_plugin_support" |
| 3571 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3572 | ) |
| 3573 | if (gRPC_INSTALL) |
| 3574 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_plugin_support.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3575 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3576 | ) |
| 3577 | endif() |
| 3578 | endif() |
| 3579 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3580 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3581 | target_include_directories(grpc_plugin_support |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3582 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3583 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3584 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3585 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3586 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3587 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3588 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3589 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 3590 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3591 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3592 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3593 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3594 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3595 | ) |
| 3596 | |
| 3597 | target_link_libraries(grpc_plugin_support |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3598 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3599 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3600 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3601 | ) |
| 3602 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3603 | foreach(_hdr |
| 3604 | include/grpc++/impl/codegen/config_protobuf.h |
| 3605 | ) |
| 3606 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3607 | get_filename_component(_path ${_path} PATH) |
| 3608 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3609 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3610 | ) |
| 3611 | endforeach() |
| 3612 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3613 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3614 | if (gRPC_INSTALL) |
| 3615 | install(TARGETS grpc_plugin_support EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3616 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3617 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3618 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3619 | ) |
| 3620 | endif() |
| 3621 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3622 | if (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3623 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3624 | add_library(http2_client_main |
| 3625 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 3626 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 3627 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 3628 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 3629 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3630 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3631 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3632 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3633 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 3634 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 3635 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 3636 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 3637 | test/cpp/interop/http2_client.cc |
| 3638 | ) |
| 3639 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3640 | if(WIN32 AND MSVC) |
| 3641 | set_target_properties(http2_client_main PROPERTIES COMPILE_PDB_NAME "http2_client_main" |
| 3642 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3643 | ) |
| 3644 | if (gRPC_INSTALL) |
| 3645 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/http2_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3646 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3647 | ) |
| 3648 | endif() |
| 3649 | endif() |
| 3650 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3651 | protobuf_generate_grpc_cpp( |
| 3652 | src/proto/grpc/testing/empty.proto |
| 3653 | ) |
| 3654 | protobuf_generate_grpc_cpp( |
| 3655 | src/proto/grpc/testing/messages.proto |
| 3656 | ) |
| 3657 | protobuf_generate_grpc_cpp( |
| 3658 | src/proto/grpc/testing/test.proto |
| 3659 | ) |
| 3660 | |
| 3661 | target_include_directories(http2_client_main |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3662 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3663 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3664 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3665 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3666 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3667 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3668 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3669 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3670 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3671 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3672 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3673 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3674 | PRIVATE third_party/googletest/googletest/include |
| 3675 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3676 | PRIVATE third_party/googletest/googlemock/include |
| 3677 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3678 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3679 | ) |
| 3680 | |
| 3681 | target_link_libraries(http2_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3682 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3683 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3684 | grpc++_test_util |
| 3685 | grpc_test_util |
| 3686 | grpc++ |
| 3687 | grpc |
| 3688 | grpc++_test_config |
| 3689 | ) |
| 3690 | |
| 3691 | |
| 3692 | endif (gRPC_BUILD_TESTS) |
| 3693 | if (gRPC_BUILD_TESTS) |
| 3694 | |
| 3695 | add_library(interop_client_helper |
| 3696 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3697 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3698 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3699 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3700 | test/cpp/interop/client_helper.cc |
| 3701 | ) |
| 3702 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3703 | if(WIN32 AND MSVC) |
| 3704 | set_target_properties(interop_client_helper PROPERTIES COMPILE_PDB_NAME "interop_client_helper" |
| 3705 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3706 | ) |
| 3707 | if (gRPC_INSTALL) |
| 3708 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3709 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3710 | ) |
| 3711 | endif() |
| 3712 | endif() |
| 3713 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3714 | protobuf_generate_grpc_cpp( |
| 3715 | src/proto/grpc/testing/messages.proto |
| 3716 | ) |
| 3717 | |
| 3718 | target_include_directories(interop_client_helper |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3719 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3720 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3721 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3722 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3723 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3724 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3725 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3726 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3727 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3728 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3729 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3730 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3731 | PRIVATE third_party/googletest/googletest/include |
| 3732 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3733 | PRIVATE third_party/googletest/googlemock/include |
| 3734 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3735 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3736 | ) |
| 3737 | |
| 3738 | target_link_libraries(interop_client_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3739 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3740 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3741 | grpc++_test_util |
| 3742 | grpc_test_util |
| 3743 | grpc++ |
| 3744 | grpc |
| 3745 | gpr |
| 3746 | ) |
| 3747 | |
| 3748 | |
| 3749 | endif (gRPC_BUILD_TESTS) |
| 3750 | if (gRPC_BUILD_TESTS) |
| 3751 | |
| 3752 | add_library(interop_client_main |
| 3753 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 3754 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 3755 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 3756 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 3757 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3758 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3759 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3760 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3761 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 3762 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 3763 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 3764 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 3765 | test/cpp/interop/client.cc |
| 3766 | test/cpp/interop/interop_client.cc |
| 3767 | ) |
| 3768 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3769 | if(WIN32 AND MSVC) |
| 3770 | set_target_properties(interop_client_main PROPERTIES COMPILE_PDB_NAME "interop_client_main" |
| 3771 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3772 | ) |
| 3773 | if (gRPC_INSTALL) |
| 3774 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3775 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3776 | ) |
| 3777 | endif() |
| 3778 | endif() |
| 3779 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3780 | protobuf_generate_grpc_cpp( |
| 3781 | src/proto/grpc/testing/empty.proto |
| 3782 | ) |
| 3783 | protobuf_generate_grpc_cpp( |
| 3784 | src/proto/grpc/testing/messages.proto |
| 3785 | ) |
| 3786 | protobuf_generate_grpc_cpp( |
| 3787 | src/proto/grpc/testing/test.proto |
| 3788 | ) |
| 3789 | |
| 3790 | target_include_directories(interop_client_main |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3791 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3792 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3793 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3794 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3795 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3796 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3797 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3798 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3799 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3800 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3801 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3802 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3803 | PRIVATE third_party/googletest/googletest/include |
| 3804 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3805 | PRIVATE third_party/googletest/googlemock/include |
| 3806 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3807 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3808 | ) |
| 3809 | |
| 3810 | target_link_libraries(interop_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3811 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3812 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3813 | interop_client_helper |
| 3814 | grpc++_test_util |
| 3815 | grpc_test_util |
| 3816 | grpc++ |
| 3817 | grpc |
| 3818 | gpr_test_util |
| 3819 | gpr |
| 3820 | grpc++_test_config |
| 3821 | ) |
| 3822 | |
| 3823 | |
| 3824 | endif (gRPC_BUILD_TESTS) |
| 3825 | if (gRPC_BUILD_TESTS) |
| 3826 | |
| 3827 | add_library(interop_server_helper |
| 3828 | test/cpp/interop/server_helper.cc |
| 3829 | ) |
| 3830 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3831 | if(WIN32 AND MSVC) |
| 3832 | set_target_properties(interop_server_helper PROPERTIES COMPILE_PDB_NAME "interop_server_helper" |
| 3833 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3834 | ) |
| 3835 | if (gRPC_INSTALL) |
| 3836 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3837 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3838 | ) |
| 3839 | endif() |
| 3840 | endif() |
| 3841 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3842 | |
| 3843 | target_include_directories(interop_server_helper |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3844 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3845 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3846 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3847 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3848 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3849 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3850 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3851 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3852 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3853 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3854 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3855 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3856 | PRIVATE third_party/googletest/googletest/include |
| 3857 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3858 | PRIVATE third_party/googletest/googlemock/include |
| 3859 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3860 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3861 | ) |
| 3862 | |
| 3863 | target_link_libraries(interop_server_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3864 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3865 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3866 | grpc++_test_util |
| 3867 | grpc_test_util |
| 3868 | grpc++ |
| 3869 | grpc |
| 3870 | gpr |
| 3871 | ) |
| 3872 | |
| 3873 | |
| 3874 | endif (gRPC_BUILD_TESTS) |
| 3875 | if (gRPC_BUILD_TESTS) |
| 3876 | |
| 3877 | add_library(interop_server_lib |
| 3878 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 3879 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 3880 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 3881 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 3882 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3883 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3884 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3885 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3886 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 3887 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 3888 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 3889 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 3890 | test/cpp/interop/interop_server.cc |
| 3891 | ) |
| 3892 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3893 | if(WIN32 AND MSVC) |
| 3894 | set_target_properties(interop_server_lib PROPERTIES COMPILE_PDB_NAME "interop_server_lib" |
| 3895 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3896 | ) |
| 3897 | if (gRPC_INSTALL) |
| 3898 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_lib.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3899 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3900 | ) |
| 3901 | endif() |
| 3902 | endif() |
| 3903 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3904 | protobuf_generate_grpc_cpp( |
| 3905 | src/proto/grpc/testing/empty.proto |
| 3906 | ) |
| 3907 | protobuf_generate_grpc_cpp( |
| 3908 | src/proto/grpc/testing/messages.proto |
| 3909 | ) |
| 3910 | protobuf_generate_grpc_cpp( |
| 3911 | src/proto/grpc/testing/test.proto |
| 3912 | ) |
| 3913 | |
| 3914 | target_include_directories(interop_server_lib |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3915 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3916 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3917 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3918 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3919 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3920 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3921 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3922 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3923 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3924 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3925 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3926 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3927 | PRIVATE third_party/googletest/googletest/include |
| 3928 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3929 | PRIVATE third_party/googletest/googlemock/include |
| 3930 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3931 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3932 | ) |
| 3933 | |
| 3934 | target_link_libraries(interop_server_lib |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3935 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3936 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3937 | interop_server_helper |
| 3938 | grpc++_test_util |
| 3939 | grpc_test_util |
| 3940 | grpc++ |
| 3941 | grpc |
| 3942 | gpr_test_util |
| 3943 | gpr |
| 3944 | grpc++_test_config |
| 3945 | ) |
| 3946 | |
| 3947 | |
| 3948 | endif (gRPC_BUILD_TESTS) |
| 3949 | if (gRPC_BUILD_TESTS) |
| 3950 | |
| 3951 | add_library(interop_server_main |
| 3952 | test/cpp/interop/interop_server_bootstrap.cc |
| 3953 | ) |
| 3954 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3955 | if(WIN32 AND MSVC) |
| 3956 | set_target_properties(interop_server_main PROPERTIES COMPILE_PDB_NAME "interop_server_main" |
| 3957 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3958 | ) |
| 3959 | if (gRPC_INSTALL) |
| 3960 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3961 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3962 | ) |
| 3963 | endif() |
| 3964 | endif() |
| 3965 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3966 | |
| 3967 | target_include_directories(interop_server_main |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3968 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3969 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3970 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3971 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3972 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3973 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3974 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3975 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3976 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3977 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3978 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3979 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3980 | PRIVATE third_party/googletest/googletest/include |
| 3981 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3982 | PRIVATE third_party/googletest/googlemock/include |
| 3983 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3984 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3985 | ) |
| 3986 | |
| 3987 | target_link_libraries(interop_server_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3988 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3989 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3990 | interop_server_lib |
| 3991 | ) |
| 3992 | |
| 3993 | |
| 3994 | endif (gRPC_BUILD_TESTS) |
| 3995 | if (gRPC_BUILD_TESTS) |
| 3996 | |
| 3997 | add_library(qps |
| 3998 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3999 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4000 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4001 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4002 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 4003 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 4004 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 4005 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 4006 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 4007 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 4008 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 4009 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
| 4010 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 4011 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 4012 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 4013 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 4014 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 4015 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 4016 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 4017 | ${_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] | 4018 | test/cpp/qps/benchmark_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4019 | test/cpp/qps/client_async.cc |
| 4020 | test/cpp/qps/client_sync.cc |
| 4021 | test/cpp/qps/driver.cc |
| 4022 | test/cpp/qps/parse_json.cc |
| 4023 | test/cpp/qps/qps_worker.cc |
| 4024 | test/cpp/qps/report.cc |
| 4025 | test/cpp/qps/server_async.cc |
| 4026 | test/cpp/qps/server_sync.cc |
| 4027 | test/cpp/qps/usage_timer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4028 | ) |
| 4029 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4030 | if(WIN32 AND MSVC) |
| 4031 | set_target_properties(qps PROPERTIES COMPILE_PDB_NAME "qps" |
| 4032 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4033 | ) |
| 4034 | if (gRPC_INSTALL) |
| 4035 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qps.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4036 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4037 | ) |
| 4038 | endif() |
| 4039 | endif() |
| 4040 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4041 | protobuf_generate_grpc_cpp( |
| 4042 | src/proto/grpc/testing/messages.proto |
| 4043 | ) |
| 4044 | protobuf_generate_grpc_cpp( |
| 4045 | src/proto/grpc/testing/payloads.proto |
| 4046 | ) |
| 4047 | protobuf_generate_grpc_cpp( |
| 4048 | src/proto/grpc/testing/stats.proto |
| 4049 | ) |
| 4050 | protobuf_generate_grpc_cpp( |
| 4051 | src/proto/grpc/testing/control.proto |
| 4052 | ) |
| 4053 | protobuf_generate_grpc_cpp( |
| 4054 | src/proto/grpc/testing/services.proto |
| 4055 | ) |
| 4056 | |
| 4057 | target_include_directories(qps |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4058 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4059 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4060 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4061 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4062 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4063 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4064 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4065 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4066 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4067 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4068 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4069 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4070 | PRIVATE third_party/googletest/googletest/include |
| 4071 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4072 | PRIVATE third_party/googletest/googlemock/include |
| 4073 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4074 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4075 | ) |
| 4076 | |
| 4077 | target_link_libraries(qps |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4078 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4079 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4080 | grpc_test_util |
| 4081 | grpc++_test_util |
| 4082 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 4083 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4084 | ) |
| 4085 | |
| 4086 | |
| 4087 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4088 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 4089 | add_library(grpc_csharp_ext SHARED |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4090 | src/csharp/ext/grpc_csharp_ext.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4091 | ) |
| 4092 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4093 | if(WIN32 AND MSVC) |
| 4094 | set_target_properties(grpc_csharp_ext PROPERTIES COMPILE_PDB_NAME "grpc_csharp_ext" |
| 4095 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4096 | ) |
| 4097 | if (gRPC_INSTALL) |
| 4098 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_csharp_ext.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4099 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4100 | ) |
| 4101 | endif() |
| 4102 | endif() |
| 4103 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4104 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4105 | target_include_directories(grpc_csharp_ext |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4106 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4107 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4108 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4109 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4110 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4111 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4112 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4113 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4114 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4115 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4116 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4117 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4118 | ) |
| 4119 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4120 | target_link_libraries(grpc_csharp_ext |
| 4121 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4122 | grpc |
| 4123 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4124 | ) |
| 4125 | |
| 4126 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4127 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4128 | if (gRPC_INSTALL) |
| 4129 | install(TARGETS grpc_csharp_ext EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4130 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4131 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4132 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4133 | ) |
| 4134 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4135 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4136 | if (gRPC_BUILD_TESTS) |
| 4137 | |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4138 | add_library(ares |
Yuchen Zeng | 6694bb0 | 2017-01-23 17:09:51 -0800 | [diff] [blame] | 4139 | third_party/cares/cares/ares__close_sockets.c |
| 4140 | third_party/cares/cares/ares__get_hostent.c |
| 4141 | third_party/cares/cares/ares__read_line.c |
| 4142 | third_party/cares/cares/ares__timeval.c |
| 4143 | third_party/cares/cares/ares_cancel.c |
| 4144 | third_party/cares/cares/ares_create_query.c |
| 4145 | third_party/cares/cares/ares_data.c |
| 4146 | third_party/cares/cares/ares_destroy.c |
| 4147 | third_party/cares/cares/ares_expand_name.c |
| 4148 | third_party/cares/cares/ares_expand_string.c |
| 4149 | third_party/cares/cares/ares_fds.c |
| 4150 | third_party/cares/cares/ares_free_hostent.c |
| 4151 | third_party/cares/cares/ares_free_string.c |
| 4152 | third_party/cares/cares/ares_getenv.c |
| 4153 | third_party/cares/cares/ares_gethostbyaddr.c |
| 4154 | third_party/cares/cares/ares_gethostbyname.c |
| 4155 | third_party/cares/cares/ares_getnameinfo.c |
| 4156 | third_party/cares/cares/ares_getopt.c |
| 4157 | third_party/cares/cares/ares_getsock.c |
| 4158 | third_party/cares/cares/ares_init.c |
| 4159 | third_party/cares/cares/ares_library_init.c |
| 4160 | third_party/cares/cares/ares_llist.c |
| 4161 | third_party/cares/cares/ares_mkquery.c |
| 4162 | third_party/cares/cares/ares_nowarn.c |
| 4163 | third_party/cares/cares/ares_options.c |
| 4164 | third_party/cares/cares/ares_parse_a_reply.c |
| 4165 | third_party/cares/cares/ares_parse_aaaa_reply.c |
| 4166 | third_party/cares/cares/ares_parse_mx_reply.c |
| 4167 | third_party/cares/cares/ares_parse_naptr_reply.c |
| 4168 | third_party/cares/cares/ares_parse_ns_reply.c |
| 4169 | third_party/cares/cares/ares_parse_ptr_reply.c |
| 4170 | third_party/cares/cares/ares_parse_soa_reply.c |
| 4171 | third_party/cares/cares/ares_parse_srv_reply.c |
| 4172 | third_party/cares/cares/ares_parse_txt_reply.c |
| 4173 | third_party/cares/cares/ares_platform.c |
| 4174 | third_party/cares/cares/ares_process.c |
| 4175 | third_party/cares/cares/ares_query.c |
| 4176 | third_party/cares/cares/ares_search.c |
| 4177 | third_party/cares/cares/ares_send.c |
| 4178 | third_party/cares/cares/ares_strcasecmp.c |
| 4179 | third_party/cares/cares/ares_strdup.c |
| 4180 | third_party/cares/cares/ares_strerror.c |
| 4181 | third_party/cares/cares/ares_timeout.c |
| 4182 | third_party/cares/cares/ares_version.c |
| 4183 | third_party/cares/cares/ares_writev.c |
| 4184 | third_party/cares/cares/bitncmp.c |
| 4185 | third_party/cares/cares/inet_net_pton.c |
| 4186 | third_party/cares/cares/inet_ntop.c |
| 4187 | third_party/cares/cares/windows_port.c |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4188 | ) |
| 4189 | |
Yuchen Zeng | 2c97708 | 2017-02-27 13:35:41 -0800 | [diff] [blame] | 4190 | if(WIN32 AND MSVC) |
| 4191 | set_target_properties(ares PROPERTIES COMPILE_PDB_NAME "ares" |
| 4192 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4193 | ) |
| 4194 | if (gRPC_INSTALL) |
| 4195 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ares.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4196 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Yuchen Zeng | 2c97708 | 2017-02-27 13:35:41 -0800 | [diff] [blame] | 4197 | ) |
| 4198 | endif() |
| 4199 | endif() |
| 4200 | |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4201 | |
| 4202 | target_include_directories(ares |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4203 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4204 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4205 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4206 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4207 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Yuchen Zeng | 1492f6c | 2017-02-02 12:42:54 -0800 | [diff] [blame] | 4208 | PRIVATE ${BENCHMARK}/include |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4209 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4210 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4211 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4212 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4213 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4214 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4215 | ) |
| 4216 | |
| 4217 | target_link_libraries(ares |
| 4218 | ${_gRPC_SSL_LIBRARIES} |
Yuchen Zeng | 1492f6c | 2017-02-02 12:42:54 -0800 | [diff] [blame] | 4219 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4220 | ) |
| 4221 | |
| 4222 | |
| 4223 | endif (gRPC_BUILD_TESTS) |
| 4224 | if (gRPC_BUILD_TESTS) |
| 4225 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4226 | add_library(bad_client_test |
| 4227 | test/core/bad_client/bad_client.c |
| 4228 | ) |
| 4229 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4230 | if(WIN32 AND MSVC) |
| 4231 | set_target_properties(bad_client_test PROPERTIES COMPILE_PDB_NAME "bad_client_test" |
| 4232 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4233 | ) |
| 4234 | if (gRPC_INSTALL) |
| 4235 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_client_test.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4236 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4237 | ) |
| 4238 | endif() |
| 4239 | endif() |
| 4240 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4241 | |
| 4242 | target_include_directories(bad_client_test |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4243 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4244 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4245 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4246 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4247 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4248 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4249 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4250 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4251 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4252 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4253 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4254 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4255 | ) |
| 4256 | |
| 4257 | target_link_libraries(bad_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4258 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4259 | grpc_test_util_unsecure |
| 4260 | grpc_unsecure |
| 4261 | gpr_test_util |
| 4262 | gpr |
| 4263 | ) |
| 4264 | |
| 4265 | |
| 4266 | endif (gRPC_BUILD_TESTS) |
| 4267 | if (gRPC_BUILD_TESTS) |
| 4268 | |
| 4269 | add_library(bad_ssl_test_server |
| 4270 | test/core/bad_ssl/server_common.c |
| 4271 | ) |
| 4272 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4273 | if(WIN32 AND MSVC) |
| 4274 | set_target_properties(bad_ssl_test_server PROPERTIES COMPILE_PDB_NAME "bad_ssl_test_server" |
| 4275 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4276 | ) |
| 4277 | if (gRPC_INSTALL) |
| 4278 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_ssl_test_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4279 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4280 | ) |
| 4281 | endif() |
| 4282 | endif() |
| 4283 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4284 | |
| 4285 | target_include_directories(bad_ssl_test_server |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4286 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4287 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4288 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4289 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4290 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4291 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4292 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4293 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4294 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4295 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4296 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4297 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4298 | ) |
| 4299 | |
| 4300 | target_link_libraries(bad_ssl_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4301 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4302 | grpc_test_util |
| 4303 | grpc |
| 4304 | gpr_test_util |
| 4305 | gpr |
| 4306 | ) |
| 4307 | |
| 4308 | |
| 4309 | endif (gRPC_BUILD_TESTS) |
| 4310 | if (gRPC_BUILD_TESTS) |
| 4311 | |
| 4312 | add_library(end2end_tests |
| 4313 | test/core/end2end/end2end_tests.c |
| 4314 | test/core/end2end/end2end_test_utils.c |
| 4315 | test/core/end2end/tests/authority_not_supported.c |
| 4316 | test/core/end2end/tests/bad_hostname.c |
Yuchen Zeng | af5c505 | 2017-02-28 16:24:00 -0800 | [diff] [blame] | 4317 | test/core/end2end/tests/bad_ping.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4318 | test/core/end2end/tests/binary_metadata.c |
| 4319 | test/core/end2end/tests/call_creds.c |
| 4320 | test/core/end2end/tests/cancel_after_accept.c |
| 4321 | test/core/end2end/tests/cancel_after_client_done.c |
| 4322 | test/core/end2end/tests/cancel_after_invoke.c |
Muxi Yan | d19c112 | 2017-06-23 17:00:20 -0700 | [diff] [blame] | 4323 | test/core/end2end/tests/cancel_after_round_trip.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4324 | test/core/end2end/tests/cancel_before_invoke.c |
| 4325 | test/core/end2end/tests/cancel_in_a_vacuum.c |
| 4326 | test/core/end2end/tests/cancel_with_status.c |
| 4327 | test/core/end2end/tests/compressed_payload.c |
| 4328 | test/core/end2end/tests/connectivity.c |
| 4329 | test/core/end2end/tests/default_host.c |
| 4330 | test/core/end2end/tests/disappearing_server.c |
| 4331 | test/core/end2end/tests/empty_batch.c |
| 4332 | test/core/end2end/tests/filter_call_init_fails.c |
| 4333 | test/core/end2end/tests/filter_causes_close.c |
| 4334 | test/core/end2end/tests/filter_latency.c |
| 4335 | test/core/end2end/tests/graceful_server_shutdown.c |
| 4336 | test/core/end2end/tests/high_initial_seqno.c |
| 4337 | test/core/end2end/tests/hpack_size.c |
| 4338 | test/core/end2end/tests/idempotent_request.c |
| 4339 | test/core/end2end/tests/invoke_large_request.c |
Yuchen Zeng | 990d9fe | 2017-02-26 16:54:18 -0800 | [diff] [blame] | 4340 | test/core/end2end/tests/keepalive_timeout.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4341 | test/core/end2end/tests/large_metadata.c |
| 4342 | test/core/end2end/tests/load_reporting_hook.c |
| 4343 | test/core/end2end/tests/max_concurrent_streams.c |
Yuchen Zeng | 22321fc | 2017-03-28 19:10:09 -0700 | [diff] [blame] | 4344 | test/core/end2end/tests/max_connection_age.c |
Yuchen Zeng | b2caafc | 2017-03-29 01:54:08 -0700 | [diff] [blame] | 4345 | test/core/end2end/tests/max_connection_idle.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4346 | test/core/end2end/tests/max_message_length.c |
| 4347 | test/core/end2end/tests/negative_deadline.c |
| 4348 | test/core/end2end/tests/network_status_change.c |
| 4349 | test/core/end2end/tests/no_logging.c |
| 4350 | test/core/end2end/tests/no_op.c |
| 4351 | test/core/end2end/tests/payload.c |
| 4352 | test/core/end2end/tests/ping.c |
| 4353 | test/core/end2end/tests/ping_pong_streaming.c |
| 4354 | test/core/end2end/tests/registered_call.c |
| 4355 | test/core/end2end/tests/request_with_flags.c |
| 4356 | test/core/end2end/tests/request_with_payload.c |
| 4357 | test/core/end2end/tests/resource_quota_server.c |
| 4358 | test/core/end2end/tests/server_finishes_request.c |
| 4359 | test/core/end2end/tests/shutdown_finishes_calls.c |
| 4360 | test/core/end2end/tests/shutdown_finishes_tags.c |
| 4361 | test/core/end2end/tests/simple_cacheable_request.c |
| 4362 | test/core/end2end/tests/simple_delayed_request.c |
| 4363 | test/core/end2end/tests/simple_metadata.c |
| 4364 | test/core/end2end/tests/simple_request.c |
| 4365 | test/core/end2end/tests/streaming_error_response.c |
| 4366 | test/core/end2end/tests/trailing_metadata.c |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 4367 | test/core/end2end/tests/workaround_cronet_compression.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4368 | test/core/end2end/tests/write_buffering.c |
| 4369 | test/core/end2end/tests/write_buffering_at_end.c |
| 4370 | ) |
| 4371 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4372 | if(WIN32 AND MSVC) |
| 4373 | set_target_properties(end2end_tests PROPERTIES COMPILE_PDB_NAME "end2end_tests" |
| 4374 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4375 | ) |
| 4376 | if (gRPC_INSTALL) |
| 4377 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4378 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4379 | ) |
| 4380 | endif() |
| 4381 | endif() |
| 4382 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4383 | |
| 4384 | target_include_directories(end2end_tests |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4385 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4386 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4387 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4388 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4389 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4390 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4391 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4392 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4393 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4394 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4395 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4396 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4397 | ) |
| 4398 | |
| 4399 | target_link_libraries(end2end_tests |
| 4400 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4401 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4402 | grpc_test_util |
| 4403 | grpc |
| 4404 | gpr_test_util |
| 4405 | gpr |
| 4406 | ) |
| 4407 | |
| 4408 | |
| 4409 | endif (gRPC_BUILD_TESTS) |
| 4410 | if (gRPC_BUILD_TESTS) |
| 4411 | |
| 4412 | add_library(end2end_nosec_tests |
| 4413 | test/core/end2end/end2end_nosec_tests.c |
| 4414 | test/core/end2end/end2end_test_utils.c |
| 4415 | test/core/end2end/tests/authority_not_supported.c |
| 4416 | test/core/end2end/tests/bad_hostname.c |
Yuchen Zeng | af5c505 | 2017-02-28 16:24:00 -0800 | [diff] [blame] | 4417 | test/core/end2end/tests/bad_ping.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4418 | test/core/end2end/tests/binary_metadata.c |
| 4419 | test/core/end2end/tests/cancel_after_accept.c |
| 4420 | test/core/end2end/tests/cancel_after_client_done.c |
| 4421 | test/core/end2end/tests/cancel_after_invoke.c |
Muxi Yan | d19c112 | 2017-06-23 17:00:20 -0700 | [diff] [blame] | 4422 | test/core/end2end/tests/cancel_after_round_trip.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4423 | test/core/end2end/tests/cancel_before_invoke.c |
| 4424 | test/core/end2end/tests/cancel_in_a_vacuum.c |
| 4425 | test/core/end2end/tests/cancel_with_status.c |
| 4426 | test/core/end2end/tests/compressed_payload.c |
| 4427 | test/core/end2end/tests/connectivity.c |
| 4428 | test/core/end2end/tests/default_host.c |
| 4429 | test/core/end2end/tests/disappearing_server.c |
| 4430 | test/core/end2end/tests/empty_batch.c |
| 4431 | test/core/end2end/tests/filter_call_init_fails.c |
| 4432 | test/core/end2end/tests/filter_causes_close.c |
| 4433 | test/core/end2end/tests/filter_latency.c |
| 4434 | test/core/end2end/tests/graceful_server_shutdown.c |
| 4435 | test/core/end2end/tests/high_initial_seqno.c |
| 4436 | test/core/end2end/tests/hpack_size.c |
| 4437 | test/core/end2end/tests/idempotent_request.c |
| 4438 | test/core/end2end/tests/invoke_large_request.c |
Yuchen Zeng | 990d9fe | 2017-02-26 16:54:18 -0800 | [diff] [blame] | 4439 | test/core/end2end/tests/keepalive_timeout.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4440 | test/core/end2end/tests/large_metadata.c |
| 4441 | test/core/end2end/tests/load_reporting_hook.c |
| 4442 | test/core/end2end/tests/max_concurrent_streams.c |
Yuchen Zeng | 22321fc | 2017-03-28 19:10:09 -0700 | [diff] [blame] | 4443 | test/core/end2end/tests/max_connection_age.c |
Yuchen Zeng | b2caafc | 2017-03-29 01:54:08 -0700 | [diff] [blame] | 4444 | test/core/end2end/tests/max_connection_idle.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4445 | test/core/end2end/tests/max_message_length.c |
| 4446 | test/core/end2end/tests/negative_deadline.c |
| 4447 | test/core/end2end/tests/network_status_change.c |
| 4448 | test/core/end2end/tests/no_logging.c |
| 4449 | test/core/end2end/tests/no_op.c |
| 4450 | test/core/end2end/tests/payload.c |
| 4451 | test/core/end2end/tests/ping.c |
| 4452 | test/core/end2end/tests/ping_pong_streaming.c |
| 4453 | test/core/end2end/tests/registered_call.c |
| 4454 | test/core/end2end/tests/request_with_flags.c |
| 4455 | test/core/end2end/tests/request_with_payload.c |
| 4456 | test/core/end2end/tests/resource_quota_server.c |
| 4457 | test/core/end2end/tests/server_finishes_request.c |
| 4458 | test/core/end2end/tests/shutdown_finishes_calls.c |
| 4459 | test/core/end2end/tests/shutdown_finishes_tags.c |
| 4460 | test/core/end2end/tests/simple_cacheable_request.c |
| 4461 | test/core/end2end/tests/simple_delayed_request.c |
| 4462 | test/core/end2end/tests/simple_metadata.c |
| 4463 | test/core/end2end/tests/simple_request.c |
| 4464 | test/core/end2end/tests/streaming_error_response.c |
| 4465 | test/core/end2end/tests/trailing_metadata.c |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 4466 | test/core/end2end/tests/workaround_cronet_compression.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4467 | test/core/end2end/tests/write_buffering.c |
| 4468 | test/core/end2end/tests/write_buffering_at_end.c |
| 4469 | ) |
| 4470 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4471 | if(WIN32 AND MSVC) |
| 4472 | set_target_properties(end2end_nosec_tests PROPERTIES COMPILE_PDB_NAME "end2end_nosec_tests" |
| 4473 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4474 | ) |
| 4475 | if (gRPC_INSTALL) |
| 4476 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_nosec_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4477 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4478 | ) |
| 4479 | endif() |
| 4480 | endif() |
| 4481 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4482 | |
| 4483 | target_include_directories(end2end_nosec_tests |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4484 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4485 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4486 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4487 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4488 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4489 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4490 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4491 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4492 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4493 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4494 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4495 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4496 | ) |
| 4497 | |
| 4498 | target_link_libraries(end2end_nosec_tests |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4499 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4500 | grpc_test_util_unsecure |
| 4501 | grpc_unsecure |
| 4502 | gpr_test_util |
| 4503 | gpr |
| 4504 | ) |
| 4505 | |
| 4506 | |
| 4507 | endif (gRPC_BUILD_TESTS) |
| 4508 | |
| 4509 | if (gRPC_BUILD_TESTS) |
| 4510 | |
| 4511 | add_executable(alarm_test |
| 4512 | test/core/surface/alarm_test.c |
| 4513 | ) |
| 4514 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4515 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4516 | target_include_directories(alarm_test |
| 4517 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4518 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4519 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4520 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4521 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4522 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4523 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4524 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4525 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4526 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4527 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4528 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4529 | ) |
| 4530 | |
| 4531 | target_link_libraries(alarm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4532 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4533 | grpc_test_util |
| 4534 | grpc |
| 4535 | gpr_test_util |
| 4536 | gpr |
| 4537 | ) |
| 4538 | |
| 4539 | endif (gRPC_BUILD_TESTS) |
| 4540 | if (gRPC_BUILD_TESTS) |
| 4541 | |
| 4542 | add_executable(algorithm_test |
| 4543 | test/core/compression/algorithm_test.c |
| 4544 | ) |
| 4545 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4546 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4547 | target_include_directories(algorithm_test |
| 4548 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4549 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4550 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4551 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4552 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4553 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4554 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4555 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4556 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4557 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4558 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4559 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4560 | ) |
| 4561 | |
| 4562 | target_link_libraries(algorithm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4563 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4564 | grpc_test_util |
| 4565 | grpc |
| 4566 | gpr_test_util |
| 4567 | gpr |
| 4568 | ) |
| 4569 | |
| 4570 | endif (gRPC_BUILD_TESTS) |
| 4571 | if (gRPC_BUILD_TESTS) |
| 4572 | |
| 4573 | add_executable(alloc_test |
| 4574 | test/core/support/alloc_test.c |
| 4575 | ) |
| 4576 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4577 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4578 | target_include_directories(alloc_test |
| 4579 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4580 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4581 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4582 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4583 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4584 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4585 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4586 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4587 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4588 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4589 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4590 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4591 | ) |
| 4592 | |
| 4593 | target_link_libraries(alloc_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4594 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4595 | gpr_test_util |
| 4596 | gpr |
| 4597 | ) |
| 4598 | |
| 4599 | endif (gRPC_BUILD_TESTS) |
| 4600 | if (gRPC_BUILD_TESTS) |
| 4601 | |
| 4602 | add_executable(alpn_test |
| 4603 | test/core/transport/chttp2/alpn_test.c |
| 4604 | ) |
| 4605 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4606 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4607 | target_include_directories(alpn_test |
| 4608 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4609 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4610 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4611 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4612 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4613 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4614 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4615 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4616 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4617 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4618 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4619 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4620 | ) |
| 4621 | |
| 4622 | target_link_libraries(alpn_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4623 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4624 | grpc_test_util |
| 4625 | grpc |
| 4626 | gpr_test_util |
| 4627 | gpr |
| 4628 | ) |
| 4629 | |
| 4630 | endif (gRPC_BUILD_TESTS) |
| 4631 | if (gRPC_BUILD_TESTS) |
| 4632 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4633 | add_executable(arena_test |
| 4634 | test/core/support/arena_test.c |
| 4635 | ) |
| 4636 | |
| 4637 | |
| 4638 | target_include_directories(arena_test |
| 4639 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4640 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4641 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4642 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4643 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 4644 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4645 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4646 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4647 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4648 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4649 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4650 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4651 | ) |
| 4652 | |
| 4653 | target_link_libraries(arena_test |
| 4654 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4655 | gpr_test_util |
| 4656 | gpr |
| 4657 | ) |
| 4658 | |
| 4659 | endif (gRPC_BUILD_TESTS) |
| 4660 | if (gRPC_BUILD_TESTS) |
| 4661 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4662 | add_executable(bad_server_response_test |
| 4663 | test/core/end2end/bad_server_response_test.c |
| 4664 | ) |
| 4665 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4666 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4667 | target_include_directories(bad_server_response_test |
| 4668 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4669 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4670 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4671 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4672 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4673 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4674 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4675 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4676 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4677 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4678 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4679 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4680 | ) |
| 4681 | |
| 4682 | target_link_libraries(bad_server_response_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4683 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4684 | test_tcp_server |
| 4685 | grpc_test_util |
| 4686 | grpc |
| 4687 | gpr_test_util |
| 4688 | gpr |
| 4689 | ) |
| 4690 | |
| 4691 | endif (gRPC_BUILD_TESTS) |
| 4692 | if (gRPC_BUILD_TESTS) |
| 4693 | |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 4694 | add_executable(bdp_estimator_test |
| 4695 | test/core/transport/bdp_estimator_test.c |
| 4696 | ) |
| 4697 | |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 4698 | |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 4699 | target_include_directories(bdp_estimator_test |
| 4700 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4701 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4702 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4703 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 4704 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 4705 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4706 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4707 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4708 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4709 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4710 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 4711 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4712 | ) |
| 4713 | |
| 4714 | target_link_libraries(bdp_estimator_test |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 4715 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 4716 | grpc_test_util |
| 4717 | grpc |
| 4718 | gpr_test_util |
| 4719 | gpr |
| 4720 | ) |
| 4721 | |
| 4722 | endif (gRPC_BUILD_TESTS) |
| 4723 | if (gRPC_BUILD_TESTS) |
| 4724 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4725 | add_executable(bin_decoder_test |
| 4726 | test/core/transport/chttp2/bin_decoder_test.c |
| 4727 | ) |
| 4728 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4729 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4730 | target_include_directories(bin_decoder_test |
| 4731 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4732 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4733 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4734 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4735 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4736 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4737 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4738 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4739 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4740 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4741 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4742 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4743 | ) |
| 4744 | |
| 4745 | target_link_libraries(bin_decoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4746 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4747 | grpc_test_util |
| 4748 | grpc |
| 4749 | ) |
| 4750 | |
| 4751 | endif (gRPC_BUILD_TESTS) |
| 4752 | if (gRPC_BUILD_TESTS) |
| 4753 | |
| 4754 | add_executable(bin_encoder_test |
| 4755 | test/core/transport/chttp2/bin_encoder_test.c |
| 4756 | ) |
| 4757 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4758 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4759 | target_include_directories(bin_encoder_test |
| 4760 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4761 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4762 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4763 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4764 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4765 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4766 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4767 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4768 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4769 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4770 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4771 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4772 | ) |
| 4773 | |
| 4774 | target_link_libraries(bin_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4775 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4776 | grpc_test_util |
| 4777 | grpc |
| 4778 | ) |
| 4779 | |
| 4780 | endif (gRPC_BUILD_TESTS) |
| 4781 | if (gRPC_BUILD_TESTS) |
| 4782 | |
| 4783 | add_executable(census_context_test |
| 4784 | test/core/census/context_test.c |
| 4785 | ) |
| 4786 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4787 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4788 | target_include_directories(census_context_test |
| 4789 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4790 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4791 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4792 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4793 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4794 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4795 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4796 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4797 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4798 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4799 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4800 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4801 | ) |
| 4802 | |
| 4803 | target_link_libraries(census_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4804 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4805 | grpc_test_util |
| 4806 | grpc |
| 4807 | gpr_test_util |
| 4808 | gpr |
| 4809 | ) |
| 4810 | |
| 4811 | endif (gRPC_BUILD_TESTS) |
| 4812 | if (gRPC_BUILD_TESTS) |
| 4813 | |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 4814 | add_executable(census_intrusive_hash_map_test |
| 4815 | test/core/census/intrusive_hash_map_test.c |
| 4816 | ) |
| 4817 | |
| 4818 | |
| 4819 | target_include_directories(census_intrusive_hash_map_test |
| 4820 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4821 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4822 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4823 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4824 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 4825 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4826 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4827 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 4828 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4829 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4830 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 4831 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4832 | ) |
| 4833 | |
| 4834 | target_link_libraries(census_intrusive_hash_map_test |
| 4835 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4836 | grpc_test_util |
| 4837 | grpc |
| 4838 | gpr_test_util |
| 4839 | gpr |
| 4840 | ) |
| 4841 | |
| 4842 | endif (gRPC_BUILD_TESTS) |
| 4843 | if (gRPC_BUILD_TESTS) |
| 4844 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4845 | add_executable(census_resource_test |
| 4846 | test/core/census/resource_test.c |
| 4847 | ) |
| 4848 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4849 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4850 | target_include_directories(census_resource_test |
| 4851 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4852 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4853 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4854 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4855 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4856 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4857 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4858 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4859 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4860 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4861 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4862 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4863 | ) |
| 4864 | |
| 4865 | target_link_libraries(census_resource_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4866 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4867 | grpc_test_util |
| 4868 | grpc |
| 4869 | gpr_test_util |
| 4870 | gpr |
| 4871 | ) |
| 4872 | |
| 4873 | endif (gRPC_BUILD_TESTS) |
| 4874 | if (gRPC_BUILD_TESTS) |
| 4875 | |
| 4876 | add_executable(census_trace_context_test |
| 4877 | test/core/census/trace_context_test.c |
| 4878 | ) |
| 4879 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4880 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4881 | target_include_directories(census_trace_context_test |
| 4882 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4883 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4884 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4885 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4886 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4887 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4888 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4889 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4890 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4891 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4892 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4893 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4894 | ) |
| 4895 | |
| 4896 | target_link_libraries(census_trace_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4897 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4898 | grpc_test_util |
| 4899 | grpc |
| 4900 | gpr_test_util |
| 4901 | gpr |
| 4902 | ) |
| 4903 | |
| 4904 | endif (gRPC_BUILD_TESTS) |
| 4905 | if (gRPC_BUILD_TESTS) |
| 4906 | |
| 4907 | add_executable(channel_create_test |
| 4908 | test/core/surface/channel_create_test.c |
| 4909 | ) |
| 4910 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4911 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4912 | target_include_directories(channel_create_test |
| 4913 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4914 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4915 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4916 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4917 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4918 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4919 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4920 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4921 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4922 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4923 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4924 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4925 | ) |
| 4926 | |
| 4927 | target_link_libraries(channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4928 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4929 | grpc_test_util |
| 4930 | grpc |
| 4931 | gpr_test_util |
| 4932 | gpr |
| 4933 | ) |
| 4934 | |
| 4935 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 4936 | |
| 4937 | add_executable(check_epollexclusive |
| 4938 | test/build/check_epollexclusive.c |
| 4939 | ) |
| 4940 | |
| 4941 | |
| 4942 | target_include_directories(check_epollexclusive |
| 4943 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4944 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4945 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4946 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4947 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 4948 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4949 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4950 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 4951 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4952 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4953 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 4954 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4955 | ) |
| 4956 | |
| 4957 | target_link_libraries(check_epollexclusive |
| 4958 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4959 | grpc |
| 4960 | gpr |
| 4961 | ) |
| 4962 | |
| 4963 | |
| 4964 | if (gRPC_INSTALL) |
| 4965 | install(TARGETS check_epollexclusive EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4966 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4967 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4968 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 4969 | ) |
| 4970 | endif() |
| 4971 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4972 | if (gRPC_BUILD_TESTS) |
| 4973 | |
| 4974 | add_executable(chttp2_hpack_encoder_test |
| 4975 | test/core/transport/chttp2/hpack_encoder_test.c |
| 4976 | ) |
| 4977 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4978 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4979 | target_include_directories(chttp2_hpack_encoder_test |
| 4980 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4981 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4982 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4983 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4984 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4985 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4986 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4987 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4988 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4989 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4990 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4991 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4992 | ) |
| 4993 | |
| 4994 | target_link_libraries(chttp2_hpack_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4995 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4996 | grpc_test_util |
| 4997 | grpc |
| 4998 | gpr_test_util |
| 4999 | gpr |
| 5000 | ) |
| 5001 | |
| 5002 | endif (gRPC_BUILD_TESTS) |
| 5003 | if (gRPC_BUILD_TESTS) |
| 5004 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5005 | add_executable(chttp2_stream_map_test |
| 5006 | test/core/transport/chttp2/stream_map_test.c |
| 5007 | ) |
| 5008 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5009 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5010 | target_include_directories(chttp2_stream_map_test |
| 5011 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5012 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5013 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5014 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5015 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5016 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5017 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5018 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5019 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5020 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5021 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5022 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5023 | ) |
| 5024 | |
| 5025 | target_link_libraries(chttp2_stream_map_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5026 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5027 | grpc_test_util |
| 5028 | grpc |
| 5029 | gpr_test_util |
| 5030 | gpr |
| 5031 | ) |
| 5032 | |
| 5033 | endif (gRPC_BUILD_TESTS) |
| 5034 | if (gRPC_BUILD_TESTS) |
| 5035 | |
| 5036 | add_executable(chttp2_varint_test |
| 5037 | test/core/transport/chttp2/varint_test.c |
| 5038 | ) |
| 5039 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5040 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5041 | target_include_directories(chttp2_varint_test |
| 5042 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5043 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5044 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5045 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5046 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5047 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5048 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5049 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5050 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5051 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5052 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5053 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5054 | ) |
| 5055 | |
| 5056 | target_link_libraries(chttp2_varint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5057 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5058 | grpc_test_util |
| 5059 | grpc |
| 5060 | gpr_test_util |
| 5061 | gpr |
| 5062 | ) |
| 5063 | |
| 5064 | endif (gRPC_BUILD_TESTS) |
| 5065 | if (gRPC_BUILD_TESTS) |
| 5066 | |
| 5067 | add_executable(combiner_test |
| 5068 | test/core/iomgr/combiner_test.c |
| 5069 | ) |
| 5070 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5071 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5072 | target_include_directories(combiner_test |
| 5073 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5074 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5075 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5076 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5077 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5078 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5079 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5080 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5081 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5082 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5083 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5084 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5085 | ) |
| 5086 | |
| 5087 | target_link_libraries(combiner_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5088 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5089 | grpc_test_util |
| 5090 | grpc |
| 5091 | gpr_test_util |
| 5092 | gpr |
| 5093 | ) |
| 5094 | |
| 5095 | endif (gRPC_BUILD_TESTS) |
| 5096 | if (gRPC_BUILD_TESTS) |
| 5097 | |
| 5098 | add_executable(compression_test |
| 5099 | test/core/compression/compression_test.c |
| 5100 | ) |
| 5101 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5102 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5103 | target_include_directories(compression_test |
| 5104 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5105 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5106 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5107 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5108 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5109 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5110 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5111 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5112 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5113 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5114 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5115 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5116 | ) |
| 5117 | |
| 5118 | target_link_libraries(compression_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5119 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5120 | grpc_test_util |
| 5121 | grpc |
| 5122 | gpr_test_util |
| 5123 | gpr |
| 5124 | ) |
| 5125 | |
| 5126 | endif (gRPC_BUILD_TESTS) |
| 5127 | if (gRPC_BUILD_TESTS) |
| 5128 | |
| 5129 | add_executable(concurrent_connectivity_test |
| 5130 | test/core/surface/concurrent_connectivity_test.c |
| 5131 | ) |
| 5132 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5133 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5134 | target_include_directories(concurrent_connectivity_test |
| 5135 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5136 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5137 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5138 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5139 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5140 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5141 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5142 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5143 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5144 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5145 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5146 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5147 | ) |
| 5148 | |
| 5149 | target_link_libraries(concurrent_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5150 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5151 | grpc_test_util |
| 5152 | grpc |
| 5153 | gpr_test_util |
| 5154 | gpr |
| 5155 | ) |
| 5156 | |
| 5157 | endif (gRPC_BUILD_TESTS) |
| 5158 | if (gRPC_BUILD_TESTS) |
| 5159 | |
| 5160 | add_executable(connection_refused_test |
| 5161 | test/core/end2end/connection_refused_test.c |
| 5162 | ) |
| 5163 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5164 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5165 | target_include_directories(connection_refused_test |
| 5166 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5167 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5168 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5169 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5170 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5171 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5172 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5173 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5174 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5175 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5176 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5177 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5178 | ) |
| 5179 | |
| 5180 | target_link_libraries(connection_refused_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5181 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5182 | grpc_test_util |
| 5183 | grpc |
| 5184 | gpr_test_util |
| 5185 | gpr |
| 5186 | ) |
| 5187 | |
| 5188 | endif (gRPC_BUILD_TESTS) |
| 5189 | if (gRPC_BUILD_TESTS) |
| 5190 | |
| 5191 | add_executable(dns_resolver_connectivity_test |
| 5192 | test/core/client_channel/resolvers/dns_resolver_connectivity_test.c |
| 5193 | ) |
| 5194 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5195 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5196 | target_include_directories(dns_resolver_connectivity_test |
| 5197 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5198 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5199 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5200 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5201 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5202 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5203 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5204 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5205 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5206 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5207 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5208 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5209 | ) |
| 5210 | |
| 5211 | target_link_libraries(dns_resolver_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5212 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5213 | grpc_test_util |
| 5214 | grpc |
| 5215 | gpr_test_util |
| 5216 | gpr |
| 5217 | ) |
| 5218 | |
| 5219 | endif (gRPC_BUILD_TESTS) |
| 5220 | if (gRPC_BUILD_TESTS) |
| 5221 | |
| 5222 | add_executable(dns_resolver_test |
| 5223 | test/core/client_channel/resolvers/dns_resolver_test.c |
| 5224 | ) |
| 5225 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5226 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5227 | target_include_directories(dns_resolver_test |
| 5228 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5229 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5230 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5231 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5232 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5233 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5234 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5235 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5236 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5237 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5238 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5239 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5240 | ) |
| 5241 | |
| 5242 | target_link_libraries(dns_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5243 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5244 | grpc_test_util |
| 5245 | grpc |
| 5246 | gpr_test_util |
| 5247 | gpr |
| 5248 | ) |
| 5249 | |
| 5250 | endif (gRPC_BUILD_TESTS) |
| 5251 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5252 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5253 | |
| 5254 | add_executable(dualstack_socket_test |
| 5255 | test/core/end2end/dualstack_socket_test.c |
| 5256 | ) |
| 5257 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5258 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5259 | target_include_directories(dualstack_socket_test |
| 5260 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5261 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5262 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5263 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5264 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5265 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5266 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5267 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5268 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5269 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5270 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5271 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5272 | ) |
| 5273 | |
| 5274 | target_link_libraries(dualstack_socket_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5275 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5276 | grpc_test_util |
| 5277 | grpc |
| 5278 | gpr_test_util |
| 5279 | gpr |
| 5280 | ) |
| 5281 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5282 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5283 | endif (gRPC_BUILD_TESTS) |
| 5284 | if (gRPC_BUILD_TESTS) |
| 5285 | |
| 5286 | add_executable(endpoint_pair_test |
| 5287 | test/core/iomgr/endpoint_pair_test.c |
| 5288 | ) |
| 5289 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5290 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5291 | target_include_directories(endpoint_pair_test |
| 5292 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5293 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5294 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5295 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5296 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5297 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5298 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5299 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5300 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5301 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5302 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5303 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5304 | ) |
| 5305 | |
| 5306 | target_link_libraries(endpoint_pair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5307 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5308 | grpc_test_util |
| 5309 | grpc |
| 5310 | gpr_test_util |
| 5311 | gpr |
| 5312 | ) |
| 5313 | |
| 5314 | endif (gRPC_BUILD_TESTS) |
| 5315 | if (gRPC_BUILD_TESTS) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5316 | |
| 5317 | add_executable(error_test |
| 5318 | test/core/iomgr/error_test.c |
| 5319 | ) |
| 5320 | |
| 5321 | |
| 5322 | target_include_directories(error_test |
| 5323 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5324 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5325 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5326 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5327 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5328 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5329 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5330 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5331 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5332 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5333 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5334 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5335 | ) |
| 5336 | |
| 5337 | target_link_libraries(error_test |
| 5338 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5339 | grpc_test_util |
| 5340 | grpc |
| 5341 | gpr_test_util |
| 5342 | gpr |
| 5343 | ) |
| 5344 | |
| 5345 | endif (gRPC_BUILD_TESTS) |
| 5346 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5347 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5348 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5349 | add_executable(ev_epollsig_linux_test |
| 5350 | test/core/iomgr/ev_epollsig_linux_test.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5351 | ) |
| 5352 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5353 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5354 | target_include_directories(ev_epollsig_linux_test |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5355 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5356 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5357 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5358 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5359 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5360 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5361 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5362 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5363 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5364 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5365 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5366 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5367 | ) |
| 5368 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5369 | target_link_libraries(ev_epollsig_linux_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5370 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5371 | grpc_test_util |
| 5372 | grpc |
| 5373 | gpr_test_util |
| 5374 | gpr |
| 5375 | ) |
| 5376 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5377 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5378 | endif (gRPC_BUILD_TESTS) |
| 5379 | if (gRPC_BUILD_TESTS) |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5380 | |
| 5381 | add_executable(fake_resolver_test |
| 5382 | test/core/client_channel/resolvers/fake_resolver_test.c |
| 5383 | ) |
| 5384 | |
| 5385 | |
| 5386 | target_include_directories(fake_resolver_test |
| 5387 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5388 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5389 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5390 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5391 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5392 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5393 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5394 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 5395 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5396 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5397 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5398 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5399 | ) |
| 5400 | |
| 5401 | target_link_libraries(fake_resolver_test |
| 5402 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5403 | grpc_test_util |
| 5404 | grpc |
| 5405 | gpr_test_util |
| 5406 | gpr |
| 5407 | ) |
| 5408 | |
| 5409 | endif (gRPC_BUILD_TESTS) |
| 5410 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5411 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5412 | |
| 5413 | add_executable(fd_conservation_posix_test |
| 5414 | test/core/iomgr/fd_conservation_posix_test.c |
| 5415 | ) |
| 5416 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5417 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5418 | target_include_directories(fd_conservation_posix_test |
| 5419 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5420 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5421 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5422 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5423 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5424 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5425 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5426 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5427 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5428 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5429 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5430 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5431 | ) |
| 5432 | |
| 5433 | target_link_libraries(fd_conservation_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5434 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5435 | grpc_test_util |
| 5436 | grpc |
| 5437 | gpr_test_util |
| 5438 | gpr |
| 5439 | ) |
| 5440 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5441 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5442 | endif (gRPC_BUILD_TESTS) |
| 5443 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5444 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5445 | |
| 5446 | add_executable(fd_posix_test |
| 5447 | test/core/iomgr/fd_posix_test.c |
| 5448 | ) |
| 5449 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5450 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5451 | target_include_directories(fd_posix_test |
| 5452 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5453 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5454 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5455 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5456 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5457 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5458 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5459 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5460 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5461 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5462 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5463 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5464 | ) |
| 5465 | |
| 5466 | target_link_libraries(fd_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5467 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5468 | grpc_test_util |
| 5469 | grpc |
| 5470 | gpr_test_util |
| 5471 | gpr |
| 5472 | ) |
| 5473 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5474 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5475 | endif (gRPC_BUILD_TESTS) |
| 5476 | if (gRPC_BUILD_TESTS) |
| 5477 | |
| 5478 | add_executable(fling_client |
| 5479 | test/core/fling/client.c |
| 5480 | ) |
| 5481 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5482 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5483 | target_include_directories(fling_client |
| 5484 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5485 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5486 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5487 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5488 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5489 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5490 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5491 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5492 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5493 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5494 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5495 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5496 | ) |
| 5497 | |
| 5498 | target_link_libraries(fling_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5499 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5500 | grpc_test_util |
| 5501 | grpc |
| 5502 | gpr_test_util |
| 5503 | gpr |
| 5504 | ) |
| 5505 | |
| 5506 | endif (gRPC_BUILD_TESTS) |
| 5507 | if (gRPC_BUILD_TESTS) |
| 5508 | |
| 5509 | add_executable(fling_server |
| 5510 | test/core/fling/server.c |
| 5511 | ) |
| 5512 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5513 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5514 | target_include_directories(fling_server |
| 5515 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5516 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5517 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5518 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5519 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5520 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5521 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5522 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5523 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5524 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5525 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5526 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5527 | ) |
| 5528 | |
| 5529 | target_link_libraries(fling_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5530 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5531 | grpc_test_util |
| 5532 | grpc |
| 5533 | gpr_test_util |
| 5534 | gpr |
| 5535 | ) |
| 5536 | |
| 5537 | endif (gRPC_BUILD_TESTS) |
| 5538 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5539 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5540 | |
| 5541 | add_executable(fling_stream_test |
| 5542 | test/core/fling/fling_stream_test.c |
| 5543 | ) |
| 5544 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5545 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5546 | target_include_directories(fling_stream_test |
| 5547 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5548 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5549 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5550 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5551 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5552 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5553 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5554 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5555 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5556 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5557 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5558 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5559 | ) |
| 5560 | |
| 5561 | target_link_libraries(fling_stream_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5562 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5563 | grpc_test_util |
| 5564 | grpc |
| 5565 | gpr_test_util |
| 5566 | gpr |
| 5567 | ) |
| 5568 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5569 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5570 | endif (gRPC_BUILD_TESTS) |
| 5571 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5572 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5573 | |
| 5574 | add_executable(fling_test |
| 5575 | test/core/fling/fling_test.c |
| 5576 | ) |
| 5577 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5578 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5579 | target_include_directories(fling_test |
| 5580 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5581 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5582 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5583 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5584 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5585 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5586 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5587 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5588 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5589 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5590 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5591 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5592 | ) |
| 5593 | |
| 5594 | target_link_libraries(fling_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5595 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5596 | grpc_test_util |
| 5597 | grpc |
| 5598 | gpr_test_util |
| 5599 | gpr |
| 5600 | ) |
| 5601 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5602 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5603 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 5604 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5605 | add_executable(gen_hpack_tables |
| 5606 | tools/codegen/core/gen_hpack_tables.c |
| 5607 | ) |
| 5608 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5609 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5610 | target_include_directories(gen_hpack_tables |
| 5611 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5612 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5613 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5614 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5615 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5616 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5617 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5618 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5619 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5620 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5621 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5622 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5623 | ) |
| 5624 | |
| 5625 | target_link_libraries(gen_hpack_tables |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5626 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5627 | gpr |
| 5628 | grpc |
| 5629 | ) |
| 5630 | |
| 5631 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 5632 | if (gRPC_INSTALL) |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 5633 | install(TARGETS gen_hpack_tables EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5634 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 5635 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 5636 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 5637 | ) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 5638 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 5639 | |
| 5640 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5641 | add_executable(gen_legal_metadata_characters |
| 5642 | tools/codegen/core/gen_legal_metadata_characters.c |
| 5643 | ) |
| 5644 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5645 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5646 | target_include_directories(gen_legal_metadata_characters |
| 5647 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5648 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5649 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5650 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5651 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5652 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5653 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5654 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5655 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5656 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5657 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5658 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5659 | ) |
| 5660 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5661 | target_link_libraries(gen_legal_metadata_characters |
| 5662 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5663 | ) |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5664 | |
| 5665 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 5666 | if (gRPC_INSTALL) |
| 5667 | install(TARGETS gen_legal_metadata_characters EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5668 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 5669 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 5670 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 5671 | ) |
| 5672 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 5673 | |
| 5674 | |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5675 | add_executable(gen_percent_encoding_tables |
| 5676 | tools/codegen/core/gen_percent_encoding_tables.c |
| 5677 | ) |
| 5678 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5679 | |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5680 | target_include_directories(gen_percent_encoding_tables |
| 5681 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5682 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5683 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5684 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5685 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5686 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5687 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5688 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5689 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5690 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5691 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5692 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5693 | ) |
| 5694 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5695 | target_link_libraries(gen_percent_encoding_tables |
| 5696 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5697 | ) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5698 | |
| 5699 | |
Craig Tiller | 426dcde | 2016-09-07 15:43:10 -0700 | [diff] [blame] | 5700 | if (gRPC_INSTALL) |
| 5701 | install(TARGETS gen_percent_encoding_tables EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5702 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 5703 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 5704 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Craig Tiller | 426dcde | 2016-09-07 15:43:10 -0700 | [diff] [blame] | 5705 | ) |
| 5706 | endif() |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5707 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5708 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5709 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5710 | |
| 5711 | add_executable(goaway_server_test |
| 5712 | test/core/end2end/goaway_server_test.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(goaway_server_test |
| 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(goaway_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5732 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5733 | grpc_test_util |
| 5734 | grpc |
| 5735 | gpr_test_util |
| 5736 | gpr |
| 5737 | ) |
| 5738 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5739 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5740 | endif (gRPC_BUILD_TESTS) |
| 5741 | if (gRPC_BUILD_TESTS) |
| 5742 | |
| 5743 | add_executable(gpr_avl_test |
| 5744 | test/core/support/avl_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(gpr_avl_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(gpr_avl_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 | gpr_test_util |
| 5766 | gpr |
| 5767 | ) |
| 5768 | |
| 5769 | endif (gRPC_BUILD_TESTS) |
| 5770 | if (gRPC_BUILD_TESTS) |
| 5771 | |
| 5772 | add_executable(gpr_backoff_test |
| 5773 | test/core/support/backoff_test.c |
| 5774 | ) |
| 5775 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5776 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5777 | target_include_directories(gpr_backoff_test |
| 5778 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5779 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5780 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5781 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5782 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5783 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5784 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5785 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5786 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5787 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5788 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5789 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5790 | ) |
| 5791 | |
| 5792 | target_link_libraries(gpr_backoff_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5793 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5794 | gpr_test_util |
| 5795 | gpr |
| 5796 | ) |
| 5797 | |
| 5798 | endif (gRPC_BUILD_TESTS) |
| 5799 | if (gRPC_BUILD_TESTS) |
| 5800 | |
| 5801 | add_executable(gpr_cmdline_test |
| 5802 | test/core/support/cmdline_test.c |
| 5803 | ) |
| 5804 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5805 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5806 | target_include_directories(gpr_cmdline_test |
| 5807 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5808 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5809 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5810 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5811 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5812 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5813 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5814 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5815 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5816 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5817 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5818 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5819 | ) |
| 5820 | |
| 5821 | target_link_libraries(gpr_cmdline_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5822 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5823 | gpr_test_util |
| 5824 | gpr |
| 5825 | ) |
| 5826 | |
| 5827 | endif (gRPC_BUILD_TESTS) |
| 5828 | if (gRPC_BUILD_TESTS) |
| 5829 | |
| 5830 | add_executable(gpr_cpu_test |
| 5831 | test/core/support/cpu_test.c |
| 5832 | ) |
| 5833 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5834 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5835 | target_include_directories(gpr_cpu_test |
| 5836 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5837 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5838 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5839 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5840 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5841 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5842 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5843 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5844 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5845 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5846 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5847 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5848 | ) |
| 5849 | |
| 5850 | target_link_libraries(gpr_cpu_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5851 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5852 | gpr_test_util |
| 5853 | gpr |
| 5854 | ) |
| 5855 | |
| 5856 | endif (gRPC_BUILD_TESTS) |
| 5857 | if (gRPC_BUILD_TESTS) |
| 5858 | |
| 5859 | add_executable(gpr_env_test |
| 5860 | test/core/support/env_test.c |
| 5861 | ) |
| 5862 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5863 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5864 | target_include_directories(gpr_env_test |
| 5865 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5866 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5867 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5868 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5869 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5870 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5871 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5872 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5873 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5874 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5875 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5876 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5877 | ) |
| 5878 | |
| 5879 | target_link_libraries(gpr_env_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5880 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5881 | gpr_test_util |
| 5882 | gpr |
| 5883 | ) |
| 5884 | |
| 5885 | endif (gRPC_BUILD_TESTS) |
| 5886 | if (gRPC_BUILD_TESTS) |
| 5887 | |
| 5888 | add_executable(gpr_histogram_test |
| 5889 | test/core/support/histogram_test.c |
| 5890 | ) |
| 5891 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5892 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5893 | target_include_directories(gpr_histogram_test |
| 5894 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5895 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5896 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5897 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5898 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5899 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5900 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5901 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5902 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5903 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5904 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5905 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5906 | ) |
| 5907 | |
| 5908 | target_link_libraries(gpr_histogram_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5909 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5910 | gpr_test_util |
| 5911 | gpr |
| 5912 | ) |
| 5913 | |
| 5914 | endif (gRPC_BUILD_TESTS) |
| 5915 | if (gRPC_BUILD_TESTS) |
| 5916 | |
| 5917 | add_executable(gpr_host_port_test |
| 5918 | test/core/support/host_port_test.c |
| 5919 | ) |
| 5920 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5921 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5922 | target_include_directories(gpr_host_port_test |
| 5923 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5924 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5925 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5926 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5927 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5928 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5929 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5930 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5931 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5932 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5933 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5934 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5935 | ) |
| 5936 | |
| 5937 | target_link_libraries(gpr_host_port_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5938 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5939 | gpr_test_util |
| 5940 | gpr |
| 5941 | ) |
| 5942 | |
| 5943 | endif (gRPC_BUILD_TESTS) |
| 5944 | if (gRPC_BUILD_TESTS) |
| 5945 | |
| 5946 | add_executable(gpr_log_test |
| 5947 | test/core/support/log_test.c |
| 5948 | ) |
| 5949 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5950 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5951 | target_include_directories(gpr_log_test |
| 5952 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5953 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5954 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5955 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5956 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5957 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5958 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5959 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5960 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5961 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5962 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5963 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5964 | ) |
| 5965 | |
| 5966 | target_link_libraries(gpr_log_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5967 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5968 | gpr_test_util |
| 5969 | gpr |
| 5970 | ) |
| 5971 | |
| 5972 | endif (gRPC_BUILD_TESTS) |
| 5973 | if (gRPC_BUILD_TESTS) |
| 5974 | |
| 5975 | add_executable(gpr_mpscq_test |
| 5976 | test/core/support/mpscq_test.c |
| 5977 | ) |
| 5978 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5979 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5980 | target_include_directories(gpr_mpscq_test |
| 5981 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5982 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5983 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5984 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5985 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5986 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5987 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5988 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5989 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5990 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5991 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5992 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5993 | ) |
| 5994 | |
| 5995 | target_link_libraries(gpr_mpscq_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5996 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5997 | gpr_test_util |
| 5998 | gpr |
| 5999 | ) |
| 6000 | |
| 6001 | endif (gRPC_BUILD_TESTS) |
| 6002 | if (gRPC_BUILD_TESTS) |
| 6003 | |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6004 | add_executable(gpr_spinlock_test |
| 6005 | test/core/support/spinlock_test.c |
| 6006 | ) |
| 6007 | |
| 6008 | |
| 6009 | target_include_directories(gpr_spinlock_test |
| 6010 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6011 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6012 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6013 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6014 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6015 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6016 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6017 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6018 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6019 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6020 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6021 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6022 | ) |
| 6023 | |
| 6024 | target_link_libraries(gpr_spinlock_test |
| 6025 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6026 | gpr_test_util |
| 6027 | gpr |
| 6028 | ) |
| 6029 | |
| 6030 | endif (gRPC_BUILD_TESTS) |
| 6031 | if (gRPC_BUILD_TESTS) |
| 6032 | |
Ken Payson | a4710a0 | 2017-07-10 16:49:59 -0700 | [diff] [blame] | 6033 | add_executable(gpr_stack_lockfree_test |
| 6034 | test/core/support/stack_lockfree_test.c |
| 6035 | ) |
| 6036 | |
| 6037 | |
| 6038 | target_include_directories(gpr_stack_lockfree_test |
| 6039 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6040 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6041 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6042 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6043 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6044 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6045 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6046 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 6047 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6048 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6049 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 6050 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6051 | ) |
| 6052 | |
| 6053 | target_link_libraries(gpr_stack_lockfree_test |
| 6054 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6055 | gpr_test_util |
| 6056 | gpr |
| 6057 | ) |
| 6058 | |
| 6059 | endif (gRPC_BUILD_TESTS) |
| 6060 | if (gRPC_BUILD_TESTS) |
| 6061 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6062 | add_executable(gpr_string_test |
| 6063 | test/core/support/string_test.c |
| 6064 | ) |
| 6065 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6066 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6067 | target_include_directories(gpr_string_test |
| 6068 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6069 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6070 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6071 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6072 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6073 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6074 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6075 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6076 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6077 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6078 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6079 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6080 | ) |
| 6081 | |
| 6082 | target_link_libraries(gpr_string_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6083 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6084 | gpr_test_util |
| 6085 | gpr |
| 6086 | ) |
| 6087 | |
| 6088 | endif (gRPC_BUILD_TESTS) |
| 6089 | if (gRPC_BUILD_TESTS) |
| 6090 | |
| 6091 | add_executable(gpr_sync_test |
| 6092 | test/core/support/sync_test.c |
| 6093 | ) |
| 6094 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6095 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6096 | target_include_directories(gpr_sync_test |
| 6097 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6098 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6099 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6100 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6101 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6102 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6103 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6104 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6105 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6106 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6107 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6108 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6109 | ) |
| 6110 | |
| 6111 | target_link_libraries(gpr_sync_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6112 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6113 | gpr_test_util |
| 6114 | gpr |
| 6115 | ) |
| 6116 | |
| 6117 | endif (gRPC_BUILD_TESTS) |
| 6118 | if (gRPC_BUILD_TESTS) |
| 6119 | |
| 6120 | add_executable(gpr_thd_test |
| 6121 | test/core/support/thd_test.c |
| 6122 | ) |
| 6123 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6124 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6125 | target_include_directories(gpr_thd_test |
| 6126 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6127 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6128 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6129 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6130 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6131 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6132 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6133 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6134 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6135 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6136 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6137 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6138 | ) |
| 6139 | |
| 6140 | target_link_libraries(gpr_thd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6141 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6142 | gpr_test_util |
| 6143 | gpr |
| 6144 | ) |
| 6145 | |
| 6146 | endif (gRPC_BUILD_TESTS) |
| 6147 | if (gRPC_BUILD_TESTS) |
| 6148 | |
| 6149 | add_executable(gpr_time_test |
| 6150 | test/core/support/time_test.c |
| 6151 | ) |
| 6152 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6153 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6154 | target_include_directories(gpr_time_test |
| 6155 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6156 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6157 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6158 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6159 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6160 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6161 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6162 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6163 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6164 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6165 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6166 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6167 | ) |
| 6168 | |
| 6169 | target_link_libraries(gpr_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6170 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6171 | gpr_test_util |
| 6172 | gpr |
| 6173 | ) |
| 6174 | |
| 6175 | endif (gRPC_BUILD_TESTS) |
| 6176 | if (gRPC_BUILD_TESTS) |
| 6177 | |
| 6178 | add_executable(gpr_tls_test |
| 6179 | test/core/support/tls_test.c |
| 6180 | ) |
| 6181 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6182 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6183 | target_include_directories(gpr_tls_test |
| 6184 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6185 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6186 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6187 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6188 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6189 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6190 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6191 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6192 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6193 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6194 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6195 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6196 | ) |
| 6197 | |
| 6198 | target_link_libraries(gpr_tls_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6199 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6200 | gpr_test_util |
| 6201 | gpr |
| 6202 | ) |
| 6203 | |
| 6204 | endif (gRPC_BUILD_TESTS) |
| 6205 | if (gRPC_BUILD_TESTS) |
| 6206 | |
| 6207 | add_executable(gpr_useful_test |
| 6208 | test/core/support/useful_test.c |
| 6209 | ) |
| 6210 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6211 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6212 | target_include_directories(gpr_useful_test |
| 6213 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6214 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6215 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6216 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6217 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6218 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6219 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6220 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6221 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6222 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6223 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6224 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6225 | ) |
| 6226 | |
| 6227 | target_link_libraries(gpr_useful_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6228 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6229 | gpr_test_util |
| 6230 | gpr |
| 6231 | ) |
| 6232 | |
| 6233 | endif (gRPC_BUILD_TESTS) |
| 6234 | if (gRPC_BUILD_TESTS) |
| 6235 | |
| 6236 | add_executable(grpc_auth_context_test |
| 6237 | test/core/security/auth_context_test.c |
| 6238 | ) |
| 6239 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6240 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6241 | target_include_directories(grpc_auth_context_test |
| 6242 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6243 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6244 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6245 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6246 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6247 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6248 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6249 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6250 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6251 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6252 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6253 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6254 | ) |
| 6255 | |
| 6256 | target_link_libraries(grpc_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6257 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6258 | grpc_test_util |
| 6259 | grpc |
| 6260 | gpr_test_util |
| 6261 | gpr |
| 6262 | ) |
| 6263 | |
| 6264 | endif (gRPC_BUILD_TESTS) |
| 6265 | if (gRPC_BUILD_TESTS) |
| 6266 | |
| 6267 | add_executable(grpc_b64_test |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 6268 | test/core/slice/b64_test.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6269 | ) |
| 6270 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6271 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6272 | target_include_directories(grpc_b64_test |
| 6273 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6274 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6275 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6276 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6277 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6278 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6279 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6280 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6281 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6282 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6283 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6284 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6285 | ) |
| 6286 | |
| 6287 | target_link_libraries(grpc_b64_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6288 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6289 | grpc_test_util |
| 6290 | grpc |
| 6291 | gpr_test_util |
| 6292 | gpr |
| 6293 | ) |
| 6294 | |
| 6295 | endif (gRPC_BUILD_TESTS) |
| 6296 | if (gRPC_BUILD_TESTS) |
| 6297 | |
| 6298 | add_executable(grpc_byte_buffer_reader_test |
| 6299 | test/core/surface/byte_buffer_reader_test.c |
| 6300 | ) |
| 6301 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6302 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6303 | target_include_directories(grpc_byte_buffer_reader_test |
| 6304 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6305 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6306 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6307 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6308 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6309 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6310 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6311 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6312 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6313 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6314 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6315 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6316 | ) |
| 6317 | |
| 6318 | target_link_libraries(grpc_byte_buffer_reader_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6319 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6320 | grpc_test_util |
| 6321 | grpc |
| 6322 | gpr_test_util |
| 6323 | gpr |
| 6324 | ) |
| 6325 | |
| 6326 | endif (gRPC_BUILD_TESTS) |
| 6327 | if (gRPC_BUILD_TESTS) |
| 6328 | |
| 6329 | add_executable(grpc_channel_args_test |
| 6330 | test/core/channel/channel_args_test.c |
| 6331 | ) |
| 6332 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6333 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6334 | target_include_directories(grpc_channel_args_test |
| 6335 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6336 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6337 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6338 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6339 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6340 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6341 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6342 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6343 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6344 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6345 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6346 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6347 | ) |
| 6348 | |
| 6349 | target_link_libraries(grpc_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6350 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6351 | grpc_test_util |
| 6352 | grpc |
| 6353 | gpr_test_util |
| 6354 | gpr |
| 6355 | ) |
| 6356 | |
| 6357 | endif (gRPC_BUILD_TESTS) |
| 6358 | if (gRPC_BUILD_TESTS) |
| 6359 | |
| 6360 | add_executable(grpc_channel_stack_test |
| 6361 | test/core/channel/channel_stack_test.c |
| 6362 | ) |
| 6363 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6364 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6365 | target_include_directories(grpc_channel_stack_test |
| 6366 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6367 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6368 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6369 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6370 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6371 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6372 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6373 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6374 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6375 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6376 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6377 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6378 | ) |
| 6379 | |
| 6380 | target_link_libraries(grpc_channel_stack_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6381 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6382 | grpc_test_util |
| 6383 | grpc |
| 6384 | gpr_test_util |
| 6385 | gpr |
| 6386 | ) |
| 6387 | |
| 6388 | endif (gRPC_BUILD_TESTS) |
| 6389 | if (gRPC_BUILD_TESTS) |
| 6390 | |
| 6391 | add_executable(grpc_completion_queue_test |
| 6392 | test/core/surface/completion_queue_test.c |
| 6393 | ) |
| 6394 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6395 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6396 | target_include_directories(grpc_completion_queue_test |
| 6397 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6398 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6399 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6400 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6401 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6402 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6403 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6404 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6405 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6406 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6407 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6408 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6409 | ) |
| 6410 | |
| 6411 | target_link_libraries(grpc_completion_queue_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6412 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6413 | grpc_test_util |
| 6414 | grpc |
| 6415 | gpr_test_util |
| 6416 | gpr |
| 6417 | ) |
| 6418 | |
| 6419 | endif (gRPC_BUILD_TESTS) |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6420 | if (gRPC_BUILD_TESTS) |
| 6421 | |
| 6422 | add_executable(grpc_completion_queue_threading_test |
| 6423 | test/core/surface/completion_queue_threading_test.c |
| 6424 | ) |
| 6425 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6426 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6427 | target_include_directories(grpc_completion_queue_threading_test |
| 6428 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6429 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6430 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6431 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6432 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6433 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6434 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6435 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6436 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6437 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6438 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6439 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6440 | ) |
| 6441 | |
| 6442 | target_link_libraries(grpc_completion_queue_threading_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6443 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6444 | grpc_test_util |
| 6445 | grpc |
| 6446 | gpr_test_util |
| 6447 | gpr |
| 6448 | ) |
| 6449 | |
| 6450 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6451 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6452 | add_executable(grpc_create_jwt |
| 6453 | test/core/security/create_jwt.c |
| 6454 | ) |
| 6455 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6456 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6457 | target_include_directories(grpc_create_jwt |
| 6458 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6459 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6460 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6461 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6462 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6463 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6464 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6465 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6466 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6467 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6468 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6469 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6470 | ) |
| 6471 | |
| 6472 | target_link_libraries(grpc_create_jwt |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 6473 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6474 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6475 | grpc |
| 6476 | gpr |
| 6477 | ) |
| 6478 | |
| 6479 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6480 | if (gRPC_INSTALL) |
| 6481 | install(TARGETS grpc_create_jwt EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6482 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6483 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6484 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6485 | ) |
| 6486 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6487 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6488 | if (gRPC_BUILD_TESTS) |
| 6489 | |
| 6490 | add_executable(grpc_credentials_test |
| 6491 | test/core/security/credentials_test.c |
| 6492 | ) |
| 6493 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6494 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6495 | target_include_directories(grpc_credentials_test |
| 6496 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6497 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6498 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6499 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6500 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6501 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6502 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6503 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6504 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6505 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6506 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6507 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6508 | ) |
| 6509 | |
| 6510 | target_link_libraries(grpc_credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6511 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6512 | grpc_test_util |
| 6513 | grpc |
| 6514 | gpr_test_util |
| 6515 | gpr |
| 6516 | ) |
| 6517 | |
| 6518 | endif (gRPC_BUILD_TESTS) |
| 6519 | if (gRPC_BUILD_TESTS) |
| 6520 | |
| 6521 | add_executable(grpc_fetch_oauth2 |
| 6522 | test/core/security/fetch_oauth2.c |
| 6523 | ) |
| 6524 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6525 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6526 | target_include_directories(grpc_fetch_oauth2 |
| 6527 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6528 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6529 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6530 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6531 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6532 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6533 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6534 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6535 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6536 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6537 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6538 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6539 | ) |
| 6540 | |
| 6541 | target_link_libraries(grpc_fetch_oauth2 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6542 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6543 | grpc_test_util |
| 6544 | grpc |
| 6545 | gpr_test_util |
| 6546 | gpr |
| 6547 | ) |
| 6548 | |
| 6549 | endif (gRPC_BUILD_TESTS) |
| 6550 | if (gRPC_BUILD_TESTS) |
| 6551 | |
| 6552 | add_executable(grpc_invalid_channel_args_test |
| 6553 | test/core/surface/invalid_channel_args_test.c |
| 6554 | ) |
| 6555 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6556 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6557 | target_include_directories(grpc_invalid_channel_args_test |
| 6558 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6559 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6560 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6561 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6562 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6563 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6564 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6565 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6566 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6567 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6568 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6569 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6570 | ) |
| 6571 | |
| 6572 | target_link_libraries(grpc_invalid_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6573 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6574 | grpc_test_util |
| 6575 | grpc |
| 6576 | gpr_test_util |
| 6577 | gpr |
| 6578 | ) |
| 6579 | |
| 6580 | endif (gRPC_BUILD_TESTS) |
| 6581 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6582 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6583 | |
| 6584 | add_executable(grpc_json_token_test |
| 6585 | test/core/security/json_token_test.c |
| 6586 | ) |
| 6587 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6588 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6589 | target_include_directories(grpc_json_token_test |
| 6590 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6591 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6592 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6593 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6594 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6595 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6596 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6597 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6598 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6599 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6600 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6601 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6602 | ) |
| 6603 | |
| 6604 | target_link_libraries(grpc_json_token_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6605 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6606 | grpc_test_util |
| 6607 | grpc |
| 6608 | gpr_test_util |
| 6609 | gpr |
| 6610 | ) |
| 6611 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6612 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6613 | endif (gRPC_BUILD_TESTS) |
| 6614 | if (gRPC_BUILD_TESTS) |
| 6615 | |
| 6616 | add_executable(grpc_jwt_verifier_test |
| 6617 | test/core/security/jwt_verifier_test.c |
| 6618 | ) |
| 6619 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6620 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6621 | target_include_directories(grpc_jwt_verifier_test |
| 6622 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6623 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6624 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6625 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6626 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6627 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6628 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6629 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6630 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6631 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6632 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6633 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6634 | ) |
| 6635 | |
| 6636 | target_link_libraries(grpc_jwt_verifier_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6637 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6638 | grpc_test_util |
| 6639 | grpc |
| 6640 | gpr_test_util |
| 6641 | gpr |
| 6642 | ) |
| 6643 | |
| 6644 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6645 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6646 | add_executable(grpc_print_google_default_creds_token |
| 6647 | test/core/security/print_google_default_creds_token.c |
| 6648 | ) |
| 6649 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6650 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6651 | target_include_directories(grpc_print_google_default_creds_token |
| 6652 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6653 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6654 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6655 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6656 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6657 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6658 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6659 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6660 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6661 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6662 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6663 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6664 | ) |
| 6665 | |
| 6666 | target_link_libraries(grpc_print_google_default_creds_token |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6667 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6668 | grpc |
| 6669 | gpr |
| 6670 | ) |
| 6671 | |
| 6672 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6673 | if (gRPC_INSTALL) |
| 6674 | install(TARGETS grpc_print_google_default_creds_token EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6675 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6676 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6677 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6678 | ) |
| 6679 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6680 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6681 | if (gRPC_BUILD_TESTS) |
| 6682 | |
| 6683 | add_executable(grpc_security_connector_test |
| 6684 | test/core/security/security_connector_test.c |
| 6685 | ) |
| 6686 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6687 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6688 | target_include_directories(grpc_security_connector_test |
| 6689 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6690 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6691 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6692 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6693 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6694 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6695 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6696 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6697 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6698 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6699 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6700 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6701 | ) |
| 6702 | |
| 6703 | target_link_libraries(grpc_security_connector_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6704 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6705 | grpc_test_util |
| 6706 | grpc |
| 6707 | gpr_test_util |
| 6708 | gpr |
| 6709 | ) |
| 6710 | |
| 6711 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6712 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6713 | add_executable(grpc_verify_jwt |
| 6714 | test/core/security/verify_jwt.c |
| 6715 | ) |
| 6716 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6717 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6718 | target_include_directories(grpc_verify_jwt |
| 6719 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6720 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6721 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6722 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6723 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6724 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6725 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6726 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6727 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6728 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6729 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6730 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6731 | ) |
| 6732 | |
| 6733 | target_link_libraries(grpc_verify_jwt |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6734 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6735 | grpc |
| 6736 | gpr |
| 6737 | ) |
| 6738 | |
| 6739 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6740 | if (gRPC_INSTALL) |
| 6741 | install(TARGETS grpc_verify_jwt EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6742 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6743 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6744 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6745 | ) |
| 6746 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6747 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6748 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6749 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6750 | |
| 6751 | add_executable(handshake_client |
| 6752 | test/core/handshake/client_ssl.c |
| 6753 | ) |
| 6754 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6755 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6756 | target_include_directories(handshake_client |
| 6757 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6758 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6759 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6760 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6761 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6762 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6763 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6764 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6765 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6766 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6767 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6768 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6769 | ) |
| 6770 | |
| 6771 | target_link_libraries(handshake_client |
| 6772 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6773 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6774 | grpc_test_util |
| 6775 | grpc |
| 6776 | gpr_test_util |
| 6777 | gpr |
| 6778 | ) |
| 6779 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6780 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6781 | endif (gRPC_BUILD_TESTS) |
| 6782 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6783 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6784 | |
| 6785 | add_executable(handshake_server |
| 6786 | test/core/handshake/server_ssl.c |
| 6787 | ) |
| 6788 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6789 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6790 | target_include_directories(handshake_server |
| 6791 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6792 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6793 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6794 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6795 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6796 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6797 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6798 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6799 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6800 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6801 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6802 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6803 | ) |
| 6804 | |
| 6805 | target_link_libraries(handshake_server |
| 6806 | ${_gRPC_SSL_LIBRARIES} |
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(hpack_parser_test |
| 6819 | test/core/transport/chttp2/hpack_parser_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(hpack_parser_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(hpack_parser_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) |
| 6847 | if (gRPC_BUILD_TESTS) |
| 6848 | |
| 6849 | add_executable(hpack_table_test |
| 6850 | test/core/transport/chttp2/hpack_table_test.c |
| 6851 | ) |
| 6852 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6853 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6854 | target_include_directories(hpack_table_test |
| 6855 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6856 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6857 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6858 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6859 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6860 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6861 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6862 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6863 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6864 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6865 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6866 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6867 | ) |
| 6868 | |
| 6869 | target_link_libraries(hpack_table_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6870 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6871 | grpc_test_util |
| 6872 | grpc |
| 6873 | gpr_test_util |
| 6874 | gpr |
| 6875 | ) |
| 6876 | |
| 6877 | endif (gRPC_BUILD_TESTS) |
| 6878 | if (gRPC_BUILD_TESTS) |
| 6879 | |
| 6880 | add_executable(http_parser_test |
| 6881 | test/core/http/parser_test.c |
| 6882 | ) |
| 6883 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6884 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6885 | target_include_directories(http_parser_test |
| 6886 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6887 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6888 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6889 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6890 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6891 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6892 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6893 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6894 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6895 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6896 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6897 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6898 | ) |
| 6899 | |
| 6900 | target_link_libraries(http_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6901 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6902 | grpc_test_util |
| 6903 | grpc |
| 6904 | gpr_test_util |
| 6905 | gpr |
| 6906 | ) |
| 6907 | |
| 6908 | endif (gRPC_BUILD_TESTS) |
| 6909 | if (gRPC_BUILD_TESTS) |
| 6910 | |
| 6911 | add_executable(httpcli_format_request_test |
| 6912 | test/core/http/format_request_test.c |
| 6913 | ) |
| 6914 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6915 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6916 | target_include_directories(httpcli_format_request_test |
| 6917 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6918 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6919 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6920 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6921 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6922 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6923 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6924 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6925 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6926 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6927 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6928 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6929 | ) |
| 6930 | |
| 6931 | target_link_libraries(httpcli_format_request_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6932 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6933 | grpc_test_util |
| 6934 | grpc |
| 6935 | gpr_test_util |
| 6936 | gpr |
| 6937 | ) |
| 6938 | |
| 6939 | endif (gRPC_BUILD_TESTS) |
| 6940 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6941 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6942 | |
| 6943 | add_executable(httpcli_test |
| 6944 | test/core/http/httpcli_test.c |
| 6945 | ) |
| 6946 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6947 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6948 | target_include_directories(httpcli_test |
| 6949 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6950 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6951 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6952 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6953 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6954 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6955 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6956 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6957 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6958 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6959 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6960 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6961 | ) |
| 6962 | |
| 6963 | target_link_libraries(httpcli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6964 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6965 | grpc_test_util |
| 6966 | grpc |
| 6967 | gpr_test_util |
| 6968 | gpr |
| 6969 | ) |
| 6970 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6971 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6972 | endif (gRPC_BUILD_TESTS) |
| 6973 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6974 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6975 | |
| 6976 | add_executable(httpscli_test |
| 6977 | test/core/http/httpscli_test.c |
| 6978 | ) |
| 6979 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6980 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6981 | target_include_directories(httpscli_test |
| 6982 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6983 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6984 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6985 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6986 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6987 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6988 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6989 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6990 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6991 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6992 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6993 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6994 | ) |
| 6995 | |
| 6996 | target_link_libraries(httpscli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6997 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6998 | grpc_test_util |
| 6999 | grpc |
| 7000 | gpr_test_util |
| 7001 | gpr |
| 7002 | ) |
| 7003 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7004 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7005 | endif (gRPC_BUILD_TESTS) |
| 7006 | if (gRPC_BUILD_TESTS) |
| 7007 | |
| 7008 | add_executable(init_test |
| 7009 | test/core/surface/init_test.c |
| 7010 | ) |
| 7011 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7012 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7013 | target_include_directories(init_test |
| 7014 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7015 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7016 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7017 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7018 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7019 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7020 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7021 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7022 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7023 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7024 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7025 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7026 | ) |
| 7027 | |
| 7028 | target_link_libraries(init_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7029 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7030 | grpc_test_util |
| 7031 | grpc |
| 7032 | gpr_test_util |
| 7033 | gpr |
| 7034 | ) |
| 7035 | |
| 7036 | endif (gRPC_BUILD_TESTS) |
| 7037 | if (gRPC_BUILD_TESTS) |
| 7038 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7039 | add_executable(invalid_call_argument_test |
| 7040 | test/core/end2end/invalid_call_argument_test.c |
| 7041 | ) |
| 7042 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7043 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7044 | target_include_directories(invalid_call_argument_test |
| 7045 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7046 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7047 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7048 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7049 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7050 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7051 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7052 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7053 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7054 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7055 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7056 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7057 | ) |
| 7058 | |
| 7059 | target_link_libraries(invalid_call_argument_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7060 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7061 | grpc_test_util |
| 7062 | grpc |
| 7063 | gpr_test_util |
| 7064 | gpr |
| 7065 | ) |
| 7066 | |
| 7067 | endif (gRPC_BUILD_TESTS) |
| 7068 | if (gRPC_BUILD_TESTS) |
| 7069 | |
| 7070 | add_executable(json_rewrite |
| 7071 | test/core/json/json_rewrite.c |
| 7072 | ) |
| 7073 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7074 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7075 | target_include_directories(json_rewrite |
| 7076 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7077 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7078 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7079 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7080 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7081 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7082 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7083 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7084 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7085 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7086 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7087 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7088 | ) |
| 7089 | |
| 7090 | target_link_libraries(json_rewrite |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7091 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7092 | grpc |
| 7093 | gpr |
| 7094 | ) |
| 7095 | |
| 7096 | endif (gRPC_BUILD_TESTS) |
| 7097 | if (gRPC_BUILD_TESTS) |
| 7098 | |
| 7099 | add_executable(json_rewrite_test |
| 7100 | test/core/json/json_rewrite_test.c |
| 7101 | ) |
| 7102 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7103 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7104 | target_include_directories(json_rewrite_test |
| 7105 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7106 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7107 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7108 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7109 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7110 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7111 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7112 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7113 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7114 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7115 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7116 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7117 | ) |
| 7118 | |
| 7119 | target_link_libraries(json_rewrite_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7120 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7121 | grpc_test_util |
| 7122 | grpc |
| 7123 | gpr_test_util |
| 7124 | gpr |
| 7125 | ) |
| 7126 | |
| 7127 | endif (gRPC_BUILD_TESTS) |
| 7128 | if (gRPC_BUILD_TESTS) |
| 7129 | |
| 7130 | add_executable(json_stream_error_test |
| 7131 | test/core/json/json_stream_error_test.c |
| 7132 | ) |
| 7133 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7134 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7135 | target_include_directories(json_stream_error_test |
| 7136 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7137 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7138 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7139 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7140 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7141 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7142 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7143 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7144 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7145 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7146 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7147 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7148 | ) |
| 7149 | |
| 7150 | target_link_libraries(json_stream_error_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7151 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7152 | grpc_test_util |
| 7153 | grpc |
| 7154 | gpr_test_util |
| 7155 | gpr |
| 7156 | ) |
| 7157 | |
| 7158 | endif (gRPC_BUILD_TESTS) |
| 7159 | if (gRPC_BUILD_TESTS) |
| 7160 | |
| 7161 | add_executable(json_test |
| 7162 | test/core/json/json_test.c |
| 7163 | ) |
| 7164 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7165 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7166 | target_include_directories(json_test |
| 7167 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7168 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7169 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7170 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7171 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7172 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7173 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7174 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7175 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7176 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7177 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7178 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7179 | ) |
| 7180 | |
| 7181 | target_link_libraries(json_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7182 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7183 | grpc_test_util |
| 7184 | grpc |
| 7185 | gpr_test_util |
| 7186 | gpr |
| 7187 | ) |
| 7188 | |
| 7189 | endif (gRPC_BUILD_TESTS) |
| 7190 | if (gRPC_BUILD_TESTS) |
| 7191 | |
| 7192 | add_executable(lame_client_test |
| 7193 | test/core/surface/lame_client_test.c |
| 7194 | ) |
| 7195 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7196 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7197 | target_include_directories(lame_client_test |
| 7198 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7199 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7200 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7201 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7202 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7203 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7204 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7205 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7206 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7207 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7208 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7209 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7210 | ) |
| 7211 | |
| 7212 | target_link_libraries(lame_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7213 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7214 | grpc_test_util |
| 7215 | grpc |
| 7216 | gpr_test_util |
| 7217 | gpr |
| 7218 | ) |
| 7219 | |
| 7220 | endif (gRPC_BUILD_TESTS) |
| 7221 | if (gRPC_BUILD_TESTS) |
| 7222 | |
| 7223 | add_executable(lb_policies_test |
| 7224 | test/core/client_channel/lb_policies_test.c |
| 7225 | ) |
| 7226 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7227 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7228 | target_include_directories(lb_policies_test |
| 7229 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7230 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7231 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7232 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7233 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7234 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7235 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7236 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7237 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7238 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7239 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7240 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7241 | ) |
| 7242 | |
| 7243 | target_link_libraries(lb_policies_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7244 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7245 | grpc_test_util |
| 7246 | grpc |
| 7247 | gpr_test_util |
| 7248 | gpr |
| 7249 | ) |
| 7250 | |
| 7251 | endif (gRPC_BUILD_TESTS) |
| 7252 | if (gRPC_BUILD_TESTS) |
| 7253 | |
| 7254 | add_executable(load_file_test |
| 7255 | test/core/iomgr/load_file_test.c |
| 7256 | ) |
| 7257 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7258 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7259 | target_include_directories(load_file_test |
| 7260 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7261 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7262 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7263 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7264 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7265 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7266 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7267 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7268 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7269 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7270 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7271 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7272 | ) |
| 7273 | |
| 7274 | target_link_libraries(load_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7275 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7276 | grpc_test_util |
| 7277 | grpc |
| 7278 | gpr_test_util |
| 7279 | gpr |
| 7280 | ) |
| 7281 | |
| 7282 | endif (gRPC_BUILD_TESTS) |
| 7283 | if (gRPC_BUILD_TESTS) |
| 7284 | |
| 7285 | add_executable(memory_profile_client |
| 7286 | test/core/memory_usage/client.c |
| 7287 | ) |
| 7288 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7289 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7290 | target_include_directories(memory_profile_client |
| 7291 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7292 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7293 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7294 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7295 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7296 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7297 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7298 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7299 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7300 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7301 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7302 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7303 | ) |
| 7304 | |
| 7305 | target_link_libraries(memory_profile_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7306 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7307 | grpc_test_util |
| 7308 | grpc |
| 7309 | gpr_test_util |
| 7310 | gpr |
| 7311 | ) |
| 7312 | |
| 7313 | endif (gRPC_BUILD_TESTS) |
| 7314 | if (gRPC_BUILD_TESTS) |
| 7315 | |
| 7316 | add_executable(memory_profile_server |
| 7317 | test/core/memory_usage/server.c |
| 7318 | ) |
| 7319 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7320 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7321 | target_include_directories(memory_profile_server |
| 7322 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7323 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7324 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7325 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7326 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7327 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7328 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7329 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7330 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7331 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7332 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7333 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7334 | ) |
| 7335 | |
| 7336 | target_link_libraries(memory_profile_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7337 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7338 | grpc_test_util |
| 7339 | grpc |
| 7340 | gpr_test_util |
| 7341 | gpr |
| 7342 | ) |
| 7343 | |
| 7344 | endif (gRPC_BUILD_TESTS) |
| 7345 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7346 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7347 | |
| 7348 | add_executable(memory_profile_test |
| 7349 | test/core/memory_usage/memory_usage_test.c |
| 7350 | ) |
| 7351 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7352 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7353 | target_include_directories(memory_profile_test |
| 7354 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7355 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7356 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7357 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7358 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7359 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7360 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7361 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7362 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7363 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7364 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7365 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7366 | ) |
| 7367 | |
| 7368 | target_link_libraries(memory_profile_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7369 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7370 | grpc_test_util |
| 7371 | grpc |
| 7372 | gpr_test_util |
| 7373 | gpr |
| 7374 | ) |
| 7375 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7376 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7377 | endif (gRPC_BUILD_TESTS) |
| 7378 | if (gRPC_BUILD_TESTS) |
| 7379 | |
| 7380 | add_executable(message_compress_test |
| 7381 | test/core/compression/message_compress_test.c |
| 7382 | ) |
| 7383 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7384 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7385 | target_include_directories(message_compress_test |
| 7386 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7387 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7388 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7389 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7390 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7391 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7392 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7393 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7394 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7395 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7396 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7397 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7398 | ) |
| 7399 | |
| 7400 | target_link_libraries(message_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7401 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7402 | grpc_test_util |
| 7403 | grpc |
| 7404 | gpr_test_util |
| 7405 | gpr |
| 7406 | ) |
| 7407 | |
| 7408 | endif (gRPC_BUILD_TESTS) |
| 7409 | if (gRPC_BUILD_TESTS) |
| 7410 | |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7411 | add_executable(minimal_stack_is_minimal_test |
| 7412 | test/core/channel/minimal_stack_is_minimal_test.c |
| 7413 | ) |
| 7414 | |
| 7415 | |
| 7416 | target_include_directories(minimal_stack_is_minimal_test |
| 7417 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7418 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7419 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7420 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 7421 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 7422 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7423 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7424 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 7425 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7426 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7427 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 7428 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7429 | ) |
| 7430 | |
| 7431 | target_link_libraries(minimal_stack_is_minimal_test |
| 7432 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7433 | grpc_test_util |
| 7434 | grpc |
| 7435 | gpr_test_util |
| 7436 | gpr |
| 7437 | ) |
| 7438 | |
| 7439 | endif (gRPC_BUILD_TESTS) |
| 7440 | if (gRPC_BUILD_TESTS) |
| 7441 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7442 | add_executable(mlog_test |
| 7443 | test/core/census/mlog_test.c |
| 7444 | ) |
| 7445 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7446 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7447 | target_include_directories(mlog_test |
| 7448 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7449 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7450 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7451 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7452 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7453 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7454 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7455 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7456 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7457 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7458 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7459 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7460 | ) |
| 7461 | |
| 7462 | target_link_libraries(mlog_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7463 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7464 | grpc_test_util |
| 7465 | grpc |
| 7466 | gpr_test_util |
| 7467 | gpr |
| 7468 | ) |
| 7469 | |
| 7470 | endif (gRPC_BUILD_TESTS) |
| 7471 | if (gRPC_BUILD_TESTS) |
| 7472 | |
| 7473 | add_executable(multiple_server_queues_test |
| 7474 | test/core/end2end/multiple_server_queues_test.c |
| 7475 | ) |
| 7476 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7477 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7478 | target_include_directories(multiple_server_queues_test |
| 7479 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7480 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7481 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7482 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7483 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7484 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7485 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7486 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7487 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7488 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7489 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7490 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7491 | ) |
| 7492 | |
| 7493 | target_link_libraries(multiple_server_queues_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7494 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7495 | grpc_test_util |
| 7496 | grpc |
| 7497 | gpr_test_util |
| 7498 | gpr |
| 7499 | ) |
| 7500 | |
| 7501 | endif (gRPC_BUILD_TESTS) |
| 7502 | if (gRPC_BUILD_TESTS) |
| 7503 | |
| 7504 | add_executable(murmur_hash_test |
| 7505 | test/core/support/murmur_hash_test.c |
| 7506 | ) |
| 7507 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7508 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7509 | target_include_directories(murmur_hash_test |
| 7510 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7511 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7512 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7513 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7514 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7515 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7516 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7517 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7518 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7519 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7520 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7521 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7522 | ) |
| 7523 | |
| 7524 | target_link_libraries(murmur_hash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7525 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7526 | gpr_test_util |
| 7527 | gpr |
| 7528 | ) |
| 7529 | |
| 7530 | endif (gRPC_BUILD_TESTS) |
| 7531 | if (gRPC_BUILD_TESTS) |
| 7532 | |
| 7533 | add_executable(no_server_test |
| 7534 | test/core/end2end/no_server_test.c |
| 7535 | ) |
| 7536 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7537 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7538 | target_include_directories(no_server_test |
| 7539 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7540 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7541 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7542 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7543 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7544 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7545 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7546 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7547 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7548 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7549 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7550 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7551 | ) |
| 7552 | |
| 7553 | target_link_libraries(no_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7554 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7555 | grpc_test_util |
| 7556 | grpc |
| 7557 | gpr_test_util |
| 7558 | gpr |
| 7559 | ) |
| 7560 | |
| 7561 | endif (gRPC_BUILD_TESTS) |
| 7562 | if (gRPC_BUILD_TESTS) |
| 7563 | |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7564 | add_executable(num_external_connectivity_watchers_test |
| 7565 | test/core/surface/num_external_connectivity_watchers_test.c |
| 7566 | ) |
| 7567 | |
| 7568 | |
| 7569 | target_include_directories(num_external_connectivity_watchers_test |
| 7570 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7571 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7572 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7573 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 7574 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 7575 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7576 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7577 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 7578 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7579 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7580 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 7581 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7582 | ) |
| 7583 | |
| 7584 | target_link_libraries(num_external_connectivity_watchers_test |
| 7585 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7586 | grpc_test_util |
| 7587 | grpc |
| 7588 | gpr_test_util |
| 7589 | gpr |
| 7590 | ) |
| 7591 | |
| 7592 | endif (gRPC_BUILD_TESTS) |
| 7593 | if (gRPC_BUILD_TESTS) |
| 7594 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7595 | add_executable(parse_address_test |
| 7596 | test/core/client_channel/parse_address_test.c |
| 7597 | ) |
| 7598 | |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7599 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7600 | target_include_directories(parse_address_test |
| 7601 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7602 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7603 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7604 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7605 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7606 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7607 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7608 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7609 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7610 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7611 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7612 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7613 | ) |
| 7614 | |
| 7615 | target_link_libraries(parse_address_test |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7616 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7617 | grpc_test_util |
| 7618 | grpc |
| 7619 | gpr_test_util |
| 7620 | gpr |
| 7621 | ) |
| 7622 | |
| 7623 | endif (gRPC_BUILD_TESTS) |
| 7624 | if (gRPC_BUILD_TESTS) |
| 7625 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7626 | add_executable(percent_encoding_test |
| 7627 | test/core/slice/percent_encoding_test.c |
| 7628 | ) |
| 7629 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7630 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7631 | target_include_directories(percent_encoding_test |
| 7632 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7633 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7634 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7635 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7636 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7637 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7638 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7639 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7640 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7641 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7642 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7643 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7644 | ) |
| 7645 | |
| 7646 | target_link_libraries(percent_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7647 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7648 | grpc_test_util |
| 7649 | grpc |
| 7650 | gpr_test_util |
| 7651 | gpr |
| 7652 | ) |
| 7653 | |
| 7654 | endif (gRPC_BUILD_TESTS) |
| 7655 | if (gRPC_BUILD_TESTS) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7656 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7657 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7658 | add_executable(pollset_set_test |
| 7659 | test/core/iomgr/pollset_set_test.c |
| 7660 | ) |
| 7661 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7662 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7663 | target_include_directories(pollset_set_test |
| 7664 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7665 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7666 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7667 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7668 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7669 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7670 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7671 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7672 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7673 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7674 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7675 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7676 | ) |
| 7677 | |
| 7678 | target_link_libraries(pollset_set_test |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7679 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7680 | grpc_test_util |
| 7681 | grpc |
| 7682 | gpr_test_util |
| 7683 | gpr |
| 7684 | ) |
| 7685 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7686 | endif() |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7687 | endif (gRPC_BUILD_TESTS) |
| 7688 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7689 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7690 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7691 | add_executable(resolve_address_posix_test |
| 7692 | test/core/iomgr/resolve_address_posix_test.c |
| 7693 | ) |
| 7694 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7695 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7696 | target_include_directories(resolve_address_posix_test |
| 7697 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7698 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7699 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7700 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7701 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7702 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7703 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7704 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7705 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7706 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7707 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7708 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7709 | ) |
| 7710 | |
| 7711 | target_link_libraries(resolve_address_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7712 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7713 | grpc_test_util |
| 7714 | grpc |
| 7715 | gpr_test_util |
| 7716 | gpr |
| 7717 | ) |
| 7718 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7719 | endif() |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7720 | endif (gRPC_BUILD_TESTS) |
| 7721 | if (gRPC_BUILD_TESTS) |
| 7722 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7723 | add_executable(resolve_address_test |
| 7724 | test/core/iomgr/resolve_address_test.c |
| 7725 | ) |
| 7726 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7727 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7728 | target_include_directories(resolve_address_test |
| 7729 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7730 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7731 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7732 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7733 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7734 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7735 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7736 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7737 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7738 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7739 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7740 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7741 | ) |
| 7742 | |
| 7743 | target_link_libraries(resolve_address_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7744 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7745 | grpc_test_util |
| 7746 | grpc |
| 7747 | gpr_test_util |
| 7748 | gpr |
| 7749 | ) |
| 7750 | |
| 7751 | endif (gRPC_BUILD_TESTS) |
| 7752 | if (gRPC_BUILD_TESTS) |
| 7753 | |
| 7754 | add_executable(resource_quota_test |
| 7755 | test/core/iomgr/resource_quota_test.c |
| 7756 | ) |
| 7757 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7758 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7759 | target_include_directories(resource_quota_test |
| 7760 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7761 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7762 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7763 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7764 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7765 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7766 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7767 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7768 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7769 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7770 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7771 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7772 | ) |
| 7773 | |
| 7774 | target_link_libraries(resource_quota_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7775 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7776 | grpc_test_util |
| 7777 | grpc |
| 7778 | gpr_test_util |
| 7779 | gpr |
| 7780 | ) |
| 7781 | |
| 7782 | endif (gRPC_BUILD_TESTS) |
| 7783 | if (gRPC_BUILD_TESTS) |
| 7784 | |
| 7785 | add_executable(secure_channel_create_test |
| 7786 | test/core/surface/secure_channel_create_test.c |
| 7787 | ) |
| 7788 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7789 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7790 | target_include_directories(secure_channel_create_test |
| 7791 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7792 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7793 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7794 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7795 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7796 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7797 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7798 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7799 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7800 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7801 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7802 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7803 | ) |
| 7804 | |
| 7805 | target_link_libraries(secure_channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7806 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7807 | grpc_test_util |
| 7808 | grpc |
| 7809 | gpr_test_util |
| 7810 | gpr |
| 7811 | ) |
| 7812 | |
| 7813 | endif (gRPC_BUILD_TESTS) |
| 7814 | if (gRPC_BUILD_TESTS) |
| 7815 | |
| 7816 | add_executable(secure_endpoint_test |
| 7817 | test/core/security/secure_endpoint_test.c |
| 7818 | ) |
| 7819 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7820 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7821 | target_include_directories(secure_endpoint_test |
| 7822 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7823 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7824 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7825 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7826 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7827 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7828 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7829 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7830 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7831 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7832 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7833 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7834 | ) |
| 7835 | |
| 7836 | target_link_libraries(secure_endpoint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7837 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7838 | grpc_test_util |
| 7839 | grpc |
| 7840 | gpr_test_util |
| 7841 | gpr |
| 7842 | ) |
| 7843 | |
| 7844 | endif (gRPC_BUILD_TESTS) |
| 7845 | if (gRPC_BUILD_TESTS) |
| 7846 | |
| 7847 | add_executable(sequential_connectivity_test |
| 7848 | test/core/surface/sequential_connectivity_test.c |
| 7849 | ) |
| 7850 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7851 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7852 | target_include_directories(sequential_connectivity_test |
| 7853 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7854 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7855 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7856 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7857 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7858 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7859 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7860 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7861 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7862 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7863 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7864 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7865 | ) |
| 7866 | |
| 7867 | target_link_libraries(sequential_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7868 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7869 | grpc_test_util |
| 7870 | grpc |
| 7871 | gpr_test_util |
| 7872 | gpr |
| 7873 | ) |
| 7874 | |
| 7875 | endif (gRPC_BUILD_TESTS) |
| 7876 | if (gRPC_BUILD_TESTS) |
| 7877 | |
| 7878 | add_executable(server_chttp2_test |
| 7879 | test/core/surface/server_chttp2_test.c |
| 7880 | ) |
| 7881 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7882 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7883 | target_include_directories(server_chttp2_test |
| 7884 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7885 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7886 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7887 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7888 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7889 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7890 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7891 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7892 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7893 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7894 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7895 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7896 | ) |
| 7897 | |
| 7898 | target_link_libraries(server_chttp2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7899 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7900 | grpc_test_util |
| 7901 | grpc |
| 7902 | gpr_test_util |
| 7903 | gpr |
| 7904 | ) |
| 7905 | |
| 7906 | endif (gRPC_BUILD_TESTS) |
| 7907 | if (gRPC_BUILD_TESTS) |
| 7908 | |
| 7909 | add_executable(server_test |
| 7910 | test/core/surface/server_test.c |
| 7911 | ) |
| 7912 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7913 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7914 | target_include_directories(server_test |
| 7915 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7916 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7917 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7918 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7919 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7920 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7921 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7922 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7923 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7924 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7925 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7926 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7927 | ) |
| 7928 | |
| 7929 | target_link_libraries(server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7930 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7931 | grpc_test_util |
| 7932 | grpc |
| 7933 | gpr_test_util |
| 7934 | gpr |
| 7935 | ) |
| 7936 | |
| 7937 | endif (gRPC_BUILD_TESTS) |
| 7938 | if (gRPC_BUILD_TESTS) |
| 7939 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7940 | add_executable(slice_buffer_test |
| 7941 | test/core/slice/slice_buffer_test.c |
| 7942 | ) |
| 7943 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7944 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7945 | target_include_directories(slice_buffer_test |
| 7946 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7947 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7948 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7949 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7950 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7951 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7952 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7953 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7954 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7955 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7956 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7957 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7958 | ) |
| 7959 | |
| 7960 | target_link_libraries(slice_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7961 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7962 | grpc_test_util |
| 7963 | grpc |
| 7964 | gpr_test_util |
| 7965 | gpr |
| 7966 | ) |
| 7967 | |
| 7968 | endif (gRPC_BUILD_TESTS) |
| 7969 | if (gRPC_BUILD_TESTS) |
| 7970 | |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 7971 | add_executable(slice_hash_table_test |
| 7972 | test/core/slice/slice_hash_table_test.c |
| 7973 | ) |
| 7974 | |
| 7975 | |
| 7976 | target_include_directories(slice_hash_table_test |
| 7977 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7978 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7979 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7980 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 7981 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 7982 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7983 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7984 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 7985 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7986 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7987 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 7988 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7989 | ) |
| 7990 | |
| 7991 | target_link_libraries(slice_hash_table_test |
| 7992 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7993 | grpc_test_util |
| 7994 | grpc |
| 7995 | gpr_test_util |
| 7996 | gpr |
| 7997 | ) |
| 7998 | |
| 7999 | endif (gRPC_BUILD_TESTS) |
| 8000 | if (gRPC_BUILD_TESTS) |
| 8001 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8002 | add_executable(slice_string_helpers_test |
| 8003 | test/core/slice/slice_string_helpers_test.c |
| 8004 | ) |
| 8005 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8006 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8007 | target_include_directories(slice_string_helpers_test |
| 8008 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8009 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8010 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8011 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8012 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8013 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8014 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8015 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8016 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8017 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8018 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8019 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8020 | ) |
| 8021 | |
| 8022 | target_link_libraries(slice_string_helpers_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8023 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8024 | grpc_test_util |
| 8025 | grpc |
| 8026 | gpr_test_util |
| 8027 | gpr |
| 8028 | ) |
| 8029 | |
| 8030 | endif (gRPC_BUILD_TESTS) |
| 8031 | if (gRPC_BUILD_TESTS) |
| 8032 | |
| 8033 | add_executable(slice_test |
| 8034 | test/core/slice/slice_test.c |
| 8035 | ) |
| 8036 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8037 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8038 | target_include_directories(slice_test |
| 8039 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8040 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8041 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8042 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8043 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8044 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8045 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8046 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8047 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8048 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8049 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8050 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8051 | ) |
| 8052 | |
| 8053 | target_link_libraries(slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8054 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8055 | grpc_test_util |
| 8056 | grpc |
| 8057 | gpr_test_util |
| 8058 | gpr |
| 8059 | ) |
| 8060 | |
| 8061 | endif (gRPC_BUILD_TESTS) |
| 8062 | if (gRPC_BUILD_TESTS) |
| 8063 | |
| 8064 | add_executable(sockaddr_resolver_test |
| 8065 | test/core/client_channel/resolvers/sockaddr_resolver_test.c |
| 8066 | ) |
| 8067 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8068 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8069 | target_include_directories(sockaddr_resolver_test |
| 8070 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8071 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8072 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8073 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8074 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8075 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8076 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8077 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8078 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8079 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8080 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8081 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8082 | ) |
| 8083 | |
| 8084 | target_link_libraries(sockaddr_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8085 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8086 | grpc_test_util |
| 8087 | grpc |
| 8088 | gpr_test_util |
| 8089 | gpr |
| 8090 | ) |
| 8091 | |
| 8092 | endif (gRPC_BUILD_TESTS) |
| 8093 | if (gRPC_BUILD_TESTS) |
| 8094 | |
| 8095 | add_executable(sockaddr_utils_test |
| 8096 | test/core/iomgr/sockaddr_utils_test.c |
| 8097 | ) |
| 8098 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8099 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8100 | target_include_directories(sockaddr_utils_test |
| 8101 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8102 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8103 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8104 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8105 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8106 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8107 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8108 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8109 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8110 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8111 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8112 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8113 | ) |
| 8114 | |
| 8115 | target_link_libraries(sockaddr_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8116 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8117 | grpc_test_util |
| 8118 | grpc |
| 8119 | gpr_test_util |
| 8120 | gpr |
| 8121 | ) |
| 8122 | |
| 8123 | endif (gRPC_BUILD_TESTS) |
| 8124 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8125 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8126 | |
| 8127 | add_executable(socket_utils_test |
| 8128 | test/core/iomgr/socket_utils_test.c |
| 8129 | ) |
| 8130 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8131 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8132 | target_include_directories(socket_utils_test |
| 8133 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8134 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8135 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8136 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8137 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8138 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8139 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8140 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8141 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8142 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8143 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8144 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8145 | ) |
| 8146 | |
| 8147 | target_link_libraries(socket_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8148 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8149 | grpc_test_util |
| 8150 | grpc |
| 8151 | gpr_test_util |
| 8152 | gpr |
| 8153 | ) |
| 8154 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8155 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8156 | endif (gRPC_BUILD_TESTS) |
| 8157 | if (gRPC_BUILD_TESTS) |
| 8158 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8159 | add_executable(status_conversion_test |
| 8160 | test/core/transport/status_conversion_test.c |
| 8161 | ) |
| 8162 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8163 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8164 | target_include_directories(status_conversion_test |
| 8165 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8166 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8167 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8168 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8169 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8170 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8171 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8172 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8173 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8174 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8175 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8176 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8177 | ) |
| 8178 | |
| 8179 | target_link_libraries(status_conversion_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8180 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8181 | grpc_test_util |
| 8182 | grpc |
| 8183 | gpr_test_util |
| 8184 | gpr |
| 8185 | ) |
| 8186 | |
| 8187 | endif (gRPC_BUILD_TESTS) |
| 8188 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8189 | |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8190 | add_executable(stream_compression_test |
| 8191 | test/core/compression/stream_compression_test.c |
| 8192 | ) |
| 8193 | |
| 8194 | |
| 8195 | target_include_directories(stream_compression_test |
| 8196 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8197 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8198 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8199 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8200 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8201 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8202 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8203 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 8204 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8205 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8206 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8207 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8208 | ) |
| 8209 | |
| 8210 | target_link_libraries(stream_compression_test |
| 8211 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8212 | grpc_test_util |
| 8213 | grpc |
| 8214 | gpr_test_util |
| 8215 | gpr |
| 8216 | ) |
| 8217 | |
| 8218 | endif (gRPC_BUILD_TESTS) |
| 8219 | if (gRPC_BUILD_TESTS) |
| 8220 | |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8221 | add_executable(stream_owned_slice_test |
| 8222 | test/core/transport/stream_owned_slice_test.c |
| 8223 | ) |
| 8224 | |
| 8225 | |
| 8226 | target_include_directories(stream_owned_slice_test |
| 8227 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8228 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8229 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8230 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8231 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8232 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8233 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8234 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8235 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8236 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8237 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8238 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8239 | ) |
| 8240 | |
| 8241 | target_link_libraries(stream_owned_slice_test |
| 8242 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8243 | grpc_test_util |
| 8244 | grpc |
| 8245 | gpr_test_util |
| 8246 | gpr |
| 8247 | ) |
| 8248 | |
| 8249 | endif (gRPC_BUILD_TESTS) |
| 8250 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8251 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8252 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8253 | add_executable(tcp_client_posix_test |
| 8254 | test/core/iomgr/tcp_client_posix_test.c |
| 8255 | ) |
| 8256 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8257 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8258 | target_include_directories(tcp_client_posix_test |
| 8259 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8260 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8261 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8262 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8263 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8264 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8265 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8266 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8267 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8268 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8269 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8270 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8271 | ) |
| 8272 | |
| 8273 | target_link_libraries(tcp_client_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8274 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8275 | grpc_test_util |
| 8276 | grpc |
| 8277 | gpr_test_util |
| 8278 | gpr |
| 8279 | ) |
| 8280 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8281 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8282 | endif (gRPC_BUILD_TESTS) |
| 8283 | if (gRPC_BUILD_TESTS) |
| 8284 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8285 | add_executable(tcp_client_uv_test |
| 8286 | test/core/iomgr/tcp_client_uv_test.c |
| 8287 | ) |
| 8288 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8289 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8290 | target_include_directories(tcp_client_uv_test |
| 8291 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8292 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8293 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8294 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8295 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8296 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8297 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8298 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8299 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8300 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8301 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8302 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8303 | ) |
| 8304 | |
| 8305 | target_link_libraries(tcp_client_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8306 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8307 | grpc_test_util |
| 8308 | grpc |
| 8309 | gpr_test_util |
| 8310 | gpr |
| 8311 | ) |
| 8312 | |
| 8313 | endif (gRPC_BUILD_TESTS) |
| 8314 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8315 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8316 | |
| 8317 | add_executable(tcp_posix_test |
| 8318 | test/core/iomgr/tcp_posix_test.c |
| 8319 | ) |
| 8320 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8321 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8322 | target_include_directories(tcp_posix_test |
| 8323 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8324 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8325 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8326 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8327 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8328 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8329 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8330 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8331 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8332 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8333 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8334 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8335 | ) |
| 8336 | |
| 8337 | target_link_libraries(tcp_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8338 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8339 | grpc_test_util |
| 8340 | grpc |
| 8341 | gpr_test_util |
| 8342 | gpr |
| 8343 | ) |
| 8344 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8345 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8346 | endif (gRPC_BUILD_TESTS) |
| 8347 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8348 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8349 | |
| 8350 | add_executable(tcp_server_posix_test |
| 8351 | test/core/iomgr/tcp_server_posix_test.c |
| 8352 | ) |
| 8353 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8354 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8355 | target_include_directories(tcp_server_posix_test |
| 8356 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8357 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8358 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8359 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8360 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8361 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8362 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8363 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8364 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8365 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8366 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8367 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8368 | ) |
| 8369 | |
| 8370 | target_link_libraries(tcp_server_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8371 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8372 | grpc_test_util |
| 8373 | grpc |
| 8374 | gpr_test_util |
| 8375 | gpr |
| 8376 | ) |
| 8377 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8378 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8379 | endif (gRPC_BUILD_TESTS) |
| 8380 | if (gRPC_BUILD_TESTS) |
| 8381 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8382 | add_executable(tcp_server_uv_test |
| 8383 | test/core/iomgr/tcp_server_uv_test.c |
| 8384 | ) |
| 8385 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8386 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8387 | target_include_directories(tcp_server_uv_test |
| 8388 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8389 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8390 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8391 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8392 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8393 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8394 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8395 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8396 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8397 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8398 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8399 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8400 | ) |
| 8401 | |
| 8402 | target_link_libraries(tcp_server_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8403 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8404 | grpc_test_util |
| 8405 | grpc |
| 8406 | gpr_test_util |
| 8407 | gpr |
| 8408 | ) |
| 8409 | |
| 8410 | endif (gRPC_BUILD_TESTS) |
| 8411 | if (gRPC_BUILD_TESTS) |
| 8412 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8413 | add_executable(time_averaged_stats_test |
| 8414 | test/core/iomgr/time_averaged_stats_test.c |
| 8415 | ) |
| 8416 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8417 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8418 | target_include_directories(time_averaged_stats_test |
| 8419 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8420 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8421 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8422 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8423 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8424 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8425 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8426 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8427 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8428 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8429 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8430 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8431 | ) |
| 8432 | |
| 8433 | target_link_libraries(time_averaged_stats_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8434 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8435 | grpc_test_util |
| 8436 | grpc |
| 8437 | gpr_test_util |
| 8438 | gpr |
| 8439 | ) |
| 8440 | |
| 8441 | endif (gRPC_BUILD_TESTS) |
| 8442 | if (gRPC_BUILD_TESTS) |
| 8443 | |
| 8444 | add_executable(timeout_encoding_test |
| 8445 | test/core/transport/timeout_encoding_test.c |
| 8446 | ) |
| 8447 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8448 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8449 | target_include_directories(timeout_encoding_test |
| 8450 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8451 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8452 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8453 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8454 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8455 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8456 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8457 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8458 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8459 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8460 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8461 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8462 | ) |
| 8463 | |
| 8464 | target_link_libraries(timeout_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8465 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8466 | grpc_test_util |
| 8467 | grpc |
| 8468 | gpr_test_util |
| 8469 | gpr |
| 8470 | ) |
| 8471 | |
| 8472 | endif (gRPC_BUILD_TESTS) |
| 8473 | if (gRPC_BUILD_TESTS) |
| 8474 | |
| 8475 | add_executable(timer_heap_test |
| 8476 | test/core/iomgr/timer_heap_test.c |
| 8477 | ) |
| 8478 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8479 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8480 | target_include_directories(timer_heap_test |
| 8481 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8482 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8483 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8484 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8485 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8486 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8487 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8488 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8489 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8490 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8491 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8492 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8493 | ) |
| 8494 | |
| 8495 | target_link_libraries(timer_heap_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8496 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8497 | grpc_test_util |
| 8498 | grpc |
| 8499 | gpr_test_util |
| 8500 | gpr |
| 8501 | ) |
| 8502 | |
| 8503 | endif (gRPC_BUILD_TESTS) |
| 8504 | if (gRPC_BUILD_TESTS) |
| 8505 | |
| 8506 | add_executable(timer_list_test |
| 8507 | test/core/iomgr/timer_list_test.c |
| 8508 | ) |
| 8509 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8510 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8511 | target_include_directories(timer_list_test |
| 8512 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8513 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8514 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8515 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8516 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8517 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8518 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8519 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8520 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8521 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8522 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8523 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8524 | ) |
| 8525 | |
| 8526 | target_link_libraries(timer_list_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8527 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8528 | grpc_test_util |
| 8529 | grpc |
| 8530 | gpr_test_util |
| 8531 | gpr |
| 8532 | ) |
| 8533 | |
| 8534 | endif (gRPC_BUILD_TESTS) |
| 8535 | if (gRPC_BUILD_TESTS) |
| 8536 | |
| 8537 | add_executable(transport_connectivity_state_test |
| 8538 | test/core/transport/connectivity_state_test.c |
| 8539 | ) |
| 8540 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8541 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8542 | target_include_directories(transport_connectivity_state_test |
| 8543 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8544 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8545 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8546 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8547 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8548 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8549 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8550 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8551 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8552 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8553 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8554 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8555 | ) |
| 8556 | |
| 8557 | target_link_libraries(transport_connectivity_state_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8558 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8559 | grpc_test_util |
| 8560 | grpc |
| 8561 | gpr_test_util |
| 8562 | gpr |
| 8563 | ) |
| 8564 | |
| 8565 | endif (gRPC_BUILD_TESTS) |
| 8566 | if (gRPC_BUILD_TESTS) |
| 8567 | |
| 8568 | add_executable(transport_metadata_test |
| 8569 | test/core/transport/metadata_test.c |
| 8570 | ) |
| 8571 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8572 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8573 | target_include_directories(transport_metadata_test |
| 8574 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8575 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8576 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8577 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8578 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8579 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8580 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8581 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8582 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8583 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8584 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8585 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8586 | ) |
| 8587 | |
| 8588 | target_link_libraries(transport_metadata_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8589 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8590 | grpc_test_util |
| 8591 | grpc |
| 8592 | gpr_test_util |
| 8593 | gpr |
| 8594 | ) |
| 8595 | |
| 8596 | endif (gRPC_BUILD_TESTS) |
| 8597 | if (gRPC_BUILD_TESTS) |
| 8598 | |
| 8599 | add_executable(transport_pid_controller_test |
| 8600 | test/core/transport/pid_controller_test.c |
| 8601 | ) |
| 8602 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8603 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8604 | target_include_directories(transport_pid_controller_test |
| 8605 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8606 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8607 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8608 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8609 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8610 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8611 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8612 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8613 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8614 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8615 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8616 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8617 | ) |
| 8618 | |
| 8619 | target_link_libraries(transport_pid_controller_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8620 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8621 | grpc_test_util |
| 8622 | grpc |
| 8623 | gpr_test_util |
| 8624 | gpr |
| 8625 | ) |
| 8626 | |
| 8627 | endif (gRPC_BUILD_TESTS) |
| 8628 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8629 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8630 | |
| 8631 | add_executable(transport_security_test |
| 8632 | test/core/tsi/transport_security_test.c |
| 8633 | ) |
| 8634 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8635 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8636 | target_include_directories(transport_security_test |
| 8637 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8638 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8639 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8640 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8641 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8642 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8643 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8644 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8645 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8646 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8647 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8648 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8649 | ) |
| 8650 | |
| 8651 | target_link_libraries(transport_security_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8652 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8653 | grpc_test_util |
| 8654 | grpc |
| 8655 | gpr_test_util |
| 8656 | gpr |
| 8657 | ) |
| 8658 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8659 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8660 | endif (gRPC_BUILD_TESTS) |
| 8661 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8662 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8663 | |
| 8664 | add_executable(udp_server_test |
| 8665 | test/core/iomgr/udp_server_test.c |
| 8666 | ) |
| 8667 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8668 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8669 | target_include_directories(udp_server_test |
| 8670 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8671 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8672 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8673 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8674 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8675 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8676 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8677 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8678 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8679 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8680 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8681 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8682 | ) |
| 8683 | |
| 8684 | target_link_libraries(udp_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8685 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8686 | grpc_test_util |
| 8687 | grpc |
| 8688 | gpr_test_util |
| 8689 | gpr |
| 8690 | ) |
| 8691 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8692 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8693 | endif (gRPC_BUILD_TESTS) |
| 8694 | if (gRPC_BUILD_TESTS) |
| 8695 | |
| 8696 | add_executable(uri_parser_test |
| 8697 | test/core/client_channel/uri_parser_test.c |
| 8698 | ) |
| 8699 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8700 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8701 | target_include_directories(uri_parser_test |
| 8702 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8703 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8704 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8705 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8706 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8707 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8708 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8709 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8710 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8711 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8712 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8713 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8714 | ) |
| 8715 | |
| 8716 | target_link_libraries(uri_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8717 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8718 | grpc_test_util |
| 8719 | grpc |
| 8720 | gpr_test_util |
| 8721 | gpr |
| 8722 | ) |
| 8723 | |
| 8724 | endif (gRPC_BUILD_TESTS) |
| 8725 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8726 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8727 | |
| 8728 | add_executable(wakeup_fd_cv_test |
| 8729 | test/core/iomgr/wakeup_fd_cv_test.c |
| 8730 | ) |
| 8731 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8732 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8733 | target_include_directories(wakeup_fd_cv_test |
| 8734 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8735 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8736 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8737 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8738 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8739 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8740 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8741 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8742 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8743 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8744 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8745 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8746 | ) |
| 8747 | |
| 8748 | target_link_libraries(wakeup_fd_cv_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8749 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8750 | grpc_test_util |
| 8751 | grpc |
| 8752 | gpr_test_util |
| 8753 | gpr |
| 8754 | ) |
| 8755 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8756 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8757 | endif (gRPC_BUILD_TESTS) |
| 8758 | if (gRPC_BUILD_TESTS) |
| 8759 | |
| 8760 | add_executable(alarm_cpp_test |
| 8761 | test/cpp/common/alarm_cpp_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8762 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8763 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8764 | ) |
| 8765 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8766 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8767 | target_include_directories(alarm_cpp_test |
| 8768 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8769 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8770 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8771 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8772 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8773 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8774 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8775 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8776 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8777 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8778 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8779 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8780 | PRIVATE third_party/googletest/googletest/include |
| 8781 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8782 | PRIVATE third_party/googletest/googlemock/include |
| 8783 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8784 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8785 | ) |
| 8786 | |
| 8787 | target_link_libraries(alarm_cpp_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8788 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8789 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8790 | grpc++_test_util |
| 8791 | grpc_test_util |
| 8792 | grpc++ |
| 8793 | grpc |
| 8794 | gpr_test_util |
| 8795 | gpr |
| 8796 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8797 | ) |
| 8798 | |
| 8799 | endif (gRPC_BUILD_TESTS) |
| 8800 | if (gRPC_BUILD_TESTS) |
| 8801 | |
| 8802 | add_executable(async_end2end_test |
| 8803 | test/cpp/end2end/async_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8804 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8805 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 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(async_end2end_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 |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8822 | PRIVATE third_party/googletest/googletest/include |
| 8823 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8824 | PRIVATE third_party/googletest/googlemock/include |
| 8825 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8826 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8827 | ) |
| 8828 | |
| 8829 | target_link_libraries(async_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8830 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8831 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8832 | grpc++_test_util |
| 8833 | grpc_test_util |
| 8834 | grpc++ |
| 8835 | grpc |
| 8836 | gpr_test_util |
| 8837 | gpr |
| 8838 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8839 | ) |
| 8840 | |
| 8841 | endif (gRPC_BUILD_TESTS) |
| 8842 | if (gRPC_BUILD_TESTS) |
| 8843 | |
| 8844 | add_executable(auth_property_iterator_test |
| 8845 | test/cpp/common/auth_property_iterator_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8846 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8847 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8848 | ) |
| 8849 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8850 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8851 | target_include_directories(auth_property_iterator_test |
| 8852 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8853 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8854 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8855 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8856 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8857 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8858 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8859 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8860 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8861 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8862 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8863 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8864 | PRIVATE third_party/googletest/googletest/include |
| 8865 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8866 | PRIVATE third_party/googletest/googlemock/include |
| 8867 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8868 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8869 | ) |
| 8870 | |
| 8871 | target_link_libraries(auth_property_iterator_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8872 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8873 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8874 | grpc++_test_util |
| 8875 | grpc_test_util |
| 8876 | grpc++ |
| 8877 | grpc |
| 8878 | gpr_test_util |
| 8879 | gpr |
| 8880 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8881 | ) |
| 8882 | |
| 8883 | endif (gRPC_BUILD_TESTS) |
| 8884 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8885 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8886 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8887 | add_executable(bm_arena |
| 8888 | test/cpp/microbenchmarks/bm_arena.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8889 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8890 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8891 | ) |
| 8892 | |
| 8893 | |
| 8894 | target_include_directories(bm_arena |
| 8895 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8896 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8897 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8898 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8899 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8900 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8901 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8902 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8903 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8904 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8905 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8906 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8907 | PRIVATE third_party/googletest/googletest/include |
| 8908 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8909 | PRIVATE third_party/googletest/googlemock/include |
| 8910 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8911 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8912 | ) |
| 8913 | |
| 8914 | target_link_libraries(bm_arena |
| 8915 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8916 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8917 | grpc_benchmark |
| 8918 | benchmark |
| 8919 | grpc++_test_util |
| 8920 | grpc_test_util |
| 8921 | grpc++ |
| 8922 | grpc |
| 8923 | gpr_test_util |
| 8924 | gpr |
| 8925 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8926 | ) |
| 8927 | |
| 8928 | endif() |
| 8929 | endif (gRPC_BUILD_TESTS) |
| 8930 | if (gRPC_BUILD_TESTS) |
| 8931 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8932 | |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8933 | add_executable(bm_call_create |
| 8934 | test/cpp/microbenchmarks/bm_call_create.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8935 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8936 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8937 | ) |
| 8938 | |
| 8939 | |
| 8940 | target_include_directories(bm_call_create |
| 8941 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8942 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8943 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8944 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8945 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8946 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8947 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8948 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8949 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8950 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8951 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8952 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8953 | PRIVATE third_party/googletest/googletest/include |
| 8954 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8955 | PRIVATE third_party/googletest/googlemock/include |
| 8956 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8957 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8958 | ) |
| 8959 | |
| 8960 | target_link_libraries(bm_call_create |
| 8961 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8962 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8963 | grpc_benchmark |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8964 | benchmark |
| 8965 | grpc++_test_util |
| 8966 | grpc_test_util |
| 8967 | grpc++ |
| 8968 | grpc |
| 8969 | gpr_test_util |
| 8970 | gpr |
| 8971 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8972 | ) |
| 8973 | |
| 8974 | endif() |
| 8975 | endif (gRPC_BUILD_TESTS) |
| 8976 | if (gRPC_BUILD_TESTS) |
| 8977 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8978 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 8979 | add_executable(bm_chttp2_hpack |
| 8980 | test/cpp/microbenchmarks/bm_chttp2_hpack.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8981 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8982 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8983 | ) |
| 8984 | |
| 8985 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 8986 | target_include_directories(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8987 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8988 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8989 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8990 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8991 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8992 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8993 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8994 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8995 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8996 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8997 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8998 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8999 | PRIVATE third_party/googletest/googletest/include |
| 9000 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9001 | PRIVATE third_party/googletest/googlemock/include |
| 9002 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9003 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9004 | ) |
| 9005 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 9006 | target_link_libraries(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9007 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9008 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9009 | grpc_benchmark |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9010 | benchmark |
| 9011 | grpc++_test_util |
| 9012 | grpc_test_util |
| 9013 | grpc++ |
| 9014 | grpc |
| 9015 | gpr_test_util |
| 9016 | gpr |
| 9017 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9018 | ) |
| 9019 | |
| 9020 | endif() |
| 9021 | endif (gRPC_BUILD_TESTS) |
| 9022 | if (gRPC_BUILD_TESTS) |
| 9023 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9024 | |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9025 | add_executable(bm_chttp2_transport |
| 9026 | test/cpp/microbenchmarks/bm_chttp2_transport.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9027 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9028 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9029 | ) |
| 9030 | |
| 9031 | |
| 9032 | target_include_directories(bm_chttp2_transport |
| 9033 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9034 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9035 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9036 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9037 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9038 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9039 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 937302b | 2017-03-22 10:54:31 -0700 | [diff] [blame] | 9040 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 9041 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9042 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9043 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9044 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9045 | PRIVATE third_party/googletest/googletest/include |
| 9046 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9047 | PRIVATE third_party/googletest/googlemock/include |
| 9048 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9049 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9050 | ) |
| 9051 | |
| 9052 | target_link_libraries(bm_chttp2_transport |
| 9053 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9054 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9055 | grpc_benchmark |
| 9056 | benchmark |
| 9057 | grpc++_test_util |
| 9058 | grpc_test_util |
| 9059 | grpc++ |
| 9060 | grpc |
| 9061 | gpr_test_util |
| 9062 | gpr |
| 9063 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9064 | ) |
| 9065 | |
| 9066 | endif() |
| 9067 | endif (gRPC_BUILD_TESTS) |
| 9068 | if (gRPC_BUILD_TESTS) |
| 9069 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9070 | |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9071 | add_executable(bm_closure |
| 9072 | test/cpp/microbenchmarks/bm_closure.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9073 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9074 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9075 | ) |
| 9076 | |
| 9077 | |
| 9078 | target_include_directories(bm_closure |
| 9079 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9080 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9081 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9082 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9083 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9084 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9085 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9086 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9087 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9088 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9089 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9090 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9091 | PRIVATE third_party/googletest/googletest/include |
| 9092 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9093 | PRIVATE third_party/googletest/googlemock/include |
| 9094 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9095 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9096 | ) |
| 9097 | |
| 9098 | target_link_libraries(bm_closure |
| 9099 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9100 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9101 | grpc_benchmark |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9102 | benchmark |
Craig Tiller | 510f38a | 2017-02-24 17:00:19 -0800 | [diff] [blame] | 9103 | grpc++_test_util |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9104 | grpc_test_util |
Craig Tiller | 510f38a | 2017-02-24 17:00:19 -0800 | [diff] [blame] | 9105 | grpc++ |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9106 | grpc |
| 9107 | gpr_test_util |
| 9108 | gpr |
| 9109 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9110 | ) |
| 9111 | |
| 9112 | endif() |
| 9113 | endif (gRPC_BUILD_TESTS) |
| 9114 | if (gRPC_BUILD_TESTS) |
| 9115 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9116 | |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9117 | add_executable(bm_cq |
| 9118 | test/cpp/microbenchmarks/bm_cq.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9119 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9120 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9121 | ) |
| 9122 | |
| 9123 | |
| 9124 | target_include_directories(bm_cq |
| 9125 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9126 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9127 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9128 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9129 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9130 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9131 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9132 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9133 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9134 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9135 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9136 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9137 | PRIVATE third_party/googletest/googletest/include |
| 9138 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9139 | PRIVATE third_party/googletest/googlemock/include |
| 9140 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9141 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9142 | ) |
| 9143 | |
| 9144 | target_link_libraries(bm_cq |
| 9145 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9146 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9147 | grpc_benchmark |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9148 | benchmark |
| 9149 | grpc++_test_util |
| 9150 | grpc_test_util |
| 9151 | grpc++ |
| 9152 | grpc |
| 9153 | gpr_test_util |
| 9154 | gpr |
| 9155 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9156 | ) |
| 9157 | |
| 9158 | endif() |
| 9159 | endif (gRPC_BUILD_TESTS) |
| 9160 | if (gRPC_BUILD_TESTS) |
| 9161 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9162 | |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9163 | add_executable(bm_cq_multiple_threads |
| 9164 | test/cpp/microbenchmarks/bm_cq_multiple_threads.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 9165 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9166 | third_party/googletest/googlemock/src/gmock-all.cc |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9167 | ) |
| 9168 | |
| 9169 | |
| 9170 | target_include_directories(bm_cq_multiple_threads |
| 9171 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9172 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9173 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9174 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9175 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9176 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9177 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9178 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 9179 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9180 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9181 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9182 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 9183 | PRIVATE third_party/googletest/googletest/include |
| 9184 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9185 | PRIVATE third_party/googletest/googlemock/include |
| 9186 | PRIVATE third_party/googletest/googlemock |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9187 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9188 | ) |
| 9189 | |
| 9190 | target_link_libraries(bm_cq_multiple_threads |
| 9191 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9192 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9193 | grpc_benchmark |
| 9194 | benchmark |
| 9195 | grpc++_test_util |
| 9196 | grpc_test_util |
| 9197 | grpc++ |
| 9198 | grpc |
| 9199 | gpr_test_util |
| 9200 | gpr |
| 9201 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9202 | ) |
| 9203 | |
| 9204 | endif() |
| 9205 | endif (gRPC_BUILD_TESTS) |
| 9206 | if (gRPC_BUILD_TESTS) |
| 9207 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9208 | |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9209 | add_executable(bm_error |
| 9210 | test/cpp/microbenchmarks/bm_error.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9211 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9212 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9213 | ) |
| 9214 | |
| 9215 | |
| 9216 | target_include_directories(bm_error |
| 9217 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9218 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9219 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9220 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9221 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9222 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9223 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9224 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9225 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9226 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9227 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9228 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9229 | PRIVATE third_party/googletest/googletest/include |
| 9230 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9231 | PRIVATE third_party/googletest/googlemock/include |
| 9232 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9233 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9234 | ) |
| 9235 | |
| 9236 | target_link_libraries(bm_error |
| 9237 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9238 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9239 | grpc_benchmark |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9240 | benchmark |
| 9241 | grpc++_test_util |
| 9242 | grpc_test_util |
| 9243 | grpc++ |
| 9244 | grpc |
| 9245 | gpr_test_util |
| 9246 | gpr |
| 9247 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9248 | ) |
| 9249 | |
| 9250 | endif() |
| 9251 | endif (gRPC_BUILD_TESTS) |
| 9252 | if (gRPC_BUILD_TESTS) |
| 9253 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9254 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9255 | add_executable(bm_fullstack_streaming_ping_pong |
| 9256 | test/cpp/microbenchmarks/bm_fullstack_streaming_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9257 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9258 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9259 | ) |
| 9260 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9261 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9262 | target_include_directories(bm_fullstack_streaming_ping_pong |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9263 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9264 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9265 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9266 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9267 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9268 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9269 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9270 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9271 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9272 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9273 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9274 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9275 | PRIVATE third_party/googletest/googletest/include |
| 9276 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9277 | PRIVATE third_party/googletest/googlemock/include |
| 9278 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9279 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9280 | ) |
| 9281 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9282 | target_link_libraries(bm_fullstack_streaming_ping_pong |
| 9283 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9284 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9285 | grpc_benchmark |
| 9286 | benchmark |
| 9287 | grpc++_test_util |
| 9288 | grpc_test_util |
| 9289 | grpc++ |
| 9290 | grpc |
| 9291 | gpr_test_util |
| 9292 | gpr |
| 9293 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9294 | ) |
| 9295 | |
| 9296 | endif() |
| 9297 | endif (gRPC_BUILD_TESTS) |
| 9298 | if (gRPC_BUILD_TESTS) |
| 9299 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9300 | |
| 9301 | add_executable(bm_fullstack_streaming_pump |
| 9302 | test/cpp/microbenchmarks/bm_fullstack_streaming_pump.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9303 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9304 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9305 | ) |
| 9306 | |
| 9307 | |
| 9308 | target_include_directories(bm_fullstack_streaming_pump |
| 9309 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9310 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9311 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9312 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9313 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9314 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9315 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9316 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9317 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9318 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9319 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9320 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9321 | PRIVATE third_party/googletest/googletest/include |
| 9322 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9323 | PRIVATE third_party/googletest/googlemock/include |
| 9324 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9325 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9326 | ) |
| 9327 | |
| 9328 | target_link_libraries(bm_fullstack_streaming_pump |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9329 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9330 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9331 | grpc_benchmark |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9332 | benchmark |
| 9333 | grpc++_test_util |
| 9334 | grpc_test_util |
| 9335 | grpc++ |
| 9336 | grpc |
| 9337 | gpr_test_util |
| 9338 | gpr |
| 9339 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9340 | ) |
| 9341 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9342 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9343 | endif (gRPC_BUILD_TESTS) |
| 9344 | if (gRPC_BUILD_TESTS) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9345 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9346 | |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9347 | add_executable(bm_fullstack_trickle |
| 9348 | test/cpp/microbenchmarks/bm_fullstack_trickle.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9349 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9350 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9351 | ) |
| 9352 | |
| 9353 | |
| 9354 | target_include_directories(bm_fullstack_trickle |
| 9355 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9356 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9357 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9358 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9359 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9360 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9361 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9362 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9363 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9364 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9365 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9366 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9367 | PRIVATE third_party/googletest/googletest/include |
| 9368 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9369 | PRIVATE third_party/googletest/googlemock/include |
| 9370 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9371 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9372 | ) |
| 9373 | |
| 9374 | target_link_libraries(bm_fullstack_trickle |
| 9375 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9376 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9377 | grpc_benchmark |
| 9378 | benchmark |
| 9379 | grpc++_test_util |
| 9380 | grpc_test_util |
| 9381 | grpc++ |
| 9382 | grpc |
| 9383 | gpr_test_util |
| 9384 | gpr |
| 9385 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9386 | ) |
| 9387 | |
| 9388 | endif() |
| 9389 | endif (gRPC_BUILD_TESTS) |
| 9390 | if (gRPC_BUILD_TESTS) |
| 9391 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9392 | |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9393 | add_executable(bm_fullstack_unary_ping_pong |
| 9394 | test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9395 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9396 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9397 | ) |
| 9398 | |
| 9399 | |
| 9400 | target_include_directories(bm_fullstack_unary_ping_pong |
| 9401 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9402 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9403 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9404 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9405 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9406 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9407 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9408 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9409 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9410 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9411 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9412 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9413 | PRIVATE third_party/googletest/googletest/include |
| 9414 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9415 | PRIVATE third_party/googletest/googlemock/include |
| 9416 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9417 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9418 | ) |
| 9419 | |
| 9420 | target_link_libraries(bm_fullstack_unary_ping_pong |
| 9421 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9422 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9423 | grpc_benchmark |
| 9424 | benchmark |
| 9425 | grpc++_test_util |
| 9426 | grpc_test_util |
| 9427 | grpc++ |
| 9428 | grpc |
| 9429 | gpr_test_util |
| 9430 | gpr |
| 9431 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9432 | ) |
| 9433 | |
| 9434 | endif() |
| 9435 | endif (gRPC_BUILD_TESTS) |
| 9436 | if (gRPC_BUILD_TESTS) |
| 9437 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9438 | |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9439 | add_executable(bm_metadata |
| 9440 | test/cpp/microbenchmarks/bm_metadata.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9441 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9442 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9443 | ) |
| 9444 | |
| 9445 | |
| 9446 | target_include_directories(bm_metadata |
| 9447 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9448 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9449 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9450 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9451 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9452 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9453 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9454 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9455 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9456 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9457 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9458 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9459 | PRIVATE third_party/googletest/googletest/include |
| 9460 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9461 | PRIVATE third_party/googletest/googlemock/include |
| 9462 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9463 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9464 | ) |
| 9465 | |
| 9466 | target_link_libraries(bm_metadata |
| 9467 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9468 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9469 | grpc_benchmark |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9470 | benchmark |
Craig Tiller | ad14bce | 2017-03-09 08:32:01 -0800 | [diff] [blame] | 9471 | grpc++_test_util |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9472 | grpc_test_util |
Craig Tiller | ad14bce | 2017-03-09 08:32:01 -0800 | [diff] [blame] | 9473 | grpc++ |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9474 | grpc |
| 9475 | gpr_test_util |
| 9476 | gpr |
| 9477 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9478 | ) |
| 9479 | |
| 9480 | endif() |
| 9481 | endif (gRPC_BUILD_TESTS) |
| 9482 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9483 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9484 | |
| 9485 | add_executable(bm_pollset |
| 9486 | test/cpp/microbenchmarks/bm_pollset.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9487 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9488 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9489 | ) |
| 9490 | |
| 9491 | |
| 9492 | target_include_directories(bm_pollset |
| 9493 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9494 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9495 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9496 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9497 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9498 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9499 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9500 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9501 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9502 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9503 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9504 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9505 | PRIVATE third_party/googletest/googletest/include |
| 9506 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9507 | PRIVATE third_party/googletest/googlemock/include |
| 9508 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9509 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9510 | ) |
| 9511 | |
| 9512 | target_link_libraries(bm_pollset |
| 9513 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9514 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9515 | grpc_benchmark |
| 9516 | benchmark |
Craig Tiller | 3a35189 | 2017-03-10 07:39:26 -0800 | [diff] [blame] | 9517 | grpc++_test_util |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9518 | grpc_test_util |
Craig Tiller | 3a35189 | 2017-03-10 07:39:26 -0800 | [diff] [blame] | 9519 | grpc++ |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9520 | grpc |
| 9521 | gpr_test_util |
| 9522 | gpr |
| 9523 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9524 | ) |
| 9525 | |
| 9526 | endif() |
| 9527 | endif (gRPC_BUILD_TESTS) |
| 9528 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9529 | |
| 9530 | add_executable(channel_arguments_test |
| 9531 | test/cpp/common/channel_arguments_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9532 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9533 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9534 | ) |
| 9535 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9536 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9537 | target_include_directories(channel_arguments_test |
| 9538 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9539 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9540 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9541 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9542 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9543 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9544 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9545 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9546 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9547 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9548 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9549 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9550 | PRIVATE third_party/googletest/googletest/include |
| 9551 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9552 | PRIVATE third_party/googletest/googlemock/include |
| 9553 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9554 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9555 | ) |
| 9556 | |
| 9557 | target_link_libraries(channel_arguments_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9558 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9559 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9560 | grpc++ |
| 9561 | grpc |
| 9562 | gpr |
| 9563 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9564 | ) |
| 9565 | |
| 9566 | endif (gRPC_BUILD_TESTS) |
| 9567 | if (gRPC_BUILD_TESTS) |
| 9568 | |
| 9569 | add_executable(channel_filter_test |
| 9570 | test/cpp/common/channel_filter_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9571 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9572 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9573 | ) |
| 9574 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9575 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9576 | target_include_directories(channel_filter_test |
| 9577 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9578 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9579 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9580 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9581 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9582 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9583 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9584 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9585 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9586 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9587 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9588 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9589 | PRIVATE third_party/googletest/googletest/include |
| 9590 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9591 | PRIVATE third_party/googletest/googlemock/include |
| 9592 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9593 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9594 | ) |
| 9595 | |
| 9596 | target_link_libraries(channel_filter_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9597 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9598 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9599 | grpc++ |
| 9600 | grpc |
| 9601 | gpr |
| 9602 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9603 | ) |
| 9604 | |
| 9605 | endif (gRPC_BUILD_TESTS) |
| 9606 | if (gRPC_BUILD_TESTS) |
| 9607 | |
| 9608 | add_executable(cli_call_test |
| 9609 | test/cpp/util/cli_call_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9610 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9611 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9612 | ) |
| 9613 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9614 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9615 | target_include_directories(cli_call_test |
| 9616 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9617 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9618 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9619 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9620 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9621 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9622 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9623 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9624 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9625 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9626 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9627 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9628 | PRIVATE third_party/googletest/googletest/include |
| 9629 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9630 | PRIVATE third_party/googletest/googlemock/include |
| 9631 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9632 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9633 | ) |
| 9634 | |
| 9635 | target_link_libraries(cli_call_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9636 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9637 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9638 | grpc_cli_libs |
| 9639 | grpc++_test_util |
| 9640 | grpc_test_util |
| 9641 | grpc++ |
| 9642 | grpc |
| 9643 | gpr_test_util |
| 9644 | gpr |
| 9645 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9646 | ) |
| 9647 | |
| 9648 | endif (gRPC_BUILD_TESTS) |
| 9649 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9650 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9651 | |
| 9652 | add_executable(client_crash_test |
| 9653 | test/cpp/end2end/client_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9654 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9655 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9656 | ) |
| 9657 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9658 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9659 | target_include_directories(client_crash_test |
| 9660 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9661 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9662 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9663 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9664 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9665 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9666 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9667 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9668 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9669 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9670 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9671 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9672 | PRIVATE third_party/googletest/googletest/include |
| 9673 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9674 | PRIVATE third_party/googletest/googlemock/include |
| 9675 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9676 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9677 | ) |
| 9678 | |
| 9679 | target_link_libraries(client_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9680 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9681 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9682 | grpc++_test_util |
| 9683 | grpc_test_util |
| 9684 | grpc++ |
| 9685 | grpc |
| 9686 | gpr_test_util |
| 9687 | gpr |
| 9688 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9689 | ) |
| 9690 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9691 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9692 | endif (gRPC_BUILD_TESTS) |
| 9693 | if (gRPC_BUILD_TESTS) |
| 9694 | |
| 9695 | add_executable(client_crash_test_server |
| 9696 | test/cpp/end2end/client_crash_test_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9697 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9698 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9699 | ) |
| 9700 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9701 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9702 | target_include_directories(client_crash_test_server |
| 9703 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9704 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9705 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9706 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9707 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9708 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9709 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9710 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9711 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9712 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9713 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9714 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9715 | PRIVATE third_party/googletest/googletest/include |
| 9716 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9717 | PRIVATE third_party/googletest/googlemock/include |
| 9718 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9719 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9720 | ) |
| 9721 | |
| 9722 | target_link_libraries(client_crash_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9723 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9724 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9725 | grpc++_test_util |
| 9726 | grpc_test_util |
| 9727 | grpc++ |
| 9728 | grpc |
| 9729 | gpr_test_util |
| 9730 | gpr |
| 9731 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9732 | ) |
| 9733 | |
| 9734 | endif (gRPC_BUILD_TESTS) |
| 9735 | if (gRPC_BUILD_TESTS) |
| 9736 | |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 9737 | add_executable(client_lb_end2end_test |
| 9738 | test/cpp/end2end/client_lb_end2end_test.cc |
| 9739 | third_party/googletest/googletest/src/gtest-all.cc |
| 9740 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9741 | ) |
| 9742 | |
| 9743 | |
| 9744 | target_include_directories(client_lb_end2end_test |
| 9745 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9746 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9747 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9748 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9749 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9750 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9751 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9752 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 9753 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9754 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9755 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9756 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9757 | PRIVATE third_party/googletest/googletest/include |
| 9758 | PRIVATE third_party/googletest/googletest |
| 9759 | PRIVATE third_party/googletest/googlemock/include |
| 9760 | PRIVATE third_party/googletest/googlemock |
| 9761 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9762 | ) |
| 9763 | |
| 9764 | target_link_libraries(client_lb_end2end_test |
| 9765 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9766 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9767 | grpc++_test_util |
| 9768 | grpc_test_util |
| 9769 | grpc++ |
| 9770 | grpc |
| 9771 | gpr_test_util |
| 9772 | gpr |
| 9773 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9774 | ) |
| 9775 | |
| 9776 | endif (gRPC_BUILD_TESTS) |
| 9777 | if (gRPC_BUILD_TESTS) |
| 9778 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9779 | add_executable(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9780 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 9781 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 9782 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 9783 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 9784 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 9785 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 9786 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 9787 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 9788 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 9789 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 9790 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 9791 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 9792 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 9793 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 9794 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 9795 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 9796 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 9797 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 9798 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 9799 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9800 | test/cpp/codegen/codegen_test_full.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9801 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9802 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9803 | ) |
| 9804 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9805 | protobuf_generate_grpc_cpp( |
| 9806 | src/proto/grpc/testing/control.proto |
| 9807 | ) |
| 9808 | protobuf_generate_grpc_cpp( |
| 9809 | src/proto/grpc/testing/messages.proto |
| 9810 | ) |
| 9811 | protobuf_generate_grpc_cpp( |
| 9812 | src/proto/grpc/testing/payloads.proto |
| 9813 | ) |
| 9814 | protobuf_generate_grpc_cpp( |
| 9815 | src/proto/grpc/testing/services.proto |
| 9816 | ) |
| 9817 | protobuf_generate_grpc_cpp( |
| 9818 | src/proto/grpc/testing/stats.proto |
| 9819 | ) |
| 9820 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9821 | target_include_directories(codegen_test_full |
| 9822 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9823 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9824 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9825 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9826 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9827 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9828 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9829 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9830 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9831 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9832 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9833 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9834 | PRIVATE third_party/googletest/googletest/include |
| 9835 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9836 | PRIVATE third_party/googletest/googlemock/include |
| 9837 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9838 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9839 | ) |
| 9840 | |
| 9841 | target_link_libraries(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9842 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9843 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9844 | grpc++ |
| 9845 | grpc |
| 9846 | gpr |
| 9847 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9848 | ) |
| 9849 | |
| 9850 | endif (gRPC_BUILD_TESTS) |
| 9851 | if (gRPC_BUILD_TESTS) |
| 9852 | |
| 9853 | add_executable(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9854 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 9855 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 9856 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 9857 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 9858 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 9859 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 9860 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 9861 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 9862 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 9863 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 9864 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 9865 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 9866 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 9867 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 9868 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 9869 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 9870 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 9871 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 9872 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 9873 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9874 | test/cpp/codegen/codegen_test_minimal.cc |
| 9875 | src/cpp/codegen/codegen_init.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9876 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9877 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9878 | ) |
| 9879 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9880 | protobuf_generate_grpc_cpp( |
| 9881 | src/proto/grpc/testing/control.proto |
| 9882 | ) |
| 9883 | protobuf_generate_grpc_cpp( |
| 9884 | src/proto/grpc/testing/messages.proto |
| 9885 | ) |
| 9886 | protobuf_generate_grpc_cpp( |
| 9887 | src/proto/grpc/testing/payloads.proto |
| 9888 | ) |
| 9889 | protobuf_generate_grpc_cpp( |
| 9890 | src/proto/grpc/testing/services.proto |
| 9891 | ) |
| 9892 | protobuf_generate_grpc_cpp( |
| 9893 | src/proto/grpc/testing/stats.proto |
| 9894 | ) |
| 9895 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9896 | target_include_directories(codegen_test_minimal |
| 9897 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9898 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9899 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9900 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9901 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9902 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9903 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9904 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9905 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9906 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9907 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9908 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9909 | PRIVATE third_party/googletest/googletest/include |
| 9910 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9911 | PRIVATE third_party/googletest/googlemock/include |
| 9912 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9913 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9914 | ) |
| 9915 | |
| 9916 | target_link_libraries(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9917 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9918 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | c0e6701 | 2017-03-17 20:00:55 -0700 | [diff] [blame] | 9919 | grpc |
| 9920 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9921 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9922 | ) |
| 9923 | |
| 9924 | endif (gRPC_BUILD_TESTS) |
| 9925 | if (gRPC_BUILD_TESTS) |
| 9926 | |
| 9927 | add_executable(credentials_test |
| 9928 | test/cpp/client/credentials_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9929 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9930 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9931 | ) |
| 9932 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9933 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9934 | target_include_directories(credentials_test |
| 9935 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9936 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9937 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9938 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9939 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9940 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9941 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9942 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9943 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9944 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9945 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9946 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9947 | PRIVATE third_party/googletest/googletest/include |
| 9948 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9949 | PRIVATE third_party/googletest/googlemock/include |
| 9950 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9951 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9952 | ) |
| 9953 | |
| 9954 | target_link_libraries(credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9955 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9956 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9957 | grpc++ |
| 9958 | grpc |
| 9959 | gpr |
| 9960 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9961 | ) |
| 9962 | |
| 9963 | endif (gRPC_BUILD_TESTS) |
| 9964 | if (gRPC_BUILD_TESTS) |
| 9965 | |
| 9966 | add_executable(cxx_byte_buffer_test |
| 9967 | test/cpp/util/byte_buffer_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9968 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9969 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9970 | ) |
| 9971 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9972 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9973 | target_include_directories(cxx_byte_buffer_test |
| 9974 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9975 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9976 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9977 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9978 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9979 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9980 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9981 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9982 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9983 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9984 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9985 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9986 | PRIVATE third_party/googletest/googletest/include |
| 9987 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9988 | PRIVATE third_party/googletest/googlemock/include |
| 9989 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9990 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9991 | ) |
| 9992 | |
| 9993 | target_link_libraries(cxx_byte_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9994 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9995 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9996 | grpc_test_util |
| 9997 | grpc++ |
| 9998 | grpc |
| 9999 | gpr_test_util |
| 10000 | gpr |
| 10001 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10002 | ) |
| 10003 | |
| 10004 | endif (gRPC_BUILD_TESTS) |
| 10005 | if (gRPC_BUILD_TESTS) |
| 10006 | |
| 10007 | add_executable(cxx_slice_test |
| 10008 | test/cpp/util/slice_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10009 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10010 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10011 | ) |
| 10012 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10013 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10014 | target_include_directories(cxx_slice_test |
| 10015 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10016 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10017 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10018 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10019 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10020 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10021 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10022 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10023 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10024 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10025 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10026 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10027 | PRIVATE third_party/googletest/googletest/include |
| 10028 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10029 | PRIVATE third_party/googletest/googlemock/include |
| 10030 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10031 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10032 | ) |
| 10033 | |
| 10034 | target_link_libraries(cxx_slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10035 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10036 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10037 | grpc_test_util |
| 10038 | grpc++ |
| 10039 | grpc |
| 10040 | gpr_test_util |
| 10041 | gpr |
| 10042 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10043 | ) |
| 10044 | |
| 10045 | endif (gRPC_BUILD_TESTS) |
| 10046 | if (gRPC_BUILD_TESTS) |
| 10047 | |
| 10048 | add_executable(cxx_string_ref_test |
| 10049 | test/cpp/util/string_ref_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10050 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10051 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10052 | ) |
| 10053 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10054 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10055 | target_include_directories(cxx_string_ref_test |
| 10056 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10057 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10058 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10059 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10060 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10061 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10062 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10063 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10064 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10065 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10066 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10067 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10068 | PRIVATE third_party/googletest/googletest/include |
| 10069 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10070 | PRIVATE third_party/googletest/googlemock/include |
| 10071 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10072 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10073 | ) |
| 10074 | |
| 10075 | target_link_libraries(cxx_string_ref_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10076 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10077 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10078 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 10079 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10080 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10081 | ) |
| 10082 | |
| 10083 | endif (gRPC_BUILD_TESTS) |
| 10084 | if (gRPC_BUILD_TESTS) |
| 10085 | |
| 10086 | add_executable(cxx_time_test |
| 10087 | test/cpp/util/time_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10088 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10089 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10090 | ) |
| 10091 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10092 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10093 | target_include_directories(cxx_time_test |
| 10094 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10095 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10096 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10097 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10098 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10099 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10100 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10101 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10102 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10103 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10104 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10105 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10106 | PRIVATE third_party/googletest/googletest/include |
| 10107 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10108 | PRIVATE third_party/googletest/googlemock/include |
| 10109 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10110 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10111 | ) |
| 10112 | |
| 10113 | target_link_libraries(cxx_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10114 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10115 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10116 | grpc_test_util |
| 10117 | grpc++ |
| 10118 | grpc |
| 10119 | gpr_test_util |
| 10120 | gpr |
| 10121 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10122 | ) |
| 10123 | |
| 10124 | endif (gRPC_BUILD_TESTS) |
| 10125 | if (gRPC_BUILD_TESTS) |
| 10126 | |
| 10127 | add_executable(end2end_test |
| 10128 | test/cpp/end2end/end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10129 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10130 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10131 | ) |
| 10132 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10133 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10134 | target_include_directories(end2end_test |
| 10135 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10136 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10137 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10138 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10139 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10140 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10141 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10142 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10143 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10144 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10145 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10146 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10147 | PRIVATE third_party/googletest/googletest/include |
| 10148 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10149 | PRIVATE third_party/googletest/googlemock/include |
| 10150 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10151 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10152 | ) |
| 10153 | |
| 10154 | target_link_libraries(end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10155 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10156 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10157 | grpc++_test_util |
| 10158 | grpc_test_util |
| 10159 | grpc++ |
| 10160 | grpc |
| 10161 | gpr_test_util |
| 10162 | gpr |
| 10163 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10164 | ) |
| 10165 | |
| 10166 | endif (gRPC_BUILD_TESTS) |
| 10167 | if (gRPC_BUILD_TESTS) |
| 10168 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10169 | add_executable(error_details_test |
| 10170 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 10171 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 10172 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 10173 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 10174 | test/cpp/util/error_details_test.cc |
| 10175 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10176 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10177 | ) |
| 10178 | |
| 10179 | protobuf_generate_grpc_cpp( |
| 10180 | src/proto/grpc/testing/echo_messages.proto |
| 10181 | ) |
| 10182 | |
| 10183 | target_include_directories(error_details_test |
| 10184 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10185 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10186 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10187 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10188 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10189 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10190 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10191 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 10192 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10193 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10194 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10195 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10196 | PRIVATE third_party/googletest/googletest/include |
| 10197 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10198 | PRIVATE third_party/googletest/googlemock/include |
| 10199 | PRIVATE third_party/googletest/googlemock |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10200 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10201 | ) |
| 10202 | |
| 10203 | target_link_libraries(error_details_test |
| 10204 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10205 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10206 | grpc++_error_details |
| 10207 | grpc++ |
| 10208 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10209 | ) |
| 10210 | |
| 10211 | endif (gRPC_BUILD_TESTS) |
| 10212 | if (gRPC_BUILD_TESTS) |
| 10213 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10214 | add_executable(filter_end2end_test |
| 10215 | test/cpp/end2end/filter_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10216 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10217 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10218 | ) |
| 10219 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10220 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10221 | target_include_directories(filter_end2end_test |
| 10222 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10223 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10224 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10225 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10226 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10227 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10228 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10229 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10230 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10231 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10232 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10233 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10234 | PRIVATE third_party/googletest/googletest/include |
| 10235 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10236 | PRIVATE third_party/googletest/googlemock/include |
| 10237 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10238 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10239 | ) |
| 10240 | |
| 10241 | target_link_libraries(filter_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10242 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10243 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10244 | grpc++_test_util |
| 10245 | grpc_test_util |
| 10246 | grpc++ |
| 10247 | grpc |
| 10248 | gpr_test_util |
| 10249 | gpr |
| 10250 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10251 | ) |
| 10252 | |
| 10253 | endif (gRPC_BUILD_TESTS) |
| 10254 | if (gRPC_BUILD_TESTS) |
| 10255 | |
| 10256 | add_executable(generic_end2end_test |
| 10257 | test/cpp/end2end/generic_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10258 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10259 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10260 | ) |
| 10261 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10262 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10263 | target_include_directories(generic_end2end_test |
| 10264 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10265 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10266 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10267 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10268 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10269 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10270 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10271 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10272 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10273 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10274 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10275 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10276 | PRIVATE third_party/googletest/googletest/include |
| 10277 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10278 | PRIVATE third_party/googletest/googlemock/include |
| 10279 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10280 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10281 | ) |
| 10282 | |
| 10283 | target_link_libraries(generic_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10284 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10285 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10286 | grpc++_test_util |
| 10287 | grpc_test_util |
| 10288 | grpc++ |
| 10289 | grpc |
| 10290 | gpr_test_util |
| 10291 | gpr |
| 10292 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10293 | ) |
| 10294 | |
| 10295 | endif (gRPC_BUILD_TESTS) |
| 10296 | if (gRPC_BUILD_TESTS) |
| 10297 | |
| 10298 | add_executable(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10299 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.cc |
| 10300 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.grpc.pb.cc |
| 10301 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.h |
| 10302 | ${_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] | 10303 | test/cpp/codegen/golden_file_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10304 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10305 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10306 | ) |
| 10307 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10308 | protobuf_generate_grpc_cpp( |
| 10309 | src/proto/grpc/testing/compiler_test.proto |
| 10310 | ) |
| 10311 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10312 | target_include_directories(golden_file_test |
| 10313 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10314 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10315 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10316 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10317 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10318 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10319 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10320 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10321 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10322 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10323 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10324 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10325 | PRIVATE third_party/googletest/googletest/include |
| 10326 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10327 | PRIVATE third_party/googletest/googlemock/include |
| 10328 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10329 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10330 | ) |
| 10331 | |
| 10332 | target_link_libraries(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10333 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10334 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10335 | grpc++ |
| 10336 | grpc |
| 10337 | gpr |
| 10338 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10339 | ) |
| 10340 | |
| 10341 | endif (gRPC_BUILD_TESTS) |
| 10342 | if (gRPC_BUILD_TESTS) |
| 10343 | |
| 10344 | add_executable(grpc_cli |
| 10345 | test/cpp/util/grpc_cli.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10346 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10347 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10348 | ) |
| 10349 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10350 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10351 | target_include_directories(grpc_cli |
| 10352 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10353 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10354 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10355 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10356 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10357 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10358 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10359 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10360 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10361 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10362 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10363 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10364 | PRIVATE third_party/googletest/googletest/include |
| 10365 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10366 | PRIVATE third_party/googletest/googlemock/include |
| 10367 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10368 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10369 | ) |
| 10370 | |
| 10371 | target_link_libraries(grpc_cli |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10372 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10373 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10374 | grpc_cli_libs |
| 10375 | grpc++_proto_reflection_desc_db |
| 10376 | grpc++ |
| 10377 | grpc |
| 10378 | gpr |
| 10379 | grpc++_test_config |
| 10380 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10381 | ) |
| 10382 | |
| 10383 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10384 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10385 | add_executable(grpc_cpp_plugin |
| 10386 | src/compiler/cpp_plugin.cc |
| 10387 | ) |
| 10388 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10389 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10390 | target_include_directories(grpc_cpp_plugin |
| 10391 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10392 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10393 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10394 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10395 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10396 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10397 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10398 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10399 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10400 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10401 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10402 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10403 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10404 | ) |
| 10405 | |
| 10406 | target_link_libraries(grpc_cpp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10407 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10408 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10409 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10410 | grpc_plugin_support |
| 10411 | ) |
| 10412 | |
| 10413 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10414 | if (gRPC_INSTALL) |
| 10415 | install(TARGETS grpc_cpp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10416 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10417 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10418 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10419 | ) |
| 10420 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10421 | |
| 10422 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10423 | add_executable(grpc_csharp_plugin |
| 10424 | src/compiler/csharp_plugin.cc |
| 10425 | ) |
| 10426 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10427 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10428 | target_include_directories(grpc_csharp_plugin |
| 10429 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10430 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10431 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10432 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10433 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10434 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10435 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10436 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10437 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10438 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10439 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10440 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10441 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10442 | ) |
| 10443 | |
| 10444 | target_link_libraries(grpc_csharp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10445 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10446 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10447 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10448 | grpc_plugin_support |
| 10449 | ) |
| 10450 | |
| 10451 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10452 | if (gRPC_INSTALL) |
| 10453 | install(TARGETS grpc_csharp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10454 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10455 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10456 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10457 | ) |
| 10458 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10459 | |
| 10460 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10461 | add_executable(grpc_node_plugin |
| 10462 | src/compiler/node_plugin.cc |
| 10463 | ) |
| 10464 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10465 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10466 | target_include_directories(grpc_node_plugin |
| 10467 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10468 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10469 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10470 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10471 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10472 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10473 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10474 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10475 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10476 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10477 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10478 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10479 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10480 | ) |
| 10481 | |
| 10482 | target_link_libraries(grpc_node_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10483 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10484 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10485 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10486 | grpc_plugin_support |
| 10487 | ) |
| 10488 | |
| 10489 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10490 | if (gRPC_INSTALL) |
| 10491 | install(TARGETS grpc_node_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10492 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10493 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10494 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10495 | ) |
| 10496 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10497 | |
| 10498 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10499 | add_executable(grpc_objective_c_plugin |
| 10500 | src/compiler/objective_c_plugin.cc |
| 10501 | ) |
| 10502 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10503 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10504 | target_include_directories(grpc_objective_c_plugin |
| 10505 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10506 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10507 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10508 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10509 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10510 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10511 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10512 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10513 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10514 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10515 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10516 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10517 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10518 | ) |
| 10519 | |
| 10520 | target_link_libraries(grpc_objective_c_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10521 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10522 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10523 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10524 | grpc_plugin_support |
| 10525 | ) |
| 10526 | |
| 10527 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10528 | if (gRPC_INSTALL) |
| 10529 | install(TARGETS grpc_objective_c_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10530 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10531 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10532 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10533 | ) |
| 10534 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10535 | |
| 10536 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10537 | add_executable(grpc_php_plugin |
| 10538 | src/compiler/php_plugin.cc |
| 10539 | ) |
| 10540 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10541 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10542 | target_include_directories(grpc_php_plugin |
| 10543 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10544 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10545 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10546 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10547 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10548 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10549 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10550 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10551 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10552 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10553 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10554 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10555 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10556 | ) |
| 10557 | |
| 10558 | target_link_libraries(grpc_php_plugin |
| 10559 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10560 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10561 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10562 | grpc_plugin_support |
| 10563 | ) |
| 10564 | |
| 10565 | |
| 10566 | if (gRPC_INSTALL) |
| 10567 | install(TARGETS grpc_php_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10568 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10569 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10570 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10571 | ) |
| 10572 | endif() |
| 10573 | |
| 10574 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10575 | add_executable(grpc_python_plugin |
| 10576 | src/compiler/python_plugin.cc |
| 10577 | ) |
| 10578 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10579 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10580 | target_include_directories(grpc_python_plugin |
| 10581 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10582 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10583 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10584 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10585 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10586 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10587 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10588 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10589 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10590 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10591 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10592 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10593 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10594 | ) |
| 10595 | |
| 10596 | target_link_libraries(grpc_python_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10597 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10598 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10599 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10600 | grpc_plugin_support |
| 10601 | ) |
| 10602 | |
| 10603 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10604 | if (gRPC_INSTALL) |
| 10605 | install(TARGETS grpc_python_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10606 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10607 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10608 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10609 | ) |
| 10610 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10611 | |
| 10612 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10613 | add_executable(grpc_ruby_plugin |
| 10614 | src/compiler/ruby_plugin.cc |
| 10615 | ) |
| 10616 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10617 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10618 | target_include_directories(grpc_ruby_plugin |
| 10619 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10620 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10621 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10622 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10623 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10624 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10625 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10626 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10627 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10628 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10629 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10630 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10631 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10632 | ) |
| 10633 | |
| 10634 | target_link_libraries(grpc_ruby_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10635 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10636 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10637 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10638 | grpc_plugin_support |
| 10639 | ) |
| 10640 | |
| 10641 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10642 | if (gRPC_INSTALL) |
| 10643 | install(TARGETS grpc_ruby_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10644 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10645 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10646 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10647 | ) |
| 10648 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10649 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10650 | if (gRPC_BUILD_TESTS) |
| 10651 | |
| 10652 | add_executable(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10653 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 10654 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 10655 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 10656 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 10657 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 10658 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 10659 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 10660 | ${_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] | 10661 | test/cpp/util/grpc_tool_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10662 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10663 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10664 | ) |
| 10665 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10666 | protobuf_generate_grpc_cpp( |
| 10667 | src/proto/grpc/testing/echo.proto |
| 10668 | ) |
| 10669 | protobuf_generate_grpc_cpp( |
| 10670 | src/proto/grpc/testing/echo_messages.proto |
| 10671 | ) |
| 10672 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10673 | target_include_directories(grpc_tool_test |
| 10674 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10675 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10676 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10677 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10678 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10679 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10680 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10681 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10682 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10683 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10684 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10685 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10686 | PRIVATE third_party/googletest/googletest/include |
| 10687 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10688 | PRIVATE third_party/googletest/googlemock/include |
| 10689 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10690 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10691 | ) |
| 10692 | |
| 10693 | target_link_libraries(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10694 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10695 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10696 | grpc_cli_libs |
| 10697 | grpc++_proto_reflection_desc_db |
| 10698 | grpc++_reflection |
| 10699 | grpc++_test_util |
| 10700 | grpc_test_util |
| 10701 | grpc++ |
| 10702 | grpc |
| 10703 | gpr_test_util |
| 10704 | gpr |
| 10705 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10706 | ) |
| 10707 | |
| 10708 | endif (gRPC_BUILD_TESTS) |
| 10709 | if (gRPC_BUILD_TESTS) |
| 10710 | |
| 10711 | add_executable(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10712 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10713 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10714 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10715 | ${_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] | 10716 | test/cpp/grpclb/grpclb_api_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10717 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10718 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10719 | ) |
| 10720 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10721 | protobuf_generate_grpc_cpp( |
| 10722 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10723 | ) |
| 10724 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10725 | target_include_directories(grpclb_api_test |
| 10726 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10727 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10728 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10729 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10730 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10731 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10732 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10733 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10734 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10735 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10736 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10737 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10738 | PRIVATE third_party/googletest/googletest/include |
| 10739 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10740 | PRIVATE third_party/googletest/googlemock/include |
| 10741 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10742 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10743 | ) |
| 10744 | |
| 10745 | target_link_libraries(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10746 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10747 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10748 | grpc++_test_util |
| 10749 | grpc_test_util |
| 10750 | grpc++ |
| 10751 | grpc |
| 10752 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10753 | ) |
| 10754 | |
| 10755 | endif (gRPC_BUILD_TESTS) |
| 10756 | if (gRPC_BUILD_TESTS) |
| 10757 | |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10758 | add_executable(grpclb_end2end_test |
| 10759 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10760 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10761 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10762 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 10763 | test/cpp/end2end/grpclb_end2end_test.cc |
| 10764 | third_party/googletest/googletest/src/gtest-all.cc |
| 10765 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10766 | ) |
| 10767 | |
| 10768 | protobuf_generate_grpc_cpp( |
| 10769 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10770 | ) |
| 10771 | |
| 10772 | target_include_directories(grpclb_end2end_test |
| 10773 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10774 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10775 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10776 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10777 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10778 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10779 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10780 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 10781 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10782 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10783 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10784 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10785 | PRIVATE third_party/googletest/googletest/include |
| 10786 | PRIVATE third_party/googletest/googletest |
| 10787 | PRIVATE third_party/googletest/googlemock/include |
| 10788 | PRIVATE third_party/googletest/googlemock |
| 10789 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10790 | ) |
| 10791 | |
| 10792 | target_link_libraries(grpclb_end2end_test |
| 10793 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10794 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10795 | grpc++_test_util |
| 10796 | grpc_test_util |
| 10797 | grpc++ |
| 10798 | grpc |
| 10799 | gpr_test_util |
| 10800 | gpr |
| 10801 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10802 | ) |
| 10803 | |
| 10804 | endif (gRPC_BUILD_TESTS) |
| 10805 | if (gRPC_BUILD_TESTS) |
| 10806 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10807 | add_executable(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10808 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10809 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10810 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10811 | ${_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] | 10812 | test/cpp/grpclb/grpclb_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10813 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10814 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10815 | ) |
| 10816 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10817 | protobuf_generate_grpc_cpp( |
| 10818 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10819 | ) |
| 10820 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10821 | target_include_directories(grpclb_test |
| 10822 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10823 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10824 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10825 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10826 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10827 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10828 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10829 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10830 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10831 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10832 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10833 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10834 | PRIVATE third_party/googletest/googletest/include |
| 10835 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10836 | PRIVATE third_party/googletest/googlemock/include |
| 10837 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10838 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10839 | ) |
| 10840 | |
| 10841 | target_link_libraries(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10842 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10843 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10844 | grpc++_test_util |
| 10845 | grpc_test_util |
Jan Tattermusch | 1c6a144 | 2017-01-13 14:17:40 +0100 | [diff] [blame] | 10846 | grpc++ |
| 10847 | grpc |
| 10848 | gpr_test_util |
| 10849 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10850 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10851 | ) |
| 10852 | |
| 10853 | endif (gRPC_BUILD_TESTS) |
| 10854 | if (gRPC_BUILD_TESTS) |
| 10855 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10856 | add_executable(health_service_end2end_test |
| 10857 | test/cpp/end2end/health_service_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10858 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10859 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10860 | ) |
| 10861 | |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10862 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10863 | target_include_directories(health_service_end2end_test |
| 10864 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10865 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10866 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10867 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10868 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10869 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10870 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10871 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10872 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10873 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10874 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10875 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10876 | PRIVATE third_party/googletest/googletest/include |
| 10877 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10878 | PRIVATE third_party/googletest/googlemock/include |
| 10879 | PRIVATE third_party/googletest/googlemock |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10880 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10881 | ) |
| 10882 | |
| 10883 | target_link_libraries(health_service_end2end_test |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10884 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10885 | ${_gRPC_ALLTARGETS_LIBRARIES} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10886 | grpc++_test_util |
| 10887 | grpc_test_util |
| 10888 | grpc++ |
| 10889 | grpc |
| 10890 | gpr_test_util |
| 10891 | gpr |
| 10892 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10893 | ) |
| 10894 | |
| 10895 | endif (gRPC_BUILD_TESTS) |
| 10896 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10897 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10898 | |
| 10899 | add_executable(http2_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10900 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10901 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10902 | ) |
| 10903 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10904 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10905 | target_include_directories(http2_client |
| 10906 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10907 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10908 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10909 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10910 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10911 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10912 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10913 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10914 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10915 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10916 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10917 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10918 | PRIVATE third_party/googletest/googletest/include |
| 10919 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10920 | PRIVATE third_party/googletest/googlemock/include |
| 10921 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10922 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10923 | ) |
| 10924 | |
| 10925 | target_link_libraries(http2_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10926 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10927 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10928 | http2_client_main |
| 10929 | grpc++_test_util |
| 10930 | grpc_test_util |
| 10931 | grpc++ |
| 10932 | grpc |
| 10933 | grpc++_test_config |
| 10934 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10935 | ) |
| 10936 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10937 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10938 | endif (gRPC_BUILD_TESTS) |
| 10939 | if (gRPC_BUILD_TESTS) |
| 10940 | |
| 10941 | add_executable(hybrid_end2end_test |
| 10942 | test/cpp/end2end/hybrid_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10943 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10944 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10945 | ) |
| 10946 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10947 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10948 | target_include_directories(hybrid_end2end_test |
| 10949 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10950 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10951 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10952 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10953 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10954 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10955 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10956 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10957 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10958 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10959 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10960 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10961 | PRIVATE third_party/googletest/googletest/include |
| 10962 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10963 | PRIVATE third_party/googletest/googlemock/include |
| 10964 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10965 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10966 | ) |
| 10967 | |
| 10968 | target_link_libraries(hybrid_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10969 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10970 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10971 | grpc++_test_util |
| 10972 | grpc_test_util |
| 10973 | grpc++ |
| 10974 | grpc |
| 10975 | gpr_test_util |
| 10976 | gpr |
| 10977 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10978 | ) |
| 10979 | |
| 10980 | endif (gRPC_BUILD_TESTS) |
| 10981 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10982 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10983 | |
| 10984 | add_executable(interop_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10985 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10986 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10987 | ) |
| 10988 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10989 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10990 | target_include_directories(interop_client |
| 10991 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10992 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10993 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10994 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10995 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10996 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10997 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10998 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10999 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11000 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11001 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11002 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11003 | PRIVATE third_party/googletest/googletest/include |
| 11004 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11005 | PRIVATE third_party/googletest/googlemock/include |
| 11006 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11007 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11008 | ) |
| 11009 | |
| 11010 | target_link_libraries(interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11011 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11012 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11013 | interop_client_main |
| 11014 | interop_client_helper |
| 11015 | grpc++_test_util |
| 11016 | grpc_test_util |
| 11017 | grpc++ |
| 11018 | grpc |
| 11019 | gpr_test_util |
| 11020 | gpr |
| 11021 | grpc++_test_config |
| 11022 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11023 | ) |
| 11024 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11025 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11026 | endif (gRPC_BUILD_TESTS) |
| 11027 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11028 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11029 | |
| 11030 | add_executable(interop_server |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11031 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11032 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11033 | ) |
| 11034 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11035 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11036 | target_include_directories(interop_server |
| 11037 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11038 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11039 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11040 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11041 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11042 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11043 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11044 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11045 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11046 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11047 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11048 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11049 | PRIVATE third_party/googletest/googletest/include |
| 11050 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11051 | PRIVATE third_party/googletest/googlemock/include |
| 11052 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11053 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11054 | ) |
| 11055 | |
| 11056 | target_link_libraries(interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11057 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11058 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11059 | interop_server_main |
| 11060 | interop_server_helper |
| 11061 | interop_server_lib |
| 11062 | grpc++_test_util |
| 11063 | grpc_test_util |
| 11064 | grpc++ |
| 11065 | grpc |
| 11066 | gpr_test_util |
| 11067 | gpr |
| 11068 | grpc++_test_config |
| 11069 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11070 | ) |
| 11071 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11072 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11073 | endif (gRPC_BUILD_TESTS) |
| 11074 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11075 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11076 | |
| 11077 | add_executable(interop_test |
| 11078 | test/cpp/interop/interop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11079 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11080 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11081 | ) |
| 11082 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11083 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11084 | target_include_directories(interop_test |
| 11085 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11086 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11087 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11088 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11089 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11090 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11091 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11092 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11093 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11094 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11095 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11096 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11097 | PRIVATE third_party/googletest/googletest/include |
| 11098 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11099 | PRIVATE third_party/googletest/googlemock/include |
| 11100 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11101 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11102 | ) |
| 11103 | |
| 11104 | target_link_libraries(interop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11105 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11106 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11107 | grpc_test_util |
| 11108 | grpc |
| 11109 | gpr_test_util |
| 11110 | gpr |
| 11111 | grpc++_test_config |
| 11112 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11113 | ) |
| 11114 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11115 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11116 | endif (gRPC_BUILD_TESTS) |
| 11117 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11118 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11119 | |
| 11120 | add_executable(json_run_localhost |
| 11121 | test/cpp/qps/json_run_localhost.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11122 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11123 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11124 | ) |
| 11125 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11126 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11127 | target_include_directories(json_run_localhost |
| 11128 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11129 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11130 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11131 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11132 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11133 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11134 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11135 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11136 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11137 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11138 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11139 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11140 | PRIVATE third_party/googletest/googletest/include |
| 11141 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11142 | PRIVATE third_party/googletest/googlemock/include |
| 11143 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11144 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11145 | ) |
| 11146 | |
| 11147 | target_link_libraries(json_run_localhost |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11148 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11149 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11150 | grpc++_test_util |
| 11151 | grpc_test_util |
| 11152 | grpc++ |
| 11153 | grpc |
| 11154 | gpr_test_util |
| 11155 | gpr |
| 11156 | grpc++_test_config |
| 11157 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11158 | ) |
| 11159 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11160 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11161 | endif (gRPC_BUILD_TESTS) |
| 11162 | if (gRPC_BUILD_TESTS) |
| 11163 | |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11164 | add_executable(memory_test |
| 11165 | test/core/support/memory_test.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 11166 | third_party/googletest/googletest/src/gtest-all.cc |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 11167 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11168 | ) |
| 11169 | |
| 11170 | |
| 11171 | target_include_directories(memory_test |
| 11172 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11173 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11174 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11175 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11176 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11177 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11178 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 11179 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 11180 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11181 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11182 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 11183 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 11184 | PRIVATE third_party/googletest/googletest/include |
| 11185 | PRIVATE third_party/googletest/googletest |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 11186 | PRIVATE third_party/googletest/googlemock/include |
| 11187 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11188 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11189 | ) |
| 11190 | |
| 11191 | target_link_libraries(memory_test |
| 11192 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11193 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11194 | grpc_test_util |
| 11195 | grpc++ |
| 11196 | grpc |
| 11197 | gpr_test_util |
| 11198 | gpr |
| 11199 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11200 | ) |
| 11201 | |
| 11202 | endif (gRPC_BUILD_TESTS) |
| 11203 | if (gRPC_BUILD_TESTS) |
| 11204 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11205 | add_executable(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11206 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 11207 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 11208 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 11209 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11210 | test/cpp/interop/metrics_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11211 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11212 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11213 | ) |
| 11214 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11215 | protobuf_generate_grpc_cpp( |
| 11216 | src/proto/grpc/testing/metrics.proto |
| 11217 | ) |
| 11218 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11219 | target_include_directories(metrics_client |
| 11220 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11221 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11222 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11223 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11224 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11225 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11226 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11227 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11228 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11229 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11230 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11231 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11232 | PRIVATE third_party/googletest/googletest/include |
| 11233 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11234 | PRIVATE third_party/googletest/googlemock/include |
| 11235 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11236 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11237 | ) |
| 11238 | |
| 11239 | target_link_libraries(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11240 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11241 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11242 | grpc++ |
| 11243 | grpc |
| 11244 | gpr |
| 11245 | grpc++_test_config |
| 11246 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11247 | ) |
| 11248 | |
| 11249 | endif (gRPC_BUILD_TESTS) |
| 11250 | if (gRPC_BUILD_TESTS) |
| 11251 | |
| 11252 | add_executable(mock_test |
| 11253 | test/cpp/end2end/mock_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11254 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11255 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11256 | ) |
| 11257 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11258 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11259 | target_include_directories(mock_test |
| 11260 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11261 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11262 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11263 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11264 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11265 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11266 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11267 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11268 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11269 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11270 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11271 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11272 | PRIVATE third_party/googletest/googletest/include |
| 11273 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11274 | PRIVATE third_party/googletest/googlemock/include |
| 11275 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11276 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11277 | ) |
| 11278 | |
| 11279 | target_link_libraries(mock_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11280 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11281 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11282 | grpc++_test_util |
| 11283 | grpc_test_util |
| 11284 | grpc++ |
| 11285 | grpc |
| 11286 | gpr_test_util |
| 11287 | gpr |
| 11288 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11289 | ) |
| 11290 | |
| 11291 | endif (gRPC_BUILD_TESTS) |
| 11292 | if (gRPC_BUILD_TESTS) |
| 11293 | |
| 11294 | add_executable(noop-benchmark |
| 11295 | test/cpp/microbenchmarks/noop-benchmark.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11296 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11297 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11298 | ) |
| 11299 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11300 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11301 | target_include_directories(noop-benchmark |
| 11302 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11303 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11304 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11305 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11306 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11307 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11308 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11309 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11310 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11311 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11312 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11313 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11314 | PRIVATE third_party/googletest/googletest/include |
| 11315 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11316 | PRIVATE third_party/googletest/googlemock/include |
| 11317 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11318 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11319 | ) |
| 11320 | |
| 11321 | target_link_libraries(noop-benchmark |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11322 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11323 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11324 | benchmark |
| 11325 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11326 | ) |
| 11327 | |
| 11328 | endif (gRPC_BUILD_TESTS) |
| 11329 | if (gRPC_BUILD_TESTS) |
| 11330 | |
| 11331 | add_executable(proto_server_reflection_test |
| 11332 | test/cpp/end2end/proto_server_reflection_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11333 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11334 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11335 | ) |
| 11336 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11337 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11338 | target_include_directories(proto_server_reflection_test |
| 11339 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11340 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11341 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11342 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11343 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11344 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11345 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11346 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11347 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11348 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11349 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11350 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11351 | PRIVATE third_party/googletest/googletest/include |
| 11352 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11353 | PRIVATE third_party/googletest/googlemock/include |
| 11354 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11355 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11356 | ) |
| 11357 | |
| 11358 | target_link_libraries(proto_server_reflection_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11359 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11360 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11361 | grpc++_proto_reflection_desc_db |
| 11362 | grpc++_reflection |
| 11363 | grpc++_test_util |
| 11364 | grpc_test_util |
| 11365 | grpc++ |
| 11366 | grpc |
| 11367 | gpr_test_util |
| 11368 | gpr |
| 11369 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11370 | ) |
| 11371 | |
| 11372 | endif (gRPC_BUILD_TESTS) |
| 11373 | if (gRPC_BUILD_TESTS) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11374 | |
| 11375 | add_executable(proto_utils_test |
| 11376 | test/cpp/codegen/proto_utils_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11377 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11378 | third_party/googletest/googlemock/src/gmock-all.cc |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11379 | ) |
| 11380 | |
| 11381 | |
| 11382 | target_include_directories(proto_utils_test |
| 11383 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11384 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11385 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11386 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11387 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11388 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11389 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11390 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11391 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11392 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11393 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11394 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11395 | PRIVATE third_party/googletest/googletest/include |
| 11396 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11397 | PRIVATE third_party/googletest/googlemock/include |
| 11398 | PRIVATE third_party/googletest/googlemock |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11399 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11400 | ) |
| 11401 | |
| 11402 | target_link_libraries(proto_utils_test |
| 11403 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11404 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11405 | grpc++ |
| 11406 | grpc |
| 11407 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11408 | ) |
| 11409 | |
| 11410 | endif (gRPC_BUILD_TESTS) |
| 11411 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11412 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11413 | |
| 11414 | add_executable(qps_interarrival_test |
| 11415 | test/cpp/qps/qps_interarrival_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11416 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11417 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11418 | ) |
| 11419 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11420 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11421 | target_include_directories(qps_interarrival_test |
| 11422 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11423 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11424 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11425 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11426 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11427 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11428 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11429 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11430 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11431 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11432 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11433 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11434 | PRIVATE third_party/googletest/googletest/include |
| 11435 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11436 | PRIVATE third_party/googletest/googlemock/include |
| 11437 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11438 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11439 | ) |
| 11440 | |
| 11441 | target_link_libraries(qps_interarrival_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11442 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11443 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11444 | qps |
| 11445 | grpc++_test_util |
| 11446 | grpc_test_util |
| 11447 | grpc++ |
| 11448 | grpc |
| 11449 | gpr_test_util |
| 11450 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 11451 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11452 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11453 | ) |
| 11454 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11455 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11456 | endif (gRPC_BUILD_TESTS) |
| 11457 | if (gRPC_BUILD_TESTS) |
| 11458 | |
| 11459 | add_executable(qps_json_driver |
| 11460 | test/cpp/qps/qps_json_driver.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11461 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11462 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11463 | ) |
| 11464 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11465 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11466 | target_include_directories(qps_json_driver |
| 11467 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11468 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11469 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11470 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11471 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11472 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11473 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11474 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11475 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11476 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11477 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11478 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11479 | PRIVATE third_party/googletest/googletest/include |
| 11480 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11481 | PRIVATE third_party/googletest/googlemock/include |
| 11482 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11483 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11484 | ) |
| 11485 | |
| 11486 | target_link_libraries(qps_json_driver |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11487 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11488 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11489 | qps |
| 11490 | grpc++_test_util |
| 11491 | grpc_test_util |
| 11492 | grpc++ |
| 11493 | grpc |
| 11494 | gpr_test_util |
| 11495 | gpr |
| 11496 | grpc++_test_config |
| 11497 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11498 | ) |
| 11499 | |
| 11500 | endif (gRPC_BUILD_TESTS) |
| 11501 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11502 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11503 | |
| 11504 | add_executable(qps_openloop_test |
| 11505 | test/cpp/qps/qps_openloop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11506 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11507 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11508 | ) |
| 11509 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11510 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11511 | target_include_directories(qps_openloop_test |
| 11512 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11513 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11514 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11515 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11516 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11517 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11518 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11519 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11520 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11521 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11522 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11523 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11524 | PRIVATE third_party/googletest/googletest/include |
| 11525 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11526 | PRIVATE third_party/googletest/googlemock/include |
| 11527 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11528 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11529 | ) |
| 11530 | |
| 11531 | target_link_libraries(qps_openloop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11532 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11533 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11534 | qps |
| 11535 | grpc++_test_util |
| 11536 | grpc_test_util |
| 11537 | grpc++ |
| 11538 | grpc |
| 11539 | gpr_test_util |
| 11540 | gpr |
| 11541 | grpc++_test_config |
| 11542 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11543 | ) |
| 11544 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11545 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11546 | endif (gRPC_BUILD_TESTS) |
| 11547 | if (gRPC_BUILD_TESTS) |
| 11548 | |
| 11549 | add_executable(qps_worker |
| 11550 | test/cpp/qps/worker.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11551 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11552 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11553 | ) |
| 11554 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11555 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11556 | target_include_directories(qps_worker |
| 11557 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11558 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11559 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11560 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11561 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11562 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11563 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11564 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11565 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11566 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11567 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11568 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11569 | PRIVATE third_party/googletest/googletest/include |
| 11570 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11571 | PRIVATE third_party/googletest/googlemock/include |
| 11572 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11573 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11574 | ) |
| 11575 | |
| 11576 | target_link_libraries(qps_worker |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11577 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11578 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11579 | qps |
| 11580 | grpc++_test_util |
| 11581 | grpc_test_util |
| 11582 | grpc++ |
| 11583 | grpc |
| 11584 | gpr_test_util |
| 11585 | gpr |
| 11586 | grpc++_test_config |
| 11587 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11588 | ) |
| 11589 | |
| 11590 | endif (gRPC_BUILD_TESTS) |
| 11591 | if (gRPC_BUILD_TESTS) |
| 11592 | |
| 11593 | add_executable(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11594 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11595 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11596 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11597 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11598 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11599 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11600 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11601 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11602 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11603 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11604 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11605 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11606 | test/cpp/interop/reconnect_interop_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11607 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11608 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11609 | ) |
| 11610 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11611 | protobuf_generate_grpc_cpp( |
| 11612 | src/proto/grpc/testing/empty.proto |
| 11613 | ) |
| 11614 | protobuf_generate_grpc_cpp( |
| 11615 | src/proto/grpc/testing/messages.proto |
| 11616 | ) |
| 11617 | protobuf_generate_grpc_cpp( |
| 11618 | src/proto/grpc/testing/test.proto |
| 11619 | ) |
| 11620 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11621 | target_include_directories(reconnect_interop_client |
| 11622 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11623 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11624 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11625 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11626 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11627 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11628 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11629 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11630 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11631 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11632 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11633 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11634 | PRIVATE third_party/googletest/googletest/include |
| 11635 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11636 | PRIVATE third_party/googletest/googlemock/include |
| 11637 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11638 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11639 | ) |
| 11640 | |
| 11641 | target_link_libraries(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11642 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11643 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11644 | grpc++_test_util |
| 11645 | grpc_test_util |
| 11646 | grpc++ |
| 11647 | grpc |
| 11648 | gpr_test_util |
| 11649 | gpr |
| 11650 | grpc++_test_config |
| 11651 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11652 | ) |
| 11653 | |
| 11654 | endif (gRPC_BUILD_TESTS) |
| 11655 | if (gRPC_BUILD_TESTS) |
| 11656 | |
| 11657 | add_executable(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11658 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11659 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11660 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11661 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11662 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11663 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11664 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11665 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11666 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11667 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11668 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11669 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11670 | test/cpp/interop/reconnect_interop_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11671 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11672 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11673 | ) |
| 11674 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11675 | protobuf_generate_grpc_cpp( |
| 11676 | src/proto/grpc/testing/empty.proto |
| 11677 | ) |
| 11678 | protobuf_generate_grpc_cpp( |
| 11679 | src/proto/grpc/testing/messages.proto |
| 11680 | ) |
| 11681 | protobuf_generate_grpc_cpp( |
| 11682 | src/proto/grpc/testing/test.proto |
| 11683 | ) |
| 11684 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11685 | target_include_directories(reconnect_interop_server |
| 11686 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11687 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11688 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11689 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11690 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11691 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11692 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11693 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11694 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11695 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11696 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11697 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11698 | PRIVATE third_party/googletest/googletest/include |
| 11699 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11700 | PRIVATE third_party/googletest/googlemock/include |
| 11701 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11702 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11703 | ) |
| 11704 | |
| 11705 | target_link_libraries(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11706 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11707 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11708 | reconnect_server |
| 11709 | test_tcp_server |
| 11710 | grpc++_test_util |
| 11711 | grpc_test_util |
| 11712 | grpc++ |
| 11713 | grpc |
| 11714 | gpr_test_util |
| 11715 | gpr |
| 11716 | grpc++_test_config |
| 11717 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11718 | ) |
| 11719 | |
| 11720 | endif (gRPC_BUILD_TESTS) |
| 11721 | if (gRPC_BUILD_TESTS) |
| 11722 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11723 | add_executable(secure_auth_context_test |
| 11724 | test/cpp/common/secure_auth_context_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11725 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11726 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11727 | ) |
| 11728 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11729 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11730 | target_include_directories(secure_auth_context_test |
| 11731 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11732 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11733 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11734 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11735 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11736 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11737 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11738 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11739 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11740 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11741 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11742 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11743 | PRIVATE third_party/googletest/googletest/include |
| 11744 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11745 | PRIVATE third_party/googletest/googlemock/include |
| 11746 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11747 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11748 | ) |
| 11749 | |
| 11750 | target_link_libraries(secure_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11751 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11752 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11753 | grpc++_test_util |
| 11754 | grpc_test_util |
| 11755 | grpc++ |
| 11756 | grpc |
| 11757 | gpr_test_util |
| 11758 | gpr |
| 11759 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11760 | ) |
| 11761 | |
| 11762 | endif (gRPC_BUILD_TESTS) |
| 11763 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11764 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11765 | |
| 11766 | add_executable(secure_sync_unary_ping_pong_test |
| 11767 | test/cpp/qps/secure_sync_unary_ping_pong_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11768 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11769 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11770 | ) |
| 11771 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11772 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11773 | target_include_directories(secure_sync_unary_ping_pong_test |
| 11774 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11775 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11776 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11777 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11778 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11779 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11780 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11781 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11782 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11783 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11784 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11785 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11786 | PRIVATE third_party/googletest/googletest/include |
| 11787 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11788 | PRIVATE third_party/googletest/googlemock/include |
| 11789 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11790 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11791 | ) |
| 11792 | |
| 11793 | target_link_libraries(secure_sync_unary_ping_pong_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11794 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11795 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11796 | qps |
| 11797 | grpc++_test_util |
| 11798 | grpc_test_util |
| 11799 | grpc++ |
| 11800 | grpc |
| 11801 | gpr_test_util |
| 11802 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 11803 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11804 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11805 | ) |
| 11806 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11807 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11808 | endif (gRPC_BUILD_TESTS) |
| 11809 | if (gRPC_BUILD_TESTS) |
| 11810 | |
| 11811 | add_executable(server_builder_plugin_test |
| 11812 | test/cpp/end2end/server_builder_plugin_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11813 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11814 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11815 | ) |
| 11816 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11817 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11818 | target_include_directories(server_builder_plugin_test |
| 11819 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11820 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11821 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11822 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11823 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11824 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11825 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11826 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11827 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11828 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11829 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11830 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11831 | PRIVATE third_party/googletest/googletest/include |
| 11832 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11833 | PRIVATE third_party/googletest/googlemock/include |
| 11834 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11835 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11836 | ) |
| 11837 | |
| 11838 | target_link_libraries(server_builder_plugin_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11839 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11840 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11841 | grpc++_test_util |
| 11842 | grpc_test_util |
| 11843 | grpc++ |
| 11844 | grpc |
| 11845 | gpr_test_util |
| 11846 | gpr |
| 11847 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11848 | ) |
| 11849 | |
| 11850 | endif (gRPC_BUILD_TESTS) |
| 11851 | if (gRPC_BUILD_TESTS) |
| 11852 | |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11853 | add_executable(server_builder_test |
| 11854 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 11855 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 11856 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 11857 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 11858 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 11859 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 11860 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 11861 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 11862 | test/cpp/server/server_builder_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 |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11865 | ) |
| 11866 | |
| 11867 | protobuf_generate_grpc_cpp( |
| 11868 | src/proto/grpc/testing/echo_messages.proto |
| 11869 | ) |
| 11870 | protobuf_generate_grpc_cpp( |
| 11871 | src/proto/grpc/testing/echo.proto |
| 11872 | ) |
| 11873 | |
| 11874 | target_include_directories(server_builder_test |
| 11875 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11876 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11877 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11878 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11879 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11880 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11881 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11882 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11883 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11884 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11885 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11886 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11887 | PRIVATE third_party/googletest/googletest/include |
| 11888 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11889 | PRIVATE third_party/googletest/googlemock/include |
| 11890 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11891 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11892 | ) |
| 11893 | |
| 11894 | target_link_libraries(server_builder_test |
| 11895 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11896 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11897 | grpc++_test_util |
| 11898 | grpc_test_util |
| 11899 | gpr_test_util |
| 11900 | grpc++ |
| 11901 | grpc |
| 11902 | gpr |
| 11903 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11904 | ) |
| 11905 | |
| 11906 | endif (gRPC_BUILD_TESTS) |
| 11907 | if (gRPC_BUILD_TESTS) |
| 11908 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11909 | add_executable(server_context_test_spouse_test |
| 11910 | test/cpp/test/server_context_test_spouse_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11911 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11912 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11913 | ) |
| 11914 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11915 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11916 | target_include_directories(server_context_test_spouse_test |
| 11917 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11918 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11919 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11920 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11921 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11922 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11923 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11924 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11925 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11926 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11927 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11928 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11929 | PRIVATE third_party/googletest/googletest/include |
| 11930 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11931 | PRIVATE third_party/googletest/googlemock/include |
| 11932 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11933 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11934 | ) |
| 11935 | |
| 11936 | target_link_libraries(server_context_test_spouse_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11937 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11938 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11939 | grpc_test_util |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11940 | grpc++ |
| 11941 | grpc |
| 11942 | gpr_test_util |
| 11943 | gpr |
| 11944 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11945 | ) |
| 11946 | |
| 11947 | endif (gRPC_BUILD_TESTS) |
| 11948 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11949 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11950 | |
| 11951 | add_executable(server_crash_test |
| 11952 | test/cpp/end2end/server_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11953 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11954 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11955 | ) |
| 11956 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11957 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11958 | target_include_directories(server_crash_test |
| 11959 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11960 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11961 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11962 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11963 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11964 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11965 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11966 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11967 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11968 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11969 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11970 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11971 | PRIVATE third_party/googletest/googletest/include |
| 11972 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11973 | PRIVATE third_party/googletest/googlemock/include |
| 11974 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11975 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11976 | ) |
| 11977 | |
| 11978 | target_link_libraries(server_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11979 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11980 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11981 | grpc++_test_util |
| 11982 | grpc_test_util |
| 11983 | grpc++ |
| 11984 | grpc |
| 11985 | gpr_test_util |
| 11986 | gpr |
| 11987 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11988 | ) |
| 11989 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11990 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11991 | endif (gRPC_BUILD_TESTS) |
| 11992 | if (gRPC_BUILD_TESTS) |
| 11993 | |
| 11994 | add_executable(server_crash_test_client |
| 11995 | test/cpp/end2end/server_crash_test_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11996 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11997 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11998 | ) |
| 11999 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12000 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12001 | target_include_directories(server_crash_test_client |
| 12002 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12003 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12004 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12005 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12006 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12007 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12008 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12009 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12010 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12011 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12012 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12013 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12014 | PRIVATE third_party/googletest/googletest/include |
| 12015 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12016 | PRIVATE third_party/googletest/googlemock/include |
| 12017 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12018 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12019 | ) |
| 12020 | |
| 12021 | target_link_libraries(server_crash_test_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12022 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12023 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12024 | grpc++_test_util |
| 12025 | grpc_test_util |
| 12026 | grpc++ |
| 12027 | grpc |
| 12028 | gpr_test_util |
| 12029 | gpr |
| 12030 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12031 | ) |
| 12032 | |
| 12033 | endif (gRPC_BUILD_TESTS) |
| 12034 | if (gRPC_BUILD_TESTS) |
| 12035 | |
| 12036 | add_executable(shutdown_test |
| 12037 | test/cpp/end2end/shutdown_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12038 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12039 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12040 | ) |
| 12041 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12042 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12043 | target_include_directories(shutdown_test |
| 12044 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12045 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12046 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12047 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12048 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12049 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12050 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12051 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12052 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12053 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12054 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12055 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12056 | PRIVATE third_party/googletest/googletest/include |
| 12057 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12058 | PRIVATE third_party/googletest/googlemock/include |
| 12059 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12060 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12061 | ) |
| 12062 | |
| 12063 | target_link_libraries(shutdown_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12064 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12065 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12066 | grpc++_test_util |
| 12067 | grpc_test_util |
| 12068 | grpc++ |
| 12069 | grpc |
| 12070 | gpr_test_util |
| 12071 | gpr |
| 12072 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12073 | ) |
| 12074 | |
| 12075 | endif (gRPC_BUILD_TESTS) |
| 12076 | if (gRPC_BUILD_TESTS) |
| 12077 | |
| 12078 | add_executable(status_test |
| 12079 | test/cpp/util/status_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12080 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12081 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12082 | ) |
| 12083 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12084 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12085 | target_include_directories(status_test |
| 12086 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12087 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12088 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12089 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12090 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12091 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12092 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12093 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12094 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12095 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12096 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12097 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12098 | PRIVATE third_party/googletest/googletest/include |
| 12099 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12100 | PRIVATE third_party/googletest/googlemock/include |
| 12101 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12102 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12103 | ) |
| 12104 | |
| 12105 | target_link_libraries(status_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12106 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12107 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12108 | grpc_test_util |
| 12109 | grpc++ |
| 12110 | grpc |
| 12111 | gpr_test_util |
| 12112 | gpr |
| 12113 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12114 | ) |
| 12115 | |
| 12116 | endif (gRPC_BUILD_TESTS) |
| 12117 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12118 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12119 | |
| 12120 | add_executable(streaming_throughput_test |
| 12121 | test/cpp/end2end/streaming_throughput_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12122 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12123 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12124 | ) |
| 12125 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12126 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12127 | target_include_directories(streaming_throughput_test |
| 12128 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12129 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12130 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12131 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12132 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12133 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12134 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12135 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12136 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12137 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12138 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12139 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12140 | PRIVATE third_party/googletest/googletest/include |
| 12141 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12142 | PRIVATE third_party/googletest/googlemock/include |
| 12143 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12144 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12145 | ) |
| 12146 | |
| 12147 | target_link_libraries(streaming_throughput_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12148 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12149 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12150 | grpc++_test_util |
| 12151 | grpc_test_util |
| 12152 | grpc++ |
| 12153 | grpc |
| 12154 | gpr_test_util |
| 12155 | gpr |
| 12156 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12157 | ) |
| 12158 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12159 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12160 | endif (gRPC_BUILD_TESTS) |
| 12161 | if (gRPC_BUILD_TESTS) |
| 12162 | |
| 12163 | add_executable(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12164 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 12165 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 12166 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 12167 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 12168 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 12169 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 12170 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 12171 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 12172 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 12173 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 12174 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 12175 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
| 12176 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 12177 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 12178 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 12179 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12180 | test/cpp/interop/interop_client.cc |
| 12181 | test/cpp/interop/stress_interop_client.cc |
| 12182 | test/cpp/interop/stress_test.cc |
| 12183 | test/cpp/util/metrics_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12184 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12185 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12186 | ) |
| 12187 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12188 | protobuf_generate_grpc_cpp( |
| 12189 | src/proto/grpc/testing/empty.proto |
| 12190 | ) |
| 12191 | protobuf_generate_grpc_cpp( |
| 12192 | src/proto/grpc/testing/messages.proto |
| 12193 | ) |
| 12194 | protobuf_generate_grpc_cpp( |
| 12195 | src/proto/grpc/testing/metrics.proto |
| 12196 | ) |
| 12197 | protobuf_generate_grpc_cpp( |
| 12198 | src/proto/grpc/testing/test.proto |
| 12199 | ) |
| 12200 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12201 | target_include_directories(stress_test |
| 12202 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12203 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12204 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12205 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12206 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12207 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12208 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12209 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12210 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12211 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12212 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12213 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12214 | PRIVATE third_party/googletest/googletest/include |
| 12215 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12216 | PRIVATE third_party/googletest/googlemock/include |
| 12217 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12218 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12219 | ) |
| 12220 | |
| 12221 | target_link_libraries(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12222 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12223 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12224 | grpc++_test_util |
| 12225 | grpc_test_util |
| 12226 | grpc++ |
| 12227 | grpc |
| 12228 | gpr_test_util |
| 12229 | gpr |
| 12230 | grpc++_test_config |
| 12231 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12232 | ) |
| 12233 | |
| 12234 | endif (gRPC_BUILD_TESTS) |
| 12235 | if (gRPC_BUILD_TESTS) |
| 12236 | |
| 12237 | add_executable(thread_manager_test |
| 12238 | test/cpp/thread_manager/thread_manager_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12239 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12240 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12241 | ) |
| 12242 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12243 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12244 | target_include_directories(thread_manager_test |
| 12245 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12246 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12247 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12248 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12249 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12250 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12251 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12252 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12253 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12254 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12255 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12256 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12257 | PRIVATE third_party/googletest/googletest/include |
| 12258 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12259 | PRIVATE third_party/googletest/googlemock/include |
| 12260 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12261 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12262 | ) |
| 12263 | |
| 12264 | target_link_libraries(thread_manager_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12265 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12266 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12267 | grpc++ |
| 12268 | grpc |
| 12269 | gpr |
| 12270 | grpc++_test_config |
| 12271 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12272 | ) |
| 12273 | |
| 12274 | endif (gRPC_BUILD_TESTS) |
| 12275 | if (gRPC_BUILD_TESTS) |
| 12276 | |
| 12277 | add_executable(thread_stress_test |
| 12278 | test/cpp/end2end/thread_stress_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12279 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12280 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12281 | ) |
| 12282 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12283 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12284 | target_include_directories(thread_stress_test |
| 12285 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12286 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12287 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12288 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12289 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12290 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12291 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12292 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12293 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12294 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12295 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12296 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12297 | PRIVATE third_party/googletest/googletest/include |
| 12298 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12299 | PRIVATE third_party/googletest/googlemock/include |
| 12300 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12301 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12302 | ) |
| 12303 | |
| 12304 | target_link_libraries(thread_stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12305 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12306 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12307 | grpc++_test_util |
| 12308 | grpc_test_util |
| 12309 | grpc++ |
| 12310 | grpc |
| 12311 | gpr_test_util |
| 12312 | gpr |
| 12313 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12314 | ) |
| 12315 | |
| 12316 | endif (gRPC_BUILD_TESTS) |
| 12317 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12318 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12319 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12320 | add_executable(writes_per_rpc_test |
| 12321 | test/cpp/performance/writes_per_rpc_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12322 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12323 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12324 | ) |
| 12325 | |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12326 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12327 | target_include_directories(writes_per_rpc_test |
| 12328 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12329 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12330 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12331 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12332 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12333 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12334 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12335 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12336 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12337 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12338 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12339 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12340 | PRIVATE third_party/googletest/googletest/include |
| 12341 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12342 | PRIVATE third_party/googletest/googlemock/include |
| 12343 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12344 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12345 | ) |
| 12346 | |
| 12347 | target_link_libraries(writes_per_rpc_test |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12348 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12349 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12350 | grpc++_test_util |
| 12351 | grpc_test_util |
| 12352 | grpc++ |
| 12353 | grpc |
| 12354 | gpr_test_util |
| 12355 | gpr |
| 12356 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12357 | ) |
| 12358 | |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12359 | endif() |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12360 | endif (gRPC_BUILD_TESTS) |
| 12361 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12362 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12363 | add_executable(public_headers_must_be_c89 |
| 12364 | test/core/surface/public_headers_must_be_c89.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12365 | ) |
| 12366 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12367 | |
| 12368 | target_include_directories(public_headers_must_be_c89 |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12369 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12370 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12371 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12372 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12373 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12374 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12375 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12376 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12377 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12378 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12379 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12380 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12381 | ) |
| 12382 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12383 | target_link_libraries(public_headers_must_be_c89 |
| 12384 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12385 | grpc |
| 12386 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12387 | ) |
| 12388 | |
| 12389 | endif (gRPC_BUILD_TESTS) |
| 12390 | if (gRPC_BUILD_TESTS) |
| 12391 | |
| 12392 | add_executable(badreq_bad_client_test |
| 12393 | test/core/bad_client/tests/badreq.c |
| 12394 | ) |
| 12395 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12396 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12397 | target_include_directories(badreq_bad_client_test |
| 12398 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12399 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12400 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12401 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12402 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12403 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12404 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12405 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12406 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12407 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12408 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12409 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12410 | ) |
| 12411 | |
| 12412 | target_link_libraries(badreq_bad_client_test |
| 12413 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12414 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12415 | bad_client_test |
| 12416 | grpc_test_util_unsecure |
| 12417 | grpc_unsecure |
| 12418 | gpr_test_util |
| 12419 | gpr |
| 12420 | ) |
| 12421 | |
| 12422 | endif (gRPC_BUILD_TESTS) |
| 12423 | if (gRPC_BUILD_TESTS) |
| 12424 | |
| 12425 | add_executable(connection_prefix_bad_client_test |
| 12426 | test/core/bad_client/tests/connection_prefix.c |
| 12427 | ) |
| 12428 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12429 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12430 | target_include_directories(connection_prefix_bad_client_test |
| 12431 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12432 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12433 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12434 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12435 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12436 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12437 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12438 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12439 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12440 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12441 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12442 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12443 | ) |
| 12444 | |
| 12445 | target_link_libraries(connection_prefix_bad_client_test |
| 12446 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12447 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12448 | bad_client_test |
| 12449 | grpc_test_util_unsecure |
| 12450 | grpc_unsecure |
| 12451 | gpr_test_util |
| 12452 | gpr |
| 12453 | ) |
| 12454 | |
| 12455 | endif (gRPC_BUILD_TESTS) |
| 12456 | if (gRPC_BUILD_TESTS) |
| 12457 | |
| 12458 | add_executable(head_of_line_blocking_bad_client_test |
| 12459 | test/core/bad_client/tests/head_of_line_blocking.c |
| 12460 | ) |
| 12461 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12462 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12463 | target_include_directories(head_of_line_blocking_bad_client_test |
| 12464 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12465 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12466 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12467 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12468 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12469 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12470 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12471 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12472 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12473 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12474 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12475 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12476 | ) |
| 12477 | |
| 12478 | target_link_libraries(head_of_line_blocking_bad_client_test |
| 12479 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12480 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12481 | bad_client_test |
| 12482 | grpc_test_util_unsecure |
| 12483 | grpc_unsecure |
| 12484 | gpr_test_util |
| 12485 | gpr |
| 12486 | ) |
| 12487 | |
| 12488 | endif (gRPC_BUILD_TESTS) |
| 12489 | if (gRPC_BUILD_TESTS) |
| 12490 | |
| 12491 | add_executable(headers_bad_client_test |
| 12492 | test/core/bad_client/tests/headers.c |
| 12493 | ) |
| 12494 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12495 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12496 | target_include_directories(headers_bad_client_test |
| 12497 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12498 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12499 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12500 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12501 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12502 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12503 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12504 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12505 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12506 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12507 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12508 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12509 | ) |
| 12510 | |
| 12511 | target_link_libraries(headers_bad_client_test |
| 12512 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12513 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12514 | bad_client_test |
| 12515 | grpc_test_util_unsecure |
| 12516 | grpc_unsecure |
| 12517 | gpr_test_util |
| 12518 | gpr |
| 12519 | ) |
| 12520 | |
| 12521 | endif (gRPC_BUILD_TESTS) |
| 12522 | if (gRPC_BUILD_TESTS) |
| 12523 | |
| 12524 | add_executable(initial_settings_frame_bad_client_test |
| 12525 | test/core/bad_client/tests/initial_settings_frame.c |
| 12526 | ) |
| 12527 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12528 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12529 | target_include_directories(initial_settings_frame_bad_client_test |
| 12530 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12531 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12532 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12533 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12534 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12535 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12536 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12537 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12538 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12539 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12540 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12541 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12542 | ) |
| 12543 | |
| 12544 | target_link_libraries(initial_settings_frame_bad_client_test |
| 12545 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12546 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12547 | bad_client_test |
| 12548 | grpc_test_util_unsecure |
| 12549 | grpc_unsecure |
| 12550 | gpr_test_util |
| 12551 | gpr |
| 12552 | ) |
| 12553 | |
| 12554 | endif (gRPC_BUILD_TESTS) |
| 12555 | if (gRPC_BUILD_TESTS) |
| 12556 | |
| 12557 | add_executable(large_metadata_bad_client_test |
| 12558 | test/core/bad_client/tests/large_metadata.c |
| 12559 | ) |
| 12560 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12561 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12562 | target_include_directories(large_metadata_bad_client_test |
| 12563 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12564 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12565 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12566 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12567 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12568 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12569 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12570 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12571 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12572 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12573 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12574 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12575 | ) |
| 12576 | |
| 12577 | target_link_libraries(large_metadata_bad_client_test |
| 12578 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12579 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12580 | bad_client_test |
| 12581 | grpc_test_util_unsecure |
| 12582 | grpc_unsecure |
| 12583 | gpr_test_util |
| 12584 | gpr |
| 12585 | ) |
| 12586 | |
| 12587 | endif (gRPC_BUILD_TESTS) |
| 12588 | if (gRPC_BUILD_TESTS) |
| 12589 | |
| 12590 | add_executable(server_registered_method_bad_client_test |
| 12591 | test/core/bad_client/tests/server_registered_method.c |
| 12592 | ) |
| 12593 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12594 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12595 | target_include_directories(server_registered_method_bad_client_test |
| 12596 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12597 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12598 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12599 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12600 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12601 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12602 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12603 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12604 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12605 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12606 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12607 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12608 | ) |
| 12609 | |
| 12610 | target_link_libraries(server_registered_method_bad_client_test |
| 12611 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12612 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12613 | bad_client_test |
| 12614 | grpc_test_util_unsecure |
| 12615 | grpc_unsecure |
| 12616 | gpr_test_util |
| 12617 | gpr |
| 12618 | ) |
| 12619 | |
| 12620 | endif (gRPC_BUILD_TESTS) |
| 12621 | if (gRPC_BUILD_TESTS) |
| 12622 | |
| 12623 | add_executable(simple_request_bad_client_test |
| 12624 | test/core/bad_client/tests/simple_request.c |
| 12625 | ) |
| 12626 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12627 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12628 | target_include_directories(simple_request_bad_client_test |
| 12629 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12630 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12631 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12632 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12633 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12634 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12635 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12636 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12637 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12638 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12639 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12640 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12641 | ) |
| 12642 | |
| 12643 | target_link_libraries(simple_request_bad_client_test |
| 12644 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12645 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12646 | bad_client_test |
| 12647 | grpc_test_util_unsecure |
| 12648 | grpc_unsecure |
| 12649 | gpr_test_util |
| 12650 | gpr |
| 12651 | ) |
| 12652 | |
| 12653 | endif (gRPC_BUILD_TESTS) |
| 12654 | if (gRPC_BUILD_TESTS) |
| 12655 | |
| 12656 | add_executable(unknown_frame_bad_client_test |
| 12657 | test/core/bad_client/tests/unknown_frame.c |
| 12658 | ) |
| 12659 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12660 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12661 | target_include_directories(unknown_frame_bad_client_test |
| 12662 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12663 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12664 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12665 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12666 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12667 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12668 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12669 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12670 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12671 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12672 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12673 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12674 | ) |
| 12675 | |
| 12676 | target_link_libraries(unknown_frame_bad_client_test |
| 12677 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12678 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12679 | bad_client_test |
| 12680 | grpc_test_util_unsecure |
| 12681 | grpc_unsecure |
| 12682 | gpr_test_util |
| 12683 | gpr |
| 12684 | ) |
| 12685 | |
| 12686 | endif (gRPC_BUILD_TESTS) |
| 12687 | if (gRPC_BUILD_TESTS) |
| 12688 | |
| 12689 | add_executable(window_overflow_bad_client_test |
| 12690 | test/core/bad_client/tests/window_overflow.c |
| 12691 | ) |
| 12692 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12693 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12694 | target_include_directories(window_overflow_bad_client_test |
| 12695 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12696 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12697 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12698 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12699 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12700 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12701 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12702 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12703 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12704 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12705 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12706 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12707 | ) |
| 12708 | |
| 12709 | target_link_libraries(window_overflow_bad_client_test |
| 12710 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12711 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12712 | bad_client_test |
| 12713 | grpc_test_util_unsecure |
| 12714 | grpc_unsecure |
| 12715 | gpr_test_util |
| 12716 | gpr |
| 12717 | ) |
| 12718 | |
| 12719 | endif (gRPC_BUILD_TESTS) |
| 12720 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12721 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12722 | |
| 12723 | add_executable(bad_ssl_cert_server |
| 12724 | test/core/bad_ssl/servers/cert.c |
| 12725 | ) |
| 12726 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12727 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12728 | target_include_directories(bad_ssl_cert_server |
| 12729 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12730 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12731 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12732 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12733 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12734 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12735 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12736 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12737 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12738 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12739 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12740 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12741 | ) |
| 12742 | |
| 12743 | target_link_libraries(bad_ssl_cert_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12744 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12745 | bad_ssl_test_server |
| 12746 | grpc_test_util |
| 12747 | grpc |
| 12748 | gpr_test_util |
| 12749 | gpr |
| 12750 | ) |
| 12751 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12752 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12753 | endif (gRPC_BUILD_TESTS) |
| 12754 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12755 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12756 | |
| 12757 | add_executable(bad_ssl_cert_test |
| 12758 | test/core/bad_ssl/bad_ssl_test.c |
| 12759 | ) |
| 12760 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12761 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12762 | target_include_directories(bad_ssl_cert_test |
| 12763 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12764 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12765 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12766 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12767 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12768 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12769 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12770 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12771 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12772 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12773 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12774 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12775 | ) |
| 12776 | |
| 12777 | target_link_libraries(bad_ssl_cert_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12778 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12779 | grpc_test_util |
| 12780 | grpc |
| 12781 | gpr_test_util |
| 12782 | gpr |
| 12783 | ) |
| 12784 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12785 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12786 | endif (gRPC_BUILD_TESTS) |
| 12787 | if (gRPC_BUILD_TESTS) |
| 12788 | |
| 12789 | add_executable(h2_census_test |
| 12790 | test/core/end2end/fixtures/h2_census.c |
| 12791 | ) |
| 12792 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12793 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12794 | target_include_directories(h2_census_test |
| 12795 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12796 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12797 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12798 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12799 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12800 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12801 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12802 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12803 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12804 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12805 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12806 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12807 | ) |
| 12808 | |
| 12809 | target_link_libraries(h2_census_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12810 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12811 | end2end_tests |
| 12812 | grpc_test_util |
| 12813 | grpc |
| 12814 | gpr_test_util |
| 12815 | gpr |
| 12816 | ) |
| 12817 | |
| 12818 | endif (gRPC_BUILD_TESTS) |
| 12819 | if (gRPC_BUILD_TESTS) |
| 12820 | |
| 12821 | add_executable(h2_compress_test |
| 12822 | test/core/end2end/fixtures/h2_compress.c |
| 12823 | ) |
| 12824 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12825 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12826 | target_include_directories(h2_compress_test |
| 12827 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12828 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12829 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12830 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12831 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12832 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12833 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12834 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12835 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12836 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12837 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12838 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12839 | ) |
| 12840 | |
| 12841 | target_link_libraries(h2_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12842 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12843 | end2end_tests |
| 12844 | grpc_test_util |
| 12845 | grpc |
| 12846 | gpr_test_util |
| 12847 | gpr |
| 12848 | ) |
| 12849 | |
| 12850 | endif (gRPC_BUILD_TESTS) |
| 12851 | if (gRPC_BUILD_TESTS) |
| 12852 | |
| 12853 | add_executable(h2_fakesec_test |
| 12854 | test/core/end2end/fixtures/h2_fakesec.c |
| 12855 | ) |
| 12856 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12857 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12858 | target_include_directories(h2_fakesec_test |
| 12859 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12860 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12861 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12862 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12863 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12864 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12865 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12866 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12867 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12868 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12869 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12870 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12871 | ) |
| 12872 | |
| 12873 | target_link_libraries(h2_fakesec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12874 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12875 | end2end_tests |
| 12876 | grpc_test_util |
| 12877 | grpc |
| 12878 | gpr_test_util |
| 12879 | gpr |
| 12880 | ) |
| 12881 | |
| 12882 | endif (gRPC_BUILD_TESTS) |
| 12883 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12884 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12885 | |
| 12886 | add_executable(h2_fd_test |
| 12887 | test/core/end2end/fixtures/h2_fd.c |
| 12888 | ) |
| 12889 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12890 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12891 | target_include_directories(h2_fd_test |
| 12892 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12893 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12894 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12895 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12896 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12897 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12898 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12899 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12900 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12901 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12902 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12903 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12904 | ) |
| 12905 | |
| 12906 | target_link_libraries(h2_fd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12907 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12908 | end2end_tests |
| 12909 | grpc_test_util |
| 12910 | grpc |
| 12911 | gpr_test_util |
| 12912 | gpr |
| 12913 | ) |
| 12914 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12915 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12916 | endif (gRPC_BUILD_TESTS) |
| 12917 | if (gRPC_BUILD_TESTS) |
| 12918 | |
| 12919 | add_executable(h2_full_test |
| 12920 | test/core/end2end/fixtures/h2_full.c |
| 12921 | ) |
| 12922 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12923 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12924 | target_include_directories(h2_full_test |
| 12925 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12926 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12927 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12928 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12929 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12930 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12931 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12932 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12933 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12934 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12935 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12936 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12937 | ) |
| 12938 | |
| 12939 | target_link_libraries(h2_full_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12940 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12941 | end2end_tests |
| 12942 | grpc_test_util |
| 12943 | grpc |
| 12944 | gpr_test_util |
| 12945 | gpr |
| 12946 | ) |
| 12947 | |
| 12948 | endif (gRPC_BUILD_TESTS) |
| 12949 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12950 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12951 | |
| 12952 | add_executable(h2_full+pipe_test |
| 12953 | test/core/end2end/fixtures/h2_full+pipe.c |
| 12954 | ) |
| 12955 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12956 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12957 | target_include_directories(h2_full+pipe_test |
| 12958 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12959 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12960 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12961 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12962 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12963 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12964 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12965 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12966 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12967 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12968 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12969 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12970 | ) |
| 12971 | |
| 12972 | target_link_libraries(h2_full+pipe_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12973 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12974 | end2end_tests |
| 12975 | grpc_test_util |
| 12976 | grpc |
| 12977 | gpr_test_util |
| 12978 | gpr |
| 12979 | ) |
| 12980 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12981 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12982 | endif (gRPC_BUILD_TESTS) |
| 12983 | if (gRPC_BUILD_TESTS) |
| 12984 | |
| 12985 | add_executable(h2_full+trace_test |
| 12986 | test/core/end2end/fixtures/h2_full+trace.c |
| 12987 | ) |
| 12988 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12989 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12990 | target_include_directories(h2_full+trace_test |
| 12991 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12992 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12993 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12994 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12995 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12996 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12997 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12998 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12999 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13000 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13001 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13002 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13003 | ) |
| 13004 | |
| 13005 | target_link_libraries(h2_full+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13006 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13007 | end2end_tests |
| 13008 | grpc_test_util |
| 13009 | grpc |
| 13010 | gpr_test_util |
| 13011 | gpr |
| 13012 | ) |
| 13013 | |
| 13014 | endif (gRPC_BUILD_TESTS) |
| 13015 | if (gRPC_BUILD_TESTS) |
| 13016 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13017 | add_executable(h2_full+workarounds_test |
| 13018 | test/core/end2end/fixtures/h2_full+workarounds.c |
| 13019 | ) |
| 13020 | |
| 13021 | |
| 13022 | target_include_directories(h2_full+workarounds_test |
| 13023 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13024 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13025 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13026 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13027 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13028 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13029 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 13030 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 13031 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13032 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13033 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13034 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13035 | ) |
| 13036 | |
| 13037 | target_link_libraries(h2_full+workarounds_test |
| 13038 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13039 | end2end_tests |
| 13040 | grpc_test_util |
| 13041 | grpc |
| 13042 | gpr_test_util |
| 13043 | gpr |
| 13044 | ) |
| 13045 | |
| 13046 | endif (gRPC_BUILD_TESTS) |
| 13047 | if (gRPC_BUILD_TESTS) |
| 13048 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13049 | add_executable(h2_http_proxy_test |
| 13050 | test/core/end2end/fixtures/h2_http_proxy.c |
| 13051 | ) |
| 13052 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13053 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13054 | target_include_directories(h2_http_proxy_test |
| 13055 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13056 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13057 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13058 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13059 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13060 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13061 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13062 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13063 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13064 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13065 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13066 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13067 | ) |
| 13068 | |
| 13069 | target_link_libraries(h2_http_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13070 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13071 | end2end_tests |
| 13072 | grpc_test_util |
| 13073 | grpc |
| 13074 | gpr_test_util |
| 13075 | gpr |
| 13076 | ) |
| 13077 | |
| 13078 | endif (gRPC_BUILD_TESTS) |
| 13079 | if (gRPC_BUILD_TESTS) |
| 13080 | |
| 13081 | add_executable(h2_load_reporting_test |
| 13082 | test/core/end2end/fixtures/h2_load_reporting.c |
| 13083 | ) |
| 13084 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13085 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13086 | target_include_directories(h2_load_reporting_test |
| 13087 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13088 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13089 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13090 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13091 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13092 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13093 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13094 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13095 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13096 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13097 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13098 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13099 | ) |
| 13100 | |
| 13101 | target_link_libraries(h2_load_reporting_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13102 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13103 | end2end_tests |
| 13104 | grpc_test_util |
| 13105 | grpc |
| 13106 | gpr_test_util |
| 13107 | gpr |
| 13108 | ) |
| 13109 | |
| 13110 | endif (gRPC_BUILD_TESTS) |
| 13111 | if (gRPC_BUILD_TESTS) |
| 13112 | |
| 13113 | add_executable(h2_oauth2_test |
| 13114 | test/core/end2end/fixtures/h2_oauth2.c |
| 13115 | ) |
| 13116 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13117 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13118 | target_include_directories(h2_oauth2_test |
| 13119 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13120 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13121 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13122 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13123 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13124 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13125 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13126 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13127 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13128 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13129 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13130 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13131 | ) |
| 13132 | |
| 13133 | target_link_libraries(h2_oauth2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13134 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13135 | end2end_tests |
| 13136 | grpc_test_util |
| 13137 | grpc |
| 13138 | gpr_test_util |
| 13139 | gpr |
| 13140 | ) |
| 13141 | |
| 13142 | endif (gRPC_BUILD_TESTS) |
| 13143 | if (gRPC_BUILD_TESTS) |
| 13144 | |
| 13145 | add_executable(h2_proxy_test |
| 13146 | test/core/end2end/fixtures/h2_proxy.c |
| 13147 | ) |
| 13148 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13149 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13150 | target_include_directories(h2_proxy_test |
| 13151 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13152 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13153 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13154 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13155 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13156 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13157 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13158 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13159 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13160 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13161 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13162 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13163 | ) |
| 13164 | |
| 13165 | target_link_libraries(h2_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13166 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13167 | end2end_tests |
| 13168 | grpc_test_util |
| 13169 | grpc |
| 13170 | gpr_test_util |
| 13171 | gpr |
| 13172 | ) |
| 13173 | |
| 13174 | endif (gRPC_BUILD_TESTS) |
| 13175 | if (gRPC_BUILD_TESTS) |
| 13176 | |
| 13177 | add_executable(h2_sockpair_test |
| 13178 | test/core/end2end/fixtures/h2_sockpair.c |
| 13179 | ) |
| 13180 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13181 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13182 | target_include_directories(h2_sockpair_test |
| 13183 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13184 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13185 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13186 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13187 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13188 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13189 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13190 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13191 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13192 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13193 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13194 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13195 | ) |
| 13196 | |
| 13197 | target_link_libraries(h2_sockpair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13198 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13199 | end2end_tests |
| 13200 | grpc_test_util |
| 13201 | grpc |
| 13202 | gpr_test_util |
| 13203 | gpr |
| 13204 | ) |
| 13205 | |
| 13206 | endif (gRPC_BUILD_TESTS) |
| 13207 | if (gRPC_BUILD_TESTS) |
| 13208 | |
| 13209 | add_executable(h2_sockpair+trace_test |
| 13210 | test/core/end2end/fixtures/h2_sockpair+trace.c |
| 13211 | ) |
| 13212 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13213 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13214 | target_include_directories(h2_sockpair+trace_test |
| 13215 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13216 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13217 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13218 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13219 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13220 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13221 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13222 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13223 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13224 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13225 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13226 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13227 | ) |
| 13228 | |
| 13229 | target_link_libraries(h2_sockpair+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13230 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13231 | end2end_tests |
| 13232 | grpc_test_util |
| 13233 | grpc |
| 13234 | gpr_test_util |
| 13235 | gpr |
| 13236 | ) |
| 13237 | |
| 13238 | endif (gRPC_BUILD_TESTS) |
| 13239 | if (gRPC_BUILD_TESTS) |
| 13240 | |
| 13241 | add_executable(h2_sockpair_1byte_test |
| 13242 | test/core/end2end/fixtures/h2_sockpair_1byte.c |
| 13243 | ) |
| 13244 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13245 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13246 | target_include_directories(h2_sockpair_1byte_test |
| 13247 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13248 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13249 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13250 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13251 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13252 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13253 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13254 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13255 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13256 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13257 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13258 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13259 | ) |
| 13260 | |
| 13261 | target_link_libraries(h2_sockpair_1byte_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13262 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13263 | end2end_tests |
| 13264 | grpc_test_util |
| 13265 | grpc |
| 13266 | gpr_test_util |
| 13267 | gpr |
| 13268 | ) |
| 13269 | |
| 13270 | endif (gRPC_BUILD_TESTS) |
| 13271 | if (gRPC_BUILD_TESTS) |
| 13272 | |
| 13273 | add_executable(h2_ssl_test |
| 13274 | test/core/end2end/fixtures/h2_ssl.c |
| 13275 | ) |
| 13276 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13277 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13278 | target_include_directories(h2_ssl_test |
| 13279 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13280 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13281 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13282 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13283 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13284 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13285 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13286 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13287 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13288 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13289 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13290 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13291 | ) |
| 13292 | |
| 13293 | target_link_libraries(h2_ssl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13294 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13295 | end2end_tests |
| 13296 | grpc_test_util |
| 13297 | grpc |
| 13298 | gpr_test_util |
| 13299 | gpr |
| 13300 | ) |
| 13301 | |
| 13302 | endif (gRPC_BUILD_TESTS) |
| 13303 | if (gRPC_BUILD_TESTS) |
| 13304 | |
| 13305 | add_executable(h2_ssl_cert_test |
| 13306 | test/core/end2end/fixtures/h2_ssl_cert.c |
| 13307 | ) |
| 13308 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13309 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13310 | target_include_directories(h2_ssl_cert_test |
| 13311 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13312 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13313 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13314 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13315 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13316 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13317 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13318 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13319 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13320 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13321 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13322 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13323 | ) |
| 13324 | |
| 13325 | target_link_libraries(h2_ssl_cert_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13326 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13327 | end2end_tests |
| 13328 | grpc_test_util |
| 13329 | grpc |
| 13330 | gpr_test_util |
| 13331 | gpr |
| 13332 | ) |
| 13333 | |
| 13334 | endif (gRPC_BUILD_TESTS) |
| 13335 | if (gRPC_BUILD_TESTS) |
| 13336 | |
| 13337 | add_executable(h2_ssl_proxy_test |
| 13338 | test/core/end2end/fixtures/h2_ssl_proxy.c |
| 13339 | ) |
| 13340 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13341 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13342 | target_include_directories(h2_ssl_proxy_test |
| 13343 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13344 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13345 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13346 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13347 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13348 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13349 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13350 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13351 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13352 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13353 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13354 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13355 | ) |
| 13356 | |
| 13357 | target_link_libraries(h2_ssl_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13358 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13359 | end2end_tests |
| 13360 | grpc_test_util |
| 13361 | grpc |
| 13362 | gpr_test_util |
| 13363 | gpr |
| 13364 | ) |
| 13365 | |
| 13366 | endif (gRPC_BUILD_TESTS) |
| 13367 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13368 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13369 | |
| 13370 | add_executable(h2_uds_test |
| 13371 | test/core/end2end/fixtures/h2_uds.c |
| 13372 | ) |
| 13373 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13374 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13375 | target_include_directories(h2_uds_test |
| 13376 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13377 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13378 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13379 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13380 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13381 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13382 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13383 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13384 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13385 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13386 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13387 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13388 | ) |
| 13389 | |
| 13390 | target_link_libraries(h2_uds_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13391 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13392 | end2end_tests |
| 13393 | grpc_test_util |
| 13394 | grpc |
| 13395 | gpr_test_util |
| 13396 | gpr |
| 13397 | ) |
| 13398 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13399 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13400 | endif (gRPC_BUILD_TESTS) |
| 13401 | if (gRPC_BUILD_TESTS) |
| 13402 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13403 | add_executable(inproc_test |
| 13404 | test/core/end2end/fixtures/inproc.c |
| 13405 | ) |
| 13406 | |
| 13407 | |
| 13408 | target_include_directories(inproc_test |
| 13409 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13410 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13411 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13412 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13413 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13414 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13415 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 13416 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 13417 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13418 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13419 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13420 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13421 | ) |
| 13422 | |
| 13423 | target_link_libraries(inproc_test |
| 13424 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13425 | end2end_tests |
| 13426 | grpc_test_util |
| 13427 | grpc |
| 13428 | gpr_test_util |
| 13429 | gpr |
| 13430 | ) |
| 13431 | |
| 13432 | endif (gRPC_BUILD_TESTS) |
| 13433 | if (gRPC_BUILD_TESTS) |
| 13434 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13435 | add_executable(h2_census_nosec_test |
| 13436 | test/core/end2end/fixtures/h2_census.c |
| 13437 | ) |
| 13438 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13439 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13440 | target_include_directories(h2_census_nosec_test |
| 13441 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13442 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13443 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13444 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13445 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13446 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13447 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13448 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13449 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13450 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13451 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13452 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13453 | ) |
| 13454 | |
| 13455 | target_link_libraries(h2_census_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13456 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13457 | end2end_nosec_tests |
| 13458 | grpc_test_util_unsecure |
| 13459 | grpc_unsecure |
| 13460 | gpr_test_util |
| 13461 | gpr |
| 13462 | ) |
| 13463 | |
| 13464 | endif (gRPC_BUILD_TESTS) |
| 13465 | if (gRPC_BUILD_TESTS) |
| 13466 | |
| 13467 | add_executable(h2_compress_nosec_test |
| 13468 | test/core/end2end/fixtures/h2_compress.c |
| 13469 | ) |
| 13470 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13471 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13472 | target_include_directories(h2_compress_nosec_test |
| 13473 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13474 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13475 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13476 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13477 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13478 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13479 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13480 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13481 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13482 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13483 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13484 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13485 | ) |
| 13486 | |
| 13487 | target_link_libraries(h2_compress_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13488 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13489 | end2end_nosec_tests |
| 13490 | grpc_test_util_unsecure |
| 13491 | grpc_unsecure |
| 13492 | gpr_test_util |
| 13493 | gpr |
| 13494 | ) |
| 13495 | |
| 13496 | endif (gRPC_BUILD_TESTS) |
| 13497 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13498 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13499 | |
| 13500 | add_executable(h2_fd_nosec_test |
| 13501 | test/core/end2end/fixtures/h2_fd.c |
| 13502 | ) |
| 13503 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13504 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13505 | target_include_directories(h2_fd_nosec_test |
| 13506 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13507 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13508 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13509 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13510 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13511 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13512 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13513 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13514 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13515 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13516 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13517 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13518 | ) |
| 13519 | |
| 13520 | target_link_libraries(h2_fd_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13521 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13522 | end2end_nosec_tests |
| 13523 | grpc_test_util_unsecure |
| 13524 | grpc_unsecure |
| 13525 | gpr_test_util |
| 13526 | gpr |
| 13527 | ) |
| 13528 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13529 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13530 | endif (gRPC_BUILD_TESTS) |
| 13531 | if (gRPC_BUILD_TESTS) |
| 13532 | |
| 13533 | add_executable(h2_full_nosec_test |
| 13534 | test/core/end2end/fixtures/h2_full.c |
| 13535 | ) |
| 13536 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13537 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13538 | target_include_directories(h2_full_nosec_test |
| 13539 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13540 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13541 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13542 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13543 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13544 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13545 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13546 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13547 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13548 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13549 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13550 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13551 | ) |
| 13552 | |
| 13553 | target_link_libraries(h2_full_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13554 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13555 | end2end_nosec_tests |
| 13556 | grpc_test_util_unsecure |
| 13557 | grpc_unsecure |
| 13558 | gpr_test_util |
| 13559 | gpr |
| 13560 | ) |
| 13561 | |
| 13562 | endif (gRPC_BUILD_TESTS) |
| 13563 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13564 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13565 | |
| 13566 | add_executable(h2_full+pipe_nosec_test |
| 13567 | test/core/end2end/fixtures/h2_full+pipe.c |
| 13568 | ) |
| 13569 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13570 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13571 | target_include_directories(h2_full+pipe_nosec_test |
| 13572 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13573 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13574 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13575 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13576 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13577 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13578 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13579 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13580 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13581 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13582 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13583 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13584 | ) |
| 13585 | |
| 13586 | target_link_libraries(h2_full+pipe_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13587 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13588 | end2end_nosec_tests |
| 13589 | grpc_test_util_unsecure |
| 13590 | grpc_unsecure |
| 13591 | gpr_test_util |
| 13592 | gpr |
| 13593 | ) |
| 13594 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13595 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13596 | endif (gRPC_BUILD_TESTS) |
| 13597 | if (gRPC_BUILD_TESTS) |
| 13598 | |
| 13599 | add_executable(h2_full+trace_nosec_test |
| 13600 | test/core/end2end/fixtures/h2_full+trace.c |
| 13601 | ) |
| 13602 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13603 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13604 | target_include_directories(h2_full+trace_nosec_test |
| 13605 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13606 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13607 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13608 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13609 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13610 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13611 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13612 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13613 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13614 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13615 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13616 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13617 | ) |
| 13618 | |
| 13619 | target_link_libraries(h2_full+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13620 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13621 | end2end_nosec_tests |
| 13622 | grpc_test_util_unsecure |
| 13623 | grpc_unsecure |
| 13624 | gpr_test_util |
| 13625 | gpr |
| 13626 | ) |
| 13627 | |
| 13628 | endif (gRPC_BUILD_TESTS) |
| 13629 | if (gRPC_BUILD_TESTS) |
| 13630 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13631 | add_executable(h2_full+workarounds_nosec_test |
| 13632 | test/core/end2end/fixtures/h2_full+workarounds.c |
| 13633 | ) |
| 13634 | |
| 13635 | |
| 13636 | target_include_directories(h2_full+workarounds_nosec_test |
| 13637 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13638 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13639 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13640 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13641 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13642 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13643 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 13644 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 13645 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13646 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13647 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13648 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13649 | ) |
| 13650 | |
| 13651 | target_link_libraries(h2_full+workarounds_nosec_test |
| 13652 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13653 | end2end_nosec_tests |
| 13654 | grpc_test_util_unsecure |
| 13655 | grpc_unsecure |
| 13656 | gpr_test_util |
| 13657 | gpr |
| 13658 | ) |
| 13659 | |
| 13660 | endif (gRPC_BUILD_TESTS) |
| 13661 | if (gRPC_BUILD_TESTS) |
| 13662 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13663 | add_executable(h2_http_proxy_nosec_test |
| 13664 | test/core/end2end/fixtures/h2_http_proxy.c |
| 13665 | ) |
| 13666 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13667 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13668 | target_include_directories(h2_http_proxy_nosec_test |
| 13669 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13670 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13671 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13672 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13673 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13674 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13675 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13676 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13677 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13678 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13679 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13680 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13681 | ) |
| 13682 | |
| 13683 | target_link_libraries(h2_http_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13684 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13685 | end2end_nosec_tests |
| 13686 | grpc_test_util_unsecure |
| 13687 | grpc_unsecure |
| 13688 | gpr_test_util |
| 13689 | gpr |
| 13690 | ) |
| 13691 | |
| 13692 | endif (gRPC_BUILD_TESTS) |
| 13693 | if (gRPC_BUILD_TESTS) |
| 13694 | |
| 13695 | add_executable(h2_load_reporting_nosec_test |
| 13696 | test/core/end2end/fixtures/h2_load_reporting.c |
| 13697 | ) |
| 13698 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13699 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13700 | target_include_directories(h2_load_reporting_nosec_test |
| 13701 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13702 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13703 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13704 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13705 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13706 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13707 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13708 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13709 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13710 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13711 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13712 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13713 | ) |
| 13714 | |
| 13715 | target_link_libraries(h2_load_reporting_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13716 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13717 | end2end_nosec_tests |
| 13718 | grpc_test_util_unsecure |
| 13719 | grpc_unsecure |
| 13720 | gpr_test_util |
| 13721 | gpr |
| 13722 | ) |
| 13723 | |
| 13724 | endif (gRPC_BUILD_TESTS) |
| 13725 | if (gRPC_BUILD_TESTS) |
| 13726 | |
| 13727 | add_executable(h2_proxy_nosec_test |
| 13728 | test/core/end2end/fixtures/h2_proxy.c |
| 13729 | ) |
| 13730 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13731 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13732 | target_include_directories(h2_proxy_nosec_test |
| 13733 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13734 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13735 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13736 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13737 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13738 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13739 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13740 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13741 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13742 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13743 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13744 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13745 | ) |
| 13746 | |
| 13747 | target_link_libraries(h2_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13748 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13749 | end2end_nosec_tests |
| 13750 | grpc_test_util_unsecure |
| 13751 | grpc_unsecure |
| 13752 | gpr_test_util |
| 13753 | gpr |
| 13754 | ) |
| 13755 | |
| 13756 | endif (gRPC_BUILD_TESTS) |
| 13757 | if (gRPC_BUILD_TESTS) |
| 13758 | |
| 13759 | add_executable(h2_sockpair_nosec_test |
| 13760 | test/core/end2end/fixtures/h2_sockpair.c |
| 13761 | ) |
| 13762 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13763 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13764 | target_include_directories(h2_sockpair_nosec_test |
| 13765 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13766 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13767 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13768 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13769 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13770 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13771 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13772 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13773 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13774 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13775 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13776 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13777 | ) |
| 13778 | |
| 13779 | target_link_libraries(h2_sockpair_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13780 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13781 | end2end_nosec_tests |
| 13782 | grpc_test_util_unsecure |
| 13783 | grpc_unsecure |
| 13784 | gpr_test_util |
| 13785 | gpr |
| 13786 | ) |
| 13787 | |
| 13788 | endif (gRPC_BUILD_TESTS) |
| 13789 | if (gRPC_BUILD_TESTS) |
| 13790 | |
| 13791 | add_executable(h2_sockpair+trace_nosec_test |
| 13792 | test/core/end2end/fixtures/h2_sockpair+trace.c |
| 13793 | ) |
| 13794 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13795 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13796 | target_include_directories(h2_sockpair+trace_nosec_test |
| 13797 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13798 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13799 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13800 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13801 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13802 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13803 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13804 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13805 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13806 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13807 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13808 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13809 | ) |
| 13810 | |
| 13811 | target_link_libraries(h2_sockpair+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13812 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13813 | end2end_nosec_tests |
| 13814 | grpc_test_util_unsecure |
| 13815 | grpc_unsecure |
| 13816 | gpr_test_util |
| 13817 | gpr |
| 13818 | ) |
| 13819 | |
| 13820 | endif (gRPC_BUILD_TESTS) |
| 13821 | if (gRPC_BUILD_TESTS) |
| 13822 | |
| 13823 | add_executable(h2_sockpair_1byte_nosec_test |
| 13824 | test/core/end2end/fixtures/h2_sockpair_1byte.c |
| 13825 | ) |
| 13826 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13827 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13828 | target_include_directories(h2_sockpair_1byte_nosec_test |
| 13829 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13830 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13831 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13832 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13833 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13834 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13835 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13836 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13837 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13838 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13839 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13840 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13841 | ) |
| 13842 | |
| 13843 | target_link_libraries(h2_sockpair_1byte_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13844 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13845 | end2end_nosec_tests |
| 13846 | grpc_test_util_unsecure |
| 13847 | grpc_unsecure |
| 13848 | gpr_test_util |
| 13849 | gpr |
| 13850 | ) |
| 13851 | |
| 13852 | endif (gRPC_BUILD_TESTS) |
| 13853 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13854 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13855 | |
| 13856 | add_executable(h2_uds_nosec_test |
| 13857 | test/core/end2end/fixtures/h2_uds.c |
| 13858 | ) |
| 13859 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13860 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13861 | target_include_directories(h2_uds_nosec_test |
| 13862 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13863 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13864 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13865 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13866 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13867 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13868 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13869 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13870 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13871 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13872 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13873 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13874 | ) |
| 13875 | |
| 13876 | target_link_libraries(h2_uds_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13877 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13878 | end2end_nosec_tests |
| 13879 | grpc_test_util_unsecure |
| 13880 | grpc_unsecure |
| 13881 | gpr_test_util |
| 13882 | gpr |
| 13883 | ) |
| 13884 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13885 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13886 | endif (gRPC_BUILD_TESTS) |
| 13887 | if (gRPC_BUILD_TESTS) |
| 13888 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13889 | add_executable(inproc_nosec_test |
| 13890 | test/core/end2end/fixtures/inproc.c |
| 13891 | ) |
| 13892 | |
| 13893 | |
| 13894 | target_include_directories(inproc_nosec_test |
| 13895 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13896 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13897 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13898 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13899 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13900 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13901 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 13902 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 13903 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13904 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13905 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13906 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13907 | ) |
| 13908 | |
| 13909 | target_link_libraries(inproc_nosec_test |
| 13910 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13911 | end2end_nosec_tests |
| 13912 | grpc_test_util_unsecure |
| 13913 | grpc_unsecure |
| 13914 | gpr_test_util |
| 13915 | gpr |
| 13916 | ) |
| 13917 | |
| 13918 | endif (gRPC_BUILD_TESTS) |
| 13919 | if (gRPC_BUILD_TESTS) |
| 13920 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13921 | add_executable(api_fuzzer_one_entry |
| 13922 | test/core/end2end/fuzzers/api_fuzzer.c |
| 13923 | test/core/util/one_corpus_entry_fuzzer.c |
| 13924 | ) |
| 13925 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13926 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13927 | target_include_directories(api_fuzzer_one_entry |
| 13928 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13929 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13930 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13931 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13932 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13933 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13934 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13935 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13936 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13937 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13938 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13939 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13940 | ) |
| 13941 | |
| 13942 | target_link_libraries(api_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13943 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13944 | grpc_test_util |
| 13945 | grpc |
| 13946 | gpr_test_util |
| 13947 | gpr |
| 13948 | ) |
| 13949 | |
| 13950 | endif (gRPC_BUILD_TESTS) |
| 13951 | if (gRPC_BUILD_TESTS) |
| 13952 | |
| 13953 | add_executable(client_fuzzer_one_entry |
| 13954 | test/core/end2end/fuzzers/client_fuzzer.c |
| 13955 | test/core/util/one_corpus_entry_fuzzer.c |
| 13956 | ) |
| 13957 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13958 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13959 | target_include_directories(client_fuzzer_one_entry |
| 13960 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13961 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13962 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13963 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13964 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13965 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13966 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13967 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13968 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13969 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13970 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13971 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13972 | ) |
| 13973 | |
| 13974 | target_link_libraries(client_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13975 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13976 | grpc_test_util |
| 13977 | grpc |
| 13978 | gpr_test_util |
| 13979 | gpr |
| 13980 | ) |
| 13981 | |
| 13982 | endif (gRPC_BUILD_TESTS) |
| 13983 | if (gRPC_BUILD_TESTS) |
| 13984 | |
| 13985 | add_executable(hpack_parser_fuzzer_test_one_entry |
| 13986 | test/core/transport/chttp2/hpack_parser_fuzzer_test.c |
| 13987 | test/core/util/one_corpus_entry_fuzzer.c |
| 13988 | ) |
| 13989 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13990 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13991 | target_include_directories(hpack_parser_fuzzer_test_one_entry |
| 13992 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13993 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13994 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13995 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13996 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13997 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13998 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13999 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14000 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14001 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14002 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14003 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14004 | ) |
| 14005 | |
| 14006 | target_link_libraries(hpack_parser_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14007 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14008 | grpc_test_util |
| 14009 | grpc |
| 14010 | gpr_test_util |
| 14011 | gpr |
| 14012 | ) |
| 14013 | |
| 14014 | endif (gRPC_BUILD_TESTS) |
| 14015 | if (gRPC_BUILD_TESTS) |
| 14016 | |
| 14017 | add_executable(http_request_fuzzer_test_one_entry |
| 14018 | test/core/http/request_fuzzer.c |
| 14019 | test/core/util/one_corpus_entry_fuzzer.c |
| 14020 | ) |
| 14021 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14022 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14023 | target_include_directories(http_request_fuzzer_test_one_entry |
| 14024 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14025 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14026 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14027 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14028 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14029 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14030 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14031 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14032 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14033 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14034 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14035 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14036 | ) |
| 14037 | |
| 14038 | target_link_libraries(http_request_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14039 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14040 | grpc_test_util |
| 14041 | grpc |
| 14042 | gpr_test_util |
| 14043 | gpr |
| 14044 | ) |
| 14045 | |
| 14046 | endif (gRPC_BUILD_TESTS) |
| 14047 | if (gRPC_BUILD_TESTS) |
| 14048 | |
| 14049 | add_executable(http_response_fuzzer_test_one_entry |
| 14050 | test/core/http/response_fuzzer.c |
| 14051 | test/core/util/one_corpus_entry_fuzzer.c |
| 14052 | ) |
| 14053 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14054 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14055 | target_include_directories(http_response_fuzzer_test_one_entry |
| 14056 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14057 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14058 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14059 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14060 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14061 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14062 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14063 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14064 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14065 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14066 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14067 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14068 | ) |
| 14069 | |
| 14070 | target_link_libraries(http_response_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14071 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14072 | grpc_test_util |
| 14073 | grpc |
| 14074 | gpr_test_util |
| 14075 | gpr |
| 14076 | ) |
| 14077 | |
| 14078 | endif (gRPC_BUILD_TESTS) |
| 14079 | if (gRPC_BUILD_TESTS) |
| 14080 | |
| 14081 | add_executable(json_fuzzer_test_one_entry |
| 14082 | test/core/json/fuzzer.c |
| 14083 | test/core/util/one_corpus_entry_fuzzer.c |
| 14084 | ) |
| 14085 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14086 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14087 | target_include_directories(json_fuzzer_test_one_entry |
| 14088 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14089 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14090 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14091 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14092 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14093 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14094 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14095 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14096 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14097 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14098 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14099 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14100 | ) |
| 14101 | |
| 14102 | target_link_libraries(json_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14103 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14104 | grpc_test_util |
| 14105 | grpc |
| 14106 | gpr_test_util |
| 14107 | gpr |
| 14108 | ) |
| 14109 | |
| 14110 | endif (gRPC_BUILD_TESTS) |
| 14111 | if (gRPC_BUILD_TESTS) |
| 14112 | |
| 14113 | add_executable(nanopb_fuzzer_response_test_one_entry |
| 14114 | test/core/nanopb/fuzzer_response.c |
| 14115 | test/core/util/one_corpus_entry_fuzzer.c |
| 14116 | ) |
| 14117 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14118 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14119 | target_include_directories(nanopb_fuzzer_response_test_one_entry |
| 14120 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14121 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14122 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14123 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14124 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14125 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14126 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14127 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14128 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14129 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14130 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14131 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14132 | ) |
| 14133 | |
| 14134 | target_link_libraries(nanopb_fuzzer_response_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14135 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14136 | grpc_test_util |
| 14137 | grpc |
| 14138 | gpr_test_util |
| 14139 | gpr |
| 14140 | ) |
| 14141 | |
| 14142 | endif (gRPC_BUILD_TESTS) |
| 14143 | if (gRPC_BUILD_TESTS) |
| 14144 | |
| 14145 | add_executable(nanopb_fuzzer_serverlist_test_one_entry |
| 14146 | test/core/nanopb/fuzzer_serverlist.c |
| 14147 | test/core/util/one_corpus_entry_fuzzer.c |
| 14148 | ) |
| 14149 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14150 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14151 | target_include_directories(nanopb_fuzzer_serverlist_test_one_entry |
| 14152 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14153 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14154 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14155 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14156 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14157 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14158 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14159 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14160 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14161 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14162 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14163 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14164 | ) |
| 14165 | |
| 14166 | target_link_libraries(nanopb_fuzzer_serverlist_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14167 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14168 | grpc_test_util |
| 14169 | grpc |
| 14170 | gpr_test_util |
| 14171 | gpr |
| 14172 | ) |
| 14173 | |
| 14174 | endif (gRPC_BUILD_TESTS) |
| 14175 | if (gRPC_BUILD_TESTS) |
| 14176 | |
| 14177 | add_executable(percent_decode_fuzzer_one_entry |
| 14178 | test/core/slice/percent_decode_fuzzer.c |
| 14179 | test/core/util/one_corpus_entry_fuzzer.c |
| 14180 | ) |
| 14181 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14182 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14183 | target_include_directories(percent_decode_fuzzer_one_entry |
| 14184 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14185 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14186 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14187 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14188 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14189 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14190 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14191 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14192 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14193 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14194 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14195 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14196 | ) |
| 14197 | |
| 14198 | target_link_libraries(percent_decode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14199 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14200 | grpc_test_util |
| 14201 | grpc |
| 14202 | gpr_test_util |
| 14203 | gpr |
| 14204 | ) |
| 14205 | |
| 14206 | endif (gRPC_BUILD_TESTS) |
| 14207 | if (gRPC_BUILD_TESTS) |
| 14208 | |
| 14209 | add_executable(percent_encode_fuzzer_one_entry |
| 14210 | test/core/slice/percent_encode_fuzzer.c |
| 14211 | test/core/util/one_corpus_entry_fuzzer.c |
| 14212 | ) |
| 14213 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14214 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14215 | target_include_directories(percent_encode_fuzzer_one_entry |
| 14216 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14217 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14218 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14219 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14220 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14221 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14222 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14223 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14224 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14225 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14226 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14227 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14228 | ) |
| 14229 | |
| 14230 | target_link_libraries(percent_encode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14231 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14232 | grpc_test_util |
| 14233 | grpc |
| 14234 | gpr_test_util |
| 14235 | gpr |
| 14236 | ) |
| 14237 | |
| 14238 | endif (gRPC_BUILD_TESTS) |
| 14239 | if (gRPC_BUILD_TESTS) |
| 14240 | |
| 14241 | add_executable(server_fuzzer_one_entry |
| 14242 | test/core/end2end/fuzzers/server_fuzzer.c |
| 14243 | test/core/util/one_corpus_entry_fuzzer.c |
| 14244 | ) |
| 14245 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14246 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14247 | target_include_directories(server_fuzzer_one_entry |
| 14248 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14249 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14250 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14251 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14252 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14253 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14254 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14255 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14256 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14257 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14258 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14259 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14260 | ) |
| 14261 | |
| 14262 | target_link_libraries(server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14263 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14264 | grpc_test_util |
| 14265 | grpc |
| 14266 | gpr_test_util |
| 14267 | gpr |
| 14268 | ) |
| 14269 | |
| 14270 | endif (gRPC_BUILD_TESTS) |
| 14271 | if (gRPC_BUILD_TESTS) |
| 14272 | |
| 14273 | add_executable(ssl_server_fuzzer_one_entry |
| 14274 | test/core/security/ssl_server_fuzzer.c |
| 14275 | test/core/util/one_corpus_entry_fuzzer.c |
| 14276 | ) |
| 14277 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14278 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14279 | target_include_directories(ssl_server_fuzzer_one_entry |
| 14280 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14281 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14282 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14283 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14284 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14285 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14286 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14287 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14288 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14289 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14290 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14291 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14292 | ) |
| 14293 | |
| 14294 | target_link_libraries(ssl_server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14295 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14296 | grpc_test_util |
| 14297 | grpc |
| 14298 | gpr_test_util |
| 14299 | gpr |
| 14300 | ) |
| 14301 | |
| 14302 | endif (gRPC_BUILD_TESTS) |
| 14303 | if (gRPC_BUILD_TESTS) |
| 14304 | |
| 14305 | add_executable(uri_fuzzer_test_one_entry |
| 14306 | test/core/client_channel/uri_fuzzer_test.c |
| 14307 | test/core/util/one_corpus_entry_fuzzer.c |
| 14308 | ) |
| 14309 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14310 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14311 | target_include_directories(uri_fuzzer_test_one_entry |
| 14312 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14313 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14314 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14315 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14316 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14317 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14318 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14319 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14320 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14321 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14322 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14323 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14324 | ) |
| 14325 | |
| 14326 | target_link_libraries(uri_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14327 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14328 | grpc_test_util |
| 14329 | grpc |
| 14330 | gpr_test_util |
| 14331 | gpr |
| 14332 | ) |
| 14333 | |
| 14334 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14335 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14336 | |
| 14337 | |
| 14338 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 14339 | |
| 14340 | |
| 14341 | |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 14342 | if (gRPC_INSTALL) |
| 14343 | install(EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 14344 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 14345 | NAMESPACE gRPC:: |
| 14346 | ) |
| 14347 | endif() |
| 14348 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14349 | foreach(_config gRPCConfig gRPCConfigVersion) |
| 14350 | configure_file(tools/cmake/${_config}.cmake.in |
| 14351 | ${_config}.cmake @ONLY) |
| 14352 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_config}.cmake |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 14353 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14354 | ) |
| 14355 | endforeach() |