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 | 713597f | 2017-08-16 20:59:05 -0700 | [diff] [blame] | 27 | set(PACKAGE_VERSION "1.7.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) |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 397 | add_dependencies(buildtests_c byte_stream_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 398 | add_dependencies(buildtests_c census_context_test) |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 399 | add_dependencies(buildtests_c census_intrusive_hash_map_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 400 | add_dependencies(buildtests_c census_resource_test) |
| 401 | add_dependencies(buildtests_c census_trace_context_test) |
| 402 | add_dependencies(buildtests_c channel_create_test) |
| 403 | add_dependencies(buildtests_c chttp2_hpack_encoder_test) |
| 404 | add_dependencies(buildtests_c chttp2_stream_map_test) |
| 405 | add_dependencies(buildtests_c chttp2_varint_test) |
| 406 | add_dependencies(buildtests_c combiner_test) |
| 407 | add_dependencies(buildtests_c compression_test) |
| 408 | add_dependencies(buildtests_c concurrent_connectivity_test) |
| 409 | add_dependencies(buildtests_c connection_refused_test) |
| 410 | add_dependencies(buildtests_c dns_resolver_connectivity_test) |
| 411 | add_dependencies(buildtests_c dns_resolver_test) |
| 412 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 413 | add_dependencies(buildtests_c dualstack_socket_test) |
| 414 | endif() |
| 415 | add_dependencies(buildtests_c endpoint_pair_test) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 416 | add_dependencies(buildtests_c error_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 417 | if(_gRPC_PLATFORM_LINUX) |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 418 | add_dependencies(buildtests_c ev_epollsig_linux_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 419 | endif() |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 420 | add_dependencies(buildtests_c fake_resolver_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 421 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 422 | add_dependencies(buildtests_c fd_conservation_posix_test) |
| 423 | endif() |
| 424 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 425 | add_dependencies(buildtests_c fd_posix_test) |
| 426 | endif() |
| 427 | add_dependencies(buildtests_c fling_client) |
| 428 | add_dependencies(buildtests_c fling_server) |
| 429 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 430 | add_dependencies(buildtests_c fling_stream_test) |
| 431 | endif() |
| 432 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 433 | add_dependencies(buildtests_c fling_test) |
| 434 | endif() |
| 435 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 436 | add_dependencies(buildtests_c goaway_server_test) |
| 437 | endif() |
| 438 | add_dependencies(buildtests_c gpr_avl_test) |
| 439 | add_dependencies(buildtests_c gpr_backoff_test) |
| 440 | add_dependencies(buildtests_c gpr_cmdline_test) |
| 441 | add_dependencies(buildtests_c gpr_cpu_test) |
| 442 | add_dependencies(buildtests_c gpr_env_test) |
| 443 | add_dependencies(buildtests_c gpr_histogram_test) |
| 444 | add_dependencies(buildtests_c gpr_host_port_test) |
| 445 | add_dependencies(buildtests_c gpr_log_test) |
| 446 | add_dependencies(buildtests_c gpr_mpscq_test) |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 447 | add_dependencies(buildtests_c gpr_spinlock_test) |
Ken Payson | a4710a0 | 2017-07-10 16:49:59 -0700 | [diff] [blame] | 448 | add_dependencies(buildtests_c gpr_stack_lockfree_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 449 | add_dependencies(buildtests_c gpr_string_test) |
| 450 | add_dependencies(buildtests_c gpr_sync_test) |
| 451 | add_dependencies(buildtests_c gpr_thd_test) |
| 452 | add_dependencies(buildtests_c gpr_time_test) |
| 453 | add_dependencies(buildtests_c gpr_tls_test) |
| 454 | add_dependencies(buildtests_c gpr_useful_test) |
| 455 | add_dependencies(buildtests_c grpc_auth_context_test) |
| 456 | add_dependencies(buildtests_c grpc_b64_test) |
| 457 | add_dependencies(buildtests_c grpc_byte_buffer_reader_test) |
| 458 | add_dependencies(buildtests_c grpc_channel_args_test) |
| 459 | add_dependencies(buildtests_c grpc_channel_stack_test) |
| 460 | add_dependencies(buildtests_c grpc_completion_queue_test) |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 461 | add_dependencies(buildtests_c grpc_completion_queue_threading_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 462 | add_dependencies(buildtests_c grpc_credentials_test) |
| 463 | add_dependencies(buildtests_c grpc_fetch_oauth2) |
| 464 | add_dependencies(buildtests_c grpc_invalid_channel_args_test) |
| 465 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 466 | add_dependencies(buildtests_c grpc_json_token_test) |
| 467 | endif() |
| 468 | add_dependencies(buildtests_c grpc_jwt_verifier_test) |
| 469 | add_dependencies(buildtests_c grpc_security_connector_test) |
| 470 | if(_gRPC_PLATFORM_LINUX) |
| 471 | add_dependencies(buildtests_c handshake_client) |
| 472 | endif() |
| 473 | if(_gRPC_PLATFORM_LINUX) |
| 474 | add_dependencies(buildtests_c handshake_server) |
| 475 | endif() |
| 476 | add_dependencies(buildtests_c hpack_parser_test) |
| 477 | add_dependencies(buildtests_c hpack_table_test) |
| 478 | add_dependencies(buildtests_c http_parser_test) |
| 479 | add_dependencies(buildtests_c httpcli_format_request_test) |
| 480 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 481 | add_dependencies(buildtests_c httpcli_test) |
| 482 | endif() |
| 483 | if(_gRPC_PLATFORM_LINUX) |
| 484 | add_dependencies(buildtests_c httpscli_test) |
| 485 | endif() |
| 486 | add_dependencies(buildtests_c init_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 487 | add_dependencies(buildtests_c invalid_call_argument_test) |
| 488 | add_dependencies(buildtests_c json_rewrite) |
| 489 | add_dependencies(buildtests_c json_rewrite_test) |
| 490 | add_dependencies(buildtests_c json_stream_error_test) |
| 491 | add_dependencies(buildtests_c json_test) |
| 492 | add_dependencies(buildtests_c lame_client_test) |
| 493 | add_dependencies(buildtests_c lb_policies_test) |
| 494 | add_dependencies(buildtests_c load_file_test) |
| 495 | add_dependencies(buildtests_c memory_profile_client) |
| 496 | add_dependencies(buildtests_c memory_profile_server) |
| 497 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 498 | add_dependencies(buildtests_c memory_profile_test) |
| 499 | endif() |
| 500 | add_dependencies(buildtests_c message_compress_test) |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 501 | add_dependencies(buildtests_c minimal_stack_is_minimal_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 502 | add_dependencies(buildtests_c mlog_test) |
| 503 | add_dependencies(buildtests_c multiple_server_queues_test) |
| 504 | add_dependencies(buildtests_c murmur_hash_test) |
| 505 | add_dependencies(buildtests_c no_server_test) |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 506 | add_dependencies(buildtests_c num_external_connectivity_watchers_test) |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 507 | add_dependencies(buildtests_c parse_address_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 508 | add_dependencies(buildtests_c percent_encoding_test) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 509 | if(_gRPC_PLATFORM_LINUX) |
| 510 | add_dependencies(buildtests_c pollset_set_test) |
| 511 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 512 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 513 | add_dependencies(buildtests_c resolve_address_posix_test) |
| 514 | endif() |
| 515 | add_dependencies(buildtests_c resolve_address_test) |
| 516 | add_dependencies(buildtests_c resource_quota_test) |
| 517 | add_dependencies(buildtests_c secure_channel_create_test) |
| 518 | add_dependencies(buildtests_c secure_endpoint_test) |
| 519 | add_dependencies(buildtests_c sequential_connectivity_test) |
| 520 | add_dependencies(buildtests_c server_chttp2_test) |
| 521 | add_dependencies(buildtests_c server_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 522 | add_dependencies(buildtests_c slice_buffer_test) |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 523 | add_dependencies(buildtests_c slice_hash_table_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 524 | add_dependencies(buildtests_c slice_string_helpers_test) |
| 525 | add_dependencies(buildtests_c slice_test) |
| 526 | add_dependencies(buildtests_c sockaddr_resolver_test) |
| 527 | add_dependencies(buildtests_c sockaddr_utils_test) |
| 528 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 529 | add_dependencies(buildtests_c socket_utils_test) |
| 530 | endif() |
| 531 | add_dependencies(buildtests_c status_conversion_test) |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 532 | add_dependencies(buildtests_c stream_compression_test) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 533 | add_dependencies(buildtests_c stream_owned_slice_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 534 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 535 | add_dependencies(buildtests_c tcp_client_posix_test) |
| 536 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 537 | add_dependencies(buildtests_c tcp_client_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 538 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 539 | add_dependencies(buildtests_c tcp_posix_test) |
| 540 | endif() |
| 541 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 542 | add_dependencies(buildtests_c tcp_server_posix_test) |
| 543 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 544 | add_dependencies(buildtests_c tcp_server_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 545 | add_dependencies(buildtests_c time_averaged_stats_test) |
| 546 | add_dependencies(buildtests_c timeout_encoding_test) |
| 547 | add_dependencies(buildtests_c timer_heap_test) |
| 548 | add_dependencies(buildtests_c timer_list_test) |
| 549 | add_dependencies(buildtests_c transport_connectivity_state_test) |
| 550 | add_dependencies(buildtests_c transport_metadata_test) |
| 551 | add_dependencies(buildtests_c transport_pid_controller_test) |
| 552 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 553 | add_dependencies(buildtests_c transport_security_test) |
| 554 | endif() |
| 555 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 556 | add_dependencies(buildtests_c udp_server_test) |
| 557 | endif() |
| 558 | add_dependencies(buildtests_c uri_parser_test) |
| 559 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 560 | add_dependencies(buildtests_c wakeup_fd_cv_test) |
| 561 | endif() |
| 562 | add_dependencies(buildtests_c public_headers_must_be_c89) |
| 563 | add_dependencies(buildtests_c badreq_bad_client_test) |
| 564 | add_dependencies(buildtests_c connection_prefix_bad_client_test) |
| 565 | add_dependencies(buildtests_c head_of_line_blocking_bad_client_test) |
| 566 | add_dependencies(buildtests_c headers_bad_client_test) |
| 567 | add_dependencies(buildtests_c initial_settings_frame_bad_client_test) |
| 568 | add_dependencies(buildtests_c large_metadata_bad_client_test) |
| 569 | add_dependencies(buildtests_c server_registered_method_bad_client_test) |
| 570 | add_dependencies(buildtests_c simple_request_bad_client_test) |
| 571 | add_dependencies(buildtests_c unknown_frame_bad_client_test) |
| 572 | add_dependencies(buildtests_c window_overflow_bad_client_test) |
| 573 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 574 | add_dependencies(buildtests_c bad_ssl_cert_server) |
| 575 | endif() |
| 576 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 577 | add_dependencies(buildtests_c bad_ssl_cert_test) |
| 578 | endif() |
| 579 | add_dependencies(buildtests_c h2_census_test) |
| 580 | add_dependencies(buildtests_c h2_compress_test) |
| 581 | add_dependencies(buildtests_c h2_fakesec_test) |
| 582 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 583 | add_dependencies(buildtests_c h2_fd_test) |
| 584 | endif() |
| 585 | add_dependencies(buildtests_c h2_full_test) |
| 586 | if(_gRPC_PLATFORM_LINUX) |
| 587 | add_dependencies(buildtests_c h2_full+pipe_test) |
| 588 | endif() |
| 589 | add_dependencies(buildtests_c h2_full+trace_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 590 | add_dependencies(buildtests_c h2_full+workarounds_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 591 | add_dependencies(buildtests_c h2_http_proxy_test) |
| 592 | add_dependencies(buildtests_c h2_load_reporting_test) |
| 593 | add_dependencies(buildtests_c h2_oauth2_test) |
| 594 | add_dependencies(buildtests_c h2_proxy_test) |
| 595 | add_dependencies(buildtests_c h2_sockpair_test) |
| 596 | add_dependencies(buildtests_c h2_sockpair+trace_test) |
| 597 | add_dependencies(buildtests_c h2_sockpair_1byte_test) |
| 598 | add_dependencies(buildtests_c h2_ssl_test) |
| 599 | add_dependencies(buildtests_c h2_ssl_cert_test) |
| 600 | add_dependencies(buildtests_c h2_ssl_proxy_test) |
| 601 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 602 | add_dependencies(buildtests_c h2_uds_test) |
| 603 | endif() |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 604 | add_dependencies(buildtests_c inproc_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 605 | add_dependencies(buildtests_c h2_census_nosec_test) |
| 606 | add_dependencies(buildtests_c h2_compress_nosec_test) |
| 607 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 608 | add_dependencies(buildtests_c h2_fd_nosec_test) |
| 609 | endif() |
| 610 | add_dependencies(buildtests_c h2_full_nosec_test) |
| 611 | if(_gRPC_PLATFORM_LINUX) |
| 612 | add_dependencies(buildtests_c h2_full+pipe_nosec_test) |
| 613 | endif() |
| 614 | add_dependencies(buildtests_c h2_full+trace_nosec_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 615 | add_dependencies(buildtests_c h2_full+workarounds_nosec_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 616 | add_dependencies(buildtests_c h2_http_proxy_nosec_test) |
| 617 | add_dependencies(buildtests_c h2_load_reporting_nosec_test) |
| 618 | add_dependencies(buildtests_c h2_proxy_nosec_test) |
| 619 | add_dependencies(buildtests_c h2_sockpair_nosec_test) |
| 620 | add_dependencies(buildtests_c h2_sockpair+trace_nosec_test) |
| 621 | add_dependencies(buildtests_c h2_sockpair_1byte_nosec_test) |
| 622 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 623 | add_dependencies(buildtests_c h2_uds_nosec_test) |
| 624 | endif() |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 625 | add_dependencies(buildtests_c inproc_nosec_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 626 | add_dependencies(buildtests_c api_fuzzer_one_entry) |
| 627 | add_dependencies(buildtests_c client_fuzzer_one_entry) |
| 628 | add_dependencies(buildtests_c hpack_parser_fuzzer_test_one_entry) |
| 629 | add_dependencies(buildtests_c http_request_fuzzer_test_one_entry) |
| 630 | add_dependencies(buildtests_c http_response_fuzzer_test_one_entry) |
| 631 | add_dependencies(buildtests_c json_fuzzer_test_one_entry) |
| 632 | add_dependencies(buildtests_c nanopb_fuzzer_response_test_one_entry) |
| 633 | add_dependencies(buildtests_c nanopb_fuzzer_serverlist_test_one_entry) |
| 634 | add_dependencies(buildtests_c percent_decode_fuzzer_one_entry) |
| 635 | add_dependencies(buildtests_c percent_encode_fuzzer_one_entry) |
| 636 | add_dependencies(buildtests_c server_fuzzer_one_entry) |
| 637 | add_dependencies(buildtests_c ssl_server_fuzzer_one_entry) |
| 638 | add_dependencies(buildtests_c uri_fuzzer_test_one_entry) |
| 639 | |
| 640 | add_custom_target(buildtests_cxx) |
| 641 | add_dependencies(buildtests_cxx alarm_cpp_test) |
| 642 | add_dependencies(buildtests_cxx async_end2end_test) |
| 643 | add_dependencies(buildtests_cxx auth_property_iterator_test) |
| 644 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 645 | add_dependencies(buildtests_cxx bm_arena) |
| 646 | endif() |
| 647 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 648 | add_dependencies(buildtests_cxx bm_call_create) |
| 649 | endif() |
| 650 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 651 | add_dependencies(buildtests_cxx bm_chttp2_hpack) |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 652 | endif() |
| 653 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 654 | add_dependencies(buildtests_cxx bm_chttp2_transport) |
| 655 | endif() |
| 656 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 657 | add_dependencies(buildtests_cxx bm_closure) |
| 658 | endif() |
| 659 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 660 | add_dependencies(buildtests_cxx bm_cq) |
| 661 | endif() |
| 662 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 663 | add_dependencies(buildtests_cxx bm_cq_multiple_threads) |
| 664 | endif() |
| 665 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 666 | add_dependencies(buildtests_cxx bm_error) |
| 667 | endif() |
| 668 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 669 | add_dependencies(buildtests_cxx bm_fullstack_streaming_ping_pong) |
| 670 | endif() |
| 671 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 672 | add_dependencies(buildtests_cxx bm_fullstack_streaming_pump) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 673 | endif() |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 674 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 675 | add_dependencies(buildtests_cxx bm_fullstack_trickle) |
| 676 | endif() |
| 677 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 678 | add_dependencies(buildtests_cxx bm_fullstack_unary_ping_pong) |
| 679 | endif() |
| 680 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 681 | add_dependencies(buildtests_cxx bm_metadata) |
| 682 | endif() |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 683 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 684 | add_dependencies(buildtests_cxx bm_pollset) |
| 685 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 686 | add_dependencies(buildtests_cxx channel_arguments_test) |
| 687 | add_dependencies(buildtests_cxx channel_filter_test) |
| 688 | add_dependencies(buildtests_cxx cli_call_test) |
| 689 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 690 | add_dependencies(buildtests_cxx client_crash_test) |
| 691 | endif() |
| 692 | add_dependencies(buildtests_cxx client_crash_test_server) |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 693 | add_dependencies(buildtests_cxx client_lb_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 694 | add_dependencies(buildtests_cxx codegen_test_full) |
| 695 | add_dependencies(buildtests_cxx codegen_test_minimal) |
| 696 | add_dependencies(buildtests_cxx credentials_test) |
| 697 | add_dependencies(buildtests_cxx cxx_byte_buffer_test) |
| 698 | add_dependencies(buildtests_cxx cxx_slice_test) |
| 699 | add_dependencies(buildtests_cxx cxx_string_ref_test) |
| 700 | add_dependencies(buildtests_cxx cxx_time_test) |
| 701 | add_dependencies(buildtests_cxx end2end_test) |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 702 | add_dependencies(buildtests_cxx error_details_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 703 | add_dependencies(buildtests_cxx filter_end2end_test) |
| 704 | add_dependencies(buildtests_cxx generic_end2end_test) |
| 705 | add_dependencies(buildtests_cxx golden_file_test) |
| 706 | add_dependencies(buildtests_cxx grpc_cli) |
| 707 | add_dependencies(buildtests_cxx grpc_tool_test) |
| 708 | add_dependencies(buildtests_cxx grpclb_api_test) |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 709 | add_dependencies(buildtests_cxx grpclb_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 710 | add_dependencies(buildtests_cxx grpclb_test) |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 711 | add_dependencies(buildtests_cxx health_service_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 712 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 713 | add_dependencies(buildtests_cxx http2_client) |
| 714 | endif() |
| 715 | add_dependencies(buildtests_cxx hybrid_end2end_test) |
| 716 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 717 | add_dependencies(buildtests_cxx interop_client) |
| 718 | endif() |
| 719 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 720 | add_dependencies(buildtests_cxx interop_server) |
| 721 | endif() |
| 722 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 723 | add_dependencies(buildtests_cxx interop_test) |
| 724 | endif() |
| 725 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 726 | add_dependencies(buildtests_cxx json_run_localhost) |
| 727 | endif() |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 728 | add_dependencies(buildtests_cxx memory_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 729 | add_dependencies(buildtests_cxx metrics_client) |
| 730 | add_dependencies(buildtests_cxx mock_test) |
| 731 | add_dependencies(buildtests_cxx noop-benchmark) |
| 732 | add_dependencies(buildtests_cxx proto_server_reflection_test) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 733 | add_dependencies(buildtests_cxx proto_utils_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 734 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 735 | add_dependencies(buildtests_cxx qps_interarrival_test) |
| 736 | endif() |
| 737 | add_dependencies(buildtests_cxx qps_json_driver) |
| 738 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 739 | add_dependencies(buildtests_cxx qps_openloop_test) |
| 740 | endif() |
| 741 | add_dependencies(buildtests_cxx qps_worker) |
| 742 | add_dependencies(buildtests_cxx reconnect_interop_client) |
| 743 | add_dependencies(buildtests_cxx reconnect_interop_server) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 744 | add_dependencies(buildtests_cxx secure_auth_context_test) |
| 745 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 746 | add_dependencies(buildtests_cxx secure_sync_unary_ping_pong_test) |
| 747 | endif() |
| 748 | add_dependencies(buildtests_cxx server_builder_plugin_test) |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 749 | add_dependencies(buildtests_cxx server_builder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 750 | add_dependencies(buildtests_cxx server_context_test_spouse_test) |
| 751 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 752 | add_dependencies(buildtests_cxx server_crash_test) |
| 753 | endif() |
| 754 | add_dependencies(buildtests_cxx server_crash_test_client) |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 755 | add_dependencies(buildtests_cxx server_request_call_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 756 | add_dependencies(buildtests_cxx shutdown_test) |
| 757 | add_dependencies(buildtests_cxx status_test) |
| 758 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 759 | add_dependencies(buildtests_cxx streaming_throughput_test) |
| 760 | endif() |
| 761 | add_dependencies(buildtests_cxx stress_test) |
| 762 | add_dependencies(buildtests_cxx thread_manager_test) |
| 763 | add_dependencies(buildtests_cxx thread_stress_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 764 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 765 | add_dependencies(buildtests_cxx writes_per_rpc_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 766 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 767 | |
| 768 | add_custom_target(buildtests |
| 769 | DEPENDS buildtests_c buildtests_cxx) |
| 770 | endif (gRPC_BUILD_TESTS) |
| 771 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 772 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 773 | add_library(gpr |
| 774 | src/core/lib/profiling/basic_timers.c |
| 775 | src/core/lib/profiling/stap_timers.c |
| 776 | src/core/lib/support/alloc.c |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 777 | src/core/lib/support/arena.c |
Mark D. Roth | fecba53 | 2017-03-17 09:50:48 -0700 | [diff] [blame] | 778 | src/core/lib/support/atm.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 779 | src/core/lib/support/avl.c |
| 780 | src/core/lib/support/backoff.c |
| 781 | src/core/lib/support/cmdline.c |
| 782 | src/core/lib/support/cpu_iphone.c |
| 783 | src/core/lib/support/cpu_linux.c |
| 784 | src/core/lib/support/cpu_posix.c |
| 785 | src/core/lib/support/cpu_windows.c |
| 786 | src/core/lib/support/env_linux.c |
| 787 | src/core/lib/support/env_posix.c |
| 788 | src/core/lib/support/env_windows.c |
| 789 | src/core/lib/support/histogram.c |
| 790 | src/core/lib/support/host_port.c |
| 791 | src/core/lib/support/log.c |
| 792 | src/core/lib/support/log_android.c |
| 793 | src/core/lib/support/log_linux.c |
| 794 | src/core/lib/support/log_posix.c |
| 795 | src/core/lib/support/log_windows.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 796 | src/core/lib/support/mpscq.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 797 | src/core/lib/support/murmur_hash.c |
Ken Payson | a4710a0 | 2017-07-10 16:49:59 -0700 | [diff] [blame] | 798 | src/core/lib/support/stack_lockfree.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 799 | src/core/lib/support/string.c |
| 800 | src/core/lib/support/string_posix.c |
| 801 | src/core/lib/support/string_util_windows.c |
| 802 | src/core/lib/support/string_windows.c |
| 803 | src/core/lib/support/subprocess_posix.c |
| 804 | src/core/lib/support/subprocess_windows.c |
| 805 | src/core/lib/support/sync.c |
| 806 | src/core/lib/support/sync_posix.c |
| 807 | src/core/lib/support/sync_windows.c |
| 808 | src/core/lib/support/thd.c |
| 809 | src/core/lib/support/thd_posix.c |
| 810 | src/core/lib/support/thd_windows.c |
| 811 | src/core/lib/support/time.c |
| 812 | src/core/lib/support/time_posix.c |
| 813 | src/core/lib/support/time_precise.c |
| 814 | src/core/lib/support/time_windows.c |
| 815 | src/core/lib/support/tls_pthread.c |
| 816 | src/core/lib/support/tmpfile_msys.c |
| 817 | src/core/lib/support/tmpfile_posix.c |
| 818 | src/core/lib/support/tmpfile_windows.c |
| 819 | src/core/lib/support/wrap_memcpy.c |
| 820 | ) |
| 821 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 822 | if(WIN32 AND MSVC) |
| 823 | set_target_properties(gpr PROPERTIES COMPILE_PDB_NAME "gpr" |
| 824 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 825 | ) |
| 826 | if (gRPC_INSTALL) |
| 827 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 828 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 829 | ) |
| 830 | endif() |
| 831 | endif() |
| 832 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 833 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 834 | target_include_directories(gpr |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 835 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 836 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 837 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 838 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 839 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 840 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 841 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 842 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 843 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 844 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 845 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 846 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 847 | ) |
| 848 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 849 | target_link_libraries(gpr |
| 850 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 851 | ) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 852 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 853 | foreach(_hdr |
| 854 | include/grpc/support/alloc.h |
| 855 | include/grpc/support/atm.h |
| 856 | include/grpc/support/atm_gcc_atomic.h |
| 857 | include/grpc/support/atm_gcc_sync.h |
| 858 | include/grpc/support/atm_windows.h |
| 859 | include/grpc/support/avl.h |
| 860 | include/grpc/support/cmdline.h |
| 861 | include/grpc/support/cpu.h |
| 862 | include/grpc/support/histogram.h |
| 863 | include/grpc/support/host_port.h |
| 864 | include/grpc/support/log.h |
| 865 | include/grpc/support/log_windows.h |
| 866 | include/grpc/support/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 867 | include/grpc/support/string_util.h |
| 868 | include/grpc/support/subprocess.h |
| 869 | include/grpc/support/sync.h |
| 870 | include/grpc/support/sync_generic.h |
| 871 | include/grpc/support/sync_posix.h |
| 872 | include/grpc/support/sync_windows.h |
| 873 | include/grpc/support/thd.h |
| 874 | include/grpc/support/time.h |
| 875 | include/grpc/support/tls.h |
| 876 | include/grpc/support/tls_gcc.h |
| 877 | include/grpc/support/tls_msvc.h |
| 878 | include/grpc/support/tls_pthread.h |
| 879 | include/grpc/support/useful.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 880 | include/grpc/impl/codegen/atm.h |
| 881 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 882 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 883 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 884 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 885 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 886 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 887 | include/grpc/impl/codegen/sync.h |
| 888 | include/grpc/impl/codegen/sync_generic.h |
| 889 | include/grpc/impl/codegen/sync_posix.h |
| 890 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 891 | ) |
| 892 | string(REPLACE "include/" "" _path ${_hdr}) |
| 893 | get_filename_component(_path ${_path} PATH) |
| 894 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 895 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 896 | ) |
| 897 | endforeach() |
| 898 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 899 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 900 | if (gRPC_INSTALL) |
| 901 | install(TARGETS gpr EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 902 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 903 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 904 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 905 | ) |
| 906 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 907 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 908 | if (gRPC_BUILD_TESTS) |
| 909 | |
| 910 | add_library(gpr_test_util |
| 911 | test/core/util/test_config.c |
| 912 | ) |
| 913 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 914 | if(WIN32 AND MSVC) |
| 915 | set_target_properties(gpr_test_util PROPERTIES COMPILE_PDB_NAME "gpr_test_util" |
| 916 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 917 | ) |
| 918 | if (gRPC_INSTALL) |
| 919 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 920 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 921 | ) |
| 922 | endif() |
| 923 | endif() |
| 924 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 925 | |
| 926 | target_include_directories(gpr_test_util |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 927 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 928 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 929 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 930 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 931 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 932 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 933 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 934 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 935 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 936 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 937 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 938 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 939 | ) |
| 940 | |
| 941 | target_link_libraries(gpr_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 942 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 943 | gpr |
| 944 | ) |
| 945 | |
| 946 | |
| 947 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 948 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 949 | add_library(grpc |
| 950 | src/core/lib/surface/init.c |
| 951 | src/core/lib/channel/channel_args.c |
| 952 | src/core/lib/channel/channel_stack.c |
| 953 | src/core/lib/channel/channel_stack_builder.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 954 | src/core/lib/channel/connected_channel.c |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 955 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 956 | src/core/lib/channel/handshaker_factory.c |
| 957 | src/core/lib/channel/handshaker_registry.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 958 | src/core/lib/compression/compression.c |
| 959 | src/core/lib/compression/message_compress.c |
Muxi Yan | e87a7e1 | 2017-06-29 16:53:24 -0700 | [diff] [blame] | 960 | src/core/lib/compression/stream_compression.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 961 | src/core/lib/http/format_request.c |
| 962 | src/core/lib/http/httpcli.c |
| 963 | src/core/lib/http/parser.c |
| 964 | src/core/lib/iomgr/closure.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 965 | src/core/lib/iomgr/combiner.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 966 | src/core/lib/iomgr/endpoint.c |
| 967 | src/core/lib/iomgr/endpoint_pair_posix.c |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 968 | src/core/lib/iomgr/endpoint_pair_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 969 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 970 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 971 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 972 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 973 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 974 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 975 | src/core/lib/iomgr/ev_epollsig_linux.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 976 | src/core/lib/iomgr/ev_poll_posix.c |
| 977 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 978 | src/core/lib/iomgr/ev_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 979 | src/core/lib/iomgr/exec_ctx.c |
| 980 | src/core/lib/iomgr/executor.c |
Mark D. Roth | f9bf428 | 2017-08-03 14:47:23 -0700 | [diff] [blame] | 981 | src/core/lib/iomgr/gethostname_fallback.c |
| 982 | src/core/lib/iomgr/gethostname_host_name_max.c |
| 983 | src/core/lib/iomgr/gethostname_sysconf.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 984 | src/core/lib/iomgr/iocp_windows.c |
| 985 | src/core/lib/iomgr/iomgr.c |
| 986 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 987 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 988 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 989 | src/core/lib/iomgr/is_epollexclusive_available.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 990 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 991 | src/core/lib/iomgr/lockfree_event.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 992 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 993 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 994 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 995 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 996 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 997 | src/core/lib/iomgr/pollset_windows.c |
| 998 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 999 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1000 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 1001 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1002 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 1003 | src/core/lib/iomgr/socket_factory_posix.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 1004 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1005 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1006 | src/core/lib/iomgr/socket_utils_linux.c |
| 1007 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1008 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 1009 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1010 | src/core/lib/iomgr/socket_windows.c |
| 1011 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1012 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1013 | src/core/lib/iomgr/tcp_client_windows.c |
| 1014 | src/core/lib/iomgr/tcp_posix.c |
| 1015 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 1016 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 1017 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 1018 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1019 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1020 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1021 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1022 | src/core/lib/iomgr/tcp_windows.c |
| 1023 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1024 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1025 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 1026 | src/core/lib/iomgr/timer_manager.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1027 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1028 | src/core/lib/iomgr/udp_server.c |
| 1029 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1030 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 1031 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1032 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1033 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1034 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1035 | src/core/lib/iomgr/wakeup_fd_posix.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1036 | src/core/lib/json/json.c |
| 1037 | src/core/lib/json/json_reader.c |
| 1038 | src/core/lib/json/json_string.c |
| 1039 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 1040 | src/core/lib/slice/b64.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1041 | src/core/lib/slice/percent_encoding.c |
| 1042 | src/core/lib/slice/slice.c |
| 1043 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1044 | src/core/lib/slice/slice_hash_table.c |
| 1045 | src/core/lib/slice/slice_intern.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1046 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1047 | src/core/lib/surface/alarm.c |
| 1048 | src/core/lib/surface/api_trace.c |
| 1049 | src/core/lib/surface/byte_buffer.c |
| 1050 | src/core/lib/surface/byte_buffer_reader.c |
| 1051 | src/core/lib/surface/call.c |
| 1052 | src/core/lib/surface/call_details.c |
| 1053 | src/core/lib/surface/call_log_batch.c |
| 1054 | src/core/lib/surface/channel.c |
| 1055 | src/core/lib/surface/channel_init.c |
| 1056 | src/core/lib/surface/channel_ping.c |
| 1057 | src/core/lib/surface/channel_stack_type.c |
| 1058 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 1059 | src/core/lib/surface/completion_queue_factory.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1060 | src/core/lib/surface/event_string.c |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1061 | src/core/lib/surface/lame_client.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1062 | src/core/lib/surface/metadata_array.c |
| 1063 | src/core/lib/surface/server.c |
| 1064 | src/core/lib/surface/validate_metadata.c |
| 1065 | src/core/lib/surface/version.c |
Craig Tiller | 9e0066b | 2016-10-20 14:04:18 -0700 | [diff] [blame] | 1066 | src/core/lib/transport/bdp_estimator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1067 | src/core/lib/transport/byte_stream.c |
| 1068 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1069 | src/core/lib/transport/error_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1070 | src/core/lib/transport/metadata.c |
| 1071 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 1072 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 1073 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1074 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1075 | src/core/lib/transport/status_conversion.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 1076 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1077 | src/core/lib/transport/transport.c |
| 1078 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 1079 | src/core/lib/debug/trace.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1080 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c |
| 1081 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 1082 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 1083 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 1084 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 1085 | src/core/ext/transport/chttp2/transport/flow_control.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1086 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 1087 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 1088 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 1089 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 1090 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 1091 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 1092 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 1093 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 1094 | src/core/ext/transport/chttp2/transport/hpack_table.c |
Craig Tiller | c8f62bc | 2017-04-03 16:25:45 -0700 | [diff] [blame] | 1095 | src/core/ext/transport/chttp2/transport/http2_settings.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1096 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 1097 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 1098 | src/core/ext/transport/chttp2/transport/parsing.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1099 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 1100 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1101 | src/core/ext/transport/chttp2/transport/varint.c |
| 1102 | src/core/ext/transport/chttp2/transport/writing.c |
| 1103 | src/core/ext/transport/chttp2/alpn/alpn.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1104 | src/core/ext/filters/http/client/http_client_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1105 | src/core/ext/filters/http/http_filters_plugin.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 1106 | src/core/ext/filters/http/message_compress/message_compress_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1107 | src/core/ext/filters/http/server/http_server_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1108 | src/core/lib/http/httpcli_security_connector.c |
| 1109 | src/core/lib/security/context/security_context.c |
| 1110 | src/core/lib/security/credentials/composite/composite_credentials.c |
| 1111 | src/core/lib/security/credentials/credentials.c |
| 1112 | src/core/lib/security/credentials/credentials_metadata.c |
| 1113 | src/core/lib/security/credentials/fake/fake_credentials.c |
murgatroid99 | 7c20590 | 2016-08-09 10:07:42 -0700 | [diff] [blame] | 1114 | src/core/lib/security/credentials/google_default/credentials_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1115 | src/core/lib/security/credentials/google_default/google_default_credentials.c |
| 1116 | src/core/lib/security/credentials/iam/iam_credentials.c |
| 1117 | src/core/lib/security/credentials/jwt/json_token.c |
| 1118 | src/core/lib/security/credentials/jwt/jwt_credentials.c |
| 1119 | src/core/lib/security/credentials/jwt/jwt_verifier.c |
| 1120 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c |
| 1121 | src/core/lib/security/credentials/plugin/plugin_credentials.c |
| 1122 | src/core/lib/security/credentials/ssl/ssl_credentials.c |
| 1123 | src/core/lib/security/transport/client_auth_filter.c |
David Garcia Quintas | 0129150 | 2017-02-07 13:26:41 -0800 | [diff] [blame] | 1124 | src/core/lib/security/transport/lb_targets_info.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1125 | src/core/lib/security/transport/secure_endpoint.c |
| 1126 | src/core/lib/security/transport/security_connector.c |
Mark D. Roth | 071cacf | 2016-11-17 13:17:56 -0800 | [diff] [blame] | 1127 | src/core/lib/security/transport/security_handshaker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1128 | src/core/lib/security/transport/server_auth_filter.c |
| 1129 | src/core/lib/security/transport/tsi_error.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1130 | src/core/lib/security/util/json_util.c |
| 1131 | src/core/lib/surface/init_secure.c |
Craig Tiller | 134fed3 | 2017-03-28 14:27:18 -0700 | [diff] [blame] | 1132 | src/core/tsi/fake_transport_security.c |
Yihua Zhang | 1435bfc | 2017-07-17 11:20:51 -0700 | [diff] [blame] | 1133 | src/core/tsi/gts_transport_security.c |
Craig Tiller | 134fed3 | 2017-03-28 14:27:18 -0700 | [diff] [blame] | 1134 | src/core/tsi/ssl_transport_security.c |
jiangtaoli2016 | 25d6fd8 | 2017-08-09 11:15:04 -0700 | [diff] [blame] | 1135 | src/core/tsi/transport_security_grpc.c |
Craig Tiller | 134fed3 | 2017-03-28 14:27:18 -0700 | [diff] [blame] | 1136 | src/core/tsi/transport_security.c |
jiangtaoli2016 | e69881d | 2017-04-10 14:29:43 -0700 | [diff] [blame] | 1137 | src/core/tsi/transport_security_adapter.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 1138 | src/core/ext/transport/chttp2/server/chttp2_server.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1139 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1140 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 1141 | src/core/ext/filters/client_channel/client_channel.c |
| 1142 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 1143 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 1144 | src/core/ext/filters/client_channel/connector.c |
| 1145 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 1146 | src/core/ext/filters/client_channel/http_proxy.c |
| 1147 | src/core/ext/filters/client_channel/lb_policy.c |
| 1148 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 1149 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 1150 | src/core/ext/filters/client_channel/parse_address.c |
| 1151 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 1152 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 1153 | src/core/ext/filters/client_channel/resolver.c |
| 1154 | src/core/ext/filters/client_channel/resolver_factory.c |
| 1155 | src/core/ext/filters/client_channel/resolver_registry.c |
| 1156 | src/core/ext/filters/client_channel/retry_throttle.c |
| 1157 | src/core/ext/filters/client_channel/subchannel.c |
| 1158 | src/core/ext/filters/client_channel/subchannel_index.c |
| 1159 | src/core/ext/filters/client_channel/uri_parser.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 1160 | src/core/ext/filters/deadline/deadline_filter.c |
Mark D. Roth | 8686cab | 2016-11-17 13:12:17 -0800 | [diff] [blame] | 1161 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1162 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 1163 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
| 1164 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 1165 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 1166 | src/core/ext/transport/inproc/inproc_plugin.c |
| 1167 | src/core/ext/transport/inproc/inproc_transport.c |
Mark D. Roth | 09e458c | 2017-05-02 08:13:26 -0700 | [diff] [blame] | 1168 | 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] | 1169 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c |
| 1170 | 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] | 1171 | 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] | 1172 | src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c |
| 1173 | 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] | 1174 | third_party/nanopb/pb_common.c |
| 1175 | third_party/nanopb/pb_decode.c |
| 1176 | third_party/nanopb/pb_encode.c |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 1177 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1178 | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c |
| 1179 | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.c |
| 1180 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c |
| 1181 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c |
| 1182 | 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] | 1183 | 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] | 1184 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.c |
| 1185 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.c |
| 1186 | src/core/ext/filters/load_reporting/load_reporting.c |
| 1187 | src/core/ext/filters/load_reporting/load_reporting_filter.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 1188 | src/core/ext/census/base_resources.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1189 | src/core/ext/census/context.c |
| 1190 | src/core/ext/census/gen/census.pb.c |
Alistair Veitch | a0c69f9 | 2016-08-31 12:01:27 -0700 | [diff] [blame] | 1191 | src/core/ext/census/gen/trace_context.pb.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1192 | src/core/ext/census/grpc_context.c |
| 1193 | src/core/ext/census/grpc_filter.c |
| 1194 | src/core/ext/census/grpc_plugin.c |
| 1195 | src/core/ext/census/initialize.c |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 1196 | src/core/ext/census/intrusive_hash_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1197 | src/core/ext/census/mlog.c |
| 1198 | src/core/ext/census/operation.c |
| 1199 | src/core/ext/census/placeholders.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 1200 | src/core/ext/census/resource.c |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 1201 | src/core/ext/census/trace_context.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1202 | src/core/ext/census/tracing.c |
Craig Tiller | 6d4894e | 2017-03-31 17:22:06 -0700 | [diff] [blame] | 1203 | src/core/ext/filters/max_age/max_age_filter.c |
Craig Tiller | 9b3648a | 2017-04-03 12:25:19 -0700 | [diff] [blame] | 1204 | src/core/ext/filters/message_size/message_size_filter.c |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 1205 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c |
| 1206 | src/core/ext/filters/workarounds/workaround_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1207 | src/core/plugin_registry/grpc_plugin_registry.c |
| 1208 | ) |
| 1209 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1210 | if(WIN32 AND MSVC) |
| 1211 | set_target_properties(grpc PROPERTIES COMPILE_PDB_NAME "grpc" |
| 1212 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1213 | ) |
| 1214 | if (gRPC_INSTALL) |
| 1215 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1216 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1217 | ) |
| 1218 | endif() |
| 1219 | endif() |
| 1220 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1221 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1222 | target_include_directories(grpc |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 1223 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1224 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1225 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1226 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1227 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1228 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1229 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 1230 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1231 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 1232 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1233 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1234 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1235 | ) |
| 1236 | |
| 1237 | target_link_libraries(grpc |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1238 | ${_gRPC_BASELIB_LIBRARIES} |
| 1239 | ${_gRPC_SSL_LIBRARIES} |
| 1240 | ${_gRPC_ZLIB_LIBRARIES} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1241 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1242 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1243 | gpr |
| 1244 | ) |
| 1245 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1246 | foreach(_hdr |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1247 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1248 | include/grpc/impl/codegen/compression_types.h |
| 1249 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1250 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1251 | include/grpc/impl/codegen/grpc_types.h |
| 1252 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1253 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1254 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1255 | include/grpc/impl/codegen/atm.h |
| 1256 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1257 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1258 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1259 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1260 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1261 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1262 | include/grpc/impl/codegen/sync.h |
| 1263 | include/grpc/impl/codegen/sync_generic.h |
| 1264 | include/grpc/impl/codegen/sync_posix.h |
| 1265 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1266 | include/grpc/grpc_security.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1267 | include/grpc/byte_buffer.h |
| 1268 | include/grpc/byte_buffer_reader.h |
| 1269 | include/grpc/compression.h |
| 1270 | include/grpc/grpc.h |
| 1271 | include/grpc/grpc_posix.h |
| 1272 | include/grpc/grpc_security_constants.h |
| 1273 | include/grpc/load_reporting.h |
| 1274 | include/grpc/slice.h |
| 1275 | include/grpc/slice_buffer.h |
| 1276 | include/grpc/status.h |
| 1277 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1278 | include/grpc/census.h |
| 1279 | ) |
| 1280 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1281 | get_filename_component(_path ${_path} PATH) |
| 1282 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1283 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1284 | ) |
| 1285 | endforeach() |
| 1286 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1287 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1288 | if (gRPC_INSTALL) |
| 1289 | install(TARGETS grpc EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1290 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1291 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1292 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1293 | ) |
| 1294 | endif() |
| 1295 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1296 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1297 | add_library(grpc_cronet |
| 1298 | src/core/lib/surface/init.c |
| 1299 | src/core/lib/channel/channel_args.c |
| 1300 | src/core/lib/channel/channel_stack.c |
| 1301 | src/core/lib/channel/channel_stack_builder.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1302 | src/core/lib/channel/connected_channel.c |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 1303 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 1304 | src/core/lib/channel/handshaker_factory.c |
| 1305 | src/core/lib/channel/handshaker_registry.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1306 | src/core/lib/compression/compression.c |
| 1307 | src/core/lib/compression/message_compress.c |
Muxi Yan | e87a7e1 | 2017-06-29 16:53:24 -0700 | [diff] [blame] | 1308 | src/core/lib/compression/stream_compression.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1309 | src/core/lib/http/format_request.c |
| 1310 | src/core/lib/http/httpcli.c |
| 1311 | src/core/lib/http/parser.c |
| 1312 | src/core/lib/iomgr/closure.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 1313 | src/core/lib/iomgr/combiner.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1314 | src/core/lib/iomgr/endpoint.c |
| 1315 | src/core/lib/iomgr/endpoint_pair_posix.c |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 1316 | src/core/lib/iomgr/endpoint_pair_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1317 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 1318 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1319 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 1320 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 1321 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 1322 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1323 | src/core/lib/iomgr/ev_epollsig_linux.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1324 | src/core/lib/iomgr/ev_poll_posix.c |
| 1325 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 1326 | src/core/lib/iomgr/ev_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1327 | src/core/lib/iomgr/exec_ctx.c |
| 1328 | src/core/lib/iomgr/executor.c |
Mark D. Roth | f9bf428 | 2017-08-03 14:47:23 -0700 | [diff] [blame] | 1329 | src/core/lib/iomgr/gethostname_fallback.c |
| 1330 | src/core/lib/iomgr/gethostname_host_name_max.c |
| 1331 | src/core/lib/iomgr/gethostname_sysconf.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1332 | src/core/lib/iomgr/iocp_windows.c |
| 1333 | src/core/lib/iomgr/iomgr.c |
| 1334 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1335 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1336 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 1337 | src/core/lib/iomgr/is_epollexclusive_available.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1338 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 1339 | src/core/lib/iomgr/lockfree_event.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 1340 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1341 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1342 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1343 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1344 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1345 | src/core/lib/iomgr/pollset_windows.c |
| 1346 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1347 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1348 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 1349 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1350 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 1351 | src/core/lib/iomgr/socket_factory_posix.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 1352 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1353 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1354 | src/core/lib/iomgr/socket_utils_linux.c |
| 1355 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1356 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 1357 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1358 | src/core/lib/iomgr/socket_windows.c |
| 1359 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1360 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1361 | src/core/lib/iomgr/tcp_client_windows.c |
| 1362 | src/core/lib/iomgr/tcp_posix.c |
| 1363 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 1364 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 1365 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 1366 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1367 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1368 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1369 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1370 | src/core/lib/iomgr/tcp_windows.c |
| 1371 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1372 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1373 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 1374 | src/core/lib/iomgr/timer_manager.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1375 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1376 | src/core/lib/iomgr/udp_server.c |
| 1377 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1378 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 1379 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1380 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1381 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1382 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1383 | src/core/lib/iomgr/wakeup_fd_posix.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1384 | src/core/lib/json/json.c |
| 1385 | src/core/lib/json/json_reader.c |
| 1386 | src/core/lib/json/json_string.c |
| 1387 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 1388 | src/core/lib/slice/b64.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1389 | src/core/lib/slice/percent_encoding.c |
| 1390 | src/core/lib/slice/slice.c |
| 1391 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1392 | src/core/lib/slice/slice_hash_table.c |
| 1393 | src/core/lib/slice/slice_intern.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1394 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1395 | src/core/lib/surface/alarm.c |
| 1396 | src/core/lib/surface/api_trace.c |
| 1397 | src/core/lib/surface/byte_buffer.c |
| 1398 | src/core/lib/surface/byte_buffer_reader.c |
| 1399 | src/core/lib/surface/call.c |
| 1400 | src/core/lib/surface/call_details.c |
| 1401 | src/core/lib/surface/call_log_batch.c |
| 1402 | src/core/lib/surface/channel.c |
| 1403 | src/core/lib/surface/channel_init.c |
| 1404 | src/core/lib/surface/channel_ping.c |
| 1405 | src/core/lib/surface/channel_stack_type.c |
| 1406 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 1407 | src/core/lib/surface/completion_queue_factory.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1408 | src/core/lib/surface/event_string.c |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1409 | src/core/lib/surface/lame_client.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1410 | src/core/lib/surface/metadata_array.c |
| 1411 | src/core/lib/surface/server.c |
| 1412 | src/core/lib/surface/validate_metadata.c |
| 1413 | src/core/lib/surface/version.c |
Craig Tiller | 9e0066b | 2016-10-20 14:04:18 -0700 | [diff] [blame] | 1414 | src/core/lib/transport/bdp_estimator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1415 | src/core/lib/transport/byte_stream.c |
| 1416 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1417 | src/core/lib/transport/error_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1418 | src/core/lib/transport/metadata.c |
| 1419 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 1420 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 1421 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1422 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1423 | src/core/lib/transport/status_conversion.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 1424 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1425 | src/core/lib/transport/transport.c |
| 1426 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 1427 | src/core/lib/debug/trace.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1428 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.c |
| 1429 | src/core/ext/transport/cronet/transport/cronet_api_dummy.c |
| 1430 | src/core/ext/transport/cronet/transport/cronet_transport.c |
| 1431 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c |
| 1432 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 1433 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 1434 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 1435 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 1436 | src/core/ext/transport/chttp2/transport/flow_control.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1437 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 1438 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 1439 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 1440 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 1441 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 1442 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 1443 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 1444 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 1445 | src/core/ext/transport/chttp2/transport/hpack_table.c |
Craig Tiller | c8f62bc | 2017-04-03 16:25:45 -0700 | [diff] [blame] | 1446 | src/core/ext/transport/chttp2/transport/http2_settings.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1447 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 1448 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 1449 | src/core/ext/transport/chttp2/transport/parsing.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1450 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 1451 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1452 | src/core/ext/transport/chttp2/transport/varint.c |
| 1453 | src/core/ext/transport/chttp2/transport/writing.c |
| 1454 | src/core/ext/transport/chttp2/alpn/alpn.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1455 | src/core/ext/filters/http/client/http_client_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1456 | src/core/ext/filters/http/http_filters_plugin.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 1457 | src/core/ext/filters/http/message_compress/message_compress_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1458 | src/core/ext/filters/http/server/http_server_filter.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1459 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 1460 | src/core/ext/filters/client_channel/client_channel.c |
| 1461 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 1462 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 1463 | src/core/ext/filters/client_channel/connector.c |
| 1464 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 1465 | src/core/ext/filters/client_channel/http_proxy.c |
| 1466 | src/core/ext/filters/client_channel/lb_policy.c |
| 1467 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 1468 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 1469 | src/core/ext/filters/client_channel/parse_address.c |
| 1470 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 1471 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 1472 | src/core/ext/filters/client_channel/resolver.c |
| 1473 | src/core/ext/filters/client_channel/resolver_factory.c |
| 1474 | src/core/ext/filters/client_channel/resolver_registry.c |
| 1475 | src/core/ext/filters/client_channel/retry_throttle.c |
| 1476 | src/core/ext/filters/client_channel/subchannel.c |
| 1477 | src/core/ext/filters/client_channel/subchannel_index.c |
| 1478 | src/core/ext/filters/client_channel/uri_parser.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 1479 | src/core/ext/filters/deadline/deadline_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1480 | src/core/lib/http/httpcli_security_connector.c |
| 1481 | src/core/lib/security/context/security_context.c |
| 1482 | src/core/lib/security/credentials/composite/composite_credentials.c |
| 1483 | src/core/lib/security/credentials/credentials.c |
| 1484 | src/core/lib/security/credentials/credentials_metadata.c |
| 1485 | src/core/lib/security/credentials/fake/fake_credentials.c |
murgatroid99 | 7c20590 | 2016-08-09 10:07:42 -0700 | [diff] [blame] | 1486 | src/core/lib/security/credentials/google_default/credentials_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1487 | src/core/lib/security/credentials/google_default/google_default_credentials.c |
| 1488 | src/core/lib/security/credentials/iam/iam_credentials.c |
| 1489 | src/core/lib/security/credentials/jwt/json_token.c |
| 1490 | src/core/lib/security/credentials/jwt/jwt_credentials.c |
| 1491 | src/core/lib/security/credentials/jwt/jwt_verifier.c |
| 1492 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c |
| 1493 | src/core/lib/security/credentials/plugin/plugin_credentials.c |
| 1494 | src/core/lib/security/credentials/ssl/ssl_credentials.c |
| 1495 | src/core/lib/security/transport/client_auth_filter.c |
David Garcia Quintas | 0129150 | 2017-02-07 13:26:41 -0800 | [diff] [blame] | 1496 | src/core/lib/security/transport/lb_targets_info.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1497 | src/core/lib/security/transport/secure_endpoint.c |
| 1498 | src/core/lib/security/transport/security_connector.c |
Mark D. Roth | 071cacf | 2016-11-17 13:17:56 -0800 | [diff] [blame] | 1499 | src/core/lib/security/transport/security_handshaker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1500 | src/core/lib/security/transport/server_auth_filter.c |
| 1501 | src/core/lib/security/transport/tsi_error.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1502 | src/core/lib/security/util/json_util.c |
| 1503 | src/core/lib/surface/init_secure.c |
Craig Tiller | 134fed3 | 2017-03-28 14:27:18 -0700 | [diff] [blame] | 1504 | src/core/tsi/fake_transport_security.c |
Yihua Zhang | 1435bfc | 2017-07-17 11:20:51 -0700 | [diff] [blame] | 1505 | src/core/tsi/gts_transport_security.c |
Craig Tiller | 134fed3 | 2017-03-28 14:27:18 -0700 | [diff] [blame] | 1506 | src/core/tsi/ssl_transport_security.c |
jiangtaoli2016 | 25d6fd8 | 2017-08-09 11:15:04 -0700 | [diff] [blame] | 1507 | src/core/tsi/transport_security_grpc.c |
Craig Tiller | 134fed3 | 2017-03-28 14:27:18 -0700 | [diff] [blame] | 1508 | src/core/tsi/transport_security.c |
jiangtaoli2016 | e69881d | 2017-04-10 14:29:43 -0700 | [diff] [blame] | 1509 | src/core/tsi/transport_security_adapter.c |
Mark D. Roth | 8686cab | 2016-11-17 13:12:17 -0800 | [diff] [blame] | 1510 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1511 | src/core/ext/filters/load_reporting/load_reporting.c |
| 1512 | src/core/ext/filters/load_reporting/load_reporting_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1513 | src/core/plugin_registry/grpc_cronet_plugin_registry.c |
| 1514 | ) |
| 1515 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1516 | if(WIN32 AND MSVC) |
| 1517 | set_target_properties(grpc_cronet PROPERTIES COMPILE_PDB_NAME "grpc_cronet" |
| 1518 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1519 | ) |
| 1520 | if (gRPC_INSTALL) |
| 1521 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1522 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1523 | ) |
| 1524 | endif() |
| 1525 | endif() |
| 1526 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1527 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1528 | target_include_directories(grpc_cronet |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 1529 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1530 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1531 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1532 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1533 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1534 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1535 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 1536 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1537 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 1538 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1539 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1540 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1541 | ) |
| 1542 | |
| 1543 | target_link_libraries(grpc_cronet |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1544 | ${_gRPC_BASELIB_LIBRARIES} |
| 1545 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 1546 | ${_gRPC_ZLIB_LIBRARIES} |
| 1547 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1548 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1549 | gpr |
| 1550 | ) |
| 1551 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1552 | foreach(_hdr |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1553 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1554 | include/grpc/impl/codegen/compression_types.h |
| 1555 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1556 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1557 | include/grpc/impl/codegen/grpc_types.h |
| 1558 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1559 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1560 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1561 | include/grpc/impl/codegen/atm.h |
| 1562 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1563 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1564 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1565 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1566 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1567 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1568 | include/grpc/impl/codegen/sync.h |
| 1569 | include/grpc/impl/codegen/sync_generic.h |
| 1570 | include/grpc/impl/codegen/sync_posix.h |
| 1571 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1572 | include/grpc/grpc_cronet.h |
| 1573 | include/grpc/grpc_security.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1574 | include/grpc/grpc_security_constants.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1575 | ) |
| 1576 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1577 | get_filename_component(_path ${_path} PATH) |
| 1578 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1579 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1580 | ) |
| 1581 | endforeach() |
| 1582 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1583 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1584 | if (gRPC_INSTALL) |
| 1585 | install(TARGETS grpc_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1586 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1587 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1588 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1589 | ) |
| 1590 | endif() |
| 1591 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1592 | if (gRPC_BUILD_TESTS) |
| 1593 | |
| 1594 | add_library(grpc_test_util |
| 1595 | test/core/end2end/data/client_certs.c |
| 1596 | test/core/end2end/data/server1_cert.c |
| 1597 | test/core/end2end/data/server1_key.c |
| 1598 | test/core/end2end/data/test_root_cert.c |
| 1599 | test/core/security/oauth2_utils.c |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 1600 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1601 | test/core/end2end/cq_verifier.c |
Craig Tiller | e067b6e | 2017-03-06 14:46:37 -0800 | [diff] [blame] | 1602 | test/core/end2end/fixtures/http_proxy_fixture.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1603 | test/core/end2end/fixtures/proxy.c |
| 1604 | test/core/iomgr/endpoint_tests.c |
Craig Tiller | 61eb40c | 2017-02-03 13:46:33 -0800 | [diff] [blame] | 1605 | test/core/util/debugger_macros.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1606 | test/core/util/grpc_profiler.c |
| 1607 | test/core/util/memory_counters.c |
| 1608 | test/core/util/mock_endpoint.c |
| 1609 | test/core/util/parse_hexstring.c |
| 1610 | test/core/util/passthru_endpoint.c |
Craig Tiller | cba864b | 2017-02-17 10:27:56 -0800 | [diff] [blame] | 1611 | test/core/util/port.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1612 | test/core/util/port_server_client.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1613 | test/core/util/slice_splitter.c |
Craig Tiller | fe5f497 | 2017-02-13 16:26:27 -0800 | [diff] [blame] | 1614 | test/core/util/trickle_endpoint.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1615 | src/core/lib/channel/channel_args.c |
| 1616 | src/core/lib/channel/channel_stack.c |
| 1617 | src/core/lib/channel/channel_stack_builder.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1618 | src/core/lib/channel/connected_channel.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1619 | src/core/lib/channel/handshaker.c |
| 1620 | src/core/lib/channel/handshaker_factory.c |
| 1621 | src/core/lib/channel/handshaker_registry.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1622 | src/core/lib/compression/compression.c |
| 1623 | src/core/lib/compression/message_compress.c |
Muxi Yan | e87a7e1 | 2017-06-29 16:53:24 -0700 | [diff] [blame] | 1624 | src/core/lib/compression/stream_compression.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1625 | src/core/lib/http/format_request.c |
| 1626 | src/core/lib/http/httpcli.c |
| 1627 | src/core/lib/http/parser.c |
| 1628 | src/core/lib/iomgr/closure.c |
| 1629 | src/core/lib/iomgr/combiner.c |
| 1630 | src/core/lib/iomgr/endpoint.c |
| 1631 | src/core/lib/iomgr/endpoint_pair_posix.c |
| 1632 | src/core/lib/iomgr/endpoint_pair_uv.c |
| 1633 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 1634 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1635 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 1636 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 1637 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 1638 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1639 | src/core/lib/iomgr/ev_epollsig_linux.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1640 | src/core/lib/iomgr/ev_poll_posix.c |
| 1641 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 1642 | src/core/lib/iomgr/ev_windows.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1643 | src/core/lib/iomgr/exec_ctx.c |
| 1644 | src/core/lib/iomgr/executor.c |
Mark D. Roth | f9bf428 | 2017-08-03 14:47:23 -0700 | [diff] [blame] | 1645 | src/core/lib/iomgr/gethostname_fallback.c |
| 1646 | src/core/lib/iomgr/gethostname_host_name_max.c |
| 1647 | src/core/lib/iomgr/gethostname_sysconf.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1648 | src/core/lib/iomgr/iocp_windows.c |
| 1649 | src/core/lib/iomgr/iomgr.c |
| 1650 | src/core/lib/iomgr/iomgr_posix.c |
| 1651 | src/core/lib/iomgr/iomgr_uv.c |
| 1652 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 1653 | src/core/lib/iomgr/is_epollexclusive_available.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1654 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 1655 | src/core/lib/iomgr/lockfree_event.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1656 | src/core/lib/iomgr/network_status_tracker.c |
| 1657 | src/core/lib/iomgr/polling_entity.c |
| 1658 | src/core/lib/iomgr/pollset_set_uv.c |
| 1659 | src/core/lib/iomgr/pollset_set_windows.c |
| 1660 | src/core/lib/iomgr/pollset_uv.c |
| 1661 | src/core/lib/iomgr/pollset_windows.c |
| 1662 | src/core/lib/iomgr/resolve_address_posix.c |
| 1663 | src/core/lib/iomgr/resolve_address_uv.c |
| 1664 | src/core/lib/iomgr/resolve_address_windows.c |
| 1665 | src/core/lib/iomgr/resource_quota.c |
| 1666 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 1667 | src/core/lib/iomgr/socket_factory_posix.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1668 | src/core/lib/iomgr/socket_mutator.c |
| 1669 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1670 | src/core/lib/iomgr/socket_utils_linux.c |
| 1671 | src/core/lib/iomgr/socket_utils_posix.c |
| 1672 | src/core/lib/iomgr/socket_utils_uv.c |
| 1673 | src/core/lib/iomgr/socket_utils_windows.c |
| 1674 | src/core/lib/iomgr/socket_windows.c |
| 1675 | src/core/lib/iomgr/tcp_client_posix.c |
| 1676 | src/core/lib/iomgr/tcp_client_uv.c |
| 1677 | src/core/lib/iomgr/tcp_client_windows.c |
| 1678 | src/core/lib/iomgr/tcp_posix.c |
| 1679 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 1680 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 1681 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 1682 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1683 | src/core/lib/iomgr/tcp_server_uv.c |
| 1684 | src/core/lib/iomgr/tcp_server_windows.c |
| 1685 | src/core/lib/iomgr/tcp_uv.c |
| 1686 | src/core/lib/iomgr/tcp_windows.c |
| 1687 | src/core/lib/iomgr/time_averaged_stats.c |
| 1688 | src/core/lib/iomgr/timer_generic.c |
| 1689 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 1690 | src/core/lib/iomgr/timer_manager.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1691 | src/core/lib/iomgr/timer_uv.c |
| 1692 | src/core/lib/iomgr/udp_server.c |
| 1693 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1694 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
| 1695 | src/core/lib/iomgr/wakeup_fd_cv.c |
| 1696 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1697 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1698 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1699 | src/core/lib/iomgr/wakeup_fd_posix.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1700 | src/core/lib/json/json.c |
| 1701 | src/core/lib/json/json_reader.c |
| 1702 | src/core/lib/json/json_string.c |
| 1703 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 1704 | src/core/lib/slice/b64.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1705 | src/core/lib/slice/percent_encoding.c |
| 1706 | src/core/lib/slice/slice.c |
| 1707 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1708 | src/core/lib/slice/slice_hash_table.c |
| 1709 | src/core/lib/slice/slice_intern.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1710 | src/core/lib/slice/slice_string_helpers.c |
| 1711 | src/core/lib/surface/alarm.c |
| 1712 | src/core/lib/surface/api_trace.c |
| 1713 | src/core/lib/surface/byte_buffer.c |
| 1714 | src/core/lib/surface/byte_buffer_reader.c |
| 1715 | src/core/lib/surface/call.c |
| 1716 | src/core/lib/surface/call_details.c |
| 1717 | src/core/lib/surface/call_log_batch.c |
| 1718 | src/core/lib/surface/channel.c |
| 1719 | src/core/lib/surface/channel_init.c |
| 1720 | src/core/lib/surface/channel_ping.c |
| 1721 | src/core/lib/surface/channel_stack_type.c |
| 1722 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 1723 | src/core/lib/surface/completion_queue_factory.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1724 | src/core/lib/surface/event_string.c |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1725 | src/core/lib/surface/lame_client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1726 | src/core/lib/surface/metadata_array.c |
| 1727 | src/core/lib/surface/server.c |
| 1728 | src/core/lib/surface/validate_metadata.c |
| 1729 | src/core/lib/surface/version.c |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 1730 | src/core/lib/transport/bdp_estimator.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1731 | src/core/lib/transport/byte_stream.c |
| 1732 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1733 | src/core/lib/transport/error_utils.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1734 | src/core/lib/transport/metadata.c |
| 1735 | src/core/lib/transport/metadata_batch.c |
| 1736 | src/core/lib/transport/pid_controller.c |
| 1737 | src/core/lib/transport/service_config.c |
| 1738 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1739 | src/core/lib/transport/status_conversion.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1740 | src/core/lib/transport/timeout_encoding.c |
| 1741 | src/core/lib/transport/transport.c |
| 1742 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 1743 | src/core/lib/debug/trace.c |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 1744 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 1745 | src/core/ext/filters/client_channel/client_channel.c |
| 1746 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 1747 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 1748 | src/core/ext/filters/client_channel/connector.c |
| 1749 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 1750 | src/core/ext/filters/client_channel/http_proxy.c |
| 1751 | src/core/ext/filters/client_channel/lb_policy.c |
| 1752 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 1753 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 1754 | src/core/ext/filters/client_channel/parse_address.c |
| 1755 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 1756 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 1757 | src/core/ext/filters/client_channel/resolver.c |
| 1758 | src/core/ext/filters/client_channel/resolver_factory.c |
| 1759 | src/core/ext/filters/client_channel/resolver_registry.c |
| 1760 | src/core/ext/filters/client_channel/retry_throttle.c |
| 1761 | src/core/ext/filters/client_channel/subchannel.c |
| 1762 | src/core/ext/filters/client_channel/subchannel_index.c |
| 1763 | src/core/ext/filters/client_channel/uri_parser.c |
| 1764 | src/core/ext/filters/deadline/deadline_filter.c |
| 1765 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 1766 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 1767 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 1768 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 1769 | src/core/ext/transport/chttp2/transport/flow_control.c |
| 1770 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 1771 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 1772 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 1773 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 1774 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 1775 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 1776 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 1777 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 1778 | src/core/ext/transport/chttp2/transport/hpack_table.c |
| 1779 | src/core/ext/transport/chttp2/transport/http2_settings.c |
| 1780 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 1781 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 1782 | src/core/ext/transport/chttp2/transport/parsing.c |
| 1783 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 1784 | src/core/ext/transport/chttp2/transport/stream_map.c |
| 1785 | src/core/ext/transport/chttp2/transport/varint.c |
| 1786 | src/core/ext/transport/chttp2/transport/writing.c |
| 1787 | src/core/ext/transport/chttp2/alpn/alpn.c |
| 1788 | src/core/ext/filters/http/client/http_client_filter.c |
| 1789 | src/core/ext/filters/http/http_filters_plugin.c |
| 1790 | src/core/ext/filters/http/message_compress/message_compress_filter.c |
| 1791 | src/core/ext/filters/http/server/http_server_filter.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1792 | ) |
| 1793 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1794 | if(WIN32 AND MSVC) |
| 1795 | set_target_properties(grpc_test_util PROPERTIES COMPILE_PDB_NAME "grpc_test_util" |
| 1796 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1797 | ) |
| 1798 | if (gRPC_INSTALL) |
| 1799 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1800 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1801 | ) |
| 1802 | endif() |
| 1803 | endif() |
| 1804 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1805 | |
| 1806 | target_include_directories(grpc_test_util |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 1807 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1808 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1809 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1810 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1811 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1812 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1813 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 1814 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 1815 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 1816 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1817 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1818 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 1819 | ) |
| 1820 | |
| 1821 | target_link_libraries(grpc_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1822 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1823 | gpr_test_util |
| 1824 | gpr |
| 1825 | grpc |
| 1826 | ) |
| 1827 | |
| 1828 | foreach(_hdr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1829 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1830 | include/grpc/impl/codegen/compression_types.h |
| 1831 | include/grpc/impl/codegen/connectivity_state.h |
| 1832 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 1833 | include/grpc/impl/codegen/grpc_types.h |
| 1834 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1835 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1836 | include/grpc/impl/codegen/status.h |
| 1837 | include/grpc/impl/codegen/atm.h |
| 1838 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1839 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1840 | include/grpc/impl/codegen/atm_windows.h |
| 1841 | include/grpc/impl/codegen/gpr_slice.h |
| 1842 | include/grpc/impl/codegen/gpr_types.h |
| 1843 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1844 | include/grpc/impl/codegen/sync.h |
| 1845 | include/grpc/impl/codegen/sync_generic.h |
| 1846 | include/grpc/impl/codegen/sync_posix.h |
| 1847 | include/grpc/impl/codegen/sync_windows.h |
| 1848 | ) |
| 1849 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1850 | get_filename_component(_path ${_path} PATH) |
| 1851 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1852 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1853 | ) |
| 1854 | endforeach() |
| 1855 | |
| 1856 | endif (gRPC_BUILD_TESTS) |
| 1857 | if (gRPC_BUILD_TESTS) |
| 1858 | |
| 1859 | add_library(grpc_test_util_unsecure |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 1860 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1861 | test/core/end2end/cq_verifier.c |
Craig Tiller | e067b6e | 2017-03-06 14:46:37 -0800 | [diff] [blame] | 1862 | test/core/end2end/fixtures/http_proxy_fixture.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1863 | test/core/end2end/fixtures/proxy.c |
| 1864 | test/core/iomgr/endpoint_tests.c |
Craig Tiller | 61eb40c | 2017-02-03 13:46:33 -0800 | [diff] [blame] | 1865 | test/core/util/debugger_macros.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1866 | test/core/util/grpc_profiler.c |
| 1867 | test/core/util/memory_counters.c |
| 1868 | test/core/util/mock_endpoint.c |
| 1869 | test/core/util/parse_hexstring.c |
| 1870 | test/core/util/passthru_endpoint.c |
Craig Tiller | cba864b | 2017-02-17 10:27:56 -0800 | [diff] [blame] | 1871 | test/core/util/port.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1872 | test/core/util/port_server_client.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1873 | test/core/util/slice_splitter.c |
Craig Tiller | fe5f497 | 2017-02-13 16:26:27 -0800 | [diff] [blame] | 1874 | test/core/util/trickle_endpoint.c |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 1875 | src/core/lib/channel/channel_args.c |
| 1876 | src/core/lib/channel/channel_stack.c |
| 1877 | src/core/lib/channel/channel_stack_builder.c |
| 1878 | src/core/lib/channel/connected_channel.c |
| 1879 | src/core/lib/channel/handshaker.c |
| 1880 | src/core/lib/channel/handshaker_factory.c |
| 1881 | src/core/lib/channel/handshaker_registry.c |
| 1882 | src/core/lib/compression/compression.c |
| 1883 | src/core/lib/compression/message_compress.c |
| 1884 | src/core/lib/compression/stream_compression.c |
| 1885 | src/core/lib/http/format_request.c |
| 1886 | src/core/lib/http/httpcli.c |
| 1887 | src/core/lib/http/parser.c |
| 1888 | src/core/lib/iomgr/closure.c |
| 1889 | src/core/lib/iomgr/combiner.c |
| 1890 | src/core/lib/iomgr/endpoint.c |
| 1891 | src/core/lib/iomgr/endpoint_pair_posix.c |
| 1892 | src/core/lib/iomgr/endpoint_pair_uv.c |
| 1893 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 1894 | src/core/lib/iomgr/error.c |
| 1895 | src/core/lib/iomgr/ev_epoll1_linux.c |
| 1896 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
| 1897 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
| 1898 | src/core/lib/iomgr/ev_epollex_linux.c |
| 1899 | src/core/lib/iomgr/ev_epollsig_linux.c |
| 1900 | src/core/lib/iomgr/ev_poll_posix.c |
| 1901 | src/core/lib/iomgr/ev_posix.c |
| 1902 | src/core/lib/iomgr/ev_windows.c |
| 1903 | src/core/lib/iomgr/exec_ctx.c |
| 1904 | src/core/lib/iomgr/executor.c |
Mark D. Roth | f9bf428 | 2017-08-03 14:47:23 -0700 | [diff] [blame] | 1905 | src/core/lib/iomgr/gethostname_fallback.c |
| 1906 | src/core/lib/iomgr/gethostname_host_name_max.c |
| 1907 | src/core/lib/iomgr/gethostname_sysconf.c |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 1908 | src/core/lib/iomgr/iocp_windows.c |
| 1909 | src/core/lib/iomgr/iomgr.c |
| 1910 | src/core/lib/iomgr/iomgr_posix.c |
| 1911 | src/core/lib/iomgr/iomgr_uv.c |
| 1912 | src/core/lib/iomgr/iomgr_windows.c |
| 1913 | src/core/lib/iomgr/is_epollexclusive_available.c |
| 1914 | src/core/lib/iomgr/load_file.c |
| 1915 | src/core/lib/iomgr/lockfree_event.c |
| 1916 | src/core/lib/iomgr/network_status_tracker.c |
| 1917 | src/core/lib/iomgr/polling_entity.c |
| 1918 | src/core/lib/iomgr/pollset_set_uv.c |
| 1919 | src/core/lib/iomgr/pollset_set_windows.c |
| 1920 | src/core/lib/iomgr/pollset_uv.c |
| 1921 | src/core/lib/iomgr/pollset_windows.c |
| 1922 | src/core/lib/iomgr/resolve_address_posix.c |
| 1923 | src/core/lib/iomgr/resolve_address_uv.c |
| 1924 | src/core/lib/iomgr/resolve_address_windows.c |
| 1925 | src/core/lib/iomgr/resource_quota.c |
| 1926 | src/core/lib/iomgr/sockaddr_utils.c |
| 1927 | src/core/lib/iomgr/socket_factory_posix.c |
| 1928 | src/core/lib/iomgr/socket_mutator.c |
| 1929 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1930 | src/core/lib/iomgr/socket_utils_linux.c |
| 1931 | src/core/lib/iomgr/socket_utils_posix.c |
| 1932 | src/core/lib/iomgr/socket_utils_uv.c |
| 1933 | src/core/lib/iomgr/socket_utils_windows.c |
| 1934 | src/core/lib/iomgr/socket_windows.c |
| 1935 | src/core/lib/iomgr/tcp_client_posix.c |
| 1936 | src/core/lib/iomgr/tcp_client_uv.c |
| 1937 | src/core/lib/iomgr/tcp_client_windows.c |
| 1938 | src/core/lib/iomgr/tcp_posix.c |
| 1939 | src/core/lib/iomgr/tcp_server_posix.c |
| 1940 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
| 1941 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 1942 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
| 1943 | src/core/lib/iomgr/tcp_server_uv.c |
| 1944 | src/core/lib/iomgr/tcp_server_windows.c |
| 1945 | src/core/lib/iomgr/tcp_uv.c |
| 1946 | src/core/lib/iomgr/tcp_windows.c |
| 1947 | src/core/lib/iomgr/time_averaged_stats.c |
| 1948 | src/core/lib/iomgr/timer_generic.c |
| 1949 | src/core/lib/iomgr/timer_heap.c |
| 1950 | src/core/lib/iomgr/timer_manager.c |
| 1951 | src/core/lib/iomgr/timer_uv.c |
| 1952 | src/core/lib/iomgr/udp_server.c |
| 1953 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1954 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
| 1955 | src/core/lib/iomgr/wakeup_fd_cv.c |
| 1956 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1957 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1958 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1959 | src/core/lib/iomgr/wakeup_fd_posix.c |
| 1960 | src/core/lib/json/json.c |
| 1961 | src/core/lib/json/json_reader.c |
| 1962 | src/core/lib/json/json_string.c |
| 1963 | src/core/lib/json/json_writer.c |
| 1964 | src/core/lib/slice/b64.c |
| 1965 | src/core/lib/slice/percent_encoding.c |
| 1966 | src/core/lib/slice/slice.c |
| 1967 | src/core/lib/slice/slice_buffer.c |
| 1968 | src/core/lib/slice/slice_hash_table.c |
| 1969 | src/core/lib/slice/slice_intern.c |
| 1970 | src/core/lib/slice/slice_string_helpers.c |
| 1971 | src/core/lib/surface/alarm.c |
| 1972 | src/core/lib/surface/api_trace.c |
| 1973 | src/core/lib/surface/byte_buffer.c |
| 1974 | src/core/lib/surface/byte_buffer_reader.c |
| 1975 | src/core/lib/surface/call.c |
| 1976 | src/core/lib/surface/call_details.c |
| 1977 | src/core/lib/surface/call_log_batch.c |
| 1978 | src/core/lib/surface/channel.c |
| 1979 | src/core/lib/surface/channel_init.c |
| 1980 | src/core/lib/surface/channel_ping.c |
| 1981 | src/core/lib/surface/channel_stack_type.c |
| 1982 | src/core/lib/surface/completion_queue.c |
| 1983 | src/core/lib/surface/completion_queue_factory.c |
| 1984 | src/core/lib/surface/event_string.c |
| 1985 | src/core/lib/surface/lame_client.cc |
| 1986 | src/core/lib/surface/metadata_array.c |
| 1987 | src/core/lib/surface/server.c |
| 1988 | src/core/lib/surface/validate_metadata.c |
| 1989 | src/core/lib/surface/version.c |
| 1990 | src/core/lib/transport/bdp_estimator.c |
| 1991 | src/core/lib/transport/byte_stream.c |
| 1992 | src/core/lib/transport/connectivity_state.c |
| 1993 | src/core/lib/transport/error_utils.c |
| 1994 | src/core/lib/transport/metadata.c |
| 1995 | src/core/lib/transport/metadata_batch.c |
| 1996 | src/core/lib/transport/pid_controller.c |
| 1997 | src/core/lib/transport/service_config.c |
| 1998 | src/core/lib/transport/static_metadata.c |
| 1999 | src/core/lib/transport/status_conversion.c |
| 2000 | src/core/lib/transport/timeout_encoding.c |
| 2001 | src/core/lib/transport/transport.c |
| 2002 | src/core/lib/transport/transport_op_string.c |
| 2003 | src/core/lib/debug/trace.c |
| 2004 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 2005 | src/core/ext/filters/client_channel/client_channel.c |
| 2006 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 2007 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 2008 | src/core/ext/filters/client_channel/connector.c |
| 2009 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 2010 | src/core/ext/filters/client_channel/http_proxy.c |
| 2011 | src/core/ext/filters/client_channel/lb_policy.c |
| 2012 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 2013 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 2014 | src/core/ext/filters/client_channel/parse_address.c |
| 2015 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 2016 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 2017 | src/core/ext/filters/client_channel/resolver.c |
| 2018 | src/core/ext/filters/client_channel/resolver_factory.c |
| 2019 | src/core/ext/filters/client_channel/resolver_registry.c |
| 2020 | src/core/ext/filters/client_channel/retry_throttle.c |
| 2021 | src/core/ext/filters/client_channel/subchannel.c |
| 2022 | src/core/ext/filters/client_channel/subchannel_index.c |
| 2023 | src/core/ext/filters/client_channel/uri_parser.c |
| 2024 | src/core/ext/filters/deadline/deadline_filter.c |
| 2025 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 2026 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 2027 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 2028 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 2029 | src/core/ext/transport/chttp2/transport/flow_control.c |
| 2030 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 2031 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 2032 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 2033 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 2034 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 2035 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 2036 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 2037 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 2038 | src/core/ext/transport/chttp2/transport/hpack_table.c |
| 2039 | src/core/ext/transport/chttp2/transport/http2_settings.c |
| 2040 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 2041 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 2042 | src/core/ext/transport/chttp2/transport/parsing.c |
| 2043 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 2044 | src/core/ext/transport/chttp2/transport/stream_map.c |
| 2045 | src/core/ext/transport/chttp2/transport/varint.c |
| 2046 | src/core/ext/transport/chttp2/transport/writing.c |
| 2047 | src/core/ext/transport/chttp2/alpn/alpn.c |
| 2048 | src/core/ext/filters/http/client/http_client_filter.c |
| 2049 | src/core/ext/filters/http/http_filters_plugin.c |
| 2050 | src/core/ext/filters/http/message_compress/message_compress_filter.c |
| 2051 | src/core/ext/filters/http/server/http_server_filter.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2052 | ) |
| 2053 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2054 | if(WIN32 AND MSVC) |
| 2055 | set_target_properties(grpc_test_util_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_test_util_unsecure" |
| 2056 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2057 | ) |
| 2058 | if (gRPC_INSTALL) |
| 2059 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2060 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2061 | ) |
| 2062 | endif() |
| 2063 | endif() |
| 2064 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2065 | |
| 2066 | target_include_directories(grpc_test_util_unsecure |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 2067 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2068 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2069 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2070 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2071 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2072 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2073 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2074 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2075 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2076 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2077 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2078 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2079 | ) |
| 2080 | |
| 2081 | target_link_libraries(grpc_test_util_unsecure |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2082 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2083 | gpr |
| 2084 | gpr_test_util |
| 2085 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2086 | ) |
| 2087 | |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 2088 | foreach(_hdr |
| 2089 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2090 | include/grpc/impl/codegen/compression_types.h |
| 2091 | include/grpc/impl/codegen/connectivity_state.h |
| 2092 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 2093 | include/grpc/impl/codegen/grpc_types.h |
| 2094 | include/grpc/impl/codegen/propagation_bits.h |
| 2095 | include/grpc/impl/codegen/slice.h |
| 2096 | include/grpc/impl/codegen/status.h |
| 2097 | include/grpc/impl/codegen/atm.h |
| 2098 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2099 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2100 | include/grpc/impl/codegen/atm_windows.h |
| 2101 | include/grpc/impl/codegen/gpr_slice.h |
| 2102 | include/grpc/impl/codegen/gpr_types.h |
| 2103 | include/grpc/impl/codegen/port_platform.h |
| 2104 | include/grpc/impl/codegen/sync.h |
| 2105 | include/grpc/impl/codegen/sync_generic.h |
| 2106 | include/grpc/impl/codegen/sync_posix.h |
| 2107 | include/grpc/impl/codegen/sync_windows.h |
| 2108 | ) |
| 2109 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2110 | get_filename_component(_path ${_path} PATH) |
| 2111 | install(FILES ${_hdr} |
| 2112 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 2113 | ) |
| 2114 | endforeach() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2115 | |
| 2116 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2117 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2118 | add_library(grpc_unsecure |
| 2119 | src/core/lib/surface/init.c |
| 2120 | src/core/lib/surface/init_unsecure.c |
| 2121 | src/core/lib/channel/channel_args.c |
| 2122 | src/core/lib/channel/channel_stack.c |
| 2123 | src/core/lib/channel/channel_stack_builder.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2124 | src/core/lib/channel/connected_channel.c |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 2125 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 2126 | src/core/lib/channel/handshaker_factory.c |
| 2127 | src/core/lib/channel/handshaker_registry.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2128 | src/core/lib/compression/compression.c |
| 2129 | src/core/lib/compression/message_compress.c |
Muxi Yan | e87a7e1 | 2017-06-29 16:53:24 -0700 | [diff] [blame] | 2130 | src/core/lib/compression/stream_compression.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2131 | src/core/lib/http/format_request.c |
| 2132 | src/core/lib/http/httpcli.c |
| 2133 | src/core/lib/http/parser.c |
| 2134 | src/core/lib/iomgr/closure.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 2135 | src/core/lib/iomgr/combiner.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2136 | src/core/lib/iomgr/endpoint.c |
| 2137 | src/core/lib/iomgr/endpoint_pair_posix.c |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 2138 | src/core/lib/iomgr/endpoint_pair_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2139 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 2140 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 2141 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 2142 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 2143 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 2144 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 2145 | src/core/lib/iomgr/ev_epollsig_linux.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2146 | src/core/lib/iomgr/ev_poll_posix.c |
| 2147 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 2148 | src/core/lib/iomgr/ev_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2149 | src/core/lib/iomgr/exec_ctx.c |
| 2150 | src/core/lib/iomgr/executor.c |
Mark D. Roth | f9bf428 | 2017-08-03 14:47:23 -0700 | [diff] [blame] | 2151 | src/core/lib/iomgr/gethostname_fallback.c |
| 2152 | src/core/lib/iomgr/gethostname_host_name_max.c |
| 2153 | src/core/lib/iomgr/gethostname_sysconf.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2154 | src/core/lib/iomgr/iocp_windows.c |
| 2155 | src/core/lib/iomgr/iomgr.c |
| 2156 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 2157 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2158 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 2159 | src/core/lib/iomgr/is_epollexclusive_available.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2160 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 2161 | src/core/lib/iomgr/lockfree_event.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 2162 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2163 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 2164 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2165 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 2166 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2167 | src/core/lib/iomgr/pollset_windows.c |
| 2168 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 2169 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2170 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2171 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2172 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 2173 | src/core/lib/iomgr/socket_factory_posix.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 2174 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2175 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 2176 | src/core/lib/iomgr/socket_utils_linux.c |
| 2177 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 2178 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 2179 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2180 | src/core/lib/iomgr/socket_windows.c |
| 2181 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 2182 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2183 | src/core/lib/iomgr/tcp_client_windows.c |
| 2184 | src/core/lib/iomgr/tcp_posix.c |
| 2185 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 2186 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 2187 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 2188 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 2189 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2190 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 2191 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2192 | src/core/lib/iomgr/tcp_windows.c |
| 2193 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 2194 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2195 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 2196 | src/core/lib/iomgr/timer_manager.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 2197 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2198 | src/core/lib/iomgr/udp_server.c |
| 2199 | src/core/lib/iomgr/unix_sockets_posix.c |
| 2200 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 2201 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2202 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 2203 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 2204 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 2205 | src/core/lib/iomgr/wakeup_fd_posix.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2206 | src/core/lib/json/json.c |
| 2207 | src/core/lib/json/json_reader.c |
| 2208 | src/core/lib/json/json_string.c |
| 2209 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 2210 | src/core/lib/slice/b64.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 2211 | src/core/lib/slice/percent_encoding.c |
| 2212 | src/core/lib/slice/slice.c |
| 2213 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2214 | src/core/lib/slice/slice_hash_table.c |
| 2215 | src/core/lib/slice/slice_intern.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 2216 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2217 | src/core/lib/surface/alarm.c |
| 2218 | src/core/lib/surface/api_trace.c |
| 2219 | src/core/lib/surface/byte_buffer.c |
| 2220 | src/core/lib/surface/byte_buffer_reader.c |
| 2221 | src/core/lib/surface/call.c |
| 2222 | src/core/lib/surface/call_details.c |
| 2223 | src/core/lib/surface/call_log_batch.c |
| 2224 | src/core/lib/surface/channel.c |
| 2225 | src/core/lib/surface/channel_init.c |
| 2226 | src/core/lib/surface/channel_ping.c |
| 2227 | src/core/lib/surface/channel_stack_type.c |
| 2228 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 2229 | src/core/lib/surface/completion_queue_factory.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2230 | src/core/lib/surface/event_string.c |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 2231 | src/core/lib/surface/lame_client.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2232 | src/core/lib/surface/metadata_array.c |
| 2233 | src/core/lib/surface/server.c |
| 2234 | src/core/lib/surface/validate_metadata.c |
| 2235 | src/core/lib/surface/version.c |
Craig Tiller | 9e0066b | 2016-10-20 14:04:18 -0700 | [diff] [blame] | 2236 | src/core/lib/transport/bdp_estimator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2237 | src/core/lib/transport/byte_stream.c |
| 2238 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2239 | src/core/lib/transport/error_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2240 | src/core/lib/transport/metadata.c |
| 2241 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 2242 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 2243 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2244 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2245 | src/core/lib/transport/status_conversion.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 2246 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2247 | src/core/lib/transport/transport.c |
| 2248 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 2249 | src/core/lib/debug/trace.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2250 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 2251 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
| 2252 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 2253 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 2254 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 2255 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 2256 | src/core/ext/transport/chttp2/transport/flow_control.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2257 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 2258 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 2259 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 2260 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 2261 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 2262 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 2263 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 2264 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 2265 | src/core/ext/transport/chttp2/transport/hpack_table.c |
Craig Tiller | c8f62bc | 2017-04-03 16:25:45 -0700 | [diff] [blame] | 2266 | src/core/ext/transport/chttp2/transport/http2_settings.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2267 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 2268 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 2269 | src/core/ext/transport/chttp2/transport/parsing.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2270 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 2271 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2272 | src/core/ext/transport/chttp2/transport/varint.c |
| 2273 | src/core/ext/transport/chttp2/transport/writing.c |
| 2274 | src/core/ext/transport/chttp2/alpn/alpn.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2275 | src/core/ext/filters/http/client/http_client_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2276 | src/core/ext/filters/http/http_filters_plugin.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 2277 | src/core/ext/filters/http/message_compress/message_compress_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2278 | src/core/ext/filters/http/server/http_server_filter.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 2279 | src/core/ext/transport/chttp2/server/chttp2_server.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2280 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 2281 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
Mark D. Roth | 2502afb | 2016-11-29 15:17:31 -0800 | [diff] [blame] | 2282 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2283 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 2284 | src/core/ext/filters/client_channel/client_channel.c |
| 2285 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 2286 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 2287 | src/core/ext/filters/client_channel/connector.c |
| 2288 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 2289 | src/core/ext/filters/client_channel/http_proxy.c |
| 2290 | src/core/ext/filters/client_channel/lb_policy.c |
| 2291 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 2292 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 2293 | src/core/ext/filters/client_channel/parse_address.c |
| 2294 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 2295 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 2296 | src/core/ext/filters/client_channel/resolver.c |
| 2297 | src/core/ext/filters/client_channel/resolver_factory.c |
| 2298 | src/core/ext/filters/client_channel/resolver_registry.c |
| 2299 | src/core/ext/filters/client_channel/retry_throttle.c |
| 2300 | src/core/ext/filters/client_channel/subchannel.c |
| 2301 | src/core/ext/filters/client_channel/subchannel_index.c |
| 2302 | src/core/ext/filters/client_channel/uri_parser.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 2303 | src/core/ext/filters/deadline/deadline_filter.c |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 2304 | src/core/ext/transport/inproc/inproc_plugin.c |
| 2305 | src/core/ext/transport/inproc/inproc_transport.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2306 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c |
| 2307 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c |
| 2308 | 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] | 2309 | 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] | 2310 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.c |
| 2311 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.c |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 2312 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2313 | src/core/ext/filters/load_reporting/load_reporting.c |
| 2314 | src/core/ext/filters/load_reporting/load_reporting_filter.c |
Mark D. Roth | 09e458c | 2017-05-02 08:13:26 -0700 | [diff] [blame] | 2315 | 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] | 2316 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c |
| 2317 | 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] | 2318 | 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] | 2319 | src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c |
| 2320 | 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] | 2321 | third_party/nanopb/pb_common.c |
| 2322 | third_party/nanopb/pb_decode.c |
| 2323 | third_party/nanopb/pb_encode.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2324 | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c |
| 2325 | 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] | 2326 | src/core/ext/census/base_resources.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2327 | src/core/ext/census/context.c |
| 2328 | src/core/ext/census/gen/census.pb.c |
Alistair Veitch | a0c69f9 | 2016-08-31 12:01:27 -0700 | [diff] [blame] | 2329 | src/core/ext/census/gen/trace_context.pb.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2330 | src/core/ext/census/grpc_context.c |
| 2331 | src/core/ext/census/grpc_filter.c |
| 2332 | src/core/ext/census/grpc_plugin.c |
| 2333 | src/core/ext/census/initialize.c |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 2334 | src/core/ext/census/intrusive_hash_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2335 | src/core/ext/census/mlog.c |
| 2336 | src/core/ext/census/operation.c |
| 2337 | src/core/ext/census/placeholders.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 2338 | src/core/ext/census/resource.c |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 2339 | src/core/ext/census/trace_context.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2340 | src/core/ext/census/tracing.c |
Craig Tiller | 6d4894e | 2017-03-31 17:22:06 -0700 | [diff] [blame] | 2341 | src/core/ext/filters/max_age/max_age_filter.c |
Craig Tiller | 9b3648a | 2017-04-03 12:25:19 -0700 | [diff] [blame] | 2342 | src/core/ext/filters/message_size/message_size_filter.c |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 2343 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c |
| 2344 | src/core/ext/filters/workarounds/workaround_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2345 | src/core/plugin_registry/grpc_unsecure_plugin_registry.c |
| 2346 | ) |
| 2347 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2348 | if(WIN32 AND MSVC) |
| 2349 | set_target_properties(grpc_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_unsecure" |
| 2350 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2351 | ) |
| 2352 | if (gRPC_INSTALL) |
| 2353 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2354 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2355 | ) |
| 2356 | endif() |
| 2357 | endif() |
| 2358 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2359 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2360 | target_include_directories(grpc_unsecure |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 2361 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2362 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2363 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2364 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2365 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2366 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2367 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2368 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 2369 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2370 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2371 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2372 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2373 | ) |
| 2374 | |
| 2375 | target_link_libraries(grpc_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2376 | ${_gRPC_BASELIB_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 2377 | ${_gRPC_ZLIB_LIBRARIES} |
| 2378 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2379 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2380 | gpr |
| 2381 | ) |
| 2382 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2383 | foreach(_hdr |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2384 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2385 | include/grpc/impl/codegen/compression_types.h |
| 2386 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 2387 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2388 | include/grpc/impl/codegen/grpc_types.h |
| 2389 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2390 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2391 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2392 | include/grpc/impl/codegen/atm.h |
| 2393 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2394 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2395 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2396 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 2397 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2398 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2399 | include/grpc/impl/codegen/sync.h |
| 2400 | include/grpc/impl/codegen/sync_generic.h |
| 2401 | include/grpc/impl/codegen/sync_posix.h |
| 2402 | include/grpc/impl/codegen/sync_windows.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2403 | include/grpc/byte_buffer.h |
| 2404 | include/grpc/byte_buffer_reader.h |
| 2405 | include/grpc/compression.h |
| 2406 | include/grpc/grpc.h |
| 2407 | include/grpc/grpc_posix.h |
| 2408 | include/grpc/grpc_security_constants.h |
| 2409 | include/grpc/load_reporting.h |
| 2410 | include/grpc/slice.h |
| 2411 | include/grpc/slice_buffer.h |
| 2412 | include/grpc/status.h |
| 2413 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2414 | include/grpc/census.h |
| 2415 | ) |
| 2416 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2417 | get_filename_component(_path ${_path} PATH) |
| 2418 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2419 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2420 | ) |
| 2421 | endforeach() |
| 2422 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2423 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2424 | if (gRPC_INSTALL) |
| 2425 | install(TARGETS grpc_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2426 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2427 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2428 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2429 | ) |
| 2430 | endif() |
| 2431 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2432 | if (gRPC_BUILD_TESTS) |
| 2433 | |
| 2434 | add_library(reconnect_server |
| 2435 | test/core/util/reconnect_server.c |
| 2436 | ) |
| 2437 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2438 | if(WIN32 AND MSVC) |
| 2439 | set_target_properties(reconnect_server PROPERTIES COMPILE_PDB_NAME "reconnect_server" |
| 2440 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2441 | ) |
| 2442 | if (gRPC_INSTALL) |
| 2443 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/reconnect_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2444 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2445 | ) |
| 2446 | endif() |
| 2447 | endif() |
| 2448 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2449 | |
| 2450 | target_include_directories(reconnect_server |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 2451 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2452 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2453 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2454 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2455 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2456 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2457 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2458 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2459 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2460 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2461 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2462 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2463 | ) |
| 2464 | |
| 2465 | target_link_libraries(reconnect_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2466 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2467 | test_tcp_server |
| 2468 | grpc_test_util |
| 2469 | grpc |
| 2470 | gpr_test_util |
| 2471 | gpr |
| 2472 | ) |
| 2473 | |
| 2474 | |
| 2475 | endif (gRPC_BUILD_TESTS) |
| 2476 | if (gRPC_BUILD_TESTS) |
| 2477 | |
| 2478 | add_library(test_tcp_server |
| 2479 | test/core/util/test_tcp_server.c |
| 2480 | ) |
| 2481 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2482 | if(WIN32 AND MSVC) |
| 2483 | set_target_properties(test_tcp_server PROPERTIES COMPILE_PDB_NAME "test_tcp_server" |
| 2484 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2485 | ) |
| 2486 | if (gRPC_INSTALL) |
| 2487 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/test_tcp_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2488 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2489 | ) |
| 2490 | endif() |
| 2491 | endif() |
| 2492 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2493 | |
| 2494 | target_include_directories(test_tcp_server |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 2495 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2496 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2497 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2498 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2499 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2500 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2501 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2502 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2503 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2504 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2505 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2506 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2507 | ) |
| 2508 | |
| 2509 | target_link_libraries(test_tcp_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2510 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2511 | grpc_test_util |
| 2512 | grpc |
| 2513 | gpr_test_util |
| 2514 | gpr |
| 2515 | ) |
| 2516 | |
| 2517 | |
| 2518 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2519 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2520 | add_library(grpc++ |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2521 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2522 | src/cpp/client/secure_credentials.cc |
| 2523 | src/cpp/common/auth_property_iterator.cc |
| 2524 | src/cpp/common/secure_auth_context.cc |
| 2525 | src/cpp/common/secure_channel_arguments.cc |
| 2526 | src/cpp/common/secure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2527 | src/cpp/server/insecure_server_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2528 | src/cpp/server/secure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2529 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2530 | src/cpp/client/client_context.cc |
| 2531 | src/cpp/client/create_channel.cc |
| 2532 | src/cpp/client/create_channel_internal.cc |
| 2533 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2534 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2535 | src/cpp/client/generic_stub.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2536 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 2537 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2538 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2539 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2540 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2541 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2542 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2543 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2544 | src/cpp/server/channel_argument_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2545 | src/cpp/server/create_default_thread_pool.cc |
| 2546 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2547 | src/cpp/server/health/default_health_check_service.cc |
| 2548 | src/cpp/server/health/health.pb.c |
| 2549 | src/cpp/server/health/health_check_service.cc |
| 2550 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2551 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2552 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2553 | src/cpp/server/server_context.cc |
| 2554 | src/cpp/server/server_credentials.cc |
| 2555 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 2556 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2557 | src/cpp/util/byte_buffer_cc.cc |
| 2558 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2559 | src/cpp/util/status.cc |
| 2560 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2561 | src/cpp/util/time_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2562 | src/cpp/codegen/codegen_init.cc |
| 2563 | ) |
| 2564 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2565 | if(WIN32 AND MSVC) |
| 2566 | set_target_properties(grpc++ PROPERTIES COMPILE_PDB_NAME "grpc++" |
| 2567 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2568 | ) |
| 2569 | if (gRPC_INSTALL) |
| 2570 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2571 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2572 | ) |
| 2573 | endif() |
| 2574 | endif() |
| 2575 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2576 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2577 | target_include_directories(grpc++ |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 2578 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2579 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2580 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2581 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2582 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2583 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2584 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2585 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 2586 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2587 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2588 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2589 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2590 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2591 | ) |
| 2592 | |
| 2593 | target_link_libraries(grpc++ |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2594 | ${_gRPC_BASELIB_LIBRARIES} |
| 2595 | ${_gRPC_SSL_LIBRARIES} |
| 2596 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2597 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2598 | grpc |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2599 | gpr |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2600 | ) |
| 2601 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2602 | foreach(_hdr |
| 2603 | include/grpc++/alarm.h |
| 2604 | include/grpc++/channel.h |
| 2605 | include/grpc++/client_context.h |
| 2606 | include/grpc++/completion_queue.h |
| 2607 | include/grpc++/create_channel.h |
| 2608 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2609 | include/grpc++/ext/health_check_service_server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2610 | include/grpc++/generic/async_generic_service.h |
| 2611 | include/grpc++/generic/generic_stub.h |
| 2612 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2613 | include/grpc++/health_check_service_interface.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2614 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2615 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2616 | include/grpc++/impl/client_unary_call.h |
| 2617 | include/grpc++/impl/codegen/core_codegen.h |
| 2618 | include/grpc++/impl/grpc_library.h |
| 2619 | include/grpc++/impl/method_handler_impl.h |
| 2620 | include/grpc++/impl/rpc_method.h |
| 2621 | include/grpc++/impl/rpc_service_method.h |
| 2622 | include/grpc++/impl/serialization_traits.h |
| 2623 | include/grpc++/impl/server_builder_option.h |
| 2624 | include/grpc++/impl/server_builder_plugin.h |
| 2625 | include/grpc++/impl/server_initializer.h |
| 2626 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2627 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2628 | include/grpc++/security/auth_context.h |
| 2629 | include/grpc++/security/auth_metadata_processor.h |
| 2630 | include/grpc++/security/credentials.h |
| 2631 | include/grpc++/security/server_credentials.h |
| 2632 | include/grpc++/server.h |
| 2633 | include/grpc++/server_builder.h |
| 2634 | include/grpc++/server_context.h |
| 2635 | include/grpc++/server_posix.h |
| 2636 | include/grpc++/support/async_stream.h |
| 2637 | include/grpc++/support/async_unary_call.h |
| 2638 | include/grpc++/support/byte_buffer.h |
| 2639 | include/grpc++/support/channel_arguments.h |
| 2640 | include/grpc++/support/config.h |
| 2641 | include/grpc++/support/slice.h |
| 2642 | include/grpc++/support/status.h |
| 2643 | include/grpc++/support/status_code_enum.h |
| 2644 | include/grpc++/support/string_ref.h |
| 2645 | include/grpc++/support/stub_options.h |
| 2646 | include/grpc++/support/sync_stream.h |
| 2647 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2648 | include/grpc/support/alloc.h |
| 2649 | include/grpc/support/atm.h |
| 2650 | include/grpc/support/atm_gcc_atomic.h |
| 2651 | include/grpc/support/atm_gcc_sync.h |
| 2652 | include/grpc/support/atm_windows.h |
| 2653 | include/grpc/support/avl.h |
| 2654 | include/grpc/support/cmdline.h |
| 2655 | include/grpc/support/cpu.h |
| 2656 | include/grpc/support/histogram.h |
| 2657 | include/grpc/support/host_port.h |
| 2658 | include/grpc/support/log.h |
| 2659 | include/grpc/support/log_windows.h |
| 2660 | include/grpc/support/port_platform.h |
| 2661 | include/grpc/support/string_util.h |
| 2662 | include/grpc/support/subprocess.h |
| 2663 | include/grpc/support/sync.h |
| 2664 | include/grpc/support/sync_generic.h |
| 2665 | include/grpc/support/sync_posix.h |
| 2666 | include/grpc/support/sync_windows.h |
| 2667 | include/grpc/support/thd.h |
| 2668 | include/grpc/support/time.h |
| 2669 | include/grpc/support/tls.h |
| 2670 | include/grpc/support/tls_gcc.h |
| 2671 | include/grpc/support/tls_msvc.h |
| 2672 | include/grpc/support/tls_pthread.h |
| 2673 | include/grpc/support/useful.h |
| 2674 | include/grpc/impl/codegen/atm.h |
| 2675 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2676 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2677 | include/grpc/impl/codegen/atm_windows.h |
| 2678 | include/grpc/impl/codegen/gpr_slice.h |
| 2679 | include/grpc/impl/codegen/gpr_types.h |
| 2680 | include/grpc/impl/codegen/port_platform.h |
| 2681 | include/grpc/impl/codegen/sync.h |
| 2682 | include/grpc/impl/codegen/sync_generic.h |
| 2683 | include/grpc/impl/codegen/sync_posix.h |
| 2684 | include/grpc/impl/codegen/sync_windows.h |
| 2685 | include/grpc/byte_buffer.h |
| 2686 | include/grpc/byte_buffer_reader.h |
| 2687 | include/grpc/compression.h |
| 2688 | include/grpc/grpc.h |
| 2689 | include/grpc/grpc_posix.h |
| 2690 | include/grpc/grpc_security_constants.h |
| 2691 | include/grpc/load_reporting.h |
| 2692 | include/grpc/slice.h |
| 2693 | include/grpc/slice_buffer.h |
| 2694 | include/grpc/status.h |
| 2695 | include/grpc/support/workaround_list.h |
| 2696 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2697 | include/grpc/impl/codegen/compression_types.h |
| 2698 | include/grpc/impl/codegen/connectivity_state.h |
| 2699 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 2700 | include/grpc/impl/codegen/grpc_types.h |
| 2701 | include/grpc/impl/codegen/propagation_bits.h |
| 2702 | include/grpc/impl/codegen/slice.h |
| 2703 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2704 | include/grpc++/impl/codegen/async_stream.h |
| 2705 | include/grpc++/impl/codegen/async_unary_call.h |
| 2706 | include/grpc++/impl/codegen/call.h |
| 2707 | include/grpc++/impl/codegen/call_hook.h |
| 2708 | include/grpc++/impl/codegen/channel_interface.h |
| 2709 | include/grpc++/impl/codegen/client_context.h |
| 2710 | include/grpc++/impl/codegen/client_unary_call.h |
| 2711 | include/grpc++/impl/codegen/completion_queue.h |
| 2712 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2713 | include/grpc++/impl/codegen/config.h |
| 2714 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2715 | include/grpc++/impl/codegen/create_auth_context.h |
| 2716 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 2717 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2718 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2719 | include/grpc++/impl/codegen/rpc_method.h |
| 2720 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2721 | include/grpc++/impl/codegen/security/auth_context.h |
| 2722 | include/grpc++/impl/codegen/serialization_traits.h |
| 2723 | include/grpc++/impl/codegen/server_context.h |
| 2724 | include/grpc++/impl/codegen/server_interface.h |
| 2725 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2726 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2727 | include/grpc++/impl/codegen/status.h |
| 2728 | include/grpc++/impl/codegen/status_code_enum.h |
| 2729 | include/grpc++/impl/codegen/string_ref.h |
| 2730 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2731 | include/grpc++/impl/codegen/sync_stream.h |
| 2732 | include/grpc++/impl/codegen/time.h |
Piotr Pietraszkiewicz | a5fac1f | 2017-02-09 11:15:44 +0100 | [diff] [blame] | 2733 | include/grpc++/impl/codegen/proto_utils.h |
| 2734 | include/grpc++/impl/codegen/config_protobuf.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2735 | ) |
| 2736 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2737 | get_filename_component(_path ${_path} PATH) |
| 2738 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2739 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2740 | ) |
| 2741 | endforeach() |
| 2742 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2743 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2744 | if (gRPC_INSTALL) |
| 2745 | install(TARGETS grpc++ EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2746 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2747 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2748 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2749 | ) |
| 2750 | endif() |
| 2751 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2752 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2753 | add_library(grpc++_cronet |
| 2754 | src/cpp/client/cronet_credentials.cc |
| 2755 | src/cpp/client/insecure_credentials.cc |
| 2756 | src/cpp/common/insecure_create_auth_context.cc |
| 2757 | src/cpp/server/insecure_server_credentials.cc |
| 2758 | src/cpp/client/channel_cc.cc |
| 2759 | src/cpp/client/client_context.cc |
| 2760 | src/cpp/client/create_channel.cc |
| 2761 | src/cpp/client/create_channel_internal.cc |
| 2762 | src/cpp/client/create_channel_posix.cc |
| 2763 | src/cpp/client/credentials_cc.cc |
| 2764 | src/cpp/client/generic_stub.cc |
| 2765 | src/cpp/common/channel_arguments.cc |
| 2766 | src/cpp/common/channel_filter.cc |
| 2767 | src/cpp/common/completion_queue_cc.cc |
| 2768 | src/cpp/common/core_codegen.cc |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2769 | src/cpp/common/resource_quota_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2770 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2771 | src/cpp/common/version_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2772 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2773 | src/cpp/server/channel_argument_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2774 | src/cpp/server/create_default_thread_pool.cc |
| 2775 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2776 | src/cpp/server/health/default_health_check_service.cc |
| 2777 | src/cpp/server/health/health.pb.c |
| 2778 | src/cpp/server/health/health_check_service.cc |
| 2779 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2780 | src/cpp/server/server_builder.cc |
| 2781 | src/cpp/server/server_cc.cc |
| 2782 | src/cpp/server/server_context.cc |
| 2783 | src/cpp/server/server_credentials.cc |
| 2784 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 33d5494 | 2016-10-25 10:03:52 -0700 | [diff] [blame] | 2785 | src/cpp/thread_manager/thread_manager.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2786 | src/cpp/util/byte_buffer_cc.cc |
| 2787 | src/cpp/util/slice_cc.cc |
| 2788 | src/cpp/util/status.cc |
| 2789 | src/cpp/util/string_ref.cc |
| 2790 | src/cpp/util/time_cc.cc |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 2791 | src/cpp/codegen/codegen_init.cc |
| 2792 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 2793 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
| 2794 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
| 2795 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 2796 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 2797 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 2798 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 2799 | src/core/ext/transport/chttp2/transport/flow_control.c |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 2800 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 2801 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 2802 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 2803 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 2804 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 2805 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 2806 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 2807 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 2808 | src/core/ext/transport/chttp2/transport/hpack_table.c |
| 2809 | src/core/ext/transport/chttp2/transport/http2_settings.c |
| 2810 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 2811 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 2812 | src/core/ext/transport/chttp2/transport/parsing.c |
| 2813 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 2814 | src/core/ext/transport/chttp2/transport/stream_map.c |
| 2815 | src/core/ext/transport/chttp2/transport/varint.c |
| 2816 | src/core/ext/transport/chttp2/transport/writing.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2817 | src/core/lib/channel/channel_args.c |
| 2818 | src/core/lib/channel/channel_stack.c |
| 2819 | src/core/lib/channel/channel_stack_builder.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2820 | src/core/lib/channel/connected_channel.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2821 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 2822 | src/core/lib/channel/handshaker_factory.c |
| 2823 | src/core/lib/channel/handshaker_registry.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2824 | src/core/lib/compression/compression.c |
| 2825 | src/core/lib/compression/message_compress.c |
Muxi Yan | e87a7e1 | 2017-06-29 16:53:24 -0700 | [diff] [blame] | 2826 | src/core/lib/compression/stream_compression.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2827 | src/core/lib/http/format_request.c |
| 2828 | src/core/lib/http/httpcli.c |
| 2829 | src/core/lib/http/parser.c |
| 2830 | src/core/lib/iomgr/closure.c |
| 2831 | src/core/lib/iomgr/combiner.c |
| 2832 | src/core/lib/iomgr/endpoint.c |
| 2833 | src/core/lib/iomgr/endpoint_pair_posix.c |
| 2834 | src/core/lib/iomgr/endpoint_pair_uv.c |
| 2835 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 2836 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 2837 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 2838 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 2839 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 2840 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 2841 | src/core/lib/iomgr/ev_epollsig_linux.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2842 | src/core/lib/iomgr/ev_poll_posix.c |
| 2843 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 2844 | src/core/lib/iomgr/ev_windows.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2845 | src/core/lib/iomgr/exec_ctx.c |
| 2846 | src/core/lib/iomgr/executor.c |
Mark D. Roth | f9bf428 | 2017-08-03 14:47:23 -0700 | [diff] [blame] | 2847 | src/core/lib/iomgr/gethostname_fallback.c |
| 2848 | src/core/lib/iomgr/gethostname_host_name_max.c |
| 2849 | src/core/lib/iomgr/gethostname_sysconf.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2850 | src/core/lib/iomgr/iocp_windows.c |
| 2851 | src/core/lib/iomgr/iomgr.c |
| 2852 | src/core/lib/iomgr/iomgr_posix.c |
| 2853 | src/core/lib/iomgr/iomgr_uv.c |
| 2854 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 2855 | src/core/lib/iomgr/is_epollexclusive_available.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2856 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 2857 | src/core/lib/iomgr/lockfree_event.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2858 | src/core/lib/iomgr/network_status_tracker.c |
| 2859 | src/core/lib/iomgr/polling_entity.c |
| 2860 | src/core/lib/iomgr/pollset_set_uv.c |
| 2861 | src/core/lib/iomgr/pollset_set_windows.c |
| 2862 | src/core/lib/iomgr/pollset_uv.c |
| 2863 | src/core/lib/iomgr/pollset_windows.c |
| 2864 | src/core/lib/iomgr/resolve_address_posix.c |
| 2865 | src/core/lib/iomgr/resolve_address_uv.c |
| 2866 | src/core/lib/iomgr/resolve_address_windows.c |
| 2867 | src/core/lib/iomgr/resource_quota.c |
| 2868 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 2869 | src/core/lib/iomgr/socket_factory_posix.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2870 | src/core/lib/iomgr/socket_mutator.c |
| 2871 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 2872 | src/core/lib/iomgr/socket_utils_linux.c |
| 2873 | src/core/lib/iomgr/socket_utils_posix.c |
| 2874 | src/core/lib/iomgr/socket_utils_uv.c |
| 2875 | src/core/lib/iomgr/socket_utils_windows.c |
| 2876 | src/core/lib/iomgr/socket_windows.c |
| 2877 | src/core/lib/iomgr/tcp_client_posix.c |
| 2878 | src/core/lib/iomgr/tcp_client_uv.c |
| 2879 | src/core/lib/iomgr/tcp_client_windows.c |
| 2880 | src/core/lib/iomgr/tcp_posix.c |
| 2881 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 2882 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 2883 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 2884 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2885 | src/core/lib/iomgr/tcp_server_uv.c |
| 2886 | src/core/lib/iomgr/tcp_server_windows.c |
| 2887 | src/core/lib/iomgr/tcp_uv.c |
| 2888 | src/core/lib/iomgr/tcp_windows.c |
| 2889 | src/core/lib/iomgr/time_averaged_stats.c |
| 2890 | src/core/lib/iomgr/timer_generic.c |
| 2891 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 2892 | src/core/lib/iomgr/timer_manager.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2893 | src/core/lib/iomgr/timer_uv.c |
| 2894 | src/core/lib/iomgr/udp_server.c |
| 2895 | src/core/lib/iomgr/unix_sockets_posix.c |
| 2896 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
| 2897 | src/core/lib/iomgr/wakeup_fd_cv.c |
| 2898 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 2899 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 2900 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 2901 | src/core/lib/iomgr/wakeup_fd_posix.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2902 | src/core/lib/json/json.c |
| 2903 | src/core/lib/json/json_reader.c |
| 2904 | src/core/lib/json/json_string.c |
| 2905 | src/core/lib/json/json_writer.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2906 | src/core/lib/slice/b64.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2907 | src/core/lib/slice/percent_encoding.c |
| 2908 | src/core/lib/slice/slice.c |
| 2909 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2910 | src/core/lib/slice/slice_hash_table.c |
| 2911 | src/core/lib/slice/slice_intern.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2912 | src/core/lib/slice/slice_string_helpers.c |
| 2913 | src/core/lib/surface/alarm.c |
| 2914 | src/core/lib/surface/api_trace.c |
| 2915 | src/core/lib/surface/byte_buffer.c |
| 2916 | src/core/lib/surface/byte_buffer_reader.c |
| 2917 | src/core/lib/surface/call.c |
| 2918 | src/core/lib/surface/call_details.c |
| 2919 | src/core/lib/surface/call_log_batch.c |
| 2920 | src/core/lib/surface/channel.c |
| 2921 | src/core/lib/surface/channel_init.c |
| 2922 | src/core/lib/surface/channel_ping.c |
| 2923 | src/core/lib/surface/channel_stack_type.c |
| 2924 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 2925 | src/core/lib/surface/completion_queue_factory.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2926 | src/core/lib/surface/event_string.c |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 2927 | src/core/lib/surface/lame_client.cc |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2928 | src/core/lib/surface/metadata_array.c |
| 2929 | src/core/lib/surface/server.c |
| 2930 | src/core/lib/surface/validate_metadata.c |
| 2931 | src/core/lib/surface/version.c |
Craig Tiller | d425712 | 2017-01-13 09:33:57 -0800 | [diff] [blame] | 2932 | src/core/lib/transport/bdp_estimator.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2933 | src/core/lib/transport/byte_stream.c |
| 2934 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2935 | src/core/lib/transport/error_utils.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2936 | src/core/lib/transport/metadata.c |
| 2937 | src/core/lib/transport/metadata_batch.c |
| 2938 | src/core/lib/transport/pid_controller.c |
| 2939 | src/core/lib/transport/service_config.c |
| 2940 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2941 | src/core/lib/transport/status_conversion.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2942 | src/core/lib/transport/timeout_encoding.c |
| 2943 | src/core/lib/transport/transport.c |
| 2944 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 2945 | src/core/lib/debug/trace.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2946 | src/core/ext/transport/chttp2/alpn/alpn.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2947 | src/core/ext/filters/http/client/http_client_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2948 | src/core/ext/filters/http/http_filters_plugin.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 2949 | src/core/ext/filters/http/message_compress/message_compress_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2950 | src/core/ext/filters/http/server/http_server_filter.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2951 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 2952 | src/core/ext/filters/client_channel/client_channel.c |
| 2953 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 2954 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 2955 | src/core/ext/filters/client_channel/connector.c |
| 2956 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 2957 | src/core/ext/filters/client_channel/http_proxy.c |
| 2958 | src/core/ext/filters/client_channel/lb_policy.c |
| 2959 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 2960 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 2961 | src/core/ext/filters/client_channel/parse_address.c |
| 2962 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 2963 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 2964 | src/core/ext/filters/client_channel/resolver.c |
| 2965 | src/core/ext/filters/client_channel/resolver_factory.c |
| 2966 | src/core/ext/filters/client_channel/resolver_registry.c |
| 2967 | src/core/ext/filters/client_channel/retry_throttle.c |
| 2968 | src/core/ext/filters/client_channel/subchannel.c |
| 2969 | src/core/ext/filters/client_channel/subchannel_index.c |
| 2970 | src/core/ext/filters/client_channel/uri_parser.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 2971 | src/core/ext/filters/deadline/deadline_filter.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2972 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 2973 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 2974 | src/core/ext/transport/chttp2/server/chttp2_server.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2975 | src/core/ext/census/base_resources.c |
| 2976 | src/core/ext/census/context.c |
| 2977 | src/core/ext/census/gen/census.pb.c |
| 2978 | src/core/ext/census/gen/trace_context.pb.c |
| 2979 | src/core/ext/census/grpc_context.c |
| 2980 | src/core/ext/census/grpc_filter.c |
| 2981 | src/core/ext/census/grpc_plugin.c |
| 2982 | src/core/ext/census/initialize.c |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 2983 | src/core/ext/census/intrusive_hash_map.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2984 | src/core/ext/census/mlog.c |
| 2985 | src/core/ext/census/operation.c |
| 2986 | src/core/ext/census/placeholders.c |
| 2987 | src/core/ext/census/resource.c |
| 2988 | src/core/ext/census/trace_context.c |
| 2989 | src/core/ext/census/tracing.c |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2990 | third_party/nanopb/pb_common.c |
| 2991 | third_party/nanopb/pb_decode.c |
| 2992 | third_party/nanopb/pb_encode.c |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2993 | ) |
| 2994 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2995 | if(WIN32 AND MSVC) |
| 2996 | set_target_properties(grpc++_cronet PROPERTIES COMPILE_PDB_NAME "grpc++_cronet" |
| 2997 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2998 | ) |
| 2999 | if (gRPC_INSTALL) |
| 3000 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3001 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3002 | ) |
| 3003 | endif() |
| 3004 | endif() |
| 3005 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3006 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3007 | target_include_directories(grpc++_cronet |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3008 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3009 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3010 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3011 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3012 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3013 | PRIVATE ${BENCHMARK}/include |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3014 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3015 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | f1cd449 | 2016-10-25 11:26:17 -0700 | [diff] [blame] | 3016 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3017 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3018 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3019 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3020 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3021 | ) |
| 3022 | |
| 3023 | target_link_libraries(grpc++_cronet |
| 3024 | ${_gRPC_BASELIB_LIBRARIES} |
| 3025 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3026 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3027 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3028 | gpr |
| 3029 | grpc_cronet |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 3030 | grpc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3031 | ) |
| 3032 | |
| 3033 | foreach(_hdr |
| 3034 | include/grpc++/alarm.h |
| 3035 | include/grpc++/channel.h |
| 3036 | include/grpc++/client_context.h |
| 3037 | include/grpc++/completion_queue.h |
| 3038 | include/grpc++/create_channel.h |
| 3039 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 3040 | include/grpc++/ext/health_check_service_server_builder_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3041 | include/grpc++/generic/async_generic_service.h |
| 3042 | include/grpc++/generic/generic_stub.h |
| 3043 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 3044 | include/grpc++/health_check_service_interface.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3045 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 3046 | include/grpc++/impl/channel_argument_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3047 | include/grpc++/impl/client_unary_call.h |
| 3048 | include/grpc++/impl/codegen/core_codegen.h |
| 3049 | include/grpc++/impl/grpc_library.h |
| 3050 | include/grpc++/impl/method_handler_impl.h |
| 3051 | include/grpc++/impl/rpc_method.h |
| 3052 | include/grpc++/impl/rpc_service_method.h |
| 3053 | include/grpc++/impl/serialization_traits.h |
| 3054 | include/grpc++/impl/server_builder_option.h |
| 3055 | include/grpc++/impl/server_builder_plugin.h |
| 3056 | include/grpc++/impl/server_initializer.h |
| 3057 | include/grpc++/impl/service_type.h |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 3058 | include/grpc++/resource_quota.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3059 | include/grpc++/security/auth_context.h |
| 3060 | include/grpc++/security/auth_metadata_processor.h |
| 3061 | include/grpc++/security/credentials.h |
| 3062 | include/grpc++/security/server_credentials.h |
| 3063 | include/grpc++/server.h |
| 3064 | include/grpc++/server_builder.h |
| 3065 | include/grpc++/server_context.h |
| 3066 | include/grpc++/server_posix.h |
| 3067 | include/grpc++/support/async_stream.h |
| 3068 | include/grpc++/support/async_unary_call.h |
| 3069 | include/grpc++/support/byte_buffer.h |
| 3070 | include/grpc++/support/channel_arguments.h |
| 3071 | include/grpc++/support/config.h |
| 3072 | include/grpc++/support/slice.h |
| 3073 | include/grpc++/support/status.h |
| 3074 | include/grpc++/support/status_code_enum.h |
| 3075 | include/grpc++/support/string_ref.h |
| 3076 | include/grpc++/support/stub_options.h |
| 3077 | include/grpc++/support/sync_stream.h |
| 3078 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3079 | include/grpc/support/alloc.h |
| 3080 | include/grpc/support/atm.h |
| 3081 | include/grpc/support/atm_gcc_atomic.h |
| 3082 | include/grpc/support/atm_gcc_sync.h |
| 3083 | include/grpc/support/atm_windows.h |
| 3084 | include/grpc/support/avl.h |
| 3085 | include/grpc/support/cmdline.h |
| 3086 | include/grpc/support/cpu.h |
| 3087 | include/grpc/support/histogram.h |
| 3088 | include/grpc/support/host_port.h |
| 3089 | include/grpc/support/log.h |
| 3090 | include/grpc/support/log_windows.h |
| 3091 | include/grpc/support/port_platform.h |
| 3092 | include/grpc/support/string_util.h |
| 3093 | include/grpc/support/subprocess.h |
| 3094 | include/grpc/support/sync.h |
| 3095 | include/grpc/support/sync_generic.h |
| 3096 | include/grpc/support/sync_posix.h |
| 3097 | include/grpc/support/sync_windows.h |
| 3098 | include/grpc/support/thd.h |
| 3099 | include/grpc/support/time.h |
| 3100 | include/grpc/support/tls.h |
| 3101 | include/grpc/support/tls_gcc.h |
| 3102 | include/grpc/support/tls_msvc.h |
| 3103 | include/grpc/support/tls_pthread.h |
| 3104 | include/grpc/support/useful.h |
| 3105 | include/grpc/impl/codegen/atm.h |
| 3106 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3107 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3108 | include/grpc/impl/codegen/atm_windows.h |
| 3109 | include/grpc/impl/codegen/gpr_slice.h |
| 3110 | include/grpc/impl/codegen/gpr_types.h |
| 3111 | include/grpc/impl/codegen/port_platform.h |
| 3112 | include/grpc/impl/codegen/sync.h |
| 3113 | include/grpc/impl/codegen/sync_generic.h |
| 3114 | include/grpc/impl/codegen/sync_posix.h |
| 3115 | include/grpc/impl/codegen/sync_windows.h |
| 3116 | include/grpc/byte_buffer.h |
| 3117 | include/grpc/byte_buffer_reader.h |
| 3118 | include/grpc/compression.h |
| 3119 | include/grpc/grpc.h |
| 3120 | include/grpc/grpc_posix.h |
| 3121 | include/grpc/grpc_security_constants.h |
| 3122 | include/grpc/load_reporting.h |
| 3123 | include/grpc/slice.h |
| 3124 | include/grpc/slice_buffer.h |
| 3125 | include/grpc/status.h |
| 3126 | include/grpc/support/workaround_list.h |
| 3127 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3128 | include/grpc/impl/codegen/compression_types.h |
| 3129 | include/grpc/impl/codegen/connectivity_state.h |
| 3130 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 3131 | include/grpc/impl/codegen/grpc_types.h |
| 3132 | include/grpc/impl/codegen/propagation_bits.h |
| 3133 | include/grpc/impl/codegen/slice.h |
| 3134 | include/grpc/impl/codegen/status.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3135 | include/grpc++/impl/codegen/async_stream.h |
| 3136 | include/grpc++/impl/codegen/async_unary_call.h |
| 3137 | include/grpc++/impl/codegen/call.h |
| 3138 | include/grpc++/impl/codegen/call_hook.h |
| 3139 | include/grpc++/impl/codegen/channel_interface.h |
| 3140 | include/grpc++/impl/codegen/client_context.h |
| 3141 | include/grpc++/impl/codegen/client_unary_call.h |
| 3142 | include/grpc++/impl/codegen/completion_queue.h |
| 3143 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3144 | include/grpc++/impl/codegen/config.h |
| 3145 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3146 | include/grpc++/impl/codegen/create_auth_context.h |
| 3147 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3148 | include/grpc++/impl/codegen/metadata_map.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3149 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3150 | include/grpc++/impl/codegen/rpc_method.h |
| 3151 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3152 | include/grpc++/impl/codegen/security/auth_context.h |
| 3153 | include/grpc++/impl/codegen/serialization_traits.h |
| 3154 | include/grpc++/impl/codegen/server_context.h |
| 3155 | include/grpc++/impl/codegen/server_interface.h |
| 3156 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3157 | include/grpc++/impl/codegen/slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3158 | include/grpc++/impl/codegen/status.h |
| 3159 | include/grpc++/impl/codegen/status_code_enum.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3160 | include/grpc++/impl/codegen/string_ref.h |
| 3161 | include/grpc++/impl/codegen/stub_options.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3162 | include/grpc++/impl/codegen/sync_stream.h |
| 3163 | include/grpc++/impl/codegen/time.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 3164 | include/grpc/census.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3165 | ) |
| 3166 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3167 | get_filename_component(_path ${_path} PATH) |
| 3168 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3169 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3170 | ) |
| 3171 | endforeach() |
| 3172 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3173 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3174 | if (gRPC_INSTALL) |
| 3175 | install(TARGETS grpc++_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3176 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3177 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3178 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3179 | ) |
| 3180 | endif() |
| 3181 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3182 | |
| 3183 | add_library(grpc++_error_details |
| 3184 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.cc |
| 3185 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.cc |
| 3186 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.h |
| 3187 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.h |
| 3188 | src/cpp/util/error_details.cc |
| 3189 | ) |
| 3190 | |
| 3191 | if(WIN32 AND MSVC) |
| 3192 | set_target_properties(grpc++_error_details PROPERTIES COMPILE_PDB_NAME "grpc++_error_details" |
| 3193 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3194 | ) |
| 3195 | if (gRPC_INSTALL) |
| 3196 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_error_details.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3197 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3198 | ) |
| 3199 | endif() |
| 3200 | endif() |
| 3201 | |
| 3202 | protobuf_generate_grpc_cpp( |
| 3203 | src/proto/grpc/status/status.proto |
| 3204 | ) |
| 3205 | |
| 3206 | target_include_directories(grpc++_error_details |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3207 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3208 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3209 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3210 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3211 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 3212 | PRIVATE ${BENCHMARK}/include |
| 3213 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3214 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 3215 | PRIVATE ${CARES_INCLUDE_DIR} |
| 3216 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 3217 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 3218 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3219 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3220 | ) |
| 3221 | |
| 3222 | target_link_libraries(grpc++_error_details |
| 3223 | ${_gRPC_BASELIB_LIBRARIES} |
| 3224 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3225 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3226 | grpc++ |
| 3227 | ) |
| 3228 | |
| 3229 | foreach(_hdr |
| 3230 | include/grpc++/support/error_details.h |
| 3231 | ) |
| 3232 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3233 | get_filename_component(_path ${_path} PATH) |
| 3234 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3235 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3236 | ) |
| 3237 | endforeach() |
| 3238 | |
| 3239 | |
| 3240 | if (gRPC_INSTALL) |
| 3241 | install(TARGETS grpc++_error_details EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3242 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3243 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3244 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3245 | ) |
| 3246 | endif() |
| 3247 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3248 | if (gRPC_BUILD_TESTS) |
| 3249 | |
| 3250 | add_library(grpc++_proto_reflection_desc_db |
| 3251 | test/cpp/util/proto_reflection_descriptor_database.cc |
| 3252 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3253 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3254 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3255 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3256 | ) |
| 3257 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3258 | if(WIN32 AND MSVC) |
| 3259 | set_target_properties(grpc++_proto_reflection_desc_db PROPERTIES COMPILE_PDB_NAME "grpc++_proto_reflection_desc_db" |
| 3260 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3261 | ) |
| 3262 | if (gRPC_INSTALL) |
| 3263 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_proto_reflection_desc_db.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3264 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3265 | ) |
| 3266 | endif() |
| 3267 | endif() |
| 3268 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3269 | protobuf_generate_grpc_cpp( |
| 3270 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3271 | ) |
| 3272 | |
| 3273 | target_include_directories(grpc++_proto_reflection_desc_db |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3274 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3275 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3276 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3277 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3278 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3279 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3280 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3281 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3282 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3283 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3284 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3285 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3286 | PRIVATE third_party/googletest/googletest/include |
| 3287 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3288 | PRIVATE third_party/googletest/googlemock/include |
| 3289 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3290 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3291 | ) |
| 3292 | |
| 3293 | target_link_libraries(grpc++_proto_reflection_desc_db |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3294 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3295 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3296 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3297 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3298 | ) |
| 3299 | |
| 3300 | foreach(_hdr |
| 3301 | include/grpc++/impl/codegen/config_protobuf.h |
| 3302 | ) |
| 3303 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3304 | get_filename_component(_path ${_path} PATH) |
| 3305 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3306 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3307 | ) |
| 3308 | endforeach() |
| 3309 | |
| 3310 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3311 | |
| 3312 | add_library(grpc++_reflection |
| 3313 | src/cpp/ext/proto_server_reflection.cc |
| 3314 | src/cpp/ext/proto_server_reflection_plugin.cc |
| 3315 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3316 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3317 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3318 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3319 | ) |
| 3320 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3321 | if(WIN32 AND MSVC) |
| 3322 | set_target_properties(grpc++_reflection PROPERTIES COMPILE_PDB_NAME "grpc++_reflection" |
| 3323 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3324 | ) |
| 3325 | if (gRPC_INSTALL) |
| 3326 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_reflection.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3327 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3328 | ) |
| 3329 | endif() |
| 3330 | endif() |
| 3331 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3332 | protobuf_generate_grpc_cpp( |
| 3333 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3334 | ) |
| 3335 | |
| 3336 | target_include_directories(grpc++_reflection |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3337 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3338 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3339 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3340 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3341 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3342 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3343 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3344 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3345 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3346 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3347 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3348 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3349 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3350 | ) |
| 3351 | |
| 3352 | target_link_libraries(grpc++_reflection |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3353 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3354 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3355 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3356 | grpc |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3357 | ) |
| 3358 | |
| 3359 | foreach(_hdr |
| 3360 | include/grpc++/ext/proto_server_reflection_plugin.h |
| 3361 | ) |
| 3362 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3363 | get_filename_component(_path ${_path} PATH) |
| 3364 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3365 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3366 | ) |
| 3367 | endforeach() |
| 3368 | |
| 3369 | |
| 3370 | if (gRPC_INSTALL) |
| 3371 | install(TARGETS grpc++_reflection EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3372 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3373 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3374 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3375 | ) |
| 3376 | endif() |
| 3377 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3378 | if (gRPC_BUILD_TESTS) |
| 3379 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3380 | add_library(grpc++_test_config |
| 3381 | test/cpp/util/test_config_cc.cc |
| 3382 | ) |
| 3383 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3384 | if(WIN32 AND MSVC) |
| 3385 | set_target_properties(grpc++_test_config PROPERTIES COMPILE_PDB_NAME "grpc++_test_config" |
| 3386 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3387 | ) |
| 3388 | if (gRPC_INSTALL) |
| 3389 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_config.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3390 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3391 | ) |
| 3392 | endif() |
| 3393 | endif() |
| 3394 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3395 | |
| 3396 | target_include_directories(grpc++_test_config |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3397 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3398 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3399 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3400 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3401 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3402 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3403 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3404 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3405 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3406 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3407 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3408 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3409 | PRIVATE third_party/googletest/googletest/include |
| 3410 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3411 | PRIVATE third_party/googletest/googlemock/include |
| 3412 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3413 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3414 | ) |
| 3415 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3416 | target_link_libraries(grpc++_test_config |
| 3417 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3418 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3419 | ) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3420 | |
| 3421 | |
| 3422 | endif (gRPC_BUILD_TESTS) |
| 3423 | if (gRPC_BUILD_TESTS) |
| 3424 | |
| 3425 | add_library(grpc++_test_util |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3426 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3427 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3428 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3429 | ${_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] | 3430 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3431 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3432 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3433 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3434 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3435 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3436 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3437 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3438 | ${_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] | 3439 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3440 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3441 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3442 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3443 | test/cpp/end2end/test_service_impl.cc |
| 3444 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3445 | test/cpp/util/create_test_channel.cc |
| 3446 | test/cpp/util/string_ref_helper.cc |
| 3447 | test/cpp/util/subprocess.cc |
| 3448 | test/cpp/util/test_credentials_provider.cc |
| 3449 | src/cpp/codegen/codegen_init.cc |
| 3450 | ) |
| 3451 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3452 | if(WIN32 AND MSVC) |
| 3453 | set_target_properties(grpc++_test_util PROPERTIES COMPILE_PDB_NAME "grpc++_test_util" |
| 3454 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3455 | ) |
| 3456 | if (gRPC_INSTALL) |
| 3457 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3458 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3459 | ) |
| 3460 | endif() |
| 3461 | endif() |
| 3462 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3463 | protobuf_generate_grpc_cpp( |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3464 | src/proto/grpc/health/v1/health.proto |
| 3465 | ) |
| 3466 | protobuf_generate_grpc_cpp( |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3467 | src/proto/grpc/testing/echo_messages.proto |
| 3468 | ) |
| 3469 | protobuf_generate_grpc_cpp( |
| 3470 | src/proto/grpc/testing/echo.proto |
| 3471 | ) |
| 3472 | protobuf_generate_grpc_cpp( |
| 3473 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3474 | ) |
| 3475 | |
| 3476 | target_include_directories(grpc++_test_util |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3477 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3478 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3479 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3480 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3481 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3482 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3483 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3484 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3485 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3486 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3487 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3488 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3489 | PRIVATE third_party/googletest/googletest/include |
| 3490 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3491 | PRIVATE third_party/googletest/googlemock/include |
| 3492 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3493 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3494 | ) |
| 3495 | |
| 3496 | target_link_libraries(grpc++_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3497 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3498 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3499 | grpc++ |
| 3500 | grpc_test_util |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3501 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3502 | ) |
| 3503 | |
| 3504 | foreach(_hdr |
| 3505 | include/grpc++/impl/codegen/async_stream.h |
| 3506 | include/grpc++/impl/codegen/async_unary_call.h |
| 3507 | include/grpc++/impl/codegen/call.h |
| 3508 | include/grpc++/impl/codegen/call_hook.h |
| 3509 | include/grpc++/impl/codegen/channel_interface.h |
| 3510 | include/grpc++/impl/codegen/client_context.h |
| 3511 | include/grpc++/impl/codegen/client_unary_call.h |
| 3512 | include/grpc++/impl/codegen/completion_queue.h |
| 3513 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3514 | include/grpc++/impl/codegen/config.h |
| 3515 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3516 | include/grpc++/impl/codegen/create_auth_context.h |
| 3517 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3518 | include/grpc++/impl/codegen/metadata_map.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3519 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3520 | include/grpc++/impl/codegen/rpc_method.h |
| 3521 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3522 | include/grpc++/impl/codegen/security/auth_context.h |
| 3523 | include/grpc++/impl/codegen/serialization_traits.h |
| 3524 | include/grpc++/impl/codegen/server_context.h |
| 3525 | include/grpc++/impl/codegen/server_interface.h |
| 3526 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3527 | include/grpc++/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3528 | include/grpc++/impl/codegen/status.h |
| 3529 | include/grpc++/impl/codegen/status_code_enum.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3530 | include/grpc++/impl/codegen/string_ref.h |
| 3531 | include/grpc++/impl/codegen/stub_options.h |
| 3532 | include/grpc++/impl/codegen/sync_stream.h |
| 3533 | include/grpc++/impl/codegen/time.h |
| 3534 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3535 | include/grpc/impl/codegen/compression_types.h |
| 3536 | include/grpc/impl/codegen/connectivity_state.h |
| 3537 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 3538 | include/grpc/impl/codegen/grpc_types.h |
| 3539 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3540 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3541 | include/grpc/impl/codegen/status.h |
| 3542 | include/grpc/impl/codegen/atm.h |
| 3543 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3544 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3545 | include/grpc/impl/codegen/atm_windows.h |
| 3546 | include/grpc/impl/codegen/gpr_slice.h |
| 3547 | include/grpc/impl/codegen/gpr_types.h |
| 3548 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3549 | include/grpc/impl/codegen/sync.h |
| 3550 | include/grpc/impl/codegen/sync_generic.h |
| 3551 | include/grpc/impl/codegen/sync_posix.h |
| 3552 | include/grpc/impl/codegen/sync_windows.h |
| 3553 | include/grpc++/impl/codegen/proto_utils.h |
| 3554 | include/grpc++/impl/codegen/config_protobuf.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3555 | ) |
| 3556 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3557 | get_filename_component(_path ${_path} PATH) |
| 3558 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3559 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3560 | ) |
| 3561 | endforeach() |
| 3562 | |
| 3563 | endif (gRPC_BUILD_TESTS) |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 3564 | if (gRPC_BUILD_TESTS) |
| 3565 | |
| 3566 | add_library(grpc++_test_util_unsecure |
| 3567 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3568 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3569 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3570 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.h |
| 3571 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3572 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3573 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3574 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3575 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3576 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3577 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3578 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 3579 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_mock.grpc.pb.h |
| 3580 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3581 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3582 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3583 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3584 | test/cpp/end2end/test_service_impl.cc |
| 3585 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3586 | test/cpp/util/string_ref_helper.cc |
| 3587 | test/cpp/util/subprocess.cc |
| 3588 | src/cpp/codegen/codegen_init.cc |
| 3589 | ) |
| 3590 | |
| 3591 | if(WIN32 AND MSVC) |
| 3592 | set_target_properties(grpc++_test_util_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_test_util_unsecure" |
| 3593 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3594 | ) |
| 3595 | if (gRPC_INSTALL) |
| 3596 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util_unsecure.pdb |
| 3597 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 3598 | ) |
| 3599 | endif() |
| 3600 | endif() |
| 3601 | |
| 3602 | protobuf_generate_grpc_cpp( |
| 3603 | src/proto/grpc/health/v1/health.proto |
| 3604 | ) |
| 3605 | protobuf_generate_grpc_cpp( |
| 3606 | src/proto/grpc/testing/echo_messages.proto |
| 3607 | ) |
| 3608 | protobuf_generate_grpc_cpp( |
| 3609 | src/proto/grpc/testing/echo.proto |
| 3610 | ) |
| 3611 | protobuf_generate_grpc_cpp( |
| 3612 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3613 | ) |
| 3614 | |
| 3615 | target_include_directories(grpc++_test_util_unsecure |
| 3616 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
| 3617 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3618 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3619 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3620 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 3621 | PRIVATE ${BENCHMARK}/include |
| 3622 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3623 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 3624 | PRIVATE ${CARES_INCLUDE_DIR} |
| 3625 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 3626 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 3627 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3628 | PRIVATE third_party/googletest/googletest/include |
| 3629 | PRIVATE third_party/googletest/googletest |
| 3630 | PRIVATE third_party/googletest/googlemock/include |
| 3631 | PRIVATE third_party/googletest/googlemock |
| 3632 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3633 | ) |
| 3634 | |
| 3635 | target_link_libraries(grpc++_test_util_unsecure |
| 3636 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3637 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3638 | grpc++_unsecure |
| 3639 | grpc_test_util_unsecure |
| 3640 | grpc_unsecure |
| 3641 | ) |
| 3642 | |
| 3643 | foreach(_hdr |
| 3644 | include/grpc++/impl/codegen/async_stream.h |
| 3645 | include/grpc++/impl/codegen/async_unary_call.h |
| 3646 | include/grpc++/impl/codegen/call.h |
| 3647 | include/grpc++/impl/codegen/call_hook.h |
| 3648 | include/grpc++/impl/codegen/channel_interface.h |
| 3649 | include/grpc++/impl/codegen/client_context.h |
| 3650 | include/grpc++/impl/codegen/client_unary_call.h |
| 3651 | include/grpc++/impl/codegen/completion_queue.h |
| 3652 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3653 | include/grpc++/impl/codegen/config.h |
| 3654 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3655 | include/grpc++/impl/codegen/create_auth_context.h |
| 3656 | include/grpc++/impl/codegen/grpc_library.h |
| 3657 | include/grpc++/impl/codegen/metadata_map.h |
| 3658 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3659 | include/grpc++/impl/codegen/rpc_method.h |
| 3660 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3661 | include/grpc++/impl/codegen/security/auth_context.h |
| 3662 | include/grpc++/impl/codegen/serialization_traits.h |
| 3663 | include/grpc++/impl/codegen/server_context.h |
| 3664 | include/grpc++/impl/codegen/server_interface.h |
| 3665 | include/grpc++/impl/codegen/service_type.h |
| 3666 | include/grpc++/impl/codegen/slice.h |
| 3667 | include/grpc++/impl/codegen/status.h |
| 3668 | include/grpc++/impl/codegen/status_code_enum.h |
| 3669 | include/grpc++/impl/codegen/string_ref.h |
| 3670 | include/grpc++/impl/codegen/stub_options.h |
| 3671 | include/grpc++/impl/codegen/sync_stream.h |
| 3672 | include/grpc++/impl/codegen/time.h |
| 3673 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3674 | include/grpc/impl/codegen/compression_types.h |
| 3675 | include/grpc/impl/codegen/connectivity_state.h |
| 3676 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 3677 | include/grpc/impl/codegen/grpc_types.h |
| 3678 | include/grpc/impl/codegen/propagation_bits.h |
| 3679 | include/grpc/impl/codegen/slice.h |
| 3680 | include/grpc/impl/codegen/status.h |
| 3681 | include/grpc/impl/codegen/atm.h |
| 3682 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3683 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3684 | include/grpc/impl/codegen/atm_windows.h |
| 3685 | include/grpc/impl/codegen/gpr_slice.h |
| 3686 | include/grpc/impl/codegen/gpr_types.h |
| 3687 | include/grpc/impl/codegen/port_platform.h |
| 3688 | include/grpc/impl/codegen/sync.h |
| 3689 | include/grpc/impl/codegen/sync_generic.h |
| 3690 | include/grpc/impl/codegen/sync_posix.h |
| 3691 | include/grpc/impl/codegen/sync_windows.h |
| 3692 | include/grpc++/impl/codegen/proto_utils.h |
| 3693 | include/grpc++/impl/codegen/config_protobuf.h |
| 3694 | ) |
| 3695 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3696 | get_filename_component(_path ${_path} PATH) |
| 3697 | install(FILES ${_hdr} |
| 3698 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 3699 | ) |
| 3700 | endforeach() |
| 3701 | |
| 3702 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3703 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3704 | add_library(grpc++_unsecure |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 3705 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3706 | src/cpp/common/insecure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 3707 | src/cpp/server/insecure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3708 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3709 | src/cpp/client/client_context.cc |
| 3710 | src/cpp/client/create_channel.cc |
| 3711 | src/cpp/client/create_channel_internal.cc |
| 3712 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3713 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3714 | src/cpp/client/generic_stub.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3715 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 3716 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3717 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3718 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 3719 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3720 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 3721 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3722 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 3723 | src/cpp/server/channel_argument_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3724 | src/cpp/server/create_default_thread_pool.cc |
| 3725 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 3726 | src/cpp/server/health/default_health_check_service.cc |
| 3727 | src/cpp/server/health/health.pb.c |
| 3728 | src/cpp/server/health/health_check_service.cc |
| 3729 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3730 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3731 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3732 | src/cpp/server/server_context.cc |
| 3733 | src/cpp/server/server_credentials.cc |
| 3734 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 3735 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3736 | src/cpp/util/byte_buffer_cc.cc |
| 3737 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3738 | src/cpp/util/status.cc |
| 3739 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3740 | src/cpp/util/time_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3741 | src/cpp/codegen/codegen_init.cc |
| 3742 | ) |
| 3743 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3744 | if(WIN32 AND MSVC) |
| 3745 | set_target_properties(grpc++_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_unsecure" |
| 3746 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3747 | ) |
| 3748 | if (gRPC_INSTALL) |
| 3749 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3750 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3751 | ) |
| 3752 | endif() |
| 3753 | endif() |
| 3754 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3755 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3756 | target_include_directories(grpc++_unsecure |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3757 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3758 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3759 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3760 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3761 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3762 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3763 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3764 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 3765 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3766 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3767 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3768 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3769 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3770 | ) |
| 3771 | |
| 3772 | target_link_libraries(grpc++_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3773 | ${_gRPC_BASELIB_LIBRARIES} |
| 3774 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3775 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3776 | gpr |
| 3777 | grpc_unsecure |
| 3778 | ) |
| 3779 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3780 | foreach(_hdr |
| 3781 | include/grpc++/alarm.h |
| 3782 | include/grpc++/channel.h |
| 3783 | include/grpc++/client_context.h |
| 3784 | include/grpc++/completion_queue.h |
| 3785 | include/grpc++/create_channel.h |
| 3786 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 3787 | include/grpc++/ext/health_check_service_server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3788 | include/grpc++/generic/async_generic_service.h |
| 3789 | include/grpc++/generic/generic_stub.h |
| 3790 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 3791 | include/grpc++/health_check_service_interface.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3792 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 3793 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3794 | include/grpc++/impl/client_unary_call.h |
| 3795 | include/grpc++/impl/codegen/core_codegen.h |
| 3796 | include/grpc++/impl/grpc_library.h |
| 3797 | include/grpc++/impl/method_handler_impl.h |
| 3798 | include/grpc++/impl/rpc_method.h |
| 3799 | include/grpc++/impl/rpc_service_method.h |
| 3800 | include/grpc++/impl/serialization_traits.h |
| 3801 | include/grpc++/impl/server_builder_option.h |
| 3802 | include/grpc++/impl/server_builder_plugin.h |
| 3803 | include/grpc++/impl/server_initializer.h |
| 3804 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 3805 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3806 | include/grpc++/security/auth_context.h |
| 3807 | include/grpc++/security/auth_metadata_processor.h |
| 3808 | include/grpc++/security/credentials.h |
| 3809 | include/grpc++/security/server_credentials.h |
| 3810 | include/grpc++/server.h |
| 3811 | include/grpc++/server_builder.h |
| 3812 | include/grpc++/server_context.h |
| 3813 | include/grpc++/server_posix.h |
| 3814 | include/grpc++/support/async_stream.h |
| 3815 | include/grpc++/support/async_unary_call.h |
| 3816 | include/grpc++/support/byte_buffer.h |
| 3817 | include/grpc++/support/channel_arguments.h |
| 3818 | include/grpc++/support/config.h |
| 3819 | include/grpc++/support/slice.h |
| 3820 | include/grpc++/support/status.h |
| 3821 | include/grpc++/support/status_code_enum.h |
| 3822 | include/grpc++/support/string_ref.h |
| 3823 | include/grpc++/support/stub_options.h |
| 3824 | include/grpc++/support/sync_stream.h |
| 3825 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3826 | include/grpc/support/alloc.h |
| 3827 | include/grpc/support/atm.h |
| 3828 | include/grpc/support/atm_gcc_atomic.h |
| 3829 | include/grpc/support/atm_gcc_sync.h |
| 3830 | include/grpc/support/atm_windows.h |
| 3831 | include/grpc/support/avl.h |
| 3832 | include/grpc/support/cmdline.h |
| 3833 | include/grpc/support/cpu.h |
| 3834 | include/grpc/support/histogram.h |
| 3835 | include/grpc/support/host_port.h |
| 3836 | include/grpc/support/log.h |
| 3837 | include/grpc/support/log_windows.h |
| 3838 | include/grpc/support/port_platform.h |
| 3839 | include/grpc/support/string_util.h |
| 3840 | include/grpc/support/subprocess.h |
| 3841 | include/grpc/support/sync.h |
| 3842 | include/grpc/support/sync_generic.h |
| 3843 | include/grpc/support/sync_posix.h |
| 3844 | include/grpc/support/sync_windows.h |
| 3845 | include/grpc/support/thd.h |
| 3846 | include/grpc/support/time.h |
| 3847 | include/grpc/support/tls.h |
| 3848 | include/grpc/support/tls_gcc.h |
| 3849 | include/grpc/support/tls_msvc.h |
| 3850 | include/grpc/support/tls_pthread.h |
| 3851 | include/grpc/support/useful.h |
| 3852 | include/grpc/impl/codegen/atm.h |
| 3853 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3854 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3855 | include/grpc/impl/codegen/atm_windows.h |
| 3856 | include/grpc/impl/codegen/gpr_slice.h |
| 3857 | include/grpc/impl/codegen/gpr_types.h |
| 3858 | include/grpc/impl/codegen/port_platform.h |
| 3859 | include/grpc/impl/codegen/sync.h |
| 3860 | include/grpc/impl/codegen/sync_generic.h |
| 3861 | include/grpc/impl/codegen/sync_posix.h |
| 3862 | include/grpc/impl/codegen/sync_windows.h |
| 3863 | include/grpc/byte_buffer.h |
| 3864 | include/grpc/byte_buffer_reader.h |
| 3865 | include/grpc/compression.h |
| 3866 | include/grpc/grpc.h |
| 3867 | include/grpc/grpc_posix.h |
| 3868 | include/grpc/grpc_security_constants.h |
| 3869 | include/grpc/load_reporting.h |
| 3870 | include/grpc/slice.h |
| 3871 | include/grpc/slice_buffer.h |
| 3872 | include/grpc/status.h |
| 3873 | include/grpc/support/workaround_list.h |
| 3874 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3875 | include/grpc/impl/codegen/compression_types.h |
| 3876 | include/grpc/impl/codegen/connectivity_state.h |
| 3877 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 3878 | include/grpc/impl/codegen/grpc_types.h |
| 3879 | include/grpc/impl/codegen/propagation_bits.h |
| 3880 | include/grpc/impl/codegen/slice.h |
| 3881 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3882 | include/grpc++/impl/codegen/async_stream.h |
| 3883 | include/grpc++/impl/codegen/async_unary_call.h |
| 3884 | include/grpc++/impl/codegen/call.h |
| 3885 | include/grpc++/impl/codegen/call_hook.h |
| 3886 | include/grpc++/impl/codegen/channel_interface.h |
| 3887 | include/grpc++/impl/codegen/client_context.h |
| 3888 | include/grpc++/impl/codegen/client_unary_call.h |
| 3889 | include/grpc++/impl/codegen/completion_queue.h |
| 3890 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3891 | include/grpc++/impl/codegen/config.h |
| 3892 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3893 | include/grpc++/impl/codegen/create_auth_context.h |
| 3894 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3895 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3896 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3897 | include/grpc++/impl/codegen/rpc_method.h |
| 3898 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3899 | include/grpc++/impl/codegen/security/auth_context.h |
| 3900 | include/grpc++/impl/codegen/serialization_traits.h |
| 3901 | include/grpc++/impl/codegen/server_context.h |
| 3902 | include/grpc++/impl/codegen/server_interface.h |
| 3903 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3904 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3905 | include/grpc++/impl/codegen/status.h |
| 3906 | include/grpc++/impl/codegen/status_code_enum.h |
| 3907 | include/grpc++/impl/codegen/string_ref.h |
| 3908 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3909 | include/grpc++/impl/codegen/sync_stream.h |
| 3910 | include/grpc++/impl/codegen/time.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3911 | ) |
| 3912 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3913 | get_filename_component(_path ${_path} PATH) |
| 3914 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3915 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3916 | ) |
| 3917 | endforeach() |
| 3918 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3919 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3920 | if (gRPC_INSTALL) |
| 3921 | install(TARGETS grpc++_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3922 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3923 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3924 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3925 | ) |
| 3926 | endif() |
| 3927 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3928 | if (gRPC_BUILD_TESTS) |
| 3929 | |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3930 | add_library(grpc_benchmark |
Craig Tiller | f09ec59 | 2017-03-03 16:52:37 -0800 | [diff] [blame] | 3931 | test/cpp/microbenchmarks/helpers.cc |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3932 | ) |
| 3933 | |
| 3934 | if(WIN32 AND MSVC) |
| 3935 | set_target_properties(grpc_benchmark PROPERTIES COMPILE_PDB_NAME "grpc_benchmark" |
| 3936 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3937 | ) |
| 3938 | if (gRPC_INSTALL) |
| 3939 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_benchmark.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3940 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3941 | ) |
| 3942 | endif() |
| 3943 | endif() |
| 3944 | |
| 3945 | |
| 3946 | target_include_directories(grpc_benchmark |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3947 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3948 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3949 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3950 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3951 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 3952 | PRIVATE ${BENCHMARK}/include |
| 3953 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3954 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 9bc0d82 | 2017-03-17 13:02:03 -0700 | [diff] [blame] | 3955 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3956 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3957 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3958 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3959 | PRIVATE third_party/googletest/googletest/include |
| 3960 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3961 | PRIVATE third_party/googletest/googlemock/include |
| 3962 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3963 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3964 | ) |
| 3965 | |
| 3966 | target_link_libraries(grpc_benchmark |
| 3967 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3968 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3969 | benchmark |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 3970 | grpc++_unsecure |
| 3971 | grpc_test_util_unsecure |
| 3972 | grpc_unsecure |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3973 | ${_gRPC_GFLAGS_LIBRARIES} |
| 3974 | ) |
| 3975 | |
| 3976 | |
| 3977 | endif (gRPC_BUILD_TESTS) |
| 3978 | if (gRPC_BUILD_TESTS) |
| 3979 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3980 | add_library(grpc_cli_libs |
| 3981 | test/cpp/util/cli_call.cc |
| 3982 | test/cpp/util/cli_credentials.cc |
| 3983 | test/cpp/util/grpc_tool.cc |
| 3984 | test/cpp/util/proto_file_parser.cc |
| 3985 | test/cpp/util/service_describer.cc |
| 3986 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3987 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3988 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3989 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3990 | ) |
| 3991 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3992 | if(WIN32 AND MSVC) |
| 3993 | set_target_properties(grpc_cli_libs PROPERTIES COMPILE_PDB_NAME "grpc_cli_libs" |
| 3994 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3995 | ) |
| 3996 | if (gRPC_INSTALL) |
| 3997 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cli_libs.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3998 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3999 | ) |
| 4000 | endif() |
| 4001 | endif() |
| 4002 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4003 | protobuf_generate_grpc_cpp( |
| 4004 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 4005 | ) |
| 4006 | |
| 4007 | target_include_directories(grpc_cli_libs |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4008 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4009 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4010 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4011 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4012 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4013 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4014 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4015 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4016 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4017 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4018 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4019 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4020 | PRIVATE third_party/googletest/googletest/include |
| 4021 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4022 | PRIVATE third_party/googletest/googlemock/include |
| 4023 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4024 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4025 | ) |
| 4026 | |
| 4027 | target_link_libraries(grpc_cli_libs |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4028 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4029 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4030 | grpc++_proto_reflection_desc_db |
| 4031 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 4032 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4033 | ) |
| 4034 | |
| 4035 | foreach(_hdr |
| 4036 | include/grpc++/impl/codegen/config_protobuf.h |
| 4037 | ) |
| 4038 | string(REPLACE "include/" "" _path ${_hdr}) |
| 4039 | get_filename_component(_path ${_path} PATH) |
| 4040 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4041 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4042 | ) |
| 4043 | endforeach() |
| 4044 | |
| 4045 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4046 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4047 | add_library(grpc_plugin_support |
| 4048 | src/compiler/cpp_generator.cc |
| 4049 | src/compiler/csharp_generator.cc |
| 4050 | src/compiler/node_generator.cc |
| 4051 | src/compiler/objective_c_generator.cc |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 4052 | src/compiler/php_generator.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4053 | src/compiler/python_generator.cc |
| 4054 | src/compiler/ruby_generator.cc |
| 4055 | ) |
| 4056 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4057 | if(WIN32 AND MSVC) |
| 4058 | set_target_properties(grpc_plugin_support PROPERTIES COMPILE_PDB_NAME "grpc_plugin_support" |
| 4059 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4060 | ) |
| 4061 | if (gRPC_INSTALL) |
| 4062 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_plugin_support.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4063 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4064 | ) |
| 4065 | endif() |
| 4066 | endif() |
| 4067 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4068 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4069 | target_include_directories(grpc_plugin_support |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4070 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4071 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4072 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4073 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 4074 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4075 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4076 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4077 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 4078 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4079 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4080 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4081 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4082 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4083 | ) |
| 4084 | |
| 4085 | target_link_libraries(grpc_plugin_support |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 4086 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4087 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4088 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4089 | ) |
| 4090 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4091 | foreach(_hdr |
| 4092 | include/grpc++/impl/codegen/config_protobuf.h |
| 4093 | ) |
| 4094 | string(REPLACE "include/" "" _path ${_hdr}) |
| 4095 | get_filename_component(_path ${_path} PATH) |
| 4096 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4097 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4098 | ) |
| 4099 | endforeach() |
| 4100 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4101 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 4102 | if (gRPC_INSTALL) |
| 4103 | install(TARGETS grpc_plugin_support EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4104 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4105 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4106 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 4107 | ) |
| 4108 | endif() |
| 4109 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4110 | if (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4111 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4112 | add_library(http2_client_main |
| 4113 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4114 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4115 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4116 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4117 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4118 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4119 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4120 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4121 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4122 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4123 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4124 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4125 | test/cpp/interop/http2_client.cc |
| 4126 | ) |
| 4127 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4128 | if(WIN32 AND MSVC) |
| 4129 | set_target_properties(http2_client_main PROPERTIES COMPILE_PDB_NAME "http2_client_main" |
| 4130 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4131 | ) |
| 4132 | if (gRPC_INSTALL) |
| 4133 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/http2_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4134 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4135 | ) |
| 4136 | endif() |
| 4137 | endif() |
| 4138 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4139 | protobuf_generate_grpc_cpp( |
| 4140 | src/proto/grpc/testing/empty.proto |
| 4141 | ) |
| 4142 | protobuf_generate_grpc_cpp( |
| 4143 | src/proto/grpc/testing/messages.proto |
| 4144 | ) |
| 4145 | protobuf_generate_grpc_cpp( |
| 4146 | src/proto/grpc/testing/test.proto |
| 4147 | ) |
| 4148 | |
| 4149 | target_include_directories(http2_client_main |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4150 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4151 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4152 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4153 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4154 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4155 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4156 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4157 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4158 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4159 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4160 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4161 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4162 | PRIVATE third_party/googletest/googletest/include |
| 4163 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4164 | PRIVATE third_party/googletest/googlemock/include |
| 4165 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4166 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4167 | ) |
| 4168 | |
| 4169 | target_link_libraries(http2_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4170 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4171 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4172 | grpc++_test_util |
| 4173 | grpc_test_util |
| 4174 | grpc++ |
| 4175 | grpc |
| 4176 | grpc++_test_config |
| 4177 | ) |
| 4178 | |
| 4179 | |
| 4180 | endif (gRPC_BUILD_TESTS) |
| 4181 | if (gRPC_BUILD_TESTS) |
| 4182 | |
| 4183 | add_library(interop_client_helper |
| 4184 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4185 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4186 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4187 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4188 | test/cpp/interop/client_helper.cc |
| 4189 | ) |
| 4190 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4191 | if(WIN32 AND MSVC) |
| 4192 | set_target_properties(interop_client_helper PROPERTIES COMPILE_PDB_NAME "interop_client_helper" |
| 4193 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4194 | ) |
| 4195 | if (gRPC_INSTALL) |
| 4196 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4197 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4198 | ) |
| 4199 | endif() |
| 4200 | endif() |
| 4201 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4202 | protobuf_generate_grpc_cpp( |
| 4203 | src/proto/grpc/testing/messages.proto |
| 4204 | ) |
| 4205 | |
| 4206 | target_include_directories(interop_client_helper |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4207 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4208 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4209 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4210 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4211 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4212 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4213 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4214 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4215 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4216 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4217 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4218 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4219 | PRIVATE third_party/googletest/googletest/include |
| 4220 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4221 | PRIVATE third_party/googletest/googlemock/include |
| 4222 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4223 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4224 | ) |
| 4225 | |
| 4226 | target_link_libraries(interop_client_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4227 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4228 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4229 | grpc++_test_util |
| 4230 | grpc_test_util |
| 4231 | grpc++ |
| 4232 | grpc |
| 4233 | gpr |
| 4234 | ) |
| 4235 | |
| 4236 | |
| 4237 | endif (gRPC_BUILD_TESTS) |
| 4238 | if (gRPC_BUILD_TESTS) |
| 4239 | |
| 4240 | add_library(interop_client_main |
| 4241 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4242 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4243 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4244 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4245 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4246 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4247 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4248 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4249 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4250 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4251 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4252 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4253 | test/cpp/interop/client.cc |
| 4254 | test/cpp/interop/interop_client.cc |
| 4255 | ) |
| 4256 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4257 | if(WIN32 AND MSVC) |
| 4258 | set_target_properties(interop_client_main PROPERTIES COMPILE_PDB_NAME "interop_client_main" |
| 4259 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4260 | ) |
| 4261 | if (gRPC_INSTALL) |
| 4262 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4263 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4264 | ) |
| 4265 | endif() |
| 4266 | endif() |
| 4267 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4268 | protobuf_generate_grpc_cpp( |
| 4269 | src/proto/grpc/testing/empty.proto |
| 4270 | ) |
| 4271 | protobuf_generate_grpc_cpp( |
| 4272 | src/proto/grpc/testing/messages.proto |
| 4273 | ) |
| 4274 | protobuf_generate_grpc_cpp( |
| 4275 | src/proto/grpc/testing/test.proto |
| 4276 | ) |
| 4277 | |
| 4278 | target_include_directories(interop_client_main |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4279 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4280 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4281 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4282 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4283 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4284 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4285 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4286 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4287 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4288 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4289 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4290 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4291 | PRIVATE third_party/googletest/googletest/include |
| 4292 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4293 | PRIVATE third_party/googletest/googlemock/include |
| 4294 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4295 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4296 | ) |
| 4297 | |
| 4298 | target_link_libraries(interop_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4299 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4300 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4301 | interop_client_helper |
| 4302 | grpc++_test_util |
| 4303 | grpc_test_util |
| 4304 | grpc++ |
| 4305 | grpc |
| 4306 | gpr_test_util |
| 4307 | gpr |
| 4308 | grpc++_test_config |
| 4309 | ) |
| 4310 | |
| 4311 | |
| 4312 | endif (gRPC_BUILD_TESTS) |
| 4313 | if (gRPC_BUILD_TESTS) |
| 4314 | |
| 4315 | add_library(interop_server_helper |
| 4316 | test/cpp/interop/server_helper.cc |
| 4317 | ) |
| 4318 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4319 | if(WIN32 AND MSVC) |
| 4320 | set_target_properties(interop_server_helper PROPERTIES COMPILE_PDB_NAME "interop_server_helper" |
| 4321 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4322 | ) |
| 4323 | if (gRPC_INSTALL) |
| 4324 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4325 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4326 | ) |
| 4327 | endif() |
| 4328 | endif() |
| 4329 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4330 | |
| 4331 | target_include_directories(interop_server_helper |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4332 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4333 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4334 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4335 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4336 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4337 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4338 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4339 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4340 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4341 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4342 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4343 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4344 | PRIVATE third_party/googletest/googletest/include |
| 4345 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4346 | PRIVATE third_party/googletest/googlemock/include |
| 4347 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4348 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4349 | ) |
| 4350 | |
| 4351 | target_link_libraries(interop_server_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4352 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4353 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4354 | grpc++_test_util |
| 4355 | grpc_test_util |
| 4356 | grpc++ |
| 4357 | grpc |
| 4358 | gpr |
| 4359 | ) |
| 4360 | |
| 4361 | |
| 4362 | endif (gRPC_BUILD_TESTS) |
| 4363 | if (gRPC_BUILD_TESTS) |
| 4364 | |
| 4365 | add_library(interop_server_lib |
| 4366 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4367 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4368 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4369 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4370 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4371 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4372 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4373 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4374 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4375 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4376 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4377 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4378 | test/cpp/interop/interop_server.cc |
| 4379 | ) |
| 4380 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4381 | if(WIN32 AND MSVC) |
| 4382 | set_target_properties(interop_server_lib PROPERTIES COMPILE_PDB_NAME "interop_server_lib" |
| 4383 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4384 | ) |
| 4385 | if (gRPC_INSTALL) |
| 4386 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_lib.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4387 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4388 | ) |
| 4389 | endif() |
| 4390 | endif() |
| 4391 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4392 | protobuf_generate_grpc_cpp( |
| 4393 | src/proto/grpc/testing/empty.proto |
| 4394 | ) |
| 4395 | protobuf_generate_grpc_cpp( |
| 4396 | src/proto/grpc/testing/messages.proto |
| 4397 | ) |
| 4398 | protobuf_generate_grpc_cpp( |
| 4399 | src/proto/grpc/testing/test.proto |
| 4400 | ) |
| 4401 | |
| 4402 | target_include_directories(interop_server_lib |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4403 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4404 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4405 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4406 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4407 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4408 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4409 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4410 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4411 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4412 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4413 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4414 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4415 | PRIVATE third_party/googletest/googletest/include |
| 4416 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4417 | PRIVATE third_party/googletest/googlemock/include |
| 4418 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4419 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4420 | ) |
| 4421 | |
| 4422 | target_link_libraries(interop_server_lib |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4423 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4424 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4425 | interop_server_helper |
| 4426 | grpc++_test_util |
| 4427 | grpc_test_util |
| 4428 | grpc++ |
| 4429 | grpc |
| 4430 | gpr_test_util |
| 4431 | gpr |
| 4432 | grpc++_test_config |
| 4433 | ) |
| 4434 | |
| 4435 | |
| 4436 | endif (gRPC_BUILD_TESTS) |
| 4437 | if (gRPC_BUILD_TESTS) |
| 4438 | |
| 4439 | add_library(interop_server_main |
| 4440 | test/cpp/interop/interop_server_bootstrap.cc |
| 4441 | ) |
| 4442 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4443 | if(WIN32 AND MSVC) |
| 4444 | set_target_properties(interop_server_main PROPERTIES COMPILE_PDB_NAME "interop_server_main" |
| 4445 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4446 | ) |
| 4447 | if (gRPC_INSTALL) |
| 4448 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4449 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4450 | ) |
| 4451 | endif() |
| 4452 | endif() |
| 4453 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4454 | |
| 4455 | target_include_directories(interop_server_main |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4456 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4457 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4458 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4459 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4460 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4461 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4462 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4463 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4464 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4465 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4466 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4467 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4468 | PRIVATE third_party/googletest/googletest/include |
| 4469 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4470 | PRIVATE third_party/googletest/googlemock/include |
| 4471 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4472 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4473 | ) |
| 4474 | |
| 4475 | target_link_libraries(interop_server_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4476 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4477 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4478 | interop_server_lib |
| 4479 | ) |
| 4480 | |
| 4481 | |
| 4482 | endif (gRPC_BUILD_TESTS) |
| 4483 | if (gRPC_BUILD_TESTS) |
| 4484 | |
| 4485 | add_library(qps |
| 4486 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4487 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4488 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4489 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4490 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 4491 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 4492 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 4493 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 4494 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 4495 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 4496 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 4497 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
| 4498 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 4499 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 4500 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 4501 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 4502 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 4503 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 4504 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 4505 | ${_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] | 4506 | test/cpp/qps/benchmark_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4507 | test/cpp/qps/client_async.cc |
| 4508 | test/cpp/qps/client_sync.cc |
| 4509 | test/cpp/qps/driver.cc |
| 4510 | test/cpp/qps/parse_json.cc |
| 4511 | test/cpp/qps/qps_worker.cc |
| 4512 | test/cpp/qps/report.cc |
| 4513 | test/cpp/qps/server_async.cc |
| 4514 | test/cpp/qps/server_sync.cc |
| 4515 | test/cpp/qps/usage_timer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4516 | ) |
| 4517 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4518 | if(WIN32 AND MSVC) |
| 4519 | set_target_properties(qps PROPERTIES COMPILE_PDB_NAME "qps" |
| 4520 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4521 | ) |
| 4522 | if (gRPC_INSTALL) |
| 4523 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qps.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4524 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4525 | ) |
| 4526 | endif() |
| 4527 | endif() |
| 4528 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4529 | protobuf_generate_grpc_cpp( |
| 4530 | src/proto/grpc/testing/messages.proto |
| 4531 | ) |
| 4532 | protobuf_generate_grpc_cpp( |
| 4533 | src/proto/grpc/testing/payloads.proto |
| 4534 | ) |
| 4535 | protobuf_generate_grpc_cpp( |
| 4536 | src/proto/grpc/testing/stats.proto |
| 4537 | ) |
| 4538 | protobuf_generate_grpc_cpp( |
| 4539 | src/proto/grpc/testing/control.proto |
| 4540 | ) |
| 4541 | protobuf_generate_grpc_cpp( |
| 4542 | src/proto/grpc/testing/services.proto |
| 4543 | ) |
| 4544 | |
| 4545 | target_include_directories(qps |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4546 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4547 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4548 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4549 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4550 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4551 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4552 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4553 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4554 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4555 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4556 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4557 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4558 | PRIVATE third_party/googletest/googletest/include |
| 4559 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4560 | PRIVATE third_party/googletest/googlemock/include |
| 4561 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4562 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4563 | ) |
| 4564 | |
| 4565 | target_link_libraries(qps |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4566 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4567 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4568 | grpc_test_util |
| 4569 | grpc++_test_util |
| 4570 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 4571 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4572 | ) |
| 4573 | |
| 4574 | |
| 4575 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4576 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 4577 | add_library(grpc_csharp_ext SHARED |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4578 | src/csharp/ext/grpc_csharp_ext.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4579 | ) |
| 4580 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4581 | if(WIN32 AND MSVC) |
| 4582 | set_target_properties(grpc_csharp_ext PROPERTIES COMPILE_PDB_NAME "grpc_csharp_ext" |
| 4583 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4584 | ) |
| 4585 | if (gRPC_INSTALL) |
| 4586 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_csharp_ext.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4587 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4588 | ) |
| 4589 | endif() |
| 4590 | endif() |
| 4591 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4592 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4593 | target_include_directories(grpc_csharp_ext |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4594 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4595 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4596 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4597 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4598 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4599 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4600 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4601 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4602 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4603 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4604 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4605 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4606 | ) |
| 4607 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4608 | target_link_libraries(grpc_csharp_ext |
| 4609 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4610 | grpc |
| 4611 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4612 | ) |
| 4613 | |
| 4614 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4615 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4616 | if (gRPC_INSTALL) |
| 4617 | install(TARGETS grpc_csharp_ext EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4618 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4619 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4620 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4621 | ) |
| 4622 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4623 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4624 | if (gRPC_BUILD_TESTS) |
| 4625 | |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4626 | add_library(ares |
Yuchen Zeng | 6694bb0 | 2017-01-23 17:09:51 -0800 | [diff] [blame] | 4627 | third_party/cares/cares/ares__close_sockets.c |
| 4628 | third_party/cares/cares/ares__get_hostent.c |
| 4629 | third_party/cares/cares/ares__read_line.c |
| 4630 | third_party/cares/cares/ares__timeval.c |
| 4631 | third_party/cares/cares/ares_cancel.c |
| 4632 | third_party/cares/cares/ares_create_query.c |
| 4633 | third_party/cares/cares/ares_data.c |
| 4634 | third_party/cares/cares/ares_destroy.c |
| 4635 | third_party/cares/cares/ares_expand_name.c |
| 4636 | third_party/cares/cares/ares_expand_string.c |
| 4637 | third_party/cares/cares/ares_fds.c |
| 4638 | third_party/cares/cares/ares_free_hostent.c |
| 4639 | third_party/cares/cares/ares_free_string.c |
| 4640 | third_party/cares/cares/ares_getenv.c |
| 4641 | third_party/cares/cares/ares_gethostbyaddr.c |
| 4642 | third_party/cares/cares/ares_gethostbyname.c |
| 4643 | third_party/cares/cares/ares_getnameinfo.c |
| 4644 | third_party/cares/cares/ares_getopt.c |
| 4645 | third_party/cares/cares/ares_getsock.c |
| 4646 | third_party/cares/cares/ares_init.c |
| 4647 | third_party/cares/cares/ares_library_init.c |
| 4648 | third_party/cares/cares/ares_llist.c |
| 4649 | third_party/cares/cares/ares_mkquery.c |
| 4650 | third_party/cares/cares/ares_nowarn.c |
| 4651 | third_party/cares/cares/ares_options.c |
| 4652 | third_party/cares/cares/ares_parse_a_reply.c |
| 4653 | third_party/cares/cares/ares_parse_aaaa_reply.c |
| 4654 | third_party/cares/cares/ares_parse_mx_reply.c |
| 4655 | third_party/cares/cares/ares_parse_naptr_reply.c |
| 4656 | third_party/cares/cares/ares_parse_ns_reply.c |
| 4657 | third_party/cares/cares/ares_parse_ptr_reply.c |
| 4658 | third_party/cares/cares/ares_parse_soa_reply.c |
| 4659 | third_party/cares/cares/ares_parse_srv_reply.c |
| 4660 | third_party/cares/cares/ares_parse_txt_reply.c |
| 4661 | third_party/cares/cares/ares_platform.c |
| 4662 | third_party/cares/cares/ares_process.c |
| 4663 | third_party/cares/cares/ares_query.c |
| 4664 | third_party/cares/cares/ares_search.c |
| 4665 | third_party/cares/cares/ares_send.c |
| 4666 | third_party/cares/cares/ares_strcasecmp.c |
| 4667 | third_party/cares/cares/ares_strdup.c |
| 4668 | third_party/cares/cares/ares_strerror.c |
| 4669 | third_party/cares/cares/ares_timeout.c |
| 4670 | third_party/cares/cares/ares_version.c |
| 4671 | third_party/cares/cares/ares_writev.c |
| 4672 | third_party/cares/cares/bitncmp.c |
| 4673 | third_party/cares/cares/inet_net_pton.c |
| 4674 | third_party/cares/cares/inet_ntop.c |
| 4675 | third_party/cares/cares/windows_port.c |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4676 | ) |
| 4677 | |
Yuchen Zeng | 2c97708 | 2017-02-27 13:35:41 -0800 | [diff] [blame] | 4678 | if(WIN32 AND MSVC) |
| 4679 | set_target_properties(ares PROPERTIES COMPILE_PDB_NAME "ares" |
| 4680 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4681 | ) |
| 4682 | if (gRPC_INSTALL) |
| 4683 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ares.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4684 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Yuchen Zeng | 2c97708 | 2017-02-27 13:35:41 -0800 | [diff] [blame] | 4685 | ) |
| 4686 | endif() |
| 4687 | endif() |
| 4688 | |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4689 | |
| 4690 | target_include_directories(ares |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4691 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4692 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4693 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4694 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4695 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Yuchen Zeng | 1492f6c | 2017-02-02 12:42:54 -0800 | [diff] [blame] | 4696 | PRIVATE ${BENCHMARK}/include |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4697 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4698 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4699 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4700 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4701 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4702 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4703 | ) |
| 4704 | |
| 4705 | target_link_libraries(ares |
| 4706 | ${_gRPC_SSL_LIBRARIES} |
Yuchen Zeng | 1492f6c | 2017-02-02 12:42:54 -0800 | [diff] [blame] | 4707 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4708 | ) |
| 4709 | |
| 4710 | |
| 4711 | endif (gRPC_BUILD_TESTS) |
| 4712 | if (gRPC_BUILD_TESTS) |
| 4713 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4714 | add_library(bad_client_test |
| 4715 | test/core/bad_client/bad_client.c |
| 4716 | ) |
| 4717 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4718 | if(WIN32 AND MSVC) |
| 4719 | set_target_properties(bad_client_test PROPERTIES COMPILE_PDB_NAME "bad_client_test" |
| 4720 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4721 | ) |
| 4722 | if (gRPC_INSTALL) |
| 4723 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_client_test.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4724 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4725 | ) |
| 4726 | endif() |
| 4727 | endif() |
| 4728 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4729 | |
| 4730 | target_include_directories(bad_client_test |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4731 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4732 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4733 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4734 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4735 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4736 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 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 | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4739 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4740 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 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(bad_client_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_unsecure |
| 4748 | grpc_unsecure |
| 4749 | gpr_test_util |
| 4750 | gpr |
| 4751 | ) |
| 4752 | |
| 4753 | |
| 4754 | endif (gRPC_BUILD_TESTS) |
| 4755 | if (gRPC_BUILD_TESTS) |
| 4756 | |
| 4757 | add_library(bad_ssl_test_server |
| 4758 | test/core/bad_ssl/server_common.c |
| 4759 | ) |
| 4760 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4761 | if(WIN32 AND MSVC) |
| 4762 | set_target_properties(bad_ssl_test_server PROPERTIES COMPILE_PDB_NAME "bad_ssl_test_server" |
| 4763 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4764 | ) |
| 4765 | if (gRPC_INSTALL) |
| 4766 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_ssl_test_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4767 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4768 | ) |
| 4769 | endif() |
| 4770 | endif() |
| 4771 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4772 | |
| 4773 | target_include_directories(bad_ssl_test_server |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4774 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4775 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4776 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4777 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4778 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4779 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4780 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4781 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4782 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4783 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4784 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4785 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4786 | ) |
| 4787 | |
| 4788 | target_link_libraries(bad_ssl_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4789 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4790 | grpc_test_util |
| 4791 | grpc |
| 4792 | gpr_test_util |
| 4793 | gpr |
| 4794 | ) |
| 4795 | |
| 4796 | |
| 4797 | endif (gRPC_BUILD_TESTS) |
| 4798 | if (gRPC_BUILD_TESTS) |
| 4799 | |
| 4800 | add_library(end2end_tests |
| 4801 | test/core/end2end/end2end_tests.c |
| 4802 | test/core/end2end/end2end_test_utils.c |
| 4803 | test/core/end2end/tests/authority_not_supported.c |
| 4804 | test/core/end2end/tests/bad_hostname.c |
Yuchen Zeng | af5c505 | 2017-02-28 16:24:00 -0800 | [diff] [blame] | 4805 | test/core/end2end/tests/bad_ping.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4806 | test/core/end2end/tests/binary_metadata.c |
| 4807 | test/core/end2end/tests/call_creds.c |
| 4808 | test/core/end2end/tests/cancel_after_accept.c |
| 4809 | test/core/end2end/tests/cancel_after_client_done.c |
| 4810 | test/core/end2end/tests/cancel_after_invoke.c |
Muxi Yan | d19c112 | 2017-06-23 17:00:20 -0700 | [diff] [blame] | 4811 | test/core/end2end/tests/cancel_after_round_trip.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4812 | test/core/end2end/tests/cancel_before_invoke.c |
| 4813 | test/core/end2end/tests/cancel_in_a_vacuum.c |
| 4814 | test/core/end2end/tests/cancel_with_status.c |
| 4815 | test/core/end2end/tests/compressed_payload.c |
| 4816 | test/core/end2end/tests/connectivity.c |
| 4817 | test/core/end2end/tests/default_host.c |
| 4818 | test/core/end2end/tests/disappearing_server.c |
| 4819 | test/core/end2end/tests/empty_batch.c |
| 4820 | test/core/end2end/tests/filter_call_init_fails.c |
| 4821 | test/core/end2end/tests/filter_causes_close.c |
| 4822 | test/core/end2end/tests/filter_latency.c |
| 4823 | test/core/end2end/tests/graceful_server_shutdown.c |
| 4824 | test/core/end2end/tests/high_initial_seqno.c |
| 4825 | test/core/end2end/tests/hpack_size.c |
| 4826 | test/core/end2end/tests/idempotent_request.c |
| 4827 | test/core/end2end/tests/invoke_large_request.c |
Yuchen Zeng | 990d9fe | 2017-02-26 16:54:18 -0800 | [diff] [blame] | 4828 | test/core/end2end/tests/keepalive_timeout.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4829 | test/core/end2end/tests/large_metadata.c |
| 4830 | test/core/end2end/tests/load_reporting_hook.c |
| 4831 | test/core/end2end/tests/max_concurrent_streams.c |
Yuchen Zeng | 22321fc | 2017-03-28 19:10:09 -0700 | [diff] [blame] | 4832 | test/core/end2end/tests/max_connection_age.c |
Yuchen Zeng | b2caafc | 2017-03-29 01:54:08 -0700 | [diff] [blame] | 4833 | test/core/end2end/tests/max_connection_idle.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4834 | test/core/end2end/tests/max_message_length.c |
| 4835 | test/core/end2end/tests/negative_deadline.c |
| 4836 | test/core/end2end/tests/network_status_change.c |
| 4837 | test/core/end2end/tests/no_logging.c |
| 4838 | test/core/end2end/tests/no_op.c |
| 4839 | test/core/end2end/tests/payload.c |
| 4840 | test/core/end2end/tests/ping.c |
| 4841 | test/core/end2end/tests/ping_pong_streaming.c |
Yash Tibrewal | c62ce80 | 2017-07-20 16:48:01 -0700 | [diff] [blame] | 4842 | test/core/end2end/tests/proxy_auth.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4843 | test/core/end2end/tests/registered_call.c |
| 4844 | test/core/end2end/tests/request_with_flags.c |
| 4845 | test/core/end2end/tests/request_with_payload.c |
| 4846 | test/core/end2end/tests/resource_quota_server.c |
| 4847 | test/core/end2end/tests/server_finishes_request.c |
| 4848 | test/core/end2end/tests/shutdown_finishes_calls.c |
| 4849 | test/core/end2end/tests/shutdown_finishes_tags.c |
| 4850 | test/core/end2end/tests/simple_cacheable_request.c |
| 4851 | test/core/end2end/tests/simple_delayed_request.c |
| 4852 | test/core/end2end/tests/simple_metadata.c |
| 4853 | test/core/end2end/tests/simple_request.c |
| 4854 | test/core/end2end/tests/streaming_error_response.c |
| 4855 | test/core/end2end/tests/trailing_metadata.c |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 4856 | test/core/end2end/tests/workaround_cronet_compression.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4857 | test/core/end2end/tests/write_buffering.c |
| 4858 | test/core/end2end/tests/write_buffering_at_end.c |
| 4859 | ) |
| 4860 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4861 | if(WIN32 AND MSVC) |
| 4862 | set_target_properties(end2end_tests PROPERTIES COMPILE_PDB_NAME "end2end_tests" |
| 4863 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4864 | ) |
| 4865 | if (gRPC_INSTALL) |
| 4866 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4867 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4868 | ) |
| 4869 | endif() |
| 4870 | endif() |
| 4871 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4872 | |
| 4873 | target_include_directories(end2end_tests |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4874 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4875 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4876 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4877 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4878 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4879 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4880 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4881 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4882 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4883 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4884 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4885 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4886 | ) |
| 4887 | |
| 4888 | target_link_libraries(end2end_tests |
| 4889 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4890 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4891 | grpc_test_util |
| 4892 | grpc |
| 4893 | gpr_test_util |
| 4894 | gpr |
| 4895 | ) |
| 4896 | |
| 4897 | |
| 4898 | endif (gRPC_BUILD_TESTS) |
| 4899 | if (gRPC_BUILD_TESTS) |
| 4900 | |
| 4901 | add_library(end2end_nosec_tests |
| 4902 | test/core/end2end/end2end_nosec_tests.c |
| 4903 | test/core/end2end/end2end_test_utils.c |
| 4904 | test/core/end2end/tests/authority_not_supported.c |
| 4905 | test/core/end2end/tests/bad_hostname.c |
Yuchen Zeng | af5c505 | 2017-02-28 16:24:00 -0800 | [diff] [blame] | 4906 | test/core/end2end/tests/bad_ping.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4907 | test/core/end2end/tests/binary_metadata.c |
| 4908 | test/core/end2end/tests/cancel_after_accept.c |
| 4909 | test/core/end2end/tests/cancel_after_client_done.c |
| 4910 | test/core/end2end/tests/cancel_after_invoke.c |
Muxi Yan | d19c112 | 2017-06-23 17:00:20 -0700 | [diff] [blame] | 4911 | test/core/end2end/tests/cancel_after_round_trip.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4912 | test/core/end2end/tests/cancel_before_invoke.c |
| 4913 | test/core/end2end/tests/cancel_in_a_vacuum.c |
| 4914 | test/core/end2end/tests/cancel_with_status.c |
| 4915 | test/core/end2end/tests/compressed_payload.c |
| 4916 | test/core/end2end/tests/connectivity.c |
| 4917 | test/core/end2end/tests/default_host.c |
| 4918 | test/core/end2end/tests/disappearing_server.c |
| 4919 | test/core/end2end/tests/empty_batch.c |
| 4920 | test/core/end2end/tests/filter_call_init_fails.c |
| 4921 | test/core/end2end/tests/filter_causes_close.c |
| 4922 | test/core/end2end/tests/filter_latency.c |
| 4923 | test/core/end2end/tests/graceful_server_shutdown.c |
| 4924 | test/core/end2end/tests/high_initial_seqno.c |
| 4925 | test/core/end2end/tests/hpack_size.c |
| 4926 | test/core/end2end/tests/idempotent_request.c |
| 4927 | test/core/end2end/tests/invoke_large_request.c |
Yuchen Zeng | 990d9fe | 2017-02-26 16:54:18 -0800 | [diff] [blame] | 4928 | test/core/end2end/tests/keepalive_timeout.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4929 | test/core/end2end/tests/large_metadata.c |
| 4930 | test/core/end2end/tests/load_reporting_hook.c |
| 4931 | test/core/end2end/tests/max_concurrent_streams.c |
Yuchen Zeng | 22321fc | 2017-03-28 19:10:09 -0700 | [diff] [blame] | 4932 | test/core/end2end/tests/max_connection_age.c |
Yuchen Zeng | b2caafc | 2017-03-29 01:54:08 -0700 | [diff] [blame] | 4933 | test/core/end2end/tests/max_connection_idle.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4934 | test/core/end2end/tests/max_message_length.c |
| 4935 | test/core/end2end/tests/negative_deadline.c |
| 4936 | test/core/end2end/tests/network_status_change.c |
| 4937 | test/core/end2end/tests/no_logging.c |
| 4938 | test/core/end2end/tests/no_op.c |
| 4939 | test/core/end2end/tests/payload.c |
| 4940 | test/core/end2end/tests/ping.c |
| 4941 | test/core/end2end/tests/ping_pong_streaming.c |
Yash Tibrewal | c62ce80 | 2017-07-20 16:48:01 -0700 | [diff] [blame] | 4942 | test/core/end2end/tests/proxy_auth.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4943 | test/core/end2end/tests/registered_call.c |
| 4944 | test/core/end2end/tests/request_with_flags.c |
| 4945 | test/core/end2end/tests/request_with_payload.c |
| 4946 | test/core/end2end/tests/resource_quota_server.c |
| 4947 | test/core/end2end/tests/server_finishes_request.c |
| 4948 | test/core/end2end/tests/shutdown_finishes_calls.c |
| 4949 | test/core/end2end/tests/shutdown_finishes_tags.c |
| 4950 | test/core/end2end/tests/simple_cacheable_request.c |
| 4951 | test/core/end2end/tests/simple_delayed_request.c |
| 4952 | test/core/end2end/tests/simple_metadata.c |
| 4953 | test/core/end2end/tests/simple_request.c |
| 4954 | test/core/end2end/tests/streaming_error_response.c |
| 4955 | test/core/end2end/tests/trailing_metadata.c |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 4956 | test/core/end2end/tests/workaround_cronet_compression.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4957 | test/core/end2end/tests/write_buffering.c |
| 4958 | test/core/end2end/tests/write_buffering_at_end.c |
| 4959 | ) |
| 4960 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4961 | if(WIN32 AND MSVC) |
| 4962 | set_target_properties(end2end_nosec_tests PROPERTIES COMPILE_PDB_NAME "end2end_nosec_tests" |
| 4963 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4964 | ) |
| 4965 | if (gRPC_INSTALL) |
| 4966 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_nosec_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4967 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4968 | ) |
| 4969 | endif() |
| 4970 | endif() |
| 4971 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4972 | |
| 4973 | target_include_directories(end2end_nosec_tests |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4974 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4975 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4976 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4977 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4978 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4979 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4980 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4981 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4982 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4983 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4984 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4985 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4986 | ) |
| 4987 | |
| 4988 | target_link_libraries(end2end_nosec_tests |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4989 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4990 | grpc_test_util_unsecure |
| 4991 | grpc_unsecure |
| 4992 | gpr_test_util |
| 4993 | gpr |
| 4994 | ) |
| 4995 | |
| 4996 | |
| 4997 | endif (gRPC_BUILD_TESTS) |
| 4998 | |
| 4999 | if (gRPC_BUILD_TESTS) |
| 5000 | |
| 5001 | add_executable(alarm_test |
| 5002 | test/core/surface/alarm_test.c |
| 5003 | ) |
| 5004 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5005 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5006 | target_include_directories(alarm_test |
| 5007 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5008 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5009 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5010 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5011 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5012 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5013 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5014 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5015 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5016 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5017 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5018 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5019 | ) |
| 5020 | |
| 5021 | target_link_libraries(alarm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5022 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5023 | grpc_test_util |
| 5024 | grpc |
| 5025 | gpr_test_util |
| 5026 | gpr |
| 5027 | ) |
| 5028 | |
| 5029 | endif (gRPC_BUILD_TESTS) |
| 5030 | if (gRPC_BUILD_TESTS) |
| 5031 | |
| 5032 | add_executable(algorithm_test |
| 5033 | test/core/compression/algorithm_test.c |
| 5034 | ) |
| 5035 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5036 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5037 | target_include_directories(algorithm_test |
| 5038 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5039 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5040 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5041 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5042 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5043 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5044 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5045 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5046 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5047 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5048 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5049 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5050 | ) |
| 5051 | |
| 5052 | target_link_libraries(algorithm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5053 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5054 | grpc_test_util |
| 5055 | grpc |
| 5056 | gpr_test_util |
| 5057 | gpr |
| 5058 | ) |
| 5059 | |
| 5060 | endif (gRPC_BUILD_TESTS) |
| 5061 | if (gRPC_BUILD_TESTS) |
| 5062 | |
| 5063 | add_executable(alloc_test |
| 5064 | test/core/support/alloc_test.c |
| 5065 | ) |
| 5066 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5067 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5068 | target_include_directories(alloc_test |
| 5069 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5070 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5071 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5072 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5073 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5074 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5075 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5076 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5077 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5078 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5079 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5080 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5081 | ) |
| 5082 | |
| 5083 | target_link_libraries(alloc_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5084 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5085 | gpr_test_util |
| 5086 | gpr |
| 5087 | ) |
| 5088 | |
| 5089 | endif (gRPC_BUILD_TESTS) |
| 5090 | if (gRPC_BUILD_TESTS) |
| 5091 | |
| 5092 | add_executable(alpn_test |
| 5093 | test/core/transport/chttp2/alpn_test.c |
| 5094 | ) |
| 5095 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5096 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5097 | target_include_directories(alpn_test |
| 5098 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5099 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5100 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5101 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5102 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5103 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5104 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5105 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5106 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5107 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5108 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5109 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5110 | ) |
| 5111 | |
| 5112 | target_link_libraries(alpn_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5113 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5114 | grpc_test_util |
| 5115 | grpc |
| 5116 | gpr_test_util |
| 5117 | gpr |
| 5118 | ) |
| 5119 | |
| 5120 | endif (gRPC_BUILD_TESTS) |
| 5121 | if (gRPC_BUILD_TESTS) |
| 5122 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 5123 | add_executable(arena_test |
| 5124 | test/core/support/arena_test.c |
| 5125 | ) |
| 5126 | |
| 5127 | |
| 5128 | target_include_directories(arena_test |
| 5129 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5130 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5131 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5132 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5133 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5134 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5135 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5136 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5137 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5138 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5139 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 5140 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5141 | ) |
| 5142 | |
| 5143 | target_link_libraries(arena_test |
| 5144 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5145 | gpr_test_util |
| 5146 | gpr |
| 5147 | ) |
| 5148 | |
| 5149 | endif (gRPC_BUILD_TESTS) |
| 5150 | if (gRPC_BUILD_TESTS) |
| 5151 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5152 | add_executable(bad_server_response_test |
| 5153 | test/core/end2end/bad_server_response_test.c |
| 5154 | ) |
| 5155 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5156 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5157 | target_include_directories(bad_server_response_test |
| 5158 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5159 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5160 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5161 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5162 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5163 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5164 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5165 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5166 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5167 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5168 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5169 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5170 | ) |
| 5171 | |
| 5172 | target_link_libraries(bad_server_response_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5173 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5174 | test_tcp_server |
| 5175 | grpc_test_util |
| 5176 | grpc |
| 5177 | gpr_test_util |
| 5178 | gpr |
| 5179 | ) |
| 5180 | |
| 5181 | endif (gRPC_BUILD_TESTS) |
| 5182 | if (gRPC_BUILD_TESTS) |
| 5183 | |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 5184 | add_executable(bdp_estimator_test |
| 5185 | test/core/transport/bdp_estimator_test.c |
| 5186 | ) |
| 5187 | |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 5188 | |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 5189 | target_include_directories(bdp_estimator_test |
| 5190 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5191 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5192 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5193 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 5194 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 5195 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5196 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5197 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5198 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5199 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5200 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 5201 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5202 | ) |
| 5203 | |
| 5204 | target_link_libraries(bdp_estimator_test |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 5205 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 5206 | grpc_test_util |
| 5207 | grpc |
| 5208 | gpr_test_util |
| 5209 | gpr |
| 5210 | ) |
| 5211 | |
| 5212 | endif (gRPC_BUILD_TESTS) |
| 5213 | if (gRPC_BUILD_TESTS) |
| 5214 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5215 | add_executable(bin_decoder_test |
| 5216 | test/core/transport/chttp2/bin_decoder_test.c |
| 5217 | ) |
| 5218 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5219 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5220 | target_include_directories(bin_decoder_test |
| 5221 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5222 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5223 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5224 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5225 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5226 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5227 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5228 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5229 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5230 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5231 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5232 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5233 | ) |
| 5234 | |
| 5235 | target_link_libraries(bin_decoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5236 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5237 | grpc_test_util |
| 5238 | grpc |
| 5239 | ) |
| 5240 | |
| 5241 | endif (gRPC_BUILD_TESTS) |
| 5242 | if (gRPC_BUILD_TESTS) |
| 5243 | |
| 5244 | add_executable(bin_encoder_test |
| 5245 | test/core/transport/chttp2/bin_encoder_test.c |
| 5246 | ) |
| 5247 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5248 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5249 | target_include_directories(bin_encoder_test |
| 5250 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5251 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5252 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5253 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5254 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5255 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5256 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5257 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5258 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5259 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5260 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5261 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5262 | ) |
| 5263 | |
| 5264 | target_link_libraries(bin_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5265 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5266 | grpc_test_util |
| 5267 | grpc |
| 5268 | ) |
| 5269 | |
| 5270 | endif (gRPC_BUILD_TESTS) |
| 5271 | if (gRPC_BUILD_TESTS) |
| 5272 | |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 5273 | add_executable(byte_stream_test |
| 5274 | test/core/transport/byte_stream_test.c |
| 5275 | ) |
| 5276 | |
| 5277 | |
| 5278 | target_include_directories(byte_stream_test |
| 5279 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5280 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5281 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5282 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5283 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5284 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5285 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5286 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 5287 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5288 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5289 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5290 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5291 | ) |
| 5292 | |
| 5293 | target_link_libraries(byte_stream_test |
| 5294 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5295 | grpc_test_util |
| 5296 | grpc |
| 5297 | gpr_test_util |
| 5298 | gpr |
| 5299 | ) |
| 5300 | |
| 5301 | endif (gRPC_BUILD_TESTS) |
| 5302 | if (gRPC_BUILD_TESTS) |
| 5303 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5304 | add_executable(census_context_test |
| 5305 | test/core/census/context_test.c |
| 5306 | ) |
| 5307 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5308 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5309 | target_include_directories(census_context_test |
| 5310 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5311 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5312 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5313 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5314 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5315 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5316 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5317 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5318 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5319 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5320 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5321 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5322 | ) |
| 5323 | |
| 5324 | target_link_libraries(census_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5325 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5326 | grpc_test_util |
| 5327 | grpc |
| 5328 | gpr_test_util |
| 5329 | gpr |
| 5330 | ) |
| 5331 | |
| 5332 | endif (gRPC_BUILD_TESTS) |
| 5333 | if (gRPC_BUILD_TESTS) |
| 5334 | |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 5335 | add_executable(census_intrusive_hash_map_test |
| 5336 | test/core/census/intrusive_hash_map_test.c |
| 5337 | ) |
| 5338 | |
| 5339 | |
| 5340 | target_include_directories(census_intrusive_hash_map_test |
| 5341 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5342 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5343 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5344 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5345 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5346 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5347 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5348 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 5349 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5350 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5351 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5352 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5353 | ) |
| 5354 | |
| 5355 | target_link_libraries(census_intrusive_hash_map_test |
| 5356 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5357 | grpc_test_util |
| 5358 | grpc |
| 5359 | gpr_test_util |
| 5360 | gpr |
| 5361 | ) |
| 5362 | |
| 5363 | endif (gRPC_BUILD_TESTS) |
| 5364 | if (gRPC_BUILD_TESTS) |
| 5365 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5366 | add_executable(census_resource_test |
| 5367 | test/core/census/resource_test.c |
| 5368 | ) |
| 5369 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5370 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5371 | target_include_directories(census_resource_test |
| 5372 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5373 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5374 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5375 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5376 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5377 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5378 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5379 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5380 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5381 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5382 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5383 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5384 | ) |
| 5385 | |
| 5386 | target_link_libraries(census_resource_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5387 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5388 | grpc_test_util |
| 5389 | grpc |
| 5390 | gpr_test_util |
| 5391 | gpr |
| 5392 | ) |
| 5393 | |
| 5394 | endif (gRPC_BUILD_TESTS) |
| 5395 | if (gRPC_BUILD_TESTS) |
| 5396 | |
| 5397 | add_executable(census_trace_context_test |
| 5398 | test/core/census/trace_context_test.c |
| 5399 | ) |
| 5400 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5401 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5402 | target_include_directories(census_trace_context_test |
| 5403 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5404 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5405 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5406 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5407 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5408 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5409 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5410 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5411 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5412 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5413 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5414 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5415 | ) |
| 5416 | |
| 5417 | target_link_libraries(census_trace_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5418 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5419 | grpc_test_util |
| 5420 | grpc |
| 5421 | gpr_test_util |
| 5422 | gpr |
| 5423 | ) |
| 5424 | |
| 5425 | endif (gRPC_BUILD_TESTS) |
| 5426 | if (gRPC_BUILD_TESTS) |
| 5427 | |
| 5428 | add_executable(channel_create_test |
| 5429 | test/core/surface/channel_create_test.c |
| 5430 | ) |
| 5431 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5432 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5433 | target_include_directories(channel_create_test |
| 5434 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5435 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5436 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5437 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5438 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5439 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5440 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5441 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5442 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5443 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5444 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5445 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5446 | ) |
| 5447 | |
| 5448 | target_link_libraries(channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5449 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5450 | grpc_test_util |
| 5451 | grpc |
| 5452 | gpr_test_util |
| 5453 | gpr |
| 5454 | ) |
| 5455 | |
| 5456 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5457 | |
| 5458 | add_executable(check_epollexclusive |
| 5459 | test/build/check_epollexclusive.c |
| 5460 | ) |
| 5461 | |
| 5462 | |
| 5463 | target_include_directories(check_epollexclusive |
| 5464 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5465 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5466 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5467 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5468 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5469 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5470 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5471 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 5472 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5473 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5474 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5475 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5476 | ) |
| 5477 | |
| 5478 | target_link_libraries(check_epollexclusive |
| 5479 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5480 | grpc |
| 5481 | gpr |
| 5482 | ) |
| 5483 | |
| 5484 | |
| 5485 | if (gRPC_INSTALL) |
| 5486 | install(TARGETS check_epollexclusive EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5487 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 5488 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 5489 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5490 | ) |
| 5491 | endif() |
| 5492 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5493 | if (gRPC_BUILD_TESTS) |
| 5494 | |
| 5495 | add_executable(chttp2_hpack_encoder_test |
| 5496 | test/core/transport/chttp2/hpack_encoder_test.c |
| 5497 | ) |
| 5498 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5499 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5500 | target_include_directories(chttp2_hpack_encoder_test |
| 5501 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5502 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5503 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5504 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5505 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5506 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5507 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5508 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5509 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5510 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5511 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5512 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5513 | ) |
| 5514 | |
| 5515 | target_link_libraries(chttp2_hpack_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5516 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5517 | grpc_test_util |
| 5518 | grpc |
| 5519 | gpr_test_util |
| 5520 | gpr |
| 5521 | ) |
| 5522 | |
| 5523 | endif (gRPC_BUILD_TESTS) |
| 5524 | if (gRPC_BUILD_TESTS) |
| 5525 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5526 | add_executable(chttp2_stream_map_test |
| 5527 | test/core/transport/chttp2/stream_map_test.c |
| 5528 | ) |
| 5529 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5530 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5531 | target_include_directories(chttp2_stream_map_test |
| 5532 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5533 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5534 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5535 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5536 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5537 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5538 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5539 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5540 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5541 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5542 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5543 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5544 | ) |
| 5545 | |
| 5546 | target_link_libraries(chttp2_stream_map_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5547 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5548 | grpc_test_util |
| 5549 | grpc |
| 5550 | gpr_test_util |
| 5551 | gpr |
| 5552 | ) |
| 5553 | |
| 5554 | endif (gRPC_BUILD_TESTS) |
| 5555 | if (gRPC_BUILD_TESTS) |
| 5556 | |
| 5557 | add_executable(chttp2_varint_test |
| 5558 | test/core/transport/chttp2/varint_test.c |
| 5559 | ) |
| 5560 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5561 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5562 | target_include_directories(chttp2_varint_test |
| 5563 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5564 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5565 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5566 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5567 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5568 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5569 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5570 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5571 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5572 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5573 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5574 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5575 | ) |
| 5576 | |
| 5577 | target_link_libraries(chttp2_varint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5578 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5579 | grpc_test_util |
| 5580 | grpc |
| 5581 | gpr_test_util |
| 5582 | gpr |
| 5583 | ) |
| 5584 | |
| 5585 | endif (gRPC_BUILD_TESTS) |
| 5586 | if (gRPC_BUILD_TESTS) |
| 5587 | |
| 5588 | add_executable(combiner_test |
| 5589 | test/core/iomgr/combiner_test.c |
| 5590 | ) |
| 5591 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5592 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5593 | target_include_directories(combiner_test |
| 5594 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5595 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5596 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5597 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5598 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5599 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5600 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5601 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5602 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5603 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5604 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5605 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5606 | ) |
| 5607 | |
| 5608 | target_link_libraries(combiner_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5609 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5610 | grpc_test_util |
| 5611 | grpc |
| 5612 | gpr_test_util |
| 5613 | gpr |
| 5614 | ) |
| 5615 | |
| 5616 | endif (gRPC_BUILD_TESTS) |
| 5617 | if (gRPC_BUILD_TESTS) |
| 5618 | |
| 5619 | add_executable(compression_test |
| 5620 | test/core/compression/compression_test.c |
| 5621 | ) |
| 5622 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5623 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5624 | target_include_directories(compression_test |
| 5625 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5626 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5627 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5628 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5629 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5630 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5631 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5632 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5633 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5634 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5635 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5636 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5637 | ) |
| 5638 | |
| 5639 | target_link_libraries(compression_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5640 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5641 | grpc_test_util |
| 5642 | grpc |
| 5643 | gpr_test_util |
| 5644 | gpr |
| 5645 | ) |
| 5646 | |
| 5647 | endif (gRPC_BUILD_TESTS) |
| 5648 | if (gRPC_BUILD_TESTS) |
| 5649 | |
| 5650 | add_executable(concurrent_connectivity_test |
| 5651 | test/core/surface/concurrent_connectivity_test.c |
| 5652 | ) |
| 5653 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5654 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5655 | target_include_directories(concurrent_connectivity_test |
| 5656 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5657 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5658 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5659 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5660 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5661 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5662 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5663 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5664 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5665 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5666 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5667 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5668 | ) |
| 5669 | |
| 5670 | target_link_libraries(concurrent_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5671 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5672 | grpc_test_util |
| 5673 | grpc |
| 5674 | gpr_test_util |
| 5675 | gpr |
| 5676 | ) |
| 5677 | |
| 5678 | endif (gRPC_BUILD_TESTS) |
| 5679 | if (gRPC_BUILD_TESTS) |
| 5680 | |
| 5681 | add_executable(connection_refused_test |
| 5682 | test/core/end2end/connection_refused_test.c |
| 5683 | ) |
| 5684 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5685 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5686 | target_include_directories(connection_refused_test |
| 5687 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5688 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5689 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5690 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5691 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5692 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5693 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5694 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5695 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5696 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5697 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5698 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5699 | ) |
| 5700 | |
| 5701 | target_link_libraries(connection_refused_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5702 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5703 | grpc_test_util |
| 5704 | grpc |
| 5705 | gpr_test_util |
| 5706 | gpr |
| 5707 | ) |
| 5708 | |
| 5709 | endif (gRPC_BUILD_TESTS) |
| 5710 | if (gRPC_BUILD_TESTS) |
| 5711 | |
| 5712 | add_executable(dns_resolver_connectivity_test |
| 5713 | test/core/client_channel/resolvers/dns_resolver_connectivity_test.c |
| 5714 | ) |
| 5715 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5716 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5717 | target_include_directories(dns_resolver_connectivity_test |
| 5718 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5719 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5720 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5721 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5722 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5723 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5724 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5725 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5726 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5727 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5728 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5729 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5730 | ) |
| 5731 | |
| 5732 | target_link_libraries(dns_resolver_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5733 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5734 | grpc_test_util |
| 5735 | grpc |
| 5736 | gpr_test_util |
| 5737 | gpr |
| 5738 | ) |
| 5739 | |
| 5740 | endif (gRPC_BUILD_TESTS) |
| 5741 | if (gRPC_BUILD_TESTS) |
| 5742 | |
| 5743 | add_executable(dns_resolver_test |
| 5744 | test/core/client_channel/resolvers/dns_resolver_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(dns_resolver_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(dns_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5764 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5765 | grpc_test_util |
| 5766 | grpc |
| 5767 | gpr_test_util |
| 5768 | gpr |
| 5769 | ) |
| 5770 | |
| 5771 | endif (gRPC_BUILD_TESTS) |
| 5772 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5773 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5774 | |
| 5775 | add_executable(dualstack_socket_test |
| 5776 | test/core/end2end/dualstack_socket_test.c |
| 5777 | ) |
| 5778 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5779 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5780 | target_include_directories(dualstack_socket_test |
| 5781 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5782 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5783 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5784 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5785 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5786 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5787 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5788 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5789 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5790 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5791 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5792 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5793 | ) |
| 5794 | |
| 5795 | target_link_libraries(dualstack_socket_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5796 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5797 | grpc_test_util |
| 5798 | grpc |
| 5799 | gpr_test_util |
| 5800 | gpr |
| 5801 | ) |
| 5802 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5803 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5804 | endif (gRPC_BUILD_TESTS) |
| 5805 | if (gRPC_BUILD_TESTS) |
| 5806 | |
| 5807 | add_executable(endpoint_pair_test |
| 5808 | test/core/iomgr/endpoint_pair_test.c |
| 5809 | ) |
| 5810 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5811 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5812 | target_include_directories(endpoint_pair_test |
| 5813 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5814 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5815 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5816 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5817 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5818 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5819 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5820 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5821 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5822 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5823 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5824 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5825 | ) |
| 5826 | |
| 5827 | target_link_libraries(endpoint_pair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5828 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5829 | grpc_test_util |
| 5830 | grpc |
| 5831 | gpr_test_util |
| 5832 | gpr |
| 5833 | ) |
| 5834 | |
| 5835 | endif (gRPC_BUILD_TESTS) |
| 5836 | if (gRPC_BUILD_TESTS) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5837 | |
| 5838 | add_executable(error_test |
| 5839 | test/core/iomgr/error_test.c |
| 5840 | ) |
| 5841 | |
| 5842 | |
| 5843 | target_include_directories(error_test |
| 5844 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5845 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5846 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5847 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5848 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5849 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5850 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5851 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5852 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5853 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5854 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5855 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5856 | ) |
| 5857 | |
| 5858 | target_link_libraries(error_test |
| 5859 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5860 | grpc_test_util |
| 5861 | grpc |
| 5862 | gpr_test_util |
| 5863 | gpr |
| 5864 | ) |
| 5865 | |
| 5866 | endif (gRPC_BUILD_TESTS) |
| 5867 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5868 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5869 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5870 | add_executable(ev_epollsig_linux_test |
| 5871 | test/core/iomgr/ev_epollsig_linux_test.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5872 | ) |
| 5873 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5874 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5875 | target_include_directories(ev_epollsig_linux_test |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5876 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5877 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5878 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5879 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5880 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5881 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5882 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5883 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5884 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5885 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5886 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5887 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5888 | ) |
| 5889 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5890 | target_link_libraries(ev_epollsig_linux_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5891 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5892 | grpc_test_util |
| 5893 | grpc |
| 5894 | gpr_test_util |
| 5895 | gpr |
| 5896 | ) |
| 5897 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5898 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5899 | endif (gRPC_BUILD_TESTS) |
| 5900 | if (gRPC_BUILD_TESTS) |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5901 | |
| 5902 | add_executable(fake_resolver_test |
| 5903 | test/core/client_channel/resolvers/fake_resolver_test.c |
| 5904 | ) |
| 5905 | |
| 5906 | |
| 5907 | target_include_directories(fake_resolver_test |
| 5908 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5909 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5910 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5911 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5912 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5913 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5914 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5915 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 5916 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5917 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5918 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5919 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5920 | ) |
| 5921 | |
| 5922 | target_link_libraries(fake_resolver_test |
| 5923 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5924 | grpc_test_util |
| 5925 | grpc |
| 5926 | gpr_test_util |
| 5927 | gpr |
| 5928 | ) |
| 5929 | |
| 5930 | endif (gRPC_BUILD_TESTS) |
| 5931 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5932 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5933 | |
| 5934 | add_executable(fd_conservation_posix_test |
| 5935 | test/core/iomgr/fd_conservation_posix_test.c |
| 5936 | ) |
| 5937 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5938 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5939 | target_include_directories(fd_conservation_posix_test |
| 5940 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5941 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5942 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5943 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5944 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5945 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5946 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5947 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5948 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5949 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5950 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5951 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5952 | ) |
| 5953 | |
| 5954 | target_link_libraries(fd_conservation_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5955 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5956 | grpc_test_util |
| 5957 | grpc |
| 5958 | gpr_test_util |
| 5959 | gpr |
| 5960 | ) |
| 5961 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5962 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5963 | endif (gRPC_BUILD_TESTS) |
| 5964 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5965 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5966 | |
| 5967 | add_executable(fd_posix_test |
| 5968 | test/core/iomgr/fd_posix_test.c |
| 5969 | ) |
| 5970 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5971 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5972 | target_include_directories(fd_posix_test |
| 5973 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5974 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5975 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5976 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5977 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5978 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5979 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5980 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5981 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5982 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5983 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5984 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5985 | ) |
| 5986 | |
| 5987 | target_link_libraries(fd_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5988 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5989 | grpc_test_util |
| 5990 | grpc |
| 5991 | gpr_test_util |
| 5992 | gpr |
| 5993 | ) |
| 5994 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5995 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5996 | endif (gRPC_BUILD_TESTS) |
| 5997 | if (gRPC_BUILD_TESTS) |
| 5998 | |
| 5999 | add_executable(fling_client |
| 6000 | test/core/fling/client.c |
| 6001 | ) |
| 6002 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6003 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6004 | target_include_directories(fling_client |
| 6005 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6006 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6007 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6008 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6009 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6010 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6011 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6012 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6013 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6014 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6015 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6016 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6017 | ) |
| 6018 | |
| 6019 | target_link_libraries(fling_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6020 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6021 | grpc_test_util |
| 6022 | grpc |
| 6023 | gpr_test_util |
| 6024 | gpr |
| 6025 | ) |
| 6026 | |
| 6027 | endif (gRPC_BUILD_TESTS) |
| 6028 | if (gRPC_BUILD_TESTS) |
| 6029 | |
| 6030 | add_executable(fling_server |
| 6031 | test/core/fling/server.c |
| 6032 | ) |
| 6033 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6034 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6035 | target_include_directories(fling_server |
| 6036 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6037 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6038 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6039 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6040 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6041 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6042 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6043 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6044 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6045 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6046 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6047 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6048 | ) |
| 6049 | |
| 6050 | target_link_libraries(fling_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6051 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6052 | grpc_test_util |
| 6053 | grpc |
| 6054 | gpr_test_util |
| 6055 | gpr |
| 6056 | ) |
| 6057 | |
| 6058 | endif (gRPC_BUILD_TESTS) |
| 6059 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6060 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6061 | |
| 6062 | add_executable(fling_stream_test |
| 6063 | test/core/fling/fling_stream_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(fling_stream_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(fling_stream_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6083 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6084 | grpc_test_util |
| 6085 | grpc |
| 6086 | gpr_test_util |
| 6087 | gpr |
| 6088 | ) |
| 6089 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6090 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6091 | endif (gRPC_BUILD_TESTS) |
| 6092 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6093 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6094 | |
| 6095 | add_executable(fling_test |
| 6096 | test/core/fling/fling_test.c |
| 6097 | ) |
| 6098 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6099 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6100 | target_include_directories(fling_test |
| 6101 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6102 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6103 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6104 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6105 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6106 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6107 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6108 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6109 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6110 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6111 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6112 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6113 | ) |
| 6114 | |
| 6115 | target_link_libraries(fling_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6116 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6117 | grpc_test_util |
| 6118 | grpc |
| 6119 | gpr_test_util |
| 6120 | gpr |
| 6121 | ) |
| 6122 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6123 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6124 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 6125 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6126 | add_executable(gen_hpack_tables |
| 6127 | tools/codegen/core/gen_hpack_tables.c |
| 6128 | ) |
| 6129 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6130 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6131 | target_include_directories(gen_hpack_tables |
| 6132 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6133 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6134 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6135 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6136 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6137 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6138 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6139 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6140 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6141 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6142 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6143 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6144 | ) |
| 6145 | |
| 6146 | target_link_libraries(gen_hpack_tables |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6147 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6148 | gpr |
| 6149 | grpc |
| 6150 | ) |
| 6151 | |
| 6152 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6153 | if (gRPC_INSTALL) |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 6154 | install(TARGETS gen_hpack_tables EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6155 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6156 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6157 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 6158 | ) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6159 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6160 | |
| 6161 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6162 | add_executable(gen_legal_metadata_characters |
| 6163 | tools/codegen/core/gen_legal_metadata_characters.c |
| 6164 | ) |
| 6165 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6166 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6167 | target_include_directories(gen_legal_metadata_characters |
| 6168 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6169 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6170 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6171 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6172 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6173 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6174 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6175 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6176 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6177 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6178 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6179 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6180 | ) |
| 6181 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6182 | target_link_libraries(gen_legal_metadata_characters |
| 6183 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6184 | ) |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6185 | |
| 6186 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6187 | if (gRPC_INSTALL) |
| 6188 | install(TARGETS gen_legal_metadata_characters EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6189 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6190 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6191 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6192 | ) |
| 6193 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6194 | |
| 6195 | |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6196 | add_executable(gen_percent_encoding_tables |
| 6197 | tools/codegen/core/gen_percent_encoding_tables.c |
| 6198 | ) |
| 6199 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6200 | |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6201 | target_include_directories(gen_percent_encoding_tables |
| 6202 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6203 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6204 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6205 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6206 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6207 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6208 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6209 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6210 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6211 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6212 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6213 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6214 | ) |
| 6215 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6216 | target_link_libraries(gen_percent_encoding_tables |
| 6217 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6218 | ) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6219 | |
| 6220 | |
Craig Tiller | 426dcde | 2016-09-07 15:43:10 -0700 | [diff] [blame] | 6221 | if (gRPC_INSTALL) |
| 6222 | install(TARGETS gen_percent_encoding_tables EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6223 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6224 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6225 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Craig Tiller | 426dcde | 2016-09-07 15:43:10 -0700 | [diff] [blame] | 6226 | ) |
| 6227 | endif() |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6228 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6229 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6230 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6231 | |
| 6232 | add_executable(goaway_server_test |
| 6233 | test/core/end2end/goaway_server_test.c |
| 6234 | ) |
| 6235 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6236 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6237 | target_include_directories(goaway_server_test |
| 6238 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6239 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6240 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6241 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6242 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6243 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6244 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6245 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6246 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6247 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6248 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6249 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6250 | ) |
| 6251 | |
| 6252 | target_link_libraries(goaway_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6253 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6254 | grpc_test_util |
| 6255 | grpc |
| 6256 | gpr_test_util |
| 6257 | gpr |
| 6258 | ) |
| 6259 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6260 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6261 | endif (gRPC_BUILD_TESTS) |
| 6262 | if (gRPC_BUILD_TESTS) |
| 6263 | |
| 6264 | add_executable(gpr_avl_test |
| 6265 | test/core/support/avl_test.c |
| 6266 | ) |
| 6267 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6268 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6269 | target_include_directories(gpr_avl_test |
| 6270 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6271 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6272 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6273 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6274 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6275 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6276 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6277 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6278 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6279 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6280 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6281 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6282 | ) |
| 6283 | |
| 6284 | target_link_libraries(gpr_avl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6285 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6286 | gpr_test_util |
| 6287 | gpr |
| 6288 | ) |
| 6289 | |
| 6290 | endif (gRPC_BUILD_TESTS) |
| 6291 | if (gRPC_BUILD_TESTS) |
| 6292 | |
| 6293 | add_executable(gpr_backoff_test |
| 6294 | test/core/support/backoff_test.c |
| 6295 | ) |
| 6296 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6297 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6298 | target_include_directories(gpr_backoff_test |
| 6299 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6300 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6301 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6302 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6303 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6304 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6305 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6306 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6307 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6308 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6309 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6310 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6311 | ) |
| 6312 | |
| 6313 | target_link_libraries(gpr_backoff_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6314 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6315 | gpr_test_util |
| 6316 | gpr |
| 6317 | ) |
| 6318 | |
| 6319 | endif (gRPC_BUILD_TESTS) |
| 6320 | if (gRPC_BUILD_TESTS) |
| 6321 | |
| 6322 | add_executable(gpr_cmdline_test |
| 6323 | test/core/support/cmdline_test.c |
| 6324 | ) |
| 6325 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6326 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6327 | target_include_directories(gpr_cmdline_test |
| 6328 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6329 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6330 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6331 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6332 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6333 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6334 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6335 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6336 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6337 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6338 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6339 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6340 | ) |
| 6341 | |
| 6342 | target_link_libraries(gpr_cmdline_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6343 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6344 | gpr_test_util |
| 6345 | gpr |
| 6346 | ) |
| 6347 | |
| 6348 | endif (gRPC_BUILD_TESTS) |
| 6349 | if (gRPC_BUILD_TESTS) |
| 6350 | |
| 6351 | add_executable(gpr_cpu_test |
| 6352 | test/core/support/cpu_test.c |
| 6353 | ) |
| 6354 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6355 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6356 | target_include_directories(gpr_cpu_test |
| 6357 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6358 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6359 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6360 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6361 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6362 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6363 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6364 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6365 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6366 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6367 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6368 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6369 | ) |
| 6370 | |
| 6371 | target_link_libraries(gpr_cpu_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6372 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6373 | gpr_test_util |
| 6374 | gpr |
| 6375 | ) |
| 6376 | |
| 6377 | endif (gRPC_BUILD_TESTS) |
| 6378 | if (gRPC_BUILD_TESTS) |
| 6379 | |
| 6380 | add_executable(gpr_env_test |
| 6381 | test/core/support/env_test.c |
| 6382 | ) |
| 6383 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6384 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6385 | target_include_directories(gpr_env_test |
| 6386 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6387 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6388 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6389 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6390 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6391 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6392 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6393 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6394 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6395 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6396 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6397 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6398 | ) |
| 6399 | |
| 6400 | target_link_libraries(gpr_env_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6401 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6402 | gpr_test_util |
| 6403 | gpr |
| 6404 | ) |
| 6405 | |
| 6406 | endif (gRPC_BUILD_TESTS) |
| 6407 | if (gRPC_BUILD_TESTS) |
| 6408 | |
| 6409 | add_executable(gpr_histogram_test |
| 6410 | test/core/support/histogram_test.c |
| 6411 | ) |
| 6412 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6413 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6414 | target_include_directories(gpr_histogram_test |
| 6415 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6416 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6417 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6418 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6419 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6420 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6421 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6422 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6423 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6424 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6425 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6426 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6427 | ) |
| 6428 | |
| 6429 | target_link_libraries(gpr_histogram_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6430 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6431 | gpr_test_util |
| 6432 | gpr |
| 6433 | ) |
| 6434 | |
| 6435 | endif (gRPC_BUILD_TESTS) |
| 6436 | if (gRPC_BUILD_TESTS) |
| 6437 | |
| 6438 | add_executable(gpr_host_port_test |
| 6439 | test/core/support/host_port_test.c |
| 6440 | ) |
| 6441 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6442 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6443 | target_include_directories(gpr_host_port_test |
| 6444 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6445 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6446 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6447 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6448 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6449 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6450 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6451 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6452 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6453 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6454 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6455 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6456 | ) |
| 6457 | |
| 6458 | target_link_libraries(gpr_host_port_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6459 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6460 | gpr_test_util |
| 6461 | gpr |
| 6462 | ) |
| 6463 | |
| 6464 | endif (gRPC_BUILD_TESTS) |
| 6465 | if (gRPC_BUILD_TESTS) |
| 6466 | |
| 6467 | add_executable(gpr_log_test |
| 6468 | test/core/support/log_test.c |
| 6469 | ) |
| 6470 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6471 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6472 | target_include_directories(gpr_log_test |
| 6473 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6474 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6475 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6476 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6477 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6478 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6479 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6480 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6481 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6482 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6483 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6484 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6485 | ) |
| 6486 | |
| 6487 | target_link_libraries(gpr_log_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6488 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6489 | gpr_test_util |
| 6490 | gpr |
| 6491 | ) |
| 6492 | |
| 6493 | endif (gRPC_BUILD_TESTS) |
| 6494 | if (gRPC_BUILD_TESTS) |
| 6495 | |
| 6496 | add_executable(gpr_mpscq_test |
| 6497 | test/core/support/mpscq_test.c |
| 6498 | ) |
| 6499 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6500 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6501 | target_include_directories(gpr_mpscq_test |
| 6502 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6503 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6504 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6505 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6506 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6507 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6508 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6509 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6510 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6511 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6512 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6513 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6514 | ) |
| 6515 | |
| 6516 | target_link_libraries(gpr_mpscq_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6517 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6518 | gpr_test_util |
| 6519 | gpr |
| 6520 | ) |
| 6521 | |
| 6522 | endif (gRPC_BUILD_TESTS) |
| 6523 | if (gRPC_BUILD_TESTS) |
| 6524 | |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6525 | add_executable(gpr_spinlock_test |
| 6526 | test/core/support/spinlock_test.c |
| 6527 | ) |
| 6528 | |
| 6529 | |
| 6530 | target_include_directories(gpr_spinlock_test |
| 6531 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6532 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6533 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6534 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6535 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6536 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6537 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6538 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6539 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6540 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6541 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6542 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6543 | ) |
| 6544 | |
| 6545 | target_link_libraries(gpr_spinlock_test |
| 6546 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6547 | gpr_test_util |
| 6548 | gpr |
| 6549 | ) |
| 6550 | |
| 6551 | endif (gRPC_BUILD_TESTS) |
| 6552 | if (gRPC_BUILD_TESTS) |
| 6553 | |
Ken Payson | a4710a0 | 2017-07-10 16:49:59 -0700 | [diff] [blame] | 6554 | add_executable(gpr_stack_lockfree_test |
| 6555 | test/core/support/stack_lockfree_test.c |
| 6556 | ) |
| 6557 | |
| 6558 | |
| 6559 | target_include_directories(gpr_stack_lockfree_test |
| 6560 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6561 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6562 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6563 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6564 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6565 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6566 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6567 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 6568 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6569 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6570 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 6571 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6572 | ) |
| 6573 | |
| 6574 | target_link_libraries(gpr_stack_lockfree_test |
| 6575 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6576 | gpr_test_util |
| 6577 | gpr |
| 6578 | ) |
| 6579 | |
| 6580 | endif (gRPC_BUILD_TESTS) |
| 6581 | if (gRPC_BUILD_TESTS) |
| 6582 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6583 | add_executable(gpr_string_test |
| 6584 | test/core/support/string_test.c |
| 6585 | ) |
| 6586 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6587 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6588 | target_include_directories(gpr_string_test |
| 6589 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6590 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6591 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6592 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6593 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6594 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6595 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6596 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6597 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6598 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6599 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6600 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6601 | ) |
| 6602 | |
| 6603 | target_link_libraries(gpr_string_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6604 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6605 | gpr_test_util |
| 6606 | gpr |
| 6607 | ) |
| 6608 | |
| 6609 | endif (gRPC_BUILD_TESTS) |
| 6610 | if (gRPC_BUILD_TESTS) |
| 6611 | |
| 6612 | add_executable(gpr_sync_test |
| 6613 | test/core/support/sync_test.c |
| 6614 | ) |
| 6615 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6616 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6617 | target_include_directories(gpr_sync_test |
| 6618 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6619 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6620 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6621 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6622 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6623 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6624 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6625 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6626 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6627 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6628 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6629 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6630 | ) |
| 6631 | |
| 6632 | target_link_libraries(gpr_sync_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6633 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6634 | gpr_test_util |
| 6635 | gpr |
| 6636 | ) |
| 6637 | |
| 6638 | endif (gRPC_BUILD_TESTS) |
| 6639 | if (gRPC_BUILD_TESTS) |
| 6640 | |
| 6641 | add_executable(gpr_thd_test |
| 6642 | test/core/support/thd_test.c |
| 6643 | ) |
| 6644 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6645 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6646 | target_include_directories(gpr_thd_test |
| 6647 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6648 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6649 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6650 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6651 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6652 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6653 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6654 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6655 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6656 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6657 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6658 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6659 | ) |
| 6660 | |
| 6661 | target_link_libraries(gpr_thd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6662 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6663 | gpr_test_util |
| 6664 | gpr |
| 6665 | ) |
| 6666 | |
| 6667 | endif (gRPC_BUILD_TESTS) |
| 6668 | if (gRPC_BUILD_TESTS) |
| 6669 | |
| 6670 | add_executable(gpr_time_test |
| 6671 | test/core/support/time_test.c |
| 6672 | ) |
| 6673 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6674 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6675 | target_include_directories(gpr_time_test |
| 6676 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6677 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6678 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6679 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6680 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6681 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6682 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6683 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6684 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6685 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6686 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6687 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6688 | ) |
| 6689 | |
| 6690 | target_link_libraries(gpr_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6691 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6692 | gpr_test_util |
| 6693 | gpr |
| 6694 | ) |
| 6695 | |
| 6696 | endif (gRPC_BUILD_TESTS) |
| 6697 | if (gRPC_BUILD_TESTS) |
| 6698 | |
| 6699 | add_executable(gpr_tls_test |
| 6700 | test/core/support/tls_test.c |
| 6701 | ) |
| 6702 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6703 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6704 | target_include_directories(gpr_tls_test |
| 6705 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6706 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6707 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6708 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6709 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6710 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6711 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6712 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6713 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6714 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6715 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6716 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6717 | ) |
| 6718 | |
| 6719 | target_link_libraries(gpr_tls_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6720 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6721 | gpr_test_util |
| 6722 | gpr |
| 6723 | ) |
| 6724 | |
| 6725 | endif (gRPC_BUILD_TESTS) |
| 6726 | if (gRPC_BUILD_TESTS) |
| 6727 | |
| 6728 | add_executable(gpr_useful_test |
| 6729 | test/core/support/useful_test.c |
| 6730 | ) |
| 6731 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6732 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6733 | target_include_directories(gpr_useful_test |
| 6734 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6735 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6736 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6737 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6738 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6739 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6740 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6741 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6742 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6743 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6744 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6745 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6746 | ) |
| 6747 | |
| 6748 | target_link_libraries(gpr_useful_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6749 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6750 | gpr_test_util |
| 6751 | gpr |
| 6752 | ) |
| 6753 | |
| 6754 | endif (gRPC_BUILD_TESTS) |
| 6755 | if (gRPC_BUILD_TESTS) |
| 6756 | |
| 6757 | add_executable(grpc_auth_context_test |
| 6758 | test/core/security/auth_context_test.c |
| 6759 | ) |
| 6760 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6761 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6762 | target_include_directories(grpc_auth_context_test |
| 6763 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6764 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6765 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6766 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6767 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6768 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6769 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6770 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6771 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6772 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6773 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6774 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6775 | ) |
| 6776 | |
| 6777 | target_link_libraries(grpc_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6778 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6779 | grpc_test_util |
| 6780 | grpc |
| 6781 | gpr_test_util |
| 6782 | gpr |
| 6783 | ) |
| 6784 | |
| 6785 | endif (gRPC_BUILD_TESTS) |
| 6786 | if (gRPC_BUILD_TESTS) |
| 6787 | |
| 6788 | add_executable(grpc_b64_test |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 6789 | test/core/slice/b64_test.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6790 | ) |
| 6791 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6792 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6793 | target_include_directories(grpc_b64_test |
| 6794 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6795 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6796 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6797 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6798 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6799 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6800 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6801 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6802 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6803 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6804 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6805 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6806 | ) |
| 6807 | |
| 6808 | target_link_libraries(grpc_b64_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6809 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6810 | grpc_test_util |
| 6811 | grpc |
| 6812 | gpr_test_util |
| 6813 | gpr |
| 6814 | ) |
| 6815 | |
| 6816 | endif (gRPC_BUILD_TESTS) |
| 6817 | if (gRPC_BUILD_TESTS) |
| 6818 | |
| 6819 | add_executable(grpc_byte_buffer_reader_test |
| 6820 | test/core/surface/byte_buffer_reader_test.c |
| 6821 | ) |
| 6822 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6823 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6824 | target_include_directories(grpc_byte_buffer_reader_test |
| 6825 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6826 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6827 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6828 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6829 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6830 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6831 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6832 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6833 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6834 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6835 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6836 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6837 | ) |
| 6838 | |
| 6839 | target_link_libraries(grpc_byte_buffer_reader_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6840 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6841 | grpc_test_util |
| 6842 | grpc |
| 6843 | gpr_test_util |
| 6844 | gpr |
| 6845 | ) |
| 6846 | |
| 6847 | endif (gRPC_BUILD_TESTS) |
| 6848 | if (gRPC_BUILD_TESTS) |
| 6849 | |
| 6850 | add_executable(grpc_channel_args_test |
| 6851 | test/core/channel/channel_args_test.c |
| 6852 | ) |
| 6853 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6854 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6855 | target_include_directories(grpc_channel_args_test |
| 6856 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6857 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6858 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6859 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6860 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6861 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6862 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6863 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6864 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6865 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6866 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6867 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6868 | ) |
| 6869 | |
| 6870 | target_link_libraries(grpc_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6871 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6872 | grpc_test_util |
| 6873 | grpc |
| 6874 | gpr_test_util |
| 6875 | gpr |
| 6876 | ) |
| 6877 | |
| 6878 | endif (gRPC_BUILD_TESTS) |
| 6879 | if (gRPC_BUILD_TESTS) |
| 6880 | |
| 6881 | add_executable(grpc_channel_stack_test |
| 6882 | test/core/channel/channel_stack_test.c |
| 6883 | ) |
| 6884 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6885 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6886 | target_include_directories(grpc_channel_stack_test |
| 6887 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6888 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6889 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6890 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6891 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6892 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6893 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6894 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6895 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6896 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6897 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6898 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6899 | ) |
| 6900 | |
| 6901 | target_link_libraries(grpc_channel_stack_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6902 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6903 | grpc_test_util |
| 6904 | grpc |
| 6905 | gpr_test_util |
| 6906 | gpr |
| 6907 | ) |
| 6908 | |
| 6909 | endif (gRPC_BUILD_TESTS) |
| 6910 | if (gRPC_BUILD_TESTS) |
| 6911 | |
| 6912 | add_executable(grpc_completion_queue_test |
| 6913 | test/core/surface/completion_queue_test.c |
| 6914 | ) |
| 6915 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6916 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6917 | target_include_directories(grpc_completion_queue_test |
| 6918 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6919 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6920 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6921 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6922 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6923 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6924 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6925 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6926 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6927 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6928 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6929 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6930 | ) |
| 6931 | |
| 6932 | target_link_libraries(grpc_completion_queue_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6933 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6934 | grpc_test_util |
| 6935 | grpc |
| 6936 | gpr_test_util |
| 6937 | gpr |
| 6938 | ) |
| 6939 | |
| 6940 | endif (gRPC_BUILD_TESTS) |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6941 | if (gRPC_BUILD_TESTS) |
| 6942 | |
| 6943 | add_executable(grpc_completion_queue_threading_test |
| 6944 | test/core/surface/completion_queue_threading_test.c |
| 6945 | ) |
| 6946 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6947 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6948 | target_include_directories(grpc_completion_queue_threading_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 |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6953 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [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 |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6960 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6961 | ) |
| 6962 | |
| 6963 | target_link_libraries(grpc_completion_queue_threading_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6964 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6965 | grpc_test_util |
| 6966 | grpc |
| 6967 | gpr_test_util |
| 6968 | gpr |
| 6969 | ) |
| 6970 | |
| 6971 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6972 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6973 | add_executable(grpc_create_jwt |
| 6974 | test/core/security/create_jwt.c |
| 6975 | ) |
| 6976 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6977 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6978 | target_include_directories(grpc_create_jwt |
| 6979 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6980 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6981 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6982 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6983 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6984 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6985 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6986 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6987 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6988 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6989 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6990 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6991 | ) |
| 6992 | |
| 6993 | target_link_libraries(grpc_create_jwt |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 6994 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6995 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6996 | grpc |
| 6997 | gpr |
| 6998 | ) |
| 6999 | |
| 7000 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 7001 | if (gRPC_INSTALL) |
| 7002 | install(TARGETS grpc_create_jwt EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 7003 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 7004 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 7005 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 7006 | ) |
| 7007 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 7008 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7009 | if (gRPC_BUILD_TESTS) |
| 7010 | |
| 7011 | add_executable(grpc_credentials_test |
| 7012 | test/core/security/credentials_test.c |
| 7013 | ) |
| 7014 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7015 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7016 | target_include_directories(grpc_credentials_test |
| 7017 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7018 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7019 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7020 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7021 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7022 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7023 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7024 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7025 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7026 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7027 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7028 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7029 | ) |
| 7030 | |
| 7031 | target_link_libraries(grpc_credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7032 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7033 | grpc_test_util |
| 7034 | grpc |
| 7035 | gpr_test_util |
| 7036 | gpr |
| 7037 | ) |
| 7038 | |
| 7039 | endif (gRPC_BUILD_TESTS) |
| 7040 | if (gRPC_BUILD_TESTS) |
| 7041 | |
| 7042 | add_executable(grpc_fetch_oauth2 |
| 7043 | test/core/security/fetch_oauth2.c |
| 7044 | ) |
| 7045 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7046 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7047 | target_include_directories(grpc_fetch_oauth2 |
| 7048 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7049 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7050 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7051 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7052 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7053 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7054 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7055 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7056 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7057 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7058 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7059 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7060 | ) |
| 7061 | |
| 7062 | target_link_libraries(grpc_fetch_oauth2 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7063 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7064 | grpc_test_util |
| 7065 | grpc |
| 7066 | gpr_test_util |
| 7067 | gpr |
| 7068 | ) |
| 7069 | |
| 7070 | endif (gRPC_BUILD_TESTS) |
| 7071 | if (gRPC_BUILD_TESTS) |
| 7072 | |
| 7073 | add_executable(grpc_invalid_channel_args_test |
| 7074 | test/core/surface/invalid_channel_args_test.c |
| 7075 | ) |
| 7076 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7077 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7078 | target_include_directories(grpc_invalid_channel_args_test |
| 7079 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7080 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7081 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7082 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7083 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7084 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7085 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7086 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7087 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7088 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7089 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7090 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7091 | ) |
| 7092 | |
| 7093 | target_link_libraries(grpc_invalid_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7094 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7095 | grpc_test_util |
| 7096 | grpc |
| 7097 | gpr_test_util |
| 7098 | gpr |
| 7099 | ) |
| 7100 | |
| 7101 | endif (gRPC_BUILD_TESTS) |
| 7102 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7103 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7104 | |
| 7105 | add_executable(grpc_json_token_test |
| 7106 | test/core/security/json_token_test.c |
| 7107 | ) |
| 7108 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7109 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7110 | target_include_directories(grpc_json_token_test |
| 7111 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7112 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7113 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7114 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7115 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7116 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7117 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7118 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7119 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7120 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7121 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7122 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7123 | ) |
| 7124 | |
| 7125 | target_link_libraries(grpc_json_token_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7126 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7127 | grpc_test_util |
| 7128 | grpc |
| 7129 | gpr_test_util |
| 7130 | gpr |
| 7131 | ) |
| 7132 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7133 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7134 | endif (gRPC_BUILD_TESTS) |
| 7135 | if (gRPC_BUILD_TESTS) |
| 7136 | |
| 7137 | add_executable(grpc_jwt_verifier_test |
| 7138 | test/core/security/jwt_verifier_test.c |
| 7139 | ) |
| 7140 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7141 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7142 | target_include_directories(grpc_jwt_verifier_test |
| 7143 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7144 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7145 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7146 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7147 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7148 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7149 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7150 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7151 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7152 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7153 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7154 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7155 | ) |
| 7156 | |
| 7157 | target_link_libraries(grpc_jwt_verifier_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7158 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7159 | grpc_test_util |
| 7160 | grpc |
| 7161 | gpr_test_util |
| 7162 | gpr |
| 7163 | ) |
| 7164 | |
| 7165 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 7166 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7167 | add_executable(grpc_print_google_default_creds_token |
| 7168 | test/core/security/print_google_default_creds_token.c |
| 7169 | ) |
| 7170 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7171 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7172 | target_include_directories(grpc_print_google_default_creds_token |
| 7173 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7174 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7175 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7176 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7177 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7178 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7179 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7180 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7181 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7182 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7183 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7184 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7185 | ) |
| 7186 | |
| 7187 | target_link_libraries(grpc_print_google_default_creds_token |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7188 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7189 | grpc |
| 7190 | gpr |
| 7191 | ) |
| 7192 | |
| 7193 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 7194 | if (gRPC_INSTALL) |
| 7195 | install(TARGETS grpc_print_google_default_creds_token EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 7196 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 7197 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 7198 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 7199 | ) |
| 7200 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 7201 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7202 | if (gRPC_BUILD_TESTS) |
| 7203 | |
| 7204 | add_executable(grpc_security_connector_test |
| 7205 | test/core/security/security_connector_test.c |
| 7206 | ) |
| 7207 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7208 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7209 | target_include_directories(grpc_security_connector_test |
| 7210 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7211 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7212 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7213 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7214 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7215 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7216 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7217 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7218 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7219 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7220 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7221 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7222 | ) |
| 7223 | |
| 7224 | target_link_libraries(grpc_security_connector_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7225 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7226 | grpc_test_util |
| 7227 | grpc |
| 7228 | gpr_test_util |
| 7229 | gpr |
| 7230 | ) |
| 7231 | |
| 7232 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 7233 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7234 | add_executable(grpc_verify_jwt |
| 7235 | test/core/security/verify_jwt.c |
| 7236 | ) |
| 7237 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7238 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7239 | target_include_directories(grpc_verify_jwt |
| 7240 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7241 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7242 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7243 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7244 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7245 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7246 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7247 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7248 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7249 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7250 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7251 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7252 | ) |
| 7253 | |
| 7254 | target_link_libraries(grpc_verify_jwt |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7255 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7256 | grpc |
| 7257 | gpr |
| 7258 | ) |
| 7259 | |
| 7260 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 7261 | if (gRPC_INSTALL) |
| 7262 | install(TARGETS grpc_verify_jwt EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 7263 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 7264 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 7265 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 7266 | ) |
| 7267 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 7268 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7269 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7270 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7271 | |
| 7272 | add_executable(handshake_client |
| 7273 | test/core/handshake/client_ssl.c |
| 7274 | ) |
| 7275 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7276 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7277 | target_include_directories(handshake_client |
| 7278 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7279 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7280 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7281 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7282 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7283 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7284 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7285 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7286 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7287 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7288 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7289 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7290 | ) |
| 7291 | |
| 7292 | target_link_libraries(handshake_client |
| 7293 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7294 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7295 | grpc_test_util |
| 7296 | grpc |
| 7297 | gpr_test_util |
| 7298 | gpr |
| 7299 | ) |
| 7300 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7301 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7302 | endif (gRPC_BUILD_TESTS) |
| 7303 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7304 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7305 | |
| 7306 | add_executable(handshake_server |
| 7307 | test/core/handshake/server_ssl.c |
| 7308 | ) |
| 7309 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7310 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7311 | target_include_directories(handshake_server |
| 7312 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7313 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7314 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7315 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7316 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7317 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7318 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7319 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7320 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7321 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7322 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7323 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7324 | ) |
| 7325 | |
| 7326 | target_link_libraries(handshake_server |
| 7327 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7328 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7329 | grpc_test_util |
| 7330 | grpc |
| 7331 | gpr_test_util |
| 7332 | gpr |
| 7333 | ) |
| 7334 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7335 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7336 | endif (gRPC_BUILD_TESTS) |
| 7337 | if (gRPC_BUILD_TESTS) |
| 7338 | |
| 7339 | add_executable(hpack_parser_test |
| 7340 | test/core/transport/chttp2/hpack_parser_test.c |
| 7341 | ) |
| 7342 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7343 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7344 | target_include_directories(hpack_parser_test |
| 7345 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7346 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7347 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7348 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7349 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7350 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7351 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7352 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7353 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7354 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7355 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7356 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7357 | ) |
| 7358 | |
| 7359 | target_link_libraries(hpack_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7360 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7361 | grpc_test_util |
| 7362 | grpc |
| 7363 | gpr_test_util |
| 7364 | gpr |
| 7365 | ) |
| 7366 | |
| 7367 | endif (gRPC_BUILD_TESTS) |
| 7368 | if (gRPC_BUILD_TESTS) |
| 7369 | |
| 7370 | add_executable(hpack_table_test |
| 7371 | test/core/transport/chttp2/hpack_table_test.c |
| 7372 | ) |
| 7373 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7374 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7375 | target_include_directories(hpack_table_test |
| 7376 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7377 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7378 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7379 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7380 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7381 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7382 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7383 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7384 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7385 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7386 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7387 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7388 | ) |
| 7389 | |
| 7390 | target_link_libraries(hpack_table_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7391 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7392 | grpc_test_util |
| 7393 | grpc |
| 7394 | gpr_test_util |
| 7395 | gpr |
| 7396 | ) |
| 7397 | |
| 7398 | endif (gRPC_BUILD_TESTS) |
| 7399 | if (gRPC_BUILD_TESTS) |
| 7400 | |
| 7401 | add_executable(http_parser_test |
| 7402 | test/core/http/parser_test.c |
| 7403 | ) |
| 7404 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7405 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7406 | target_include_directories(http_parser_test |
| 7407 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7408 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7409 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7410 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7411 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7412 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7413 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7414 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7415 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7416 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7417 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7418 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7419 | ) |
| 7420 | |
| 7421 | target_link_libraries(http_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7422 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7423 | grpc_test_util |
| 7424 | grpc |
| 7425 | gpr_test_util |
| 7426 | gpr |
| 7427 | ) |
| 7428 | |
| 7429 | endif (gRPC_BUILD_TESTS) |
| 7430 | if (gRPC_BUILD_TESTS) |
| 7431 | |
| 7432 | add_executable(httpcli_format_request_test |
| 7433 | test/core/http/format_request_test.c |
| 7434 | ) |
| 7435 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7436 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7437 | target_include_directories(httpcli_format_request_test |
| 7438 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7439 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7440 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7441 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7442 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7443 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7444 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7445 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7446 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7447 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7448 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7449 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7450 | ) |
| 7451 | |
| 7452 | target_link_libraries(httpcli_format_request_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7453 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7454 | grpc_test_util |
| 7455 | grpc |
| 7456 | gpr_test_util |
| 7457 | gpr |
| 7458 | ) |
| 7459 | |
| 7460 | endif (gRPC_BUILD_TESTS) |
| 7461 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7462 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7463 | |
| 7464 | add_executable(httpcli_test |
| 7465 | test/core/http/httpcli_test.c |
| 7466 | ) |
| 7467 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7468 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7469 | target_include_directories(httpcli_test |
| 7470 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7471 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7472 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7473 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7474 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7475 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7476 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7477 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7478 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7479 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7480 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7481 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7482 | ) |
| 7483 | |
| 7484 | target_link_libraries(httpcli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7485 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7486 | grpc_test_util |
| 7487 | grpc |
| 7488 | gpr_test_util |
| 7489 | gpr |
| 7490 | ) |
| 7491 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7492 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7493 | endif (gRPC_BUILD_TESTS) |
| 7494 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7495 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7496 | |
| 7497 | add_executable(httpscli_test |
| 7498 | test/core/http/httpscli_test.c |
| 7499 | ) |
| 7500 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7501 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7502 | target_include_directories(httpscli_test |
| 7503 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7504 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7505 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7506 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7507 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7508 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7509 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7510 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7511 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7512 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7513 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7514 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7515 | ) |
| 7516 | |
| 7517 | target_link_libraries(httpscli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7518 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7519 | grpc_test_util |
| 7520 | grpc |
| 7521 | gpr_test_util |
| 7522 | gpr |
| 7523 | ) |
| 7524 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7525 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7526 | endif (gRPC_BUILD_TESTS) |
| 7527 | if (gRPC_BUILD_TESTS) |
| 7528 | |
| 7529 | add_executable(init_test |
| 7530 | test/core/surface/init_test.c |
| 7531 | ) |
| 7532 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7533 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7534 | target_include_directories(init_test |
| 7535 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7536 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7537 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7538 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7539 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7540 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7541 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7542 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7543 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7544 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7545 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7546 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7547 | ) |
| 7548 | |
| 7549 | target_link_libraries(init_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7550 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7551 | grpc_test_util |
| 7552 | grpc |
| 7553 | gpr_test_util |
| 7554 | gpr |
| 7555 | ) |
| 7556 | |
| 7557 | endif (gRPC_BUILD_TESTS) |
| 7558 | if (gRPC_BUILD_TESTS) |
| 7559 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7560 | add_executable(invalid_call_argument_test |
| 7561 | test/core/end2end/invalid_call_argument_test.c |
| 7562 | ) |
| 7563 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7564 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7565 | target_include_directories(invalid_call_argument_test |
| 7566 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7567 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7568 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7569 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7570 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7571 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7572 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7573 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7574 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7575 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7576 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7577 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7578 | ) |
| 7579 | |
| 7580 | target_link_libraries(invalid_call_argument_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7581 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7582 | grpc_test_util |
| 7583 | grpc |
| 7584 | gpr_test_util |
| 7585 | gpr |
| 7586 | ) |
| 7587 | |
| 7588 | endif (gRPC_BUILD_TESTS) |
| 7589 | if (gRPC_BUILD_TESTS) |
| 7590 | |
| 7591 | add_executable(json_rewrite |
| 7592 | test/core/json/json_rewrite.c |
| 7593 | ) |
| 7594 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7595 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7596 | target_include_directories(json_rewrite |
| 7597 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7598 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7599 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7600 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7601 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7602 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7603 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7604 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7605 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7606 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7607 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7608 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7609 | ) |
| 7610 | |
| 7611 | target_link_libraries(json_rewrite |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7612 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7613 | grpc |
| 7614 | gpr |
| 7615 | ) |
| 7616 | |
| 7617 | endif (gRPC_BUILD_TESTS) |
| 7618 | if (gRPC_BUILD_TESTS) |
| 7619 | |
| 7620 | add_executable(json_rewrite_test |
| 7621 | test/core/json/json_rewrite_test.c |
| 7622 | ) |
| 7623 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7624 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7625 | target_include_directories(json_rewrite_test |
| 7626 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7627 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7628 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7629 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7630 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7631 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7632 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7633 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7634 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7635 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7636 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7637 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7638 | ) |
| 7639 | |
| 7640 | target_link_libraries(json_rewrite_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7641 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7642 | grpc_test_util |
| 7643 | grpc |
| 7644 | gpr_test_util |
| 7645 | gpr |
| 7646 | ) |
| 7647 | |
| 7648 | endif (gRPC_BUILD_TESTS) |
| 7649 | if (gRPC_BUILD_TESTS) |
| 7650 | |
| 7651 | add_executable(json_stream_error_test |
| 7652 | test/core/json/json_stream_error_test.c |
| 7653 | ) |
| 7654 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7655 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7656 | target_include_directories(json_stream_error_test |
| 7657 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7658 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7659 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7660 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7661 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7662 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7663 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7664 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7665 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7666 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7667 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7668 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7669 | ) |
| 7670 | |
| 7671 | target_link_libraries(json_stream_error_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7672 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7673 | grpc_test_util |
| 7674 | grpc |
| 7675 | gpr_test_util |
| 7676 | gpr |
| 7677 | ) |
| 7678 | |
| 7679 | endif (gRPC_BUILD_TESTS) |
| 7680 | if (gRPC_BUILD_TESTS) |
| 7681 | |
| 7682 | add_executable(json_test |
| 7683 | test/core/json/json_test.c |
| 7684 | ) |
| 7685 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7686 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7687 | target_include_directories(json_test |
| 7688 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7689 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7690 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7691 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7692 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7693 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7694 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7695 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7696 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7697 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7698 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7699 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7700 | ) |
| 7701 | |
| 7702 | target_link_libraries(json_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7703 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7704 | grpc_test_util |
| 7705 | grpc |
| 7706 | gpr_test_util |
| 7707 | gpr |
| 7708 | ) |
| 7709 | |
| 7710 | endif (gRPC_BUILD_TESTS) |
| 7711 | if (gRPC_BUILD_TESTS) |
| 7712 | |
| 7713 | add_executable(lame_client_test |
| 7714 | test/core/surface/lame_client_test.c |
| 7715 | ) |
| 7716 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7717 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7718 | target_include_directories(lame_client_test |
| 7719 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7720 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7721 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7722 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7723 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7724 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7725 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7726 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7727 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7728 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7729 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7730 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7731 | ) |
| 7732 | |
| 7733 | target_link_libraries(lame_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7734 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7735 | grpc_test_util |
| 7736 | grpc |
| 7737 | gpr_test_util |
| 7738 | gpr |
| 7739 | ) |
| 7740 | |
| 7741 | endif (gRPC_BUILD_TESTS) |
| 7742 | if (gRPC_BUILD_TESTS) |
| 7743 | |
| 7744 | add_executable(lb_policies_test |
| 7745 | test/core/client_channel/lb_policies_test.c |
| 7746 | ) |
| 7747 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7748 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7749 | target_include_directories(lb_policies_test |
| 7750 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7751 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7752 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7753 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7754 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7755 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7756 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7757 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7758 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7759 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7760 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7761 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7762 | ) |
| 7763 | |
| 7764 | target_link_libraries(lb_policies_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7765 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7766 | grpc_test_util |
| 7767 | grpc |
| 7768 | gpr_test_util |
| 7769 | gpr |
| 7770 | ) |
| 7771 | |
| 7772 | endif (gRPC_BUILD_TESTS) |
| 7773 | if (gRPC_BUILD_TESTS) |
| 7774 | |
| 7775 | add_executable(load_file_test |
| 7776 | test/core/iomgr/load_file_test.c |
| 7777 | ) |
| 7778 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7779 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7780 | target_include_directories(load_file_test |
| 7781 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7782 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7783 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7784 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7785 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7786 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7787 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7788 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7789 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7790 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7791 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7792 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7793 | ) |
| 7794 | |
| 7795 | target_link_libraries(load_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7796 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7797 | grpc_test_util |
| 7798 | grpc |
| 7799 | gpr_test_util |
| 7800 | gpr |
| 7801 | ) |
| 7802 | |
| 7803 | endif (gRPC_BUILD_TESTS) |
| 7804 | if (gRPC_BUILD_TESTS) |
| 7805 | |
| 7806 | add_executable(memory_profile_client |
| 7807 | test/core/memory_usage/client.c |
| 7808 | ) |
| 7809 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7810 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7811 | target_include_directories(memory_profile_client |
| 7812 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7813 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7814 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7815 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7816 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7817 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7818 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7819 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7820 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7821 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7822 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7823 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7824 | ) |
| 7825 | |
| 7826 | target_link_libraries(memory_profile_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7827 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7828 | grpc_test_util |
| 7829 | grpc |
| 7830 | gpr_test_util |
| 7831 | gpr |
| 7832 | ) |
| 7833 | |
| 7834 | endif (gRPC_BUILD_TESTS) |
| 7835 | if (gRPC_BUILD_TESTS) |
| 7836 | |
| 7837 | add_executable(memory_profile_server |
| 7838 | test/core/memory_usage/server.c |
| 7839 | ) |
| 7840 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7841 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7842 | target_include_directories(memory_profile_server |
| 7843 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7844 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7845 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7846 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7847 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7848 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7849 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7850 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7851 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7852 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7853 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7854 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7855 | ) |
| 7856 | |
| 7857 | target_link_libraries(memory_profile_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7858 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7859 | grpc_test_util |
| 7860 | grpc |
| 7861 | gpr_test_util |
| 7862 | gpr |
| 7863 | ) |
| 7864 | |
| 7865 | endif (gRPC_BUILD_TESTS) |
| 7866 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7867 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7868 | |
| 7869 | add_executable(memory_profile_test |
| 7870 | test/core/memory_usage/memory_usage_test.c |
| 7871 | ) |
| 7872 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7873 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7874 | target_include_directories(memory_profile_test |
| 7875 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7876 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7877 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7878 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7879 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7880 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7881 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7882 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7883 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7884 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7885 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7886 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7887 | ) |
| 7888 | |
| 7889 | target_link_libraries(memory_profile_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7890 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7891 | grpc_test_util |
| 7892 | grpc |
| 7893 | gpr_test_util |
| 7894 | gpr |
| 7895 | ) |
| 7896 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7897 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7898 | endif (gRPC_BUILD_TESTS) |
| 7899 | if (gRPC_BUILD_TESTS) |
| 7900 | |
| 7901 | add_executable(message_compress_test |
| 7902 | test/core/compression/message_compress_test.c |
| 7903 | ) |
| 7904 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7905 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7906 | target_include_directories(message_compress_test |
| 7907 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7908 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7909 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7910 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7911 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7912 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7913 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7914 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7915 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7916 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7917 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7918 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7919 | ) |
| 7920 | |
| 7921 | target_link_libraries(message_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7922 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7923 | grpc_test_util |
| 7924 | grpc |
| 7925 | gpr_test_util |
| 7926 | gpr |
| 7927 | ) |
| 7928 | |
| 7929 | endif (gRPC_BUILD_TESTS) |
| 7930 | if (gRPC_BUILD_TESTS) |
| 7931 | |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7932 | add_executable(minimal_stack_is_minimal_test |
| 7933 | test/core/channel/minimal_stack_is_minimal_test.c |
| 7934 | ) |
| 7935 | |
| 7936 | |
| 7937 | target_include_directories(minimal_stack_is_minimal_test |
| 7938 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7939 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7940 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7941 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 7942 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 7943 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7944 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7945 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 7946 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7947 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7948 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 7949 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7950 | ) |
| 7951 | |
| 7952 | target_link_libraries(minimal_stack_is_minimal_test |
| 7953 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7954 | grpc_test_util |
| 7955 | grpc |
| 7956 | gpr_test_util |
| 7957 | gpr |
| 7958 | ) |
| 7959 | |
| 7960 | endif (gRPC_BUILD_TESTS) |
| 7961 | if (gRPC_BUILD_TESTS) |
| 7962 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7963 | add_executable(mlog_test |
| 7964 | test/core/census/mlog_test.c |
| 7965 | ) |
| 7966 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7967 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7968 | target_include_directories(mlog_test |
| 7969 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7970 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7971 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7972 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7973 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7974 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7975 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7976 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7977 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7978 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7979 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7980 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7981 | ) |
| 7982 | |
| 7983 | target_link_libraries(mlog_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7984 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7985 | grpc_test_util |
| 7986 | grpc |
| 7987 | gpr_test_util |
| 7988 | gpr |
| 7989 | ) |
| 7990 | |
| 7991 | endif (gRPC_BUILD_TESTS) |
| 7992 | if (gRPC_BUILD_TESTS) |
| 7993 | |
| 7994 | add_executable(multiple_server_queues_test |
| 7995 | test/core/end2end/multiple_server_queues_test.c |
| 7996 | ) |
| 7997 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7998 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7999 | target_include_directories(multiple_server_queues_test |
| 8000 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8001 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8002 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8003 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8004 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8005 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8006 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8007 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8008 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8009 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8010 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8011 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8012 | ) |
| 8013 | |
| 8014 | target_link_libraries(multiple_server_queues_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8015 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8016 | grpc_test_util |
| 8017 | grpc |
| 8018 | gpr_test_util |
| 8019 | gpr |
| 8020 | ) |
| 8021 | |
| 8022 | endif (gRPC_BUILD_TESTS) |
| 8023 | if (gRPC_BUILD_TESTS) |
| 8024 | |
| 8025 | add_executable(murmur_hash_test |
| 8026 | test/core/support/murmur_hash_test.c |
| 8027 | ) |
| 8028 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8029 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8030 | target_include_directories(murmur_hash_test |
| 8031 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8032 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8033 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8034 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8035 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8036 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8037 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8038 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8039 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8040 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8041 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8042 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8043 | ) |
| 8044 | |
| 8045 | target_link_libraries(murmur_hash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8046 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8047 | gpr_test_util |
| 8048 | gpr |
| 8049 | ) |
| 8050 | |
| 8051 | endif (gRPC_BUILD_TESTS) |
| 8052 | if (gRPC_BUILD_TESTS) |
| 8053 | |
| 8054 | add_executable(no_server_test |
| 8055 | test/core/end2end/no_server_test.c |
| 8056 | ) |
| 8057 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8058 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8059 | target_include_directories(no_server_test |
| 8060 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8061 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8062 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8063 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8064 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8065 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8066 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8067 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8068 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8069 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8070 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8071 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8072 | ) |
| 8073 | |
| 8074 | target_link_libraries(no_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8075 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8076 | grpc_test_util |
| 8077 | grpc |
| 8078 | gpr_test_util |
| 8079 | gpr |
| 8080 | ) |
| 8081 | |
| 8082 | endif (gRPC_BUILD_TESTS) |
| 8083 | if (gRPC_BUILD_TESTS) |
| 8084 | |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 8085 | add_executable(num_external_connectivity_watchers_test |
| 8086 | test/core/surface/num_external_connectivity_watchers_test.c |
| 8087 | ) |
| 8088 | |
| 8089 | |
| 8090 | target_include_directories(num_external_connectivity_watchers_test |
| 8091 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8092 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8093 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8094 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8095 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8096 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8097 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8098 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 8099 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8100 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8101 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8102 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8103 | ) |
| 8104 | |
| 8105 | target_link_libraries(num_external_connectivity_watchers_test |
| 8106 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8107 | grpc_test_util |
| 8108 | grpc |
| 8109 | gpr_test_util |
| 8110 | gpr |
| 8111 | ) |
| 8112 | |
| 8113 | endif (gRPC_BUILD_TESTS) |
| 8114 | if (gRPC_BUILD_TESTS) |
| 8115 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 8116 | add_executable(parse_address_test |
| 8117 | test/core/client_channel/parse_address_test.c |
| 8118 | ) |
| 8119 | |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 8120 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 8121 | target_include_directories(parse_address_test |
| 8122 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8123 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8124 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8125 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 8126 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 8127 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8128 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8129 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8130 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8131 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8132 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 8133 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8134 | ) |
| 8135 | |
| 8136 | target_link_libraries(parse_address_test |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 8137 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 8138 | grpc_test_util |
| 8139 | grpc |
| 8140 | gpr_test_util |
| 8141 | gpr |
| 8142 | ) |
| 8143 | |
| 8144 | endif (gRPC_BUILD_TESTS) |
| 8145 | if (gRPC_BUILD_TESTS) |
| 8146 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8147 | add_executable(percent_encoding_test |
| 8148 | test/core/slice/percent_encoding_test.c |
| 8149 | ) |
| 8150 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8151 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8152 | target_include_directories(percent_encoding_test |
| 8153 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8154 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8155 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8156 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8157 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8158 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8159 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8160 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8161 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8162 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8163 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8164 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8165 | ) |
| 8166 | |
| 8167 | target_link_libraries(percent_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8168 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8169 | grpc_test_util |
| 8170 | grpc |
| 8171 | gpr_test_util |
| 8172 | gpr |
| 8173 | ) |
| 8174 | |
| 8175 | endif (gRPC_BUILD_TESTS) |
| 8176 | if (gRPC_BUILD_TESTS) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 8177 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8178 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8179 | add_executable(pollset_set_test |
| 8180 | test/core/iomgr/pollset_set_test.c |
| 8181 | ) |
| 8182 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 8183 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8184 | target_include_directories(pollset_set_test |
| 8185 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8186 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8187 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8188 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 8189 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8190 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8191 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8192 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8193 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8194 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8195 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8196 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8197 | ) |
| 8198 | |
| 8199 | target_link_libraries(pollset_set_test |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 8200 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8201 | grpc_test_util |
| 8202 | grpc |
| 8203 | gpr_test_util |
| 8204 | gpr |
| 8205 | ) |
| 8206 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 8207 | endif() |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8208 | endif (gRPC_BUILD_TESTS) |
| 8209 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8210 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8211 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8212 | add_executable(resolve_address_posix_test |
| 8213 | test/core/iomgr/resolve_address_posix_test.c |
| 8214 | ) |
| 8215 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8216 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8217 | target_include_directories(resolve_address_posix_test |
| 8218 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8219 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8220 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8221 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8222 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8223 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8224 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8225 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8226 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8227 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8228 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8229 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8230 | ) |
| 8231 | |
| 8232 | target_link_libraries(resolve_address_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8233 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8234 | grpc_test_util |
| 8235 | grpc |
| 8236 | gpr_test_util |
| 8237 | gpr |
| 8238 | ) |
| 8239 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8240 | endif() |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8241 | endif (gRPC_BUILD_TESTS) |
| 8242 | if (gRPC_BUILD_TESTS) |
| 8243 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8244 | add_executable(resolve_address_test |
| 8245 | test/core/iomgr/resolve_address_test.c |
| 8246 | ) |
| 8247 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8248 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8249 | target_include_directories(resolve_address_test |
| 8250 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8251 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8252 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8253 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8254 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8255 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8256 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8257 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8258 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8259 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8260 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8261 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8262 | ) |
| 8263 | |
| 8264 | target_link_libraries(resolve_address_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8265 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8266 | grpc_test_util |
| 8267 | grpc |
| 8268 | gpr_test_util |
| 8269 | gpr |
| 8270 | ) |
| 8271 | |
| 8272 | endif (gRPC_BUILD_TESTS) |
| 8273 | if (gRPC_BUILD_TESTS) |
| 8274 | |
| 8275 | add_executable(resource_quota_test |
| 8276 | test/core/iomgr/resource_quota_test.c |
| 8277 | ) |
| 8278 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8279 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8280 | target_include_directories(resource_quota_test |
| 8281 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8282 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8283 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8284 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8285 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8286 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8287 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8288 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8289 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8290 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8291 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8292 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8293 | ) |
| 8294 | |
| 8295 | target_link_libraries(resource_quota_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8296 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8297 | grpc_test_util |
| 8298 | grpc |
| 8299 | gpr_test_util |
| 8300 | gpr |
| 8301 | ) |
| 8302 | |
| 8303 | endif (gRPC_BUILD_TESTS) |
| 8304 | if (gRPC_BUILD_TESTS) |
| 8305 | |
| 8306 | add_executable(secure_channel_create_test |
| 8307 | test/core/surface/secure_channel_create_test.c |
| 8308 | ) |
| 8309 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8310 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8311 | target_include_directories(secure_channel_create_test |
| 8312 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8313 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8314 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8315 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8316 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8317 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8318 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8319 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8320 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8321 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8322 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8323 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8324 | ) |
| 8325 | |
| 8326 | target_link_libraries(secure_channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8327 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8328 | grpc_test_util |
| 8329 | grpc |
| 8330 | gpr_test_util |
| 8331 | gpr |
| 8332 | ) |
| 8333 | |
| 8334 | endif (gRPC_BUILD_TESTS) |
| 8335 | if (gRPC_BUILD_TESTS) |
| 8336 | |
| 8337 | add_executable(secure_endpoint_test |
| 8338 | test/core/security/secure_endpoint_test.c |
| 8339 | ) |
| 8340 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8341 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8342 | target_include_directories(secure_endpoint_test |
| 8343 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8344 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8345 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8346 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8347 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8348 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8349 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8350 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8351 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8352 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8353 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8354 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8355 | ) |
| 8356 | |
| 8357 | target_link_libraries(secure_endpoint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8358 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8359 | grpc_test_util |
| 8360 | grpc |
| 8361 | gpr_test_util |
| 8362 | gpr |
| 8363 | ) |
| 8364 | |
| 8365 | endif (gRPC_BUILD_TESTS) |
| 8366 | if (gRPC_BUILD_TESTS) |
| 8367 | |
| 8368 | add_executable(sequential_connectivity_test |
| 8369 | test/core/surface/sequential_connectivity_test.c |
| 8370 | ) |
| 8371 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8372 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8373 | target_include_directories(sequential_connectivity_test |
| 8374 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8375 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8376 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8377 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8378 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8379 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8380 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8381 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8382 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8383 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8384 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8385 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8386 | ) |
| 8387 | |
| 8388 | target_link_libraries(sequential_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8389 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8390 | grpc_test_util |
| 8391 | grpc |
| 8392 | gpr_test_util |
| 8393 | gpr |
| 8394 | ) |
| 8395 | |
| 8396 | endif (gRPC_BUILD_TESTS) |
| 8397 | if (gRPC_BUILD_TESTS) |
| 8398 | |
| 8399 | add_executable(server_chttp2_test |
| 8400 | test/core/surface/server_chttp2_test.c |
| 8401 | ) |
| 8402 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8403 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8404 | target_include_directories(server_chttp2_test |
| 8405 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8406 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8407 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8408 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8409 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8410 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8411 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8412 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8413 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8414 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8415 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8416 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8417 | ) |
| 8418 | |
| 8419 | target_link_libraries(server_chttp2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8420 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8421 | grpc_test_util |
| 8422 | grpc |
| 8423 | gpr_test_util |
| 8424 | gpr |
| 8425 | ) |
| 8426 | |
| 8427 | endif (gRPC_BUILD_TESTS) |
| 8428 | if (gRPC_BUILD_TESTS) |
| 8429 | |
| 8430 | add_executable(server_test |
| 8431 | test/core/surface/server_test.c |
| 8432 | ) |
| 8433 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8434 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8435 | target_include_directories(server_test |
| 8436 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8437 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8438 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8439 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8440 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8441 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8442 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8443 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8444 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8445 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8446 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8447 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8448 | ) |
| 8449 | |
| 8450 | target_link_libraries(server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8451 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8452 | grpc_test_util |
| 8453 | grpc |
| 8454 | gpr_test_util |
| 8455 | gpr |
| 8456 | ) |
| 8457 | |
| 8458 | endif (gRPC_BUILD_TESTS) |
| 8459 | if (gRPC_BUILD_TESTS) |
| 8460 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8461 | add_executable(slice_buffer_test |
| 8462 | test/core/slice/slice_buffer_test.c |
| 8463 | ) |
| 8464 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8465 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8466 | target_include_directories(slice_buffer_test |
| 8467 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8468 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8469 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8470 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8471 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8472 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8473 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8474 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8475 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8476 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8477 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8478 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8479 | ) |
| 8480 | |
| 8481 | target_link_libraries(slice_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8482 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8483 | grpc_test_util |
| 8484 | grpc |
| 8485 | gpr_test_util |
| 8486 | gpr |
| 8487 | ) |
| 8488 | |
| 8489 | endif (gRPC_BUILD_TESTS) |
| 8490 | if (gRPC_BUILD_TESTS) |
| 8491 | |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 8492 | add_executable(slice_hash_table_test |
| 8493 | test/core/slice/slice_hash_table_test.c |
| 8494 | ) |
| 8495 | |
| 8496 | |
| 8497 | target_include_directories(slice_hash_table_test |
| 8498 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8499 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8500 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8501 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8502 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8503 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8504 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8505 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 8506 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8507 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8508 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8509 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8510 | ) |
| 8511 | |
| 8512 | target_link_libraries(slice_hash_table_test |
| 8513 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8514 | grpc_test_util |
| 8515 | grpc |
| 8516 | gpr_test_util |
| 8517 | gpr |
| 8518 | ) |
| 8519 | |
| 8520 | endif (gRPC_BUILD_TESTS) |
| 8521 | if (gRPC_BUILD_TESTS) |
| 8522 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8523 | add_executable(slice_string_helpers_test |
| 8524 | test/core/slice/slice_string_helpers_test.c |
| 8525 | ) |
| 8526 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8527 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8528 | target_include_directories(slice_string_helpers_test |
| 8529 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8530 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8531 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8532 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8533 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8534 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8535 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8536 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8537 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8538 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8539 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8540 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8541 | ) |
| 8542 | |
| 8543 | target_link_libraries(slice_string_helpers_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8544 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8545 | grpc_test_util |
| 8546 | grpc |
| 8547 | gpr_test_util |
| 8548 | gpr |
| 8549 | ) |
| 8550 | |
| 8551 | endif (gRPC_BUILD_TESTS) |
| 8552 | if (gRPC_BUILD_TESTS) |
| 8553 | |
| 8554 | add_executable(slice_test |
| 8555 | test/core/slice/slice_test.c |
| 8556 | ) |
| 8557 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8558 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8559 | target_include_directories(slice_test |
| 8560 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8561 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8562 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8563 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8564 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8565 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8566 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8567 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8568 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8569 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8570 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8571 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8572 | ) |
| 8573 | |
| 8574 | target_link_libraries(slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8575 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8576 | grpc_test_util |
| 8577 | grpc |
| 8578 | gpr_test_util |
| 8579 | gpr |
| 8580 | ) |
| 8581 | |
| 8582 | endif (gRPC_BUILD_TESTS) |
| 8583 | if (gRPC_BUILD_TESTS) |
| 8584 | |
| 8585 | add_executable(sockaddr_resolver_test |
| 8586 | test/core/client_channel/resolvers/sockaddr_resolver_test.c |
| 8587 | ) |
| 8588 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8589 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8590 | target_include_directories(sockaddr_resolver_test |
| 8591 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8592 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8593 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8594 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8595 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8596 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8597 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8598 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8599 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8600 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8601 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8602 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8603 | ) |
| 8604 | |
| 8605 | target_link_libraries(sockaddr_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8606 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8607 | grpc_test_util |
| 8608 | grpc |
| 8609 | gpr_test_util |
| 8610 | gpr |
| 8611 | ) |
| 8612 | |
| 8613 | endif (gRPC_BUILD_TESTS) |
| 8614 | if (gRPC_BUILD_TESTS) |
| 8615 | |
| 8616 | add_executable(sockaddr_utils_test |
| 8617 | test/core/iomgr/sockaddr_utils_test.c |
| 8618 | ) |
| 8619 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8620 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8621 | target_include_directories(sockaddr_utils_test |
| 8622 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8623 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8624 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8625 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8626 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8627 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8628 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8629 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8630 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8631 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8632 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8633 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8634 | ) |
| 8635 | |
| 8636 | target_link_libraries(sockaddr_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8637 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8638 | grpc_test_util |
| 8639 | grpc |
| 8640 | gpr_test_util |
| 8641 | gpr |
| 8642 | ) |
| 8643 | |
| 8644 | endif (gRPC_BUILD_TESTS) |
| 8645 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8646 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8647 | |
| 8648 | add_executable(socket_utils_test |
| 8649 | test/core/iomgr/socket_utils_test.c |
| 8650 | ) |
| 8651 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8652 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8653 | target_include_directories(socket_utils_test |
| 8654 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8655 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8656 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8657 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8658 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8659 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8660 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8661 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8662 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8663 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8664 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8665 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8666 | ) |
| 8667 | |
| 8668 | target_link_libraries(socket_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8669 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8670 | grpc_test_util |
| 8671 | grpc |
| 8672 | gpr_test_util |
| 8673 | gpr |
| 8674 | ) |
| 8675 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8676 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8677 | endif (gRPC_BUILD_TESTS) |
| 8678 | if (gRPC_BUILD_TESTS) |
| 8679 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8680 | add_executable(status_conversion_test |
| 8681 | test/core/transport/status_conversion_test.c |
| 8682 | ) |
| 8683 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8684 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8685 | target_include_directories(status_conversion_test |
| 8686 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8687 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8688 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8689 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8690 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8691 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8692 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8693 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8694 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8695 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8696 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8697 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8698 | ) |
| 8699 | |
| 8700 | target_link_libraries(status_conversion_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8701 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8702 | grpc_test_util |
| 8703 | grpc |
| 8704 | gpr_test_util |
| 8705 | gpr |
| 8706 | ) |
| 8707 | |
| 8708 | endif (gRPC_BUILD_TESTS) |
| 8709 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8710 | |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8711 | add_executable(stream_compression_test |
| 8712 | test/core/compression/stream_compression_test.c |
| 8713 | ) |
| 8714 | |
| 8715 | |
| 8716 | target_include_directories(stream_compression_test |
| 8717 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8718 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8719 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8720 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8721 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8722 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8723 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8724 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 8725 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8726 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8727 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8728 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8729 | ) |
| 8730 | |
| 8731 | target_link_libraries(stream_compression_test |
| 8732 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8733 | grpc_test_util |
| 8734 | grpc |
| 8735 | gpr_test_util |
| 8736 | gpr |
| 8737 | ) |
| 8738 | |
| 8739 | endif (gRPC_BUILD_TESTS) |
| 8740 | if (gRPC_BUILD_TESTS) |
| 8741 | |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8742 | add_executable(stream_owned_slice_test |
| 8743 | test/core/transport/stream_owned_slice_test.c |
| 8744 | ) |
| 8745 | |
| 8746 | |
| 8747 | target_include_directories(stream_owned_slice_test |
| 8748 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8749 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8750 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8751 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8752 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8753 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8754 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8755 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8756 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8757 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8758 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8759 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8760 | ) |
| 8761 | |
| 8762 | target_link_libraries(stream_owned_slice_test |
| 8763 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8764 | grpc_test_util |
| 8765 | grpc |
| 8766 | gpr_test_util |
| 8767 | gpr |
| 8768 | ) |
| 8769 | |
| 8770 | endif (gRPC_BUILD_TESTS) |
| 8771 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8772 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8773 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8774 | add_executable(tcp_client_posix_test |
| 8775 | test/core/iomgr/tcp_client_posix_test.c |
| 8776 | ) |
| 8777 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8778 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8779 | target_include_directories(tcp_client_posix_test |
| 8780 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8781 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8782 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8783 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8784 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8785 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8786 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8787 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8788 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8789 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8790 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8791 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8792 | ) |
| 8793 | |
| 8794 | target_link_libraries(tcp_client_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8795 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8796 | grpc_test_util |
| 8797 | grpc |
| 8798 | gpr_test_util |
| 8799 | gpr |
| 8800 | ) |
| 8801 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8802 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8803 | endif (gRPC_BUILD_TESTS) |
| 8804 | if (gRPC_BUILD_TESTS) |
| 8805 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8806 | add_executable(tcp_client_uv_test |
| 8807 | test/core/iomgr/tcp_client_uv_test.c |
| 8808 | ) |
| 8809 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8810 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8811 | target_include_directories(tcp_client_uv_test |
| 8812 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8813 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8814 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8815 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8816 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8817 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8818 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8819 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8820 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8821 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8822 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8823 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8824 | ) |
| 8825 | |
| 8826 | target_link_libraries(tcp_client_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8827 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8828 | grpc_test_util |
| 8829 | grpc |
| 8830 | gpr_test_util |
| 8831 | gpr |
| 8832 | ) |
| 8833 | |
| 8834 | endif (gRPC_BUILD_TESTS) |
| 8835 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8836 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8837 | |
| 8838 | add_executable(tcp_posix_test |
| 8839 | test/core/iomgr/tcp_posix_test.c |
| 8840 | ) |
| 8841 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8842 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8843 | target_include_directories(tcp_posix_test |
| 8844 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8845 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8846 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8847 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8848 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8849 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8850 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8851 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8852 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8853 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8854 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8855 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8856 | ) |
| 8857 | |
| 8858 | target_link_libraries(tcp_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8859 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8860 | grpc_test_util |
| 8861 | grpc |
| 8862 | gpr_test_util |
| 8863 | gpr |
| 8864 | ) |
| 8865 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8866 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8867 | endif (gRPC_BUILD_TESTS) |
| 8868 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8869 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8870 | |
| 8871 | add_executable(tcp_server_posix_test |
| 8872 | test/core/iomgr/tcp_server_posix_test.c |
| 8873 | ) |
| 8874 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8875 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8876 | target_include_directories(tcp_server_posix_test |
| 8877 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8878 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8879 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8880 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8881 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8882 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8883 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8884 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8885 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8886 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8887 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8888 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8889 | ) |
| 8890 | |
| 8891 | target_link_libraries(tcp_server_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8892 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8893 | grpc_test_util |
| 8894 | grpc |
| 8895 | gpr_test_util |
| 8896 | gpr |
| 8897 | ) |
| 8898 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8899 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8900 | endif (gRPC_BUILD_TESTS) |
| 8901 | if (gRPC_BUILD_TESTS) |
| 8902 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8903 | add_executable(tcp_server_uv_test |
| 8904 | test/core/iomgr/tcp_server_uv_test.c |
| 8905 | ) |
| 8906 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8907 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8908 | target_include_directories(tcp_server_uv_test |
| 8909 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8910 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8911 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8912 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8913 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8914 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8915 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8916 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8917 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8918 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8919 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8920 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8921 | ) |
| 8922 | |
| 8923 | target_link_libraries(tcp_server_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8924 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8925 | grpc_test_util |
| 8926 | grpc |
| 8927 | gpr_test_util |
| 8928 | gpr |
| 8929 | ) |
| 8930 | |
| 8931 | endif (gRPC_BUILD_TESTS) |
| 8932 | if (gRPC_BUILD_TESTS) |
| 8933 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8934 | add_executable(time_averaged_stats_test |
| 8935 | test/core/iomgr/time_averaged_stats_test.c |
| 8936 | ) |
| 8937 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8938 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8939 | target_include_directories(time_averaged_stats_test |
| 8940 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8941 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8942 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8943 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8944 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8945 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8946 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8947 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8948 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8949 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8950 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8951 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8952 | ) |
| 8953 | |
| 8954 | target_link_libraries(time_averaged_stats_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8955 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8956 | grpc_test_util |
| 8957 | grpc |
| 8958 | gpr_test_util |
| 8959 | gpr |
| 8960 | ) |
| 8961 | |
| 8962 | endif (gRPC_BUILD_TESTS) |
| 8963 | if (gRPC_BUILD_TESTS) |
| 8964 | |
| 8965 | add_executable(timeout_encoding_test |
| 8966 | test/core/transport/timeout_encoding_test.c |
| 8967 | ) |
| 8968 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8969 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8970 | target_include_directories(timeout_encoding_test |
| 8971 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8972 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8973 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8974 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8975 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8976 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8977 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8978 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8979 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8980 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8981 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8982 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8983 | ) |
| 8984 | |
| 8985 | target_link_libraries(timeout_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8986 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8987 | grpc_test_util |
| 8988 | grpc |
| 8989 | gpr_test_util |
| 8990 | gpr |
| 8991 | ) |
| 8992 | |
| 8993 | endif (gRPC_BUILD_TESTS) |
| 8994 | if (gRPC_BUILD_TESTS) |
| 8995 | |
| 8996 | add_executable(timer_heap_test |
| 8997 | test/core/iomgr/timer_heap_test.c |
| 8998 | ) |
| 8999 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9000 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9001 | target_include_directories(timer_heap_test |
| 9002 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9003 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9004 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9005 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9006 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9007 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9008 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9009 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9010 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9011 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9012 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9013 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9014 | ) |
| 9015 | |
| 9016 | target_link_libraries(timer_heap_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9017 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9018 | grpc_test_util |
| 9019 | grpc |
| 9020 | gpr_test_util |
| 9021 | gpr |
| 9022 | ) |
| 9023 | |
| 9024 | endif (gRPC_BUILD_TESTS) |
| 9025 | if (gRPC_BUILD_TESTS) |
| 9026 | |
| 9027 | add_executable(timer_list_test |
| 9028 | test/core/iomgr/timer_list_test.c |
| 9029 | ) |
| 9030 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9031 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9032 | target_include_directories(timer_list_test |
| 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 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9037 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9038 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9039 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9040 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9041 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9042 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9043 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9044 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9045 | ) |
| 9046 | |
| 9047 | target_link_libraries(timer_list_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9048 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9049 | grpc_test_util |
| 9050 | grpc |
| 9051 | gpr_test_util |
| 9052 | gpr |
| 9053 | ) |
| 9054 | |
| 9055 | endif (gRPC_BUILD_TESTS) |
| 9056 | if (gRPC_BUILD_TESTS) |
| 9057 | |
| 9058 | add_executable(transport_connectivity_state_test |
| 9059 | test/core/transport/connectivity_state_test.c |
| 9060 | ) |
| 9061 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9062 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9063 | target_include_directories(transport_connectivity_state_test |
| 9064 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9065 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9066 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9067 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9068 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9069 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9070 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9071 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9072 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9073 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9074 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9075 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9076 | ) |
| 9077 | |
| 9078 | target_link_libraries(transport_connectivity_state_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9079 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9080 | grpc_test_util |
| 9081 | grpc |
| 9082 | gpr_test_util |
| 9083 | gpr |
| 9084 | ) |
| 9085 | |
| 9086 | endif (gRPC_BUILD_TESTS) |
| 9087 | if (gRPC_BUILD_TESTS) |
| 9088 | |
| 9089 | add_executable(transport_metadata_test |
| 9090 | test/core/transport/metadata_test.c |
| 9091 | ) |
| 9092 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9093 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9094 | target_include_directories(transport_metadata_test |
| 9095 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9096 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9097 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9098 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9099 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9100 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9101 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9102 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9103 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9104 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9105 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9106 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9107 | ) |
| 9108 | |
| 9109 | target_link_libraries(transport_metadata_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9110 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9111 | grpc_test_util |
| 9112 | grpc |
| 9113 | gpr_test_util |
| 9114 | gpr |
| 9115 | ) |
| 9116 | |
| 9117 | endif (gRPC_BUILD_TESTS) |
| 9118 | if (gRPC_BUILD_TESTS) |
| 9119 | |
| 9120 | add_executable(transport_pid_controller_test |
| 9121 | test/core/transport/pid_controller_test.c |
| 9122 | ) |
| 9123 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9124 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9125 | target_include_directories(transport_pid_controller_test |
| 9126 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9127 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9128 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9129 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9130 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9131 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9132 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9133 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9134 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9135 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9136 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9137 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9138 | ) |
| 9139 | |
| 9140 | target_link_libraries(transport_pid_controller_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9141 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9142 | grpc_test_util |
| 9143 | grpc |
| 9144 | gpr_test_util |
| 9145 | gpr |
| 9146 | ) |
| 9147 | |
| 9148 | endif (gRPC_BUILD_TESTS) |
| 9149 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9150 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9151 | |
| 9152 | add_executable(transport_security_test |
| 9153 | test/core/tsi/transport_security_test.c |
| 9154 | ) |
| 9155 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9156 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9157 | target_include_directories(transport_security_test |
| 9158 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9159 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9160 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9161 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9162 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9163 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9164 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9165 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9166 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9167 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9168 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9169 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9170 | ) |
| 9171 | |
| 9172 | target_link_libraries(transport_security_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9173 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9174 | grpc_test_util |
| 9175 | grpc |
| 9176 | gpr_test_util |
| 9177 | gpr |
| 9178 | ) |
| 9179 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9180 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9181 | endif (gRPC_BUILD_TESTS) |
| 9182 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9183 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9184 | |
| 9185 | add_executable(udp_server_test |
| 9186 | test/core/iomgr/udp_server_test.c |
| 9187 | ) |
| 9188 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9189 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9190 | target_include_directories(udp_server_test |
| 9191 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9192 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9193 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9194 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9195 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9196 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9197 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9198 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9199 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9200 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9201 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9202 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9203 | ) |
| 9204 | |
| 9205 | target_link_libraries(udp_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9206 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9207 | grpc_test_util |
| 9208 | grpc |
| 9209 | gpr_test_util |
| 9210 | gpr |
| 9211 | ) |
| 9212 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9213 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9214 | endif (gRPC_BUILD_TESTS) |
| 9215 | if (gRPC_BUILD_TESTS) |
| 9216 | |
| 9217 | add_executable(uri_parser_test |
| 9218 | test/core/client_channel/uri_parser_test.c |
| 9219 | ) |
| 9220 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9221 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9222 | target_include_directories(uri_parser_test |
| 9223 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9224 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9225 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9226 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9227 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9228 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9229 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9230 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9231 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9232 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9233 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9234 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9235 | ) |
| 9236 | |
| 9237 | target_link_libraries(uri_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9238 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9239 | grpc_test_util |
| 9240 | grpc |
| 9241 | gpr_test_util |
| 9242 | gpr |
| 9243 | ) |
| 9244 | |
| 9245 | endif (gRPC_BUILD_TESTS) |
| 9246 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9247 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9248 | |
| 9249 | add_executable(wakeup_fd_cv_test |
| 9250 | test/core/iomgr/wakeup_fd_cv_test.c |
| 9251 | ) |
| 9252 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9253 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9254 | target_include_directories(wakeup_fd_cv_test |
| 9255 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9256 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9257 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9258 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9259 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9260 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9261 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9262 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9263 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9264 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9265 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9266 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9267 | ) |
| 9268 | |
| 9269 | target_link_libraries(wakeup_fd_cv_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9270 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9271 | grpc_test_util |
| 9272 | grpc |
| 9273 | gpr_test_util |
| 9274 | gpr |
| 9275 | ) |
| 9276 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9277 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9278 | endif (gRPC_BUILD_TESTS) |
| 9279 | if (gRPC_BUILD_TESTS) |
| 9280 | |
| 9281 | add_executable(alarm_cpp_test |
| 9282 | test/cpp/common/alarm_cpp_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9283 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9284 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9285 | ) |
| 9286 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9287 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9288 | target_include_directories(alarm_cpp_test |
| 9289 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9290 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9291 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9292 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9293 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9294 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9295 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9296 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9297 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9298 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9299 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9300 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9301 | PRIVATE third_party/googletest/googletest/include |
| 9302 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9303 | PRIVATE third_party/googletest/googlemock/include |
| 9304 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9305 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9306 | ) |
| 9307 | |
| 9308 | target_link_libraries(alarm_cpp_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9309 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9310 | ${_gRPC_ALLTARGETS_LIBRARIES} |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 9311 | grpc++_test_util_unsecure |
| 9312 | grpc_test_util_unsecure |
| 9313 | grpc++_unsecure |
| 9314 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9315 | gpr_test_util |
| 9316 | gpr |
| 9317 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9318 | ) |
| 9319 | |
| 9320 | endif (gRPC_BUILD_TESTS) |
| 9321 | if (gRPC_BUILD_TESTS) |
| 9322 | |
| 9323 | add_executable(async_end2end_test |
| 9324 | test/cpp/end2end/async_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9325 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9326 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9327 | ) |
| 9328 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9329 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9330 | target_include_directories(async_end2end_test |
| 9331 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9332 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9333 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9334 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9335 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9336 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9337 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9338 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9339 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9340 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9341 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9342 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9343 | PRIVATE third_party/googletest/googletest/include |
| 9344 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9345 | PRIVATE third_party/googletest/googlemock/include |
| 9346 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9347 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9348 | ) |
| 9349 | |
| 9350 | target_link_libraries(async_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9351 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9352 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9353 | grpc++_test_util |
| 9354 | grpc_test_util |
| 9355 | grpc++ |
| 9356 | grpc |
| 9357 | gpr_test_util |
| 9358 | gpr |
| 9359 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9360 | ) |
| 9361 | |
| 9362 | endif (gRPC_BUILD_TESTS) |
| 9363 | if (gRPC_BUILD_TESTS) |
| 9364 | |
| 9365 | add_executable(auth_property_iterator_test |
| 9366 | test/cpp/common/auth_property_iterator_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9367 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9368 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9369 | ) |
| 9370 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9371 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9372 | target_include_directories(auth_property_iterator_test |
| 9373 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9374 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9375 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9376 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9377 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9378 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9379 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9380 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9381 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9382 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9383 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9384 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9385 | PRIVATE third_party/googletest/googletest/include |
| 9386 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9387 | PRIVATE third_party/googletest/googlemock/include |
| 9388 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9389 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9390 | ) |
| 9391 | |
| 9392 | target_link_libraries(auth_property_iterator_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9393 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9394 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9395 | grpc++_test_util |
| 9396 | grpc_test_util |
| 9397 | grpc++ |
| 9398 | grpc |
| 9399 | gpr_test_util |
| 9400 | gpr |
| 9401 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9402 | ) |
| 9403 | |
| 9404 | endif (gRPC_BUILD_TESTS) |
| 9405 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9406 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9407 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9408 | add_executable(bm_arena |
| 9409 | test/cpp/microbenchmarks/bm_arena.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9410 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9411 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9412 | ) |
| 9413 | |
| 9414 | |
| 9415 | target_include_directories(bm_arena |
| 9416 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9417 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9418 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9419 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9420 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9421 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9422 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9423 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9424 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9425 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9426 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9427 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9428 | PRIVATE third_party/googletest/googletest/include |
| 9429 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9430 | PRIVATE third_party/googletest/googlemock/include |
| 9431 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9432 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9433 | ) |
| 9434 | |
| 9435 | target_link_libraries(bm_arena |
| 9436 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9437 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9438 | grpc_benchmark |
| 9439 | benchmark |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 9440 | grpc++_test_util_unsecure |
| 9441 | grpc_test_util_unsecure |
| 9442 | grpc++_unsecure |
| 9443 | grpc_unsecure |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9444 | gpr_test_util |
| 9445 | gpr |
| 9446 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9447 | ) |
| 9448 | |
| 9449 | endif() |
| 9450 | endif (gRPC_BUILD_TESTS) |
| 9451 | if (gRPC_BUILD_TESTS) |
| 9452 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9453 | |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9454 | add_executable(bm_call_create |
| 9455 | test/cpp/microbenchmarks/bm_call_create.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9456 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9457 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9458 | ) |
| 9459 | |
| 9460 | |
| 9461 | target_include_directories(bm_call_create |
| 9462 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9463 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9464 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9465 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9466 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9467 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9468 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9469 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9470 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9471 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9472 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9473 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9474 | PRIVATE third_party/googletest/googletest/include |
| 9475 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9476 | PRIVATE third_party/googletest/googlemock/include |
| 9477 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9478 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9479 | ) |
| 9480 | |
| 9481 | target_link_libraries(bm_call_create |
| 9482 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9483 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9484 | grpc_benchmark |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9485 | benchmark |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 9486 | grpc++_test_util_unsecure |
| 9487 | grpc_test_util_unsecure |
| 9488 | grpc++_unsecure |
| 9489 | grpc_unsecure |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9490 | gpr_test_util |
| 9491 | gpr |
| 9492 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9493 | ) |
| 9494 | |
| 9495 | endif() |
| 9496 | endif (gRPC_BUILD_TESTS) |
| 9497 | if (gRPC_BUILD_TESTS) |
| 9498 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9499 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 9500 | add_executable(bm_chttp2_hpack |
| 9501 | test/cpp/microbenchmarks/bm_chttp2_hpack.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9502 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9503 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9504 | ) |
| 9505 | |
| 9506 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 9507 | target_include_directories(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9508 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9509 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9510 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9511 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9512 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9513 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9514 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9515 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9516 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9517 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9518 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9519 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9520 | PRIVATE third_party/googletest/googletest/include |
| 9521 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9522 | PRIVATE third_party/googletest/googlemock/include |
| 9523 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9524 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9525 | ) |
| 9526 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 9527 | target_link_libraries(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9528 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9529 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9530 | grpc_benchmark |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9531 | benchmark |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 9532 | grpc++_test_util_unsecure |
| 9533 | grpc_test_util_unsecure |
| 9534 | grpc++_unsecure |
| 9535 | grpc_unsecure |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9536 | gpr_test_util |
| 9537 | gpr |
| 9538 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9539 | ) |
| 9540 | |
| 9541 | endif() |
| 9542 | endif (gRPC_BUILD_TESTS) |
| 9543 | if (gRPC_BUILD_TESTS) |
| 9544 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9545 | |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9546 | add_executable(bm_chttp2_transport |
| 9547 | test/cpp/microbenchmarks/bm_chttp2_transport.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9548 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9549 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9550 | ) |
| 9551 | |
| 9552 | |
| 9553 | target_include_directories(bm_chttp2_transport |
| 9554 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9555 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9556 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9557 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9558 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9559 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9560 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 937302b | 2017-03-22 10:54:31 -0700 | [diff] [blame] | 9561 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 9562 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9563 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9564 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9565 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9566 | PRIVATE third_party/googletest/googletest/include |
| 9567 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9568 | PRIVATE third_party/googletest/googlemock/include |
| 9569 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9570 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9571 | ) |
| 9572 | |
| 9573 | target_link_libraries(bm_chttp2_transport |
| 9574 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9575 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9576 | grpc_benchmark |
| 9577 | benchmark |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 9578 | grpc++_test_util_unsecure |
| 9579 | grpc_test_util_unsecure |
| 9580 | grpc++_unsecure |
| 9581 | grpc_unsecure |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9582 | gpr_test_util |
| 9583 | gpr |
| 9584 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9585 | ) |
| 9586 | |
| 9587 | endif() |
| 9588 | endif (gRPC_BUILD_TESTS) |
| 9589 | if (gRPC_BUILD_TESTS) |
| 9590 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9591 | |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9592 | add_executable(bm_closure |
| 9593 | test/cpp/microbenchmarks/bm_closure.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9594 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9595 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9596 | ) |
| 9597 | |
| 9598 | |
| 9599 | target_include_directories(bm_closure |
| 9600 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9601 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9602 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9603 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9604 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9605 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9606 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9607 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9608 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9609 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9610 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9611 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9612 | PRIVATE third_party/googletest/googletest/include |
| 9613 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9614 | PRIVATE third_party/googletest/googlemock/include |
| 9615 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9616 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9617 | ) |
| 9618 | |
| 9619 | target_link_libraries(bm_closure |
| 9620 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9621 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9622 | grpc_benchmark |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9623 | benchmark |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 9624 | grpc++_test_util_unsecure |
| 9625 | grpc_test_util_unsecure |
| 9626 | grpc++_unsecure |
| 9627 | grpc_unsecure |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9628 | gpr_test_util |
| 9629 | gpr |
| 9630 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9631 | ) |
| 9632 | |
| 9633 | endif() |
| 9634 | endif (gRPC_BUILD_TESTS) |
| 9635 | if (gRPC_BUILD_TESTS) |
| 9636 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9637 | |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9638 | add_executable(bm_cq |
| 9639 | test/cpp/microbenchmarks/bm_cq.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9640 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9641 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9642 | ) |
| 9643 | |
| 9644 | |
| 9645 | target_include_directories(bm_cq |
| 9646 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9647 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9648 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9649 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9650 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9651 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9652 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9653 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9654 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9655 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9656 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9657 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9658 | PRIVATE third_party/googletest/googletest/include |
| 9659 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9660 | PRIVATE third_party/googletest/googlemock/include |
| 9661 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9662 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9663 | ) |
| 9664 | |
| 9665 | target_link_libraries(bm_cq |
| 9666 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9667 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9668 | grpc_benchmark |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9669 | benchmark |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 9670 | grpc++_test_util_unsecure |
| 9671 | grpc_test_util_unsecure |
| 9672 | grpc++_unsecure |
| 9673 | grpc_unsecure |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9674 | gpr_test_util |
| 9675 | gpr |
| 9676 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9677 | ) |
| 9678 | |
| 9679 | endif() |
| 9680 | endif (gRPC_BUILD_TESTS) |
| 9681 | if (gRPC_BUILD_TESTS) |
| 9682 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9683 | |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9684 | add_executable(bm_cq_multiple_threads |
| 9685 | test/cpp/microbenchmarks/bm_cq_multiple_threads.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 9686 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9687 | third_party/googletest/googlemock/src/gmock-all.cc |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9688 | ) |
| 9689 | |
| 9690 | |
| 9691 | target_include_directories(bm_cq_multiple_threads |
| 9692 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9693 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9694 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9695 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9696 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9697 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9698 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9699 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 9700 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9701 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9702 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9703 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 9704 | PRIVATE third_party/googletest/googletest/include |
| 9705 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9706 | PRIVATE third_party/googletest/googlemock/include |
| 9707 | PRIVATE third_party/googletest/googlemock |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9708 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9709 | ) |
| 9710 | |
| 9711 | target_link_libraries(bm_cq_multiple_threads |
| 9712 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9713 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9714 | grpc_benchmark |
| 9715 | benchmark |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 9716 | grpc++_test_util_unsecure |
| 9717 | grpc_test_util_unsecure |
| 9718 | grpc++_unsecure |
| 9719 | grpc_unsecure |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9720 | gpr_test_util |
| 9721 | gpr |
| 9722 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9723 | ) |
| 9724 | |
| 9725 | endif() |
| 9726 | endif (gRPC_BUILD_TESTS) |
| 9727 | if (gRPC_BUILD_TESTS) |
| 9728 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9729 | |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9730 | add_executable(bm_error |
| 9731 | test/cpp/microbenchmarks/bm_error.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9732 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9733 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9734 | ) |
| 9735 | |
| 9736 | |
| 9737 | target_include_directories(bm_error |
| 9738 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9739 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9740 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9741 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9742 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9743 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9744 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9745 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9746 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9747 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9748 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9749 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9750 | PRIVATE third_party/googletest/googletest/include |
| 9751 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9752 | PRIVATE third_party/googletest/googlemock/include |
| 9753 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9754 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9755 | ) |
| 9756 | |
| 9757 | target_link_libraries(bm_error |
| 9758 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9759 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9760 | grpc_benchmark |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9761 | benchmark |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 9762 | grpc++_test_util_unsecure |
| 9763 | grpc_test_util_unsecure |
| 9764 | grpc++_unsecure |
| 9765 | grpc_unsecure |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9766 | gpr_test_util |
| 9767 | gpr |
| 9768 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9769 | ) |
| 9770 | |
| 9771 | endif() |
| 9772 | endif (gRPC_BUILD_TESTS) |
| 9773 | if (gRPC_BUILD_TESTS) |
| 9774 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9775 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9776 | add_executable(bm_fullstack_streaming_ping_pong |
| 9777 | test/cpp/microbenchmarks/bm_fullstack_streaming_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9778 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9779 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9780 | ) |
| 9781 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9782 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9783 | target_include_directories(bm_fullstack_streaming_ping_pong |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9784 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9785 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9786 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9787 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9788 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9789 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9790 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9791 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9792 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9793 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9794 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9795 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9796 | PRIVATE third_party/googletest/googletest/include |
| 9797 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9798 | PRIVATE third_party/googletest/googlemock/include |
| 9799 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9800 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9801 | ) |
| 9802 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9803 | target_link_libraries(bm_fullstack_streaming_ping_pong |
| 9804 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9805 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9806 | grpc_benchmark |
| 9807 | benchmark |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 9808 | grpc++_test_util_unsecure |
| 9809 | grpc_test_util_unsecure |
| 9810 | grpc++_unsecure |
| 9811 | grpc_unsecure |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9812 | gpr_test_util |
| 9813 | gpr |
| 9814 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9815 | ) |
| 9816 | |
| 9817 | endif() |
| 9818 | endif (gRPC_BUILD_TESTS) |
| 9819 | if (gRPC_BUILD_TESTS) |
| 9820 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9821 | |
| 9822 | add_executable(bm_fullstack_streaming_pump |
| 9823 | test/cpp/microbenchmarks/bm_fullstack_streaming_pump.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9824 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9825 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9826 | ) |
| 9827 | |
| 9828 | |
| 9829 | target_include_directories(bm_fullstack_streaming_pump |
| 9830 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9831 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9832 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9833 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9834 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9835 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9836 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9837 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9838 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9839 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9840 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9841 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9842 | PRIVATE third_party/googletest/googletest/include |
| 9843 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9844 | PRIVATE third_party/googletest/googlemock/include |
| 9845 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9846 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9847 | ) |
| 9848 | |
| 9849 | target_link_libraries(bm_fullstack_streaming_pump |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9850 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9851 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9852 | grpc_benchmark |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9853 | benchmark |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 9854 | grpc++_test_util_unsecure |
| 9855 | grpc_test_util_unsecure |
| 9856 | grpc++_unsecure |
| 9857 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9858 | gpr_test_util |
| 9859 | gpr |
| 9860 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9861 | ) |
| 9862 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9863 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9864 | endif (gRPC_BUILD_TESTS) |
| 9865 | if (gRPC_BUILD_TESTS) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9866 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9867 | |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9868 | add_executable(bm_fullstack_trickle |
| 9869 | test/cpp/microbenchmarks/bm_fullstack_trickle.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9870 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9871 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9872 | ) |
| 9873 | |
| 9874 | |
| 9875 | target_include_directories(bm_fullstack_trickle |
| 9876 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9877 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9878 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9879 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9880 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9881 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9882 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9883 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9884 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9885 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9886 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9887 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9888 | PRIVATE third_party/googletest/googletest/include |
| 9889 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9890 | PRIVATE third_party/googletest/googlemock/include |
| 9891 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9892 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9893 | ) |
| 9894 | |
| 9895 | target_link_libraries(bm_fullstack_trickle |
| 9896 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9897 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9898 | grpc_benchmark |
| 9899 | benchmark |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 9900 | grpc++_test_util_unsecure |
| 9901 | grpc_test_util_unsecure |
| 9902 | grpc++_unsecure |
| 9903 | grpc_unsecure |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9904 | gpr_test_util |
| 9905 | gpr |
| 9906 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9907 | ) |
| 9908 | |
| 9909 | endif() |
| 9910 | endif (gRPC_BUILD_TESTS) |
| 9911 | if (gRPC_BUILD_TESTS) |
| 9912 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9913 | |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9914 | add_executable(bm_fullstack_unary_ping_pong |
| 9915 | test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9916 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9917 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9918 | ) |
| 9919 | |
| 9920 | |
| 9921 | target_include_directories(bm_fullstack_unary_ping_pong |
| 9922 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9923 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9924 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9925 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9926 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9927 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9928 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9929 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9930 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9931 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9932 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9933 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9934 | PRIVATE third_party/googletest/googletest/include |
| 9935 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9936 | PRIVATE third_party/googletest/googlemock/include |
| 9937 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9938 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9939 | ) |
| 9940 | |
| 9941 | target_link_libraries(bm_fullstack_unary_ping_pong |
| 9942 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9943 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9944 | grpc_benchmark |
| 9945 | benchmark |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 9946 | grpc++_test_util_unsecure |
| 9947 | grpc_test_util_unsecure |
| 9948 | grpc++_unsecure |
| 9949 | grpc_unsecure |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9950 | gpr_test_util |
| 9951 | gpr |
| 9952 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9953 | ) |
| 9954 | |
| 9955 | endif() |
| 9956 | endif (gRPC_BUILD_TESTS) |
| 9957 | if (gRPC_BUILD_TESTS) |
| 9958 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9959 | |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9960 | add_executable(bm_metadata |
| 9961 | test/cpp/microbenchmarks/bm_metadata.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9962 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9963 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9964 | ) |
| 9965 | |
| 9966 | |
| 9967 | target_include_directories(bm_metadata |
| 9968 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9969 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9970 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9971 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9972 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9973 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9974 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9975 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9976 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9977 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9978 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9979 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9980 | PRIVATE third_party/googletest/googletest/include |
| 9981 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9982 | PRIVATE third_party/googletest/googlemock/include |
| 9983 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9984 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9985 | ) |
| 9986 | |
| 9987 | target_link_libraries(bm_metadata |
| 9988 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9989 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9990 | grpc_benchmark |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9991 | benchmark |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 9992 | grpc++_test_util_unsecure |
| 9993 | grpc_test_util_unsecure |
| 9994 | grpc++_unsecure |
| 9995 | grpc_unsecure |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9996 | gpr_test_util |
| 9997 | gpr |
| 9998 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9999 | ) |
| 10000 | |
| 10001 | endif() |
| 10002 | endif (gRPC_BUILD_TESTS) |
| 10003 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 10004 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10005 | |
| 10006 | add_executable(bm_pollset |
| 10007 | test/cpp/microbenchmarks/bm_pollset.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10008 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10009 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 10010 | ) |
| 10011 | |
| 10012 | |
| 10013 | target_include_directories(bm_pollset |
| 10014 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10015 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10016 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10017 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10018 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10019 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10020 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10021 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10022 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10023 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10024 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 10025 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10026 | PRIVATE third_party/googletest/googletest/include |
| 10027 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10028 | PRIVATE third_party/googletest/googlemock/include |
| 10029 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 10030 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10031 | ) |
| 10032 | |
| 10033 | target_link_libraries(bm_pollset |
| 10034 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10035 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10036 | grpc_benchmark |
| 10037 | benchmark |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 10038 | grpc++_test_util_unsecure |
| 10039 | grpc_test_util_unsecure |
| 10040 | grpc++_unsecure |
| 10041 | grpc_unsecure |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 10042 | gpr_test_util |
| 10043 | gpr |
| 10044 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10045 | ) |
| 10046 | |
| 10047 | endif() |
| 10048 | endif (gRPC_BUILD_TESTS) |
| 10049 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10050 | |
| 10051 | add_executable(channel_arguments_test |
| 10052 | test/cpp/common/channel_arguments_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10053 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10054 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10055 | ) |
| 10056 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10057 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10058 | target_include_directories(channel_arguments_test |
| 10059 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10060 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10061 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10062 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10063 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10064 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10065 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10066 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10067 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10068 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10069 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10070 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10071 | PRIVATE third_party/googletest/googletest/include |
| 10072 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10073 | PRIVATE third_party/googletest/googlemock/include |
| 10074 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10075 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10076 | ) |
| 10077 | |
| 10078 | target_link_libraries(channel_arguments_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10079 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10080 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10081 | grpc++ |
| 10082 | grpc |
| 10083 | gpr |
| 10084 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10085 | ) |
| 10086 | |
| 10087 | endif (gRPC_BUILD_TESTS) |
| 10088 | if (gRPC_BUILD_TESTS) |
| 10089 | |
| 10090 | add_executable(channel_filter_test |
| 10091 | test/cpp/common/channel_filter_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10092 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10093 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10094 | ) |
| 10095 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10096 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10097 | target_include_directories(channel_filter_test |
| 10098 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10099 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10100 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10101 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10102 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10103 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10104 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10105 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10106 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10107 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10108 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10109 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10110 | PRIVATE third_party/googletest/googletest/include |
| 10111 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10112 | PRIVATE third_party/googletest/googlemock/include |
| 10113 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10114 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10115 | ) |
| 10116 | |
| 10117 | target_link_libraries(channel_filter_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10118 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10119 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10120 | grpc++ |
| 10121 | grpc |
| 10122 | gpr |
| 10123 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10124 | ) |
| 10125 | |
| 10126 | endif (gRPC_BUILD_TESTS) |
| 10127 | if (gRPC_BUILD_TESTS) |
| 10128 | |
| 10129 | add_executable(cli_call_test |
| 10130 | test/cpp/util/cli_call_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10131 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10132 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10133 | ) |
| 10134 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10135 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10136 | target_include_directories(cli_call_test |
| 10137 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10138 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10139 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10140 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10141 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10142 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10143 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10144 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10145 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10146 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10147 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10148 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10149 | PRIVATE third_party/googletest/googletest/include |
| 10150 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10151 | PRIVATE third_party/googletest/googlemock/include |
| 10152 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10153 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10154 | ) |
| 10155 | |
| 10156 | target_link_libraries(cli_call_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10157 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10158 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10159 | grpc_cli_libs |
| 10160 | grpc++_test_util |
| 10161 | grpc_test_util |
| 10162 | grpc++ |
| 10163 | grpc |
| 10164 | gpr_test_util |
| 10165 | gpr |
| 10166 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10167 | ) |
| 10168 | |
| 10169 | endif (gRPC_BUILD_TESTS) |
| 10170 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10171 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10172 | |
| 10173 | add_executable(client_crash_test |
| 10174 | test/cpp/end2end/client_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 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 |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10177 | ) |
| 10178 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10179 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10180 | target_include_directories(client_crash_test |
| 10181 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10182 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10183 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10184 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10185 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10186 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10187 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10188 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10189 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10190 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10191 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10192 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10193 | PRIVATE third_party/googletest/googletest/include |
| 10194 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10195 | PRIVATE third_party/googletest/googlemock/include |
| 10196 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10197 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10198 | ) |
| 10199 | |
| 10200 | target_link_libraries(client_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10201 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10202 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10203 | grpc++_test_util |
| 10204 | grpc_test_util |
| 10205 | grpc++ |
| 10206 | grpc |
| 10207 | gpr_test_util |
| 10208 | gpr |
| 10209 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10210 | ) |
| 10211 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10212 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10213 | endif (gRPC_BUILD_TESTS) |
| 10214 | if (gRPC_BUILD_TESTS) |
| 10215 | |
| 10216 | add_executable(client_crash_test_server |
| 10217 | test/cpp/end2end/client_crash_test_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10218 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10219 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10220 | ) |
| 10221 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10222 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10223 | target_include_directories(client_crash_test_server |
| 10224 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10225 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10226 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10227 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10228 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10229 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10230 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10231 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10232 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10233 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10234 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10235 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10236 | PRIVATE third_party/googletest/googletest/include |
| 10237 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10238 | PRIVATE third_party/googletest/googlemock/include |
| 10239 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10240 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10241 | ) |
| 10242 | |
| 10243 | target_link_libraries(client_crash_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10244 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10245 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10246 | grpc++_test_util |
| 10247 | grpc_test_util |
| 10248 | grpc++ |
| 10249 | grpc |
| 10250 | gpr_test_util |
| 10251 | gpr |
| 10252 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10253 | ) |
| 10254 | |
| 10255 | endif (gRPC_BUILD_TESTS) |
| 10256 | if (gRPC_BUILD_TESTS) |
| 10257 | |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 10258 | add_executable(client_lb_end2end_test |
| 10259 | test/cpp/end2end/client_lb_end2end_test.cc |
| 10260 | third_party/googletest/googletest/src/gtest-all.cc |
| 10261 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10262 | ) |
| 10263 | |
| 10264 | |
| 10265 | target_include_directories(client_lb_end2end_test |
| 10266 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10267 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10268 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10269 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10270 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10271 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10272 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10273 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 10274 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10275 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10276 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10277 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10278 | PRIVATE third_party/googletest/googletest/include |
| 10279 | PRIVATE third_party/googletest/googletest |
| 10280 | PRIVATE third_party/googletest/googlemock/include |
| 10281 | PRIVATE third_party/googletest/googlemock |
| 10282 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10283 | ) |
| 10284 | |
| 10285 | target_link_libraries(client_lb_end2end_test |
| 10286 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10287 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10288 | grpc++_test_util |
| 10289 | grpc_test_util |
| 10290 | grpc++ |
| 10291 | grpc |
| 10292 | gpr_test_util |
| 10293 | gpr |
| 10294 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10295 | ) |
| 10296 | |
| 10297 | endif (gRPC_BUILD_TESTS) |
| 10298 | if (gRPC_BUILD_TESTS) |
| 10299 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10300 | add_executable(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10301 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 10302 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 10303 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 10304 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 10305 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 10306 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 10307 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 10308 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 10309 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 10310 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 10311 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 10312 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 10313 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 10314 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 10315 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 10316 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 10317 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 10318 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 10319 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 10320 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10321 | test/cpp/codegen/codegen_test_full.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10322 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10323 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10324 | ) |
| 10325 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10326 | protobuf_generate_grpc_cpp( |
| 10327 | src/proto/grpc/testing/control.proto |
| 10328 | ) |
| 10329 | protobuf_generate_grpc_cpp( |
| 10330 | src/proto/grpc/testing/messages.proto |
| 10331 | ) |
| 10332 | protobuf_generate_grpc_cpp( |
| 10333 | src/proto/grpc/testing/payloads.proto |
| 10334 | ) |
| 10335 | protobuf_generate_grpc_cpp( |
| 10336 | src/proto/grpc/testing/services.proto |
| 10337 | ) |
| 10338 | protobuf_generate_grpc_cpp( |
| 10339 | src/proto/grpc/testing/stats.proto |
| 10340 | ) |
| 10341 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10342 | target_include_directories(codegen_test_full |
| 10343 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10344 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10345 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10346 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10347 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10348 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10349 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10350 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10351 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10352 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10353 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10354 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10355 | PRIVATE third_party/googletest/googletest/include |
| 10356 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10357 | PRIVATE third_party/googletest/googlemock/include |
| 10358 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10359 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10360 | ) |
| 10361 | |
| 10362 | target_link_libraries(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10363 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10364 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10365 | grpc++ |
| 10366 | grpc |
| 10367 | gpr |
| 10368 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10369 | ) |
| 10370 | |
| 10371 | endif (gRPC_BUILD_TESTS) |
| 10372 | if (gRPC_BUILD_TESTS) |
| 10373 | |
| 10374 | add_executable(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10375 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 10376 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 10377 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 10378 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 10379 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 10380 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 10381 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 10382 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 10383 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 10384 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 10385 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 10386 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 10387 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 10388 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 10389 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 10390 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 10391 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 10392 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 10393 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 10394 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10395 | test/cpp/codegen/codegen_test_minimal.cc |
| 10396 | src/cpp/codegen/codegen_init.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10397 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10398 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10399 | ) |
| 10400 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10401 | protobuf_generate_grpc_cpp( |
| 10402 | src/proto/grpc/testing/control.proto |
| 10403 | ) |
| 10404 | protobuf_generate_grpc_cpp( |
| 10405 | src/proto/grpc/testing/messages.proto |
| 10406 | ) |
| 10407 | protobuf_generate_grpc_cpp( |
| 10408 | src/proto/grpc/testing/payloads.proto |
| 10409 | ) |
| 10410 | protobuf_generate_grpc_cpp( |
| 10411 | src/proto/grpc/testing/services.proto |
| 10412 | ) |
| 10413 | protobuf_generate_grpc_cpp( |
| 10414 | src/proto/grpc/testing/stats.proto |
| 10415 | ) |
| 10416 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10417 | target_include_directories(codegen_test_minimal |
| 10418 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10419 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10420 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10421 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10422 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10423 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10424 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10425 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10426 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10427 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10428 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10429 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10430 | PRIVATE third_party/googletest/googletest/include |
| 10431 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10432 | PRIVATE third_party/googletest/googlemock/include |
| 10433 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10434 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10435 | ) |
| 10436 | |
| 10437 | target_link_libraries(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10438 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10439 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | c0e6701 | 2017-03-17 20:00:55 -0700 | [diff] [blame] | 10440 | grpc |
| 10441 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10442 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10443 | ) |
| 10444 | |
| 10445 | endif (gRPC_BUILD_TESTS) |
| 10446 | if (gRPC_BUILD_TESTS) |
| 10447 | |
| 10448 | add_executable(credentials_test |
| 10449 | test/cpp/client/credentials_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10450 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10451 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10452 | ) |
| 10453 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10454 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10455 | target_include_directories(credentials_test |
| 10456 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10457 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10458 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10459 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10460 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10461 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10462 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10463 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10464 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10465 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10466 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10467 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10468 | PRIVATE third_party/googletest/googletest/include |
| 10469 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10470 | PRIVATE third_party/googletest/googlemock/include |
| 10471 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10472 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10473 | ) |
| 10474 | |
| 10475 | target_link_libraries(credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10476 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10477 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10478 | grpc++ |
| 10479 | grpc |
| 10480 | gpr |
| 10481 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10482 | ) |
| 10483 | |
| 10484 | endif (gRPC_BUILD_TESTS) |
| 10485 | if (gRPC_BUILD_TESTS) |
| 10486 | |
| 10487 | add_executable(cxx_byte_buffer_test |
| 10488 | test/cpp/util/byte_buffer_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10489 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10490 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10491 | ) |
| 10492 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10493 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10494 | target_include_directories(cxx_byte_buffer_test |
| 10495 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10496 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10497 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10498 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10499 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10500 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10501 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10502 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10503 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10504 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10505 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10506 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10507 | PRIVATE third_party/googletest/googletest/include |
| 10508 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10509 | PRIVATE third_party/googletest/googlemock/include |
| 10510 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10511 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10512 | ) |
| 10513 | |
| 10514 | target_link_libraries(cxx_byte_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10515 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10516 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10517 | grpc_test_util |
| 10518 | grpc++ |
| 10519 | grpc |
| 10520 | gpr_test_util |
| 10521 | gpr |
| 10522 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10523 | ) |
| 10524 | |
| 10525 | endif (gRPC_BUILD_TESTS) |
| 10526 | if (gRPC_BUILD_TESTS) |
| 10527 | |
| 10528 | add_executable(cxx_slice_test |
| 10529 | test/cpp/util/slice_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10530 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10531 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10532 | ) |
| 10533 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10534 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10535 | target_include_directories(cxx_slice_test |
| 10536 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10537 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10538 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10539 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10540 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10541 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10542 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10543 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10544 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10545 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10546 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10547 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10548 | PRIVATE third_party/googletest/googletest/include |
| 10549 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10550 | PRIVATE third_party/googletest/googlemock/include |
| 10551 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10552 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10553 | ) |
| 10554 | |
| 10555 | target_link_libraries(cxx_slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10556 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10557 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10558 | grpc_test_util |
| 10559 | grpc++ |
| 10560 | grpc |
| 10561 | gpr_test_util |
| 10562 | gpr |
| 10563 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10564 | ) |
| 10565 | |
| 10566 | endif (gRPC_BUILD_TESTS) |
| 10567 | if (gRPC_BUILD_TESTS) |
| 10568 | |
| 10569 | add_executable(cxx_string_ref_test |
| 10570 | test/cpp/util/string_ref_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10571 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10572 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10573 | ) |
| 10574 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10575 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10576 | target_include_directories(cxx_string_ref_test |
| 10577 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10578 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10579 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10580 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10581 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10582 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10583 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10584 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10585 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10586 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10587 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10588 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10589 | PRIVATE third_party/googletest/googletest/include |
| 10590 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10591 | PRIVATE third_party/googletest/googlemock/include |
| 10592 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10593 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10594 | ) |
| 10595 | |
| 10596 | target_link_libraries(cxx_string_ref_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10597 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10598 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10599 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 10600 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10601 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10602 | ) |
| 10603 | |
| 10604 | endif (gRPC_BUILD_TESTS) |
| 10605 | if (gRPC_BUILD_TESTS) |
| 10606 | |
| 10607 | add_executable(cxx_time_test |
| 10608 | test/cpp/util/time_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10609 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10610 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10611 | ) |
| 10612 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10613 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10614 | target_include_directories(cxx_time_test |
| 10615 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10616 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10617 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10618 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10619 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10620 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10621 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10622 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10623 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10624 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10625 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10626 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10627 | PRIVATE third_party/googletest/googletest/include |
| 10628 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10629 | PRIVATE third_party/googletest/googlemock/include |
| 10630 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10631 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10632 | ) |
| 10633 | |
| 10634 | target_link_libraries(cxx_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10635 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10636 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10637 | grpc_test_util |
| 10638 | grpc++ |
| 10639 | grpc |
| 10640 | gpr_test_util |
| 10641 | gpr |
| 10642 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10643 | ) |
| 10644 | |
| 10645 | endif (gRPC_BUILD_TESTS) |
| 10646 | if (gRPC_BUILD_TESTS) |
| 10647 | |
| 10648 | add_executable(end2end_test |
| 10649 | test/cpp/end2end/end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10650 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10651 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10652 | ) |
| 10653 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10654 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10655 | target_include_directories(end2end_test |
| 10656 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10657 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10658 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10659 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10660 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10661 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10662 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10663 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10664 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10665 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10666 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10667 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10668 | PRIVATE third_party/googletest/googletest/include |
| 10669 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10670 | PRIVATE third_party/googletest/googlemock/include |
| 10671 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10672 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10673 | ) |
| 10674 | |
| 10675 | target_link_libraries(end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10676 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10677 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10678 | grpc++_test_util |
| 10679 | grpc_test_util |
| 10680 | grpc++ |
| 10681 | grpc |
| 10682 | gpr_test_util |
| 10683 | gpr |
| 10684 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10685 | ) |
| 10686 | |
| 10687 | endif (gRPC_BUILD_TESTS) |
| 10688 | if (gRPC_BUILD_TESTS) |
| 10689 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10690 | add_executable(error_details_test |
| 10691 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 10692 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 10693 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 10694 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 10695 | test/cpp/util/error_details_test.cc |
| 10696 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10697 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10698 | ) |
| 10699 | |
| 10700 | protobuf_generate_grpc_cpp( |
| 10701 | src/proto/grpc/testing/echo_messages.proto |
| 10702 | ) |
| 10703 | |
| 10704 | target_include_directories(error_details_test |
| 10705 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10706 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10707 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10708 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10709 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10710 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10711 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10712 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 10713 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10714 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10715 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10716 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10717 | PRIVATE third_party/googletest/googletest/include |
| 10718 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10719 | PRIVATE third_party/googletest/googlemock/include |
| 10720 | PRIVATE third_party/googletest/googlemock |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10721 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10722 | ) |
| 10723 | |
| 10724 | target_link_libraries(error_details_test |
| 10725 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10726 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10727 | grpc++_error_details |
| 10728 | grpc++ |
| 10729 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10730 | ) |
| 10731 | |
| 10732 | endif (gRPC_BUILD_TESTS) |
| 10733 | if (gRPC_BUILD_TESTS) |
| 10734 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10735 | add_executable(filter_end2end_test |
| 10736 | test/cpp/end2end/filter_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10737 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10738 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10739 | ) |
| 10740 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10741 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10742 | target_include_directories(filter_end2end_test |
| 10743 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10744 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10745 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10746 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10747 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10748 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10749 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10750 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10751 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10752 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10753 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10754 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10755 | PRIVATE third_party/googletest/googletest/include |
| 10756 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10757 | PRIVATE third_party/googletest/googlemock/include |
| 10758 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10759 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10760 | ) |
| 10761 | |
| 10762 | target_link_libraries(filter_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10763 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10764 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10765 | grpc++_test_util |
| 10766 | grpc_test_util |
| 10767 | grpc++ |
| 10768 | grpc |
| 10769 | gpr_test_util |
| 10770 | gpr |
| 10771 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10772 | ) |
| 10773 | |
| 10774 | endif (gRPC_BUILD_TESTS) |
| 10775 | if (gRPC_BUILD_TESTS) |
| 10776 | |
| 10777 | add_executable(generic_end2end_test |
| 10778 | test/cpp/end2end/generic_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10779 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10780 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10781 | ) |
| 10782 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10783 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10784 | target_include_directories(generic_end2end_test |
| 10785 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10786 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10787 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10788 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10789 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10790 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10791 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10792 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10793 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10794 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10795 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10796 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10797 | PRIVATE third_party/googletest/googletest/include |
| 10798 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10799 | PRIVATE third_party/googletest/googlemock/include |
| 10800 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10801 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10802 | ) |
| 10803 | |
| 10804 | target_link_libraries(generic_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10805 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10806 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10807 | grpc++_test_util |
| 10808 | grpc_test_util |
| 10809 | grpc++ |
| 10810 | grpc |
| 10811 | gpr_test_util |
| 10812 | gpr |
| 10813 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10814 | ) |
| 10815 | |
| 10816 | endif (gRPC_BUILD_TESTS) |
| 10817 | if (gRPC_BUILD_TESTS) |
| 10818 | |
| 10819 | add_executable(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10820 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.cc |
| 10821 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.grpc.pb.cc |
| 10822 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.h |
| 10823 | ${_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] | 10824 | test/cpp/codegen/golden_file_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10825 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10826 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10827 | ) |
| 10828 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10829 | protobuf_generate_grpc_cpp( |
| 10830 | src/proto/grpc/testing/compiler_test.proto |
| 10831 | ) |
| 10832 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10833 | target_include_directories(golden_file_test |
| 10834 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10835 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10836 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10837 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10838 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10839 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10840 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10841 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10842 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10843 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10844 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10845 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10846 | PRIVATE third_party/googletest/googletest/include |
| 10847 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10848 | PRIVATE third_party/googletest/googlemock/include |
| 10849 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10850 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10851 | ) |
| 10852 | |
| 10853 | target_link_libraries(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10854 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10855 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10856 | grpc++ |
| 10857 | grpc |
| 10858 | gpr |
| 10859 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10860 | ) |
| 10861 | |
| 10862 | endif (gRPC_BUILD_TESTS) |
| 10863 | if (gRPC_BUILD_TESTS) |
| 10864 | |
| 10865 | add_executable(grpc_cli |
| 10866 | test/cpp/util/grpc_cli.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10867 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10868 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10869 | ) |
| 10870 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10871 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10872 | target_include_directories(grpc_cli |
| 10873 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10874 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10875 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10876 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10877 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10878 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10879 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10880 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10881 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10882 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10883 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10884 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10885 | PRIVATE third_party/googletest/googletest/include |
| 10886 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10887 | PRIVATE third_party/googletest/googlemock/include |
| 10888 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10889 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10890 | ) |
| 10891 | |
| 10892 | target_link_libraries(grpc_cli |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10893 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10894 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10895 | grpc_cli_libs |
| 10896 | grpc++_proto_reflection_desc_db |
| 10897 | grpc++ |
| 10898 | grpc |
| 10899 | gpr |
| 10900 | grpc++_test_config |
| 10901 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10902 | ) |
| 10903 | |
| 10904 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10905 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10906 | add_executable(grpc_cpp_plugin |
| 10907 | src/compiler/cpp_plugin.cc |
| 10908 | ) |
| 10909 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10910 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10911 | target_include_directories(grpc_cpp_plugin |
| 10912 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10913 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10914 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10915 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10916 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10917 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10918 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10919 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10920 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10921 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10922 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10923 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10924 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10925 | ) |
| 10926 | |
| 10927 | target_link_libraries(grpc_cpp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10928 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10929 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10930 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10931 | grpc_plugin_support |
| 10932 | ) |
| 10933 | |
| 10934 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10935 | if (gRPC_INSTALL) |
| 10936 | install(TARGETS grpc_cpp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10937 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10938 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10939 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10940 | ) |
| 10941 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10942 | |
| 10943 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10944 | add_executable(grpc_csharp_plugin |
| 10945 | src/compiler/csharp_plugin.cc |
| 10946 | ) |
| 10947 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10948 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10949 | target_include_directories(grpc_csharp_plugin |
| 10950 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10951 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10952 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10953 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10954 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10955 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10956 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10957 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10958 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10959 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10960 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10961 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10962 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10963 | ) |
| 10964 | |
| 10965 | target_link_libraries(grpc_csharp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10966 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10967 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10968 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10969 | grpc_plugin_support |
| 10970 | ) |
| 10971 | |
| 10972 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10973 | if (gRPC_INSTALL) |
| 10974 | install(TARGETS grpc_csharp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10975 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10976 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10977 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10978 | ) |
| 10979 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10980 | |
| 10981 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10982 | add_executable(grpc_node_plugin |
| 10983 | src/compiler/node_plugin.cc |
| 10984 | ) |
| 10985 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10986 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10987 | target_include_directories(grpc_node_plugin |
| 10988 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10989 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10990 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10991 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10992 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10993 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10994 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10995 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10996 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10997 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10998 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10999 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11000 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11001 | ) |
| 11002 | |
| 11003 | target_link_libraries(grpc_node_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 11004 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11005 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11006 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11007 | grpc_plugin_support |
| 11008 | ) |
| 11009 | |
| 11010 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 11011 | if (gRPC_INSTALL) |
| 11012 | install(TARGETS grpc_node_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 11013 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 11014 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 11015 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 11016 | ) |
| 11017 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 11018 | |
| 11019 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11020 | add_executable(grpc_objective_c_plugin |
| 11021 | src/compiler/objective_c_plugin.cc |
| 11022 | ) |
| 11023 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11024 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11025 | target_include_directories(grpc_objective_c_plugin |
| 11026 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11027 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11028 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11029 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11030 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11031 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11032 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11033 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11034 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11035 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11036 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11037 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11038 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11039 | ) |
| 11040 | |
| 11041 | target_link_libraries(grpc_objective_c_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 11042 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11043 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11044 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11045 | grpc_plugin_support |
| 11046 | ) |
| 11047 | |
| 11048 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 11049 | if (gRPC_INSTALL) |
| 11050 | install(TARGETS grpc_objective_c_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 11051 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 11052 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 11053 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 11054 | ) |
| 11055 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 11056 | |
| 11057 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 11058 | add_executable(grpc_php_plugin |
| 11059 | src/compiler/php_plugin.cc |
| 11060 | ) |
| 11061 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11062 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 11063 | target_include_directories(grpc_php_plugin |
| 11064 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11065 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11066 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11067 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11068 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 11069 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11070 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11071 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11072 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11073 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11074 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11075 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11076 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 11077 | ) |
| 11078 | |
| 11079 | target_link_libraries(grpc_php_plugin |
| 11080 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11081 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11082 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 11083 | grpc_plugin_support |
| 11084 | ) |
| 11085 | |
| 11086 | |
| 11087 | if (gRPC_INSTALL) |
| 11088 | install(TARGETS grpc_php_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 11089 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 11090 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 11091 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 11092 | ) |
| 11093 | endif() |
| 11094 | |
| 11095 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11096 | add_executable(grpc_python_plugin |
| 11097 | src/compiler/python_plugin.cc |
| 11098 | ) |
| 11099 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11100 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11101 | target_include_directories(grpc_python_plugin |
| 11102 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11103 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11104 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11105 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11106 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11107 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11108 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11109 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11110 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11111 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11112 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11113 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11114 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11115 | ) |
| 11116 | |
| 11117 | target_link_libraries(grpc_python_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 11118 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11119 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11120 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11121 | grpc_plugin_support |
| 11122 | ) |
| 11123 | |
| 11124 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 11125 | if (gRPC_INSTALL) |
| 11126 | install(TARGETS grpc_python_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 11127 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 11128 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 11129 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 11130 | ) |
| 11131 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 11132 | |
| 11133 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11134 | add_executable(grpc_ruby_plugin |
| 11135 | src/compiler/ruby_plugin.cc |
| 11136 | ) |
| 11137 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11138 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11139 | target_include_directories(grpc_ruby_plugin |
| 11140 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11141 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11142 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11143 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11144 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11145 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11146 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11147 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11148 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11149 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11150 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11151 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11152 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11153 | ) |
| 11154 | |
| 11155 | target_link_libraries(grpc_ruby_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 11156 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11157 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11158 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11159 | grpc_plugin_support |
| 11160 | ) |
| 11161 | |
| 11162 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 11163 | if (gRPC_INSTALL) |
| 11164 | install(TARGETS grpc_ruby_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 11165 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 11166 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 11167 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 11168 | ) |
| 11169 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11170 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11171 | if (gRPC_BUILD_TESTS) |
| 11172 | |
| 11173 | add_executable(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11174 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 11175 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 11176 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 11177 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 11178 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 11179 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 11180 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 11181 | ${_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] | 11182 | test/cpp/util/grpc_tool_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11183 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11184 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11185 | ) |
| 11186 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11187 | protobuf_generate_grpc_cpp( |
| 11188 | src/proto/grpc/testing/echo.proto |
| 11189 | ) |
| 11190 | protobuf_generate_grpc_cpp( |
| 11191 | src/proto/grpc/testing/echo_messages.proto |
| 11192 | ) |
| 11193 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11194 | target_include_directories(grpc_tool_test |
| 11195 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11196 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11197 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11198 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11199 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11200 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11201 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11202 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11203 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11204 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11205 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11206 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11207 | PRIVATE third_party/googletest/googletest/include |
| 11208 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11209 | PRIVATE third_party/googletest/googlemock/include |
| 11210 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11211 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11212 | ) |
| 11213 | |
| 11214 | target_link_libraries(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11215 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11216 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11217 | grpc_cli_libs |
| 11218 | grpc++_proto_reflection_desc_db |
| 11219 | grpc++_reflection |
| 11220 | grpc++_test_util |
| 11221 | grpc_test_util |
| 11222 | grpc++ |
| 11223 | grpc |
| 11224 | gpr_test_util |
| 11225 | gpr |
| 11226 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11227 | ) |
| 11228 | |
| 11229 | endif (gRPC_BUILD_TESTS) |
| 11230 | if (gRPC_BUILD_TESTS) |
| 11231 | |
| 11232 | add_executable(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11233 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 11234 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 11235 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 11236 | ${_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] | 11237 | test/cpp/grpclb/grpclb_api_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11238 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11239 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11240 | ) |
| 11241 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11242 | protobuf_generate_grpc_cpp( |
| 11243 | src/proto/grpc/lb/v1/load_balancer.proto |
| 11244 | ) |
| 11245 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11246 | target_include_directories(grpclb_api_test |
| 11247 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11248 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11249 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11250 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11251 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11252 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11253 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11254 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11255 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11256 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11257 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11258 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11259 | PRIVATE third_party/googletest/googletest/include |
| 11260 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11261 | PRIVATE third_party/googletest/googlemock/include |
| 11262 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11263 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11264 | ) |
| 11265 | |
| 11266 | target_link_libraries(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11267 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11268 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11269 | grpc++_test_util |
| 11270 | grpc_test_util |
| 11271 | grpc++ |
| 11272 | grpc |
| 11273 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11274 | ) |
| 11275 | |
| 11276 | endif (gRPC_BUILD_TESTS) |
| 11277 | if (gRPC_BUILD_TESTS) |
| 11278 | |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 11279 | add_executable(grpclb_end2end_test |
| 11280 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 11281 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 11282 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 11283 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 11284 | test/cpp/end2end/grpclb_end2end_test.cc |
| 11285 | third_party/googletest/googletest/src/gtest-all.cc |
| 11286 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11287 | ) |
| 11288 | |
| 11289 | protobuf_generate_grpc_cpp( |
| 11290 | src/proto/grpc/lb/v1/load_balancer.proto |
| 11291 | ) |
| 11292 | |
| 11293 | target_include_directories(grpclb_end2end_test |
| 11294 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11295 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11296 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11297 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11298 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11299 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11300 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 11301 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 11302 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11303 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11304 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 11305 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 11306 | PRIVATE third_party/googletest/googletest/include |
| 11307 | PRIVATE third_party/googletest/googletest |
| 11308 | PRIVATE third_party/googletest/googlemock/include |
| 11309 | PRIVATE third_party/googletest/googlemock |
| 11310 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11311 | ) |
| 11312 | |
| 11313 | target_link_libraries(grpclb_end2end_test |
| 11314 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11315 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11316 | grpc++_test_util |
| 11317 | grpc_test_util |
| 11318 | grpc++ |
| 11319 | grpc |
| 11320 | gpr_test_util |
| 11321 | gpr |
| 11322 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11323 | ) |
| 11324 | |
| 11325 | endif (gRPC_BUILD_TESTS) |
| 11326 | if (gRPC_BUILD_TESTS) |
| 11327 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11328 | add_executable(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11329 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 11330 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 11331 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 11332 | ${_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] | 11333 | test/cpp/grpclb/grpclb_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11334 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11335 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11336 | ) |
| 11337 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11338 | protobuf_generate_grpc_cpp( |
| 11339 | src/proto/grpc/lb/v1/load_balancer.proto |
| 11340 | ) |
| 11341 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11342 | target_include_directories(grpclb_test |
| 11343 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11344 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11345 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11346 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11347 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11348 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11349 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11350 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11351 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11352 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11353 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11354 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11355 | PRIVATE third_party/googletest/googletest/include |
| 11356 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11357 | PRIVATE third_party/googletest/googlemock/include |
| 11358 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11359 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11360 | ) |
| 11361 | |
| 11362 | target_link_libraries(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11363 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11364 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11365 | grpc++_test_util |
| 11366 | grpc_test_util |
Jan Tattermusch | 1c6a144 | 2017-01-13 14:17:40 +0100 | [diff] [blame] | 11367 | grpc++ |
| 11368 | grpc |
| 11369 | gpr_test_util |
| 11370 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11371 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11372 | ) |
| 11373 | |
| 11374 | endif (gRPC_BUILD_TESTS) |
| 11375 | if (gRPC_BUILD_TESTS) |
| 11376 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11377 | add_executable(health_service_end2end_test |
| 11378 | test/cpp/end2end/health_service_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11379 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11380 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11381 | ) |
| 11382 | |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 11383 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11384 | target_include_directories(health_service_end2end_test |
| 11385 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11386 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11387 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11388 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 11389 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11390 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11391 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11392 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11393 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11394 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11395 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11396 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11397 | PRIVATE third_party/googletest/googletest/include |
| 11398 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11399 | PRIVATE third_party/googletest/googlemock/include |
| 11400 | PRIVATE third_party/googletest/googlemock |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 11401 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11402 | ) |
| 11403 | |
| 11404 | target_link_libraries(health_service_end2end_test |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 11405 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11406 | ${_gRPC_ALLTARGETS_LIBRARIES} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11407 | grpc++_test_util |
| 11408 | grpc_test_util |
| 11409 | grpc++ |
| 11410 | grpc |
| 11411 | gpr_test_util |
| 11412 | gpr |
| 11413 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11414 | ) |
| 11415 | |
| 11416 | endif (gRPC_BUILD_TESTS) |
| 11417 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11418 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11419 | |
| 11420 | add_executable(http2_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11421 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11422 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11423 | ) |
| 11424 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11425 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11426 | target_include_directories(http2_client |
| 11427 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11428 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11429 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11430 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11431 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11432 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11433 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11434 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11435 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11436 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11437 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11438 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11439 | PRIVATE third_party/googletest/googletest/include |
| 11440 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11441 | PRIVATE third_party/googletest/googlemock/include |
| 11442 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11443 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11444 | ) |
| 11445 | |
| 11446 | target_link_libraries(http2_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11447 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11448 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11449 | http2_client_main |
| 11450 | grpc++_test_util |
| 11451 | grpc_test_util |
| 11452 | grpc++ |
| 11453 | grpc |
| 11454 | grpc++_test_config |
| 11455 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11456 | ) |
| 11457 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11458 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11459 | endif (gRPC_BUILD_TESTS) |
| 11460 | if (gRPC_BUILD_TESTS) |
| 11461 | |
| 11462 | add_executable(hybrid_end2end_test |
| 11463 | test/cpp/end2end/hybrid_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11464 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11465 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11466 | ) |
| 11467 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11468 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11469 | target_include_directories(hybrid_end2end_test |
| 11470 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11471 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11472 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11473 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11474 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11475 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11476 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11477 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11478 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11479 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11480 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11481 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11482 | PRIVATE third_party/googletest/googletest/include |
| 11483 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11484 | PRIVATE third_party/googletest/googlemock/include |
| 11485 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11486 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11487 | ) |
| 11488 | |
| 11489 | target_link_libraries(hybrid_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11490 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11491 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11492 | grpc++_test_util |
| 11493 | grpc_test_util |
| 11494 | grpc++ |
| 11495 | grpc |
| 11496 | gpr_test_util |
| 11497 | gpr |
| 11498 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11499 | ) |
| 11500 | |
| 11501 | endif (gRPC_BUILD_TESTS) |
| 11502 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11503 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11504 | |
| 11505 | add_executable(interop_client |
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(interop_client |
| 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(interop_client |
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 | interop_client_main |
| 11535 | interop_client_helper |
| 11536 | grpc++_test_util |
| 11537 | grpc_test_util |
| 11538 | grpc++ |
| 11539 | grpc |
| 11540 | gpr_test_util |
| 11541 | gpr |
| 11542 | grpc++_test_config |
| 11543 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11544 | ) |
| 11545 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11546 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11547 | endif (gRPC_BUILD_TESTS) |
| 11548 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11549 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11550 | |
| 11551 | add_executable(interop_server |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11552 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11553 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11554 | ) |
| 11555 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11556 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11557 | target_include_directories(interop_server |
| 11558 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11559 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11560 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11561 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11562 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11563 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11564 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11565 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11566 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11567 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11568 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11569 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11570 | PRIVATE third_party/googletest/googletest/include |
| 11571 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11572 | PRIVATE third_party/googletest/googlemock/include |
| 11573 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11574 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11575 | ) |
| 11576 | |
| 11577 | target_link_libraries(interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11578 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11579 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11580 | interop_server_main |
| 11581 | interop_server_helper |
| 11582 | interop_server_lib |
| 11583 | grpc++_test_util |
| 11584 | grpc_test_util |
| 11585 | grpc++ |
| 11586 | grpc |
| 11587 | gpr_test_util |
| 11588 | gpr |
| 11589 | grpc++_test_config |
| 11590 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11591 | ) |
| 11592 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11593 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11594 | endif (gRPC_BUILD_TESTS) |
| 11595 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11596 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11597 | |
| 11598 | add_executable(interop_test |
| 11599 | test/cpp/interop/interop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11600 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11601 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11602 | ) |
| 11603 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11604 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11605 | target_include_directories(interop_test |
| 11606 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11607 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11608 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11609 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11610 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11611 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11612 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11613 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11614 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11615 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11616 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11617 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11618 | PRIVATE third_party/googletest/googletest/include |
| 11619 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11620 | PRIVATE third_party/googletest/googlemock/include |
| 11621 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11622 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11623 | ) |
| 11624 | |
| 11625 | target_link_libraries(interop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11626 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11627 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11628 | grpc_test_util |
| 11629 | grpc |
| 11630 | gpr_test_util |
| 11631 | gpr |
| 11632 | grpc++_test_config |
| 11633 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11634 | ) |
| 11635 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11636 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11637 | endif (gRPC_BUILD_TESTS) |
| 11638 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11639 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11640 | |
| 11641 | add_executable(json_run_localhost |
| 11642 | test/cpp/qps/json_run_localhost.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11643 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11644 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11645 | ) |
| 11646 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11647 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11648 | target_include_directories(json_run_localhost |
| 11649 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11650 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11651 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11652 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11653 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11654 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11655 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11656 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11657 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11658 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11659 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11660 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11661 | PRIVATE third_party/googletest/googletest/include |
| 11662 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11663 | PRIVATE third_party/googletest/googlemock/include |
| 11664 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11665 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11666 | ) |
| 11667 | |
| 11668 | target_link_libraries(json_run_localhost |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11669 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11670 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11671 | grpc++_test_util |
| 11672 | grpc_test_util |
| 11673 | grpc++ |
| 11674 | grpc |
| 11675 | gpr_test_util |
| 11676 | gpr |
| 11677 | grpc++_test_config |
| 11678 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11679 | ) |
| 11680 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11681 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11682 | endif (gRPC_BUILD_TESTS) |
| 11683 | if (gRPC_BUILD_TESTS) |
| 11684 | |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11685 | add_executable(memory_test |
| 11686 | test/core/support/memory_test.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 11687 | third_party/googletest/googletest/src/gtest-all.cc |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 11688 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11689 | ) |
| 11690 | |
| 11691 | |
| 11692 | target_include_directories(memory_test |
| 11693 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11694 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11695 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11696 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11697 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11698 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11699 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 11700 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 11701 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11702 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11703 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 11704 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 11705 | PRIVATE third_party/googletest/googletest/include |
| 11706 | PRIVATE third_party/googletest/googletest |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 11707 | PRIVATE third_party/googletest/googlemock/include |
| 11708 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11709 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11710 | ) |
| 11711 | |
| 11712 | target_link_libraries(memory_test |
| 11713 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11714 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11715 | grpc_test_util |
| 11716 | grpc++ |
| 11717 | grpc |
| 11718 | gpr_test_util |
| 11719 | gpr |
| 11720 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11721 | ) |
| 11722 | |
| 11723 | endif (gRPC_BUILD_TESTS) |
| 11724 | if (gRPC_BUILD_TESTS) |
| 11725 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11726 | add_executable(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11727 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 11728 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 11729 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 11730 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11731 | test/cpp/interop/metrics_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11732 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11733 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11734 | ) |
| 11735 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11736 | protobuf_generate_grpc_cpp( |
| 11737 | src/proto/grpc/testing/metrics.proto |
| 11738 | ) |
| 11739 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11740 | target_include_directories(metrics_client |
| 11741 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11742 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11743 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11744 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11745 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11746 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11747 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11748 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11749 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11750 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11751 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11752 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11753 | PRIVATE third_party/googletest/googletest/include |
| 11754 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11755 | PRIVATE third_party/googletest/googlemock/include |
| 11756 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11757 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11758 | ) |
| 11759 | |
| 11760 | target_link_libraries(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11761 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11762 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11763 | grpc++ |
| 11764 | grpc |
| 11765 | gpr |
| 11766 | grpc++_test_config |
| 11767 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11768 | ) |
| 11769 | |
| 11770 | endif (gRPC_BUILD_TESTS) |
| 11771 | if (gRPC_BUILD_TESTS) |
| 11772 | |
| 11773 | add_executable(mock_test |
| 11774 | test/cpp/end2end/mock_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11775 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11776 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11777 | ) |
| 11778 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11779 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11780 | target_include_directories(mock_test |
| 11781 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11782 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11783 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11784 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11785 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11786 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11787 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11788 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11789 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11790 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11791 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11792 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11793 | PRIVATE third_party/googletest/googletest/include |
| 11794 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11795 | PRIVATE third_party/googletest/googlemock/include |
| 11796 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11797 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11798 | ) |
| 11799 | |
| 11800 | target_link_libraries(mock_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11801 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11802 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11803 | grpc++_test_util |
| 11804 | grpc_test_util |
| 11805 | grpc++ |
| 11806 | grpc |
| 11807 | gpr_test_util |
| 11808 | gpr |
| 11809 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11810 | ) |
| 11811 | |
| 11812 | endif (gRPC_BUILD_TESTS) |
| 11813 | if (gRPC_BUILD_TESTS) |
| 11814 | |
| 11815 | add_executable(noop-benchmark |
| 11816 | test/cpp/microbenchmarks/noop-benchmark.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11817 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11818 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11819 | ) |
| 11820 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11821 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11822 | target_include_directories(noop-benchmark |
| 11823 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11824 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11825 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11826 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11827 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11828 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11829 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11830 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11831 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11832 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11833 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11834 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11835 | PRIVATE third_party/googletest/googletest/include |
| 11836 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11837 | PRIVATE third_party/googletest/googlemock/include |
| 11838 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11839 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11840 | ) |
| 11841 | |
| 11842 | target_link_libraries(noop-benchmark |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11843 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11844 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11845 | benchmark |
| 11846 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11847 | ) |
| 11848 | |
| 11849 | endif (gRPC_BUILD_TESTS) |
| 11850 | if (gRPC_BUILD_TESTS) |
| 11851 | |
| 11852 | add_executable(proto_server_reflection_test |
| 11853 | test/cpp/end2end/proto_server_reflection_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11854 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11855 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11856 | ) |
| 11857 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11858 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11859 | target_include_directories(proto_server_reflection_test |
| 11860 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11861 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11862 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11863 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11864 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11865 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11866 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11867 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11868 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11869 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11870 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11871 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11872 | PRIVATE third_party/googletest/googletest/include |
| 11873 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11874 | PRIVATE third_party/googletest/googlemock/include |
| 11875 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11876 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11877 | ) |
| 11878 | |
| 11879 | target_link_libraries(proto_server_reflection_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11880 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11881 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11882 | grpc++_proto_reflection_desc_db |
| 11883 | grpc++_reflection |
| 11884 | grpc++_test_util |
| 11885 | grpc_test_util |
| 11886 | grpc++ |
| 11887 | grpc |
| 11888 | gpr_test_util |
| 11889 | gpr |
| 11890 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11891 | ) |
| 11892 | |
| 11893 | endif (gRPC_BUILD_TESTS) |
| 11894 | if (gRPC_BUILD_TESTS) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11895 | |
| 11896 | add_executable(proto_utils_test |
| 11897 | test/cpp/codegen/proto_utils_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11898 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11899 | third_party/googletest/googlemock/src/gmock-all.cc |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11900 | ) |
| 11901 | |
| 11902 | |
| 11903 | target_include_directories(proto_utils_test |
| 11904 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11905 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11906 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11907 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11908 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11909 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11910 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11911 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11912 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11913 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11914 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11915 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11916 | PRIVATE third_party/googletest/googletest/include |
| 11917 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11918 | PRIVATE third_party/googletest/googlemock/include |
| 11919 | PRIVATE third_party/googletest/googlemock |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11920 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11921 | ) |
| 11922 | |
| 11923 | target_link_libraries(proto_utils_test |
| 11924 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11925 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11926 | grpc++ |
| 11927 | grpc |
| 11928 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11929 | ) |
| 11930 | |
| 11931 | endif (gRPC_BUILD_TESTS) |
| 11932 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11933 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11934 | |
| 11935 | add_executable(qps_interarrival_test |
| 11936 | test/cpp/qps/qps_interarrival_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11937 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11938 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11939 | ) |
| 11940 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11941 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11942 | target_include_directories(qps_interarrival_test |
| 11943 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11944 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11945 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11946 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11947 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11948 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11949 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11950 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11951 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11952 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11953 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11954 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11955 | PRIVATE third_party/googletest/googletest/include |
| 11956 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11957 | PRIVATE third_party/googletest/googlemock/include |
| 11958 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11959 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11960 | ) |
| 11961 | |
| 11962 | target_link_libraries(qps_interarrival_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11963 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11964 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11965 | qps |
| 11966 | grpc++_test_util |
| 11967 | grpc_test_util |
| 11968 | grpc++ |
| 11969 | grpc |
| 11970 | gpr_test_util |
| 11971 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 11972 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11973 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11974 | ) |
| 11975 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11976 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11977 | endif (gRPC_BUILD_TESTS) |
| 11978 | if (gRPC_BUILD_TESTS) |
| 11979 | |
| 11980 | add_executable(qps_json_driver |
| 11981 | test/cpp/qps/qps_json_driver.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11982 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11983 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11984 | ) |
| 11985 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11986 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11987 | target_include_directories(qps_json_driver |
| 11988 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11989 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11990 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11991 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11992 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11993 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11994 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11995 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11996 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11997 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11998 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11999 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12000 | PRIVATE third_party/googletest/googletest/include |
| 12001 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12002 | PRIVATE third_party/googletest/googlemock/include |
| 12003 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12004 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12005 | ) |
| 12006 | |
| 12007 | target_link_libraries(qps_json_driver |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12008 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12009 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12010 | qps |
| 12011 | grpc++_test_util |
| 12012 | grpc_test_util |
| 12013 | grpc++ |
| 12014 | grpc |
| 12015 | gpr_test_util |
| 12016 | gpr |
| 12017 | grpc++_test_config |
| 12018 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12019 | ) |
| 12020 | |
| 12021 | endif (gRPC_BUILD_TESTS) |
| 12022 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12023 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12024 | |
| 12025 | add_executable(qps_openloop_test |
| 12026 | test/cpp/qps/qps_openloop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12027 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12028 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12029 | ) |
| 12030 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12031 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12032 | target_include_directories(qps_openloop_test |
| 12033 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12034 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12035 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12036 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12037 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12038 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12039 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12040 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12041 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12042 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12043 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12044 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12045 | PRIVATE third_party/googletest/googletest/include |
| 12046 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12047 | PRIVATE third_party/googletest/googlemock/include |
| 12048 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12049 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12050 | ) |
| 12051 | |
| 12052 | target_link_libraries(qps_openloop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12053 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12054 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12055 | qps |
| 12056 | grpc++_test_util |
| 12057 | grpc_test_util |
| 12058 | grpc++ |
| 12059 | grpc |
| 12060 | gpr_test_util |
| 12061 | gpr |
| 12062 | grpc++_test_config |
| 12063 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12064 | ) |
| 12065 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12066 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12067 | endif (gRPC_BUILD_TESTS) |
| 12068 | if (gRPC_BUILD_TESTS) |
| 12069 | |
| 12070 | add_executable(qps_worker |
| 12071 | test/cpp/qps/worker.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12072 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12073 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12074 | ) |
| 12075 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12076 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12077 | target_include_directories(qps_worker |
| 12078 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12079 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12080 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12081 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12082 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12083 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12084 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12085 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12086 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12087 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12088 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12089 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12090 | PRIVATE third_party/googletest/googletest/include |
| 12091 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12092 | PRIVATE third_party/googletest/googlemock/include |
| 12093 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12094 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12095 | ) |
| 12096 | |
| 12097 | target_link_libraries(qps_worker |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12098 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12099 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12100 | qps |
| 12101 | grpc++_test_util |
| 12102 | grpc_test_util |
| 12103 | grpc++ |
| 12104 | grpc |
| 12105 | gpr_test_util |
| 12106 | gpr |
| 12107 | grpc++_test_config |
| 12108 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12109 | ) |
| 12110 | |
| 12111 | endif (gRPC_BUILD_TESTS) |
| 12112 | if (gRPC_BUILD_TESTS) |
| 12113 | |
| 12114 | add_executable(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12115 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 12116 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 12117 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 12118 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 12119 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 12120 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 12121 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 12122 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 12123 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 12124 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 12125 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 12126 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12127 | test/cpp/interop/reconnect_interop_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12128 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12129 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12130 | ) |
| 12131 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12132 | protobuf_generate_grpc_cpp( |
| 12133 | src/proto/grpc/testing/empty.proto |
| 12134 | ) |
| 12135 | protobuf_generate_grpc_cpp( |
| 12136 | src/proto/grpc/testing/messages.proto |
| 12137 | ) |
| 12138 | protobuf_generate_grpc_cpp( |
| 12139 | src/proto/grpc/testing/test.proto |
| 12140 | ) |
| 12141 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12142 | target_include_directories(reconnect_interop_client |
| 12143 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12144 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12145 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12146 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12147 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12148 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12149 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12150 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12151 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12152 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12153 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12154 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12155 | PRIVATE third_party/googletest/googletest/include |
| 12156 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12157 | PRIVATE third_party/googletest/googlemock/include |
| 12158 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12159 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12160 | ) |
| 12161 | |
| 12162 | target_link_libraries(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12163 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12164 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12165 | grpc++_test_util |
| 12166 | grpc_test_util |
| 12167 | grpc++ |
| 12168 | grpc |
| 12169 | gpr_test_util |
| 12170 | gpr |
| 12171 | grpc++_test_config |
| 12172 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12173 | ) |
| 12174 | |
| 12175 | endif (gRPC_BUILD_TESTS) |
| 12176 | if (gRPC_BUILD_TESTS) |
| 12177 | |
| 12178 | add_executable(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12179 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 12180 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 12181 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 12182 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 12183 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 12184 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 12185 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 12186 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 12187 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 12188 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 12189 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 12190 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12191 | test/cpp/interop/reconnect_interop_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12192 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12193 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12194 | ) |
| 12195 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12196 | protobuf_generate_grpc_cpp( |
| 12197 | src/proto/grpc/testing/empty.proto |
| 12198 | ) |
| 12199 | protobuf_generate_grpc_cpp( |
| 12200 | src/proto/grpc/testing/messages.proto |
| 12201 | ) |
| 12202 | protobuf_generate_grpc_cpp( |
| 12203 | src/proto/grpc/testing/test.proto |
| 12204 | ) |
| 12205 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12206 | target_include_directories(reconnect_interop_server |
| 12207 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12208 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12209 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12210 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12211 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12212 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12213 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12214 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12215 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12216 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12217 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12218 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12219 | PRIVATE third_party/googletest/googletest/include |
| 12220 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12221 | PRIVATE third_party/googletest/googlemock/include |
| 12222 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12223 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12224 | ) |
| 12225 | |
| 12226 | target_link_libraries(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12227 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12228 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12229 | reconnect_server |
| 12230 | test_tcp_server |
| 12231 | grpc++_test_util |
| 12232 | grpc_test_util |
| 12233 | grpc++ |
| 12234 | grpc |
| 12235 | gpr_test_util |
| 12236 | gpr |
| 12237 | grpc++_test_config |
| 12238 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12239 | ) |
| 12240 | |
| 12241 | endif (gRPC_BUILD_TESTS) |
| 12242 | if (gRPC_BUILD_TESTS) |
| 12243 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12244 | add_executable(secure_auth_context_test |
| 12245 | test/cpp/common/secure_auth_context_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12246 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12247 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12248 | ) |
| 12249 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12250 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12251 | target_include_directories(secure_auth_context_test |
| 12252 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12253 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12254 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12255 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12256 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12257 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12258 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12259 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12260 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12261 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12262 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12263 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12264 | PRIVATE third_party/googletest/googletest/include |
| 12265 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12266 | PRIVATE third_party/googletest/googlemock/include |
| 12267 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12268 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12269 | ) |
| 12270 | |
| 12271 | target_link_libraries(secure_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12272 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12273 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12274 | grpc++_test_util |
| 12275 | grpc_test_util |
| 12276 | grpc++ |
| 12277 | grpc |
| 12278 | gpr_test_util |
| 12279 | gpr |
| 12280 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12281 | ) |
| 12282 | |
| 12283 | endif (gRPC_BUILD_TESTS) |
| 12284 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12285 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12286 | |
| 12287 | add_executable(secure_sync_unary_ping_pong_test |
| 12288 | test/cpp/qps/secure_sync_unary_ping_pong_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12289 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12290 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12291 | ) |
| 12292 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12293 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12294 | target_include_directories(secure_sync_unary_ping_pong_test |
| 12295 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12296 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12297 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12298 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12299 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12300 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12301 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12302 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12303 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12304 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12305 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12306 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12307 | PRIVATE third_party/googletest/googletest/include |
| 12308 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12309 | PRIVATE third_party/googletest/googlemock/include |
| 12310 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12311 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12312 | ) |
| 12313 | |
| 12314 | target_link_libraries(secure_sync_unary_ping_pong_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12315 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12316 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12317 | qps |
| 12318 | grpc++_test_util |
| 12319 | grpc_test_util |
| 12320 | grpc++ |
| 12321 | grpc |
| 12322 | gpr_test_util |
| 12323 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 12324 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12325 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12326 | ) |
| 12327 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12328 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12329 | endif (gRPC_BUILD_TESTS) |
| 12330 | if (gRPC_BUILD_TESTS) |
| 12331 | |
| 12332 | add_executable(server_builder_plugin_test |
| 12333 | test/cpp/end2end/server_builder_plugin_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12334 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12335 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12336 | ) |
| 12337 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12338 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12339 | target_include_directories(server_builder_plugin_test |
| 12340 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12341 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12342 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12343 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12344 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12345 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12346 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12347 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12348 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12349 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12350 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12351 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12352 | PRIVATE third_party/googletest/googletest/include |
| 12353 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12354 | PRIVATE third_party/googletest/googlemock/include |
| 12355 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12356 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12357 | ) |
| 12358 | |
| 12359 | target_link_libraries(server_builder_plugin_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12360 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12361 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12362 | grpc++_test_util |
| 12363 | grpc_test_util |
| 12364 | grpc++ |
| 12365 | grpc |
| 12366 | gpr_test_util |
| 12367 | gpr |
| 12368 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12369 | ) |
| 12370 | |
| 12371 | endif (gRPC_BUILD_TESTS) |
| 12372 | if (gRPC_BUILD_TESTS) |
| 12373 | |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12374 | add_executable(server_builder_test |
| 12375 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 12376 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 12377 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 12378 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 12379 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 12380 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 12381 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 12382 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 12383 | test/cpp/server/server_builder_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12384 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12385 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12386 | ) |
| 12387 | |
| 12388 | protobuf_generate_grpc_cpp( |
| 12389 | src/proto/grpc/testing/echo_messages.proto |
| 12390 | ) |
| 12391 | protobuf_generate_grpc_cpp( |
| 12392 | src/proto/grpc/testing/echo.proto |
| 12393 | ) |
| 12394 | |
| 12395 | target_include_directories(server_builder_test |
| 12396 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12397 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12398 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12399 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12400 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12401 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12402 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12403 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12404 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12405 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12406 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12407 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12408 | PRIVATE third_party/googletest/googletest/include |
| 12409 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12410 | PRIVATE third_party/googletest/googlemock/include |
| 12411 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12412 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12413 | ) |
| 12414 | |
| 12415 | target_link_libraries(server_builder_test |
| 12416 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12417 | ${_gRPC_ALLTARGETS_LIBRARIES} |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 12418 | grpc++_test_util_unsecure |
| 12419 | grpc_test_util_unsecure |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12420 | gpr_test_util |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 12421 | grpc++_unsecure |
| 12422 | grpc_unsecure |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12423 | gpr |
| 12424 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12425 | ) |
| 12426 | |
| 12427 | endif (gRPC_BUILD_TESTS) |
| 12428 | if (gRPC_BUILD_TESTS) |
| 12429 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12430 | add_executable(server_context_test_spouse_test |
| 12431 | test/cpp/test/server_context_test_spouse_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12432 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12433 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12434 | ) |
| 12435 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12436 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12437 | target_include_directories(server_context_test_spouse_test |
| 12438 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12439 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12440 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12441 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12442 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12443 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12444 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12445 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12446 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12447 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12448 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12449 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12450 | PRIVATE third_party/googletest/googletest/include |
| 12451 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12452 | PRIVATE third_party/googletest/googlemock/include |
| 12453 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12454 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12455 | ) |
| 12456 | |
| 12457 | target_link_libraries(server_context_test_spouse_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12458 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12459 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12460 | grpc_test_util |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12461 | grpc++ |
| 12462 | grpc |
| 12463 | gpr_test_util |
| 12464 | gpr |
| 12465 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12466 | ) |
| 12467 | |
| 12468 | endif (gRPC_BUILD_TESTS) |
| 12469 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12470 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12471 | |
| 12472 | add_executable(server_crash_test |
| 12473 | test/cpp/end2end/server_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12474 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12475 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12476 | ) |
| 12477 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12478 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12479 | target_include_directories(server_crash_test |
| 12480 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12481 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12482 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12483 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12484 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12485 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12486 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12487 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12488 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12489 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12490 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12491 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12492 | PRIVATE third_party/googletest/googletest/include |
| 12493 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12494 | PRIVATE third_party/googletest/googlemock/include |
| 12495 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12496 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12497 | ) |
| 12498 | |
| 12499 | target_link_libraries(server_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12500 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12501 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12502 | grpc++_test_util |
| 12503 | grpc_test_util |
| 12504 | grpc++ |
| 12505 | grpc |
| 12506 | gpr_test_util |
| 12507 | gpr |
| 12508 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12509 | ) |
| 12510 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12511 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12512 | endif (gRPC_BUILD_TESTS) |
| 12513 | if (gRPC_BUILD_TESTS) |
| 12514 | |
| 12515 | add_executable(server_crash_test_client |
| 12516 | test/cpp/end2end/server_crash_test_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12517 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12518 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12519 | ) |
| 12520 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12521 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12522 | target_include_directories(server_crash_test_client |
| 12523 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12524 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12525 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12526 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12527 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12528 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12529 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12530 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12531 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12532 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12533 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12534 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12535 | PRIVATE third_party/googletest/googletest/include |
| 12536 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12537 | PRIVATE third_party/googletest/googlemock/include |
| 12538 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12539 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12540 | ) |
| 12541 | |
| 12542 | target_link_libraries(server_crash_test_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12543 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12544 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12545 | grpc++_test_util |
| 12546 | grpc_test_util |
| 12547 | grpc++ |
| 12548 | grpc |
| 12549 | gpr_test_util |
| 12550 | gpr |
| 12551 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12552 | ) |
| 12553 | |
| 12554 | endif (gRPC_BUILD_TESTS) |
| 12555 | if (gRPC_BUILD_TESTS) |
| 12556 | |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12557 | add_executable(server_request_call_test |
| 12558 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 12559 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 12560 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 12561 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 12562 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 12563 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 12564 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 12565 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 12566 | test/cpp/server/server_request_call_test.cc |
| 12567 | third_party/googletest/googletest/src/gtest-all.cc |
| 12568 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12569 | ) |
| 12570 | |
| 12571 | protobuf_generate_grpc_cpp( |
| 12572 | src/proto/grpc/testing/echo_messages.proto |
| 12573 | ) |
| 12574 | protobuf_generate_grpc_cpp( |
| 12575 | src/proto/grpc/testing/echo.proto |
| 12576 | ) |
| 12577 | |
| 12578 | target_include_directories(server_request_call_test |
| 12579 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12580 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12581 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12582 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12583 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12584 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12585 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 12586 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 12587 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12588 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12589 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12590 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12591 | PRIVATE third_party/googletest/googletest/include |
| 12592 | PRIVATE third_party/googletest/googletest |
| 12593 | PRIVATE third_party/googletest/googlemock/include |
| 12594 | PRIVATE third_party/googletest/googlemock |
| 12595 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12596 | ) |
| 12597 | |
| 12598 | target_link_libraries(server_request_call_test |
| 12599 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12600 | ${_gRPC_ALLTARGETS_LIBRARIES} |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 12601 | grpc++_test_util_unsecure |
| 12602 | grpc_test_util_unsecure |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12603 | gpr_test_util |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 12604 | grpc++_unsecure |
| 12605 | grpc_unsecure |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12606 | gpr |
| 12607 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12608 | ) |
| 12609 | |
| 12610 | endif (gRPC_BUILD_TESTS) |
| 12611 | if (gRPC_BUILD_TESTS) |
| 12612 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12613 | add_executable(shutdown_test |
| 12614 | test/cpp/end2end/shutdown_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12615 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12616 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12617 | ) |
| 12618 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12619 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12620 | target_include_directories(shutdown_test |
| 12621 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12622 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12623 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12624 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12625 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12626 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12627 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12628 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12629 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12630 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12631 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12632 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12633 | PRIVATE third_party/googletest/googletest/include |
| 12634 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12635 | PRIVATE third_party/googletest/googlemock/include |
| 12636 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12637 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12638 | ) |
| 12639 | |
| 12640 | target_link_libraries(shutdown_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12641 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12642 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12643 | grpc++_test_util |
| 12644 | grpc_test_util |
| 12645 | grpc++ |
| 12646 | grpc |
| 12647 | gpr_test_util |
| 12648 | gpr |
| 12649 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12650 | ) |
| 12651 | |
| 12652 | endif (gRPC_BUILD_TESTS) |
| 12653 | if (gRPC_BUILD_TESTS) |
| 12654 | |
| 12655 | add_executable(status_test |
| 12656 | test/cpp/util/status_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12657 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12658 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12659 | ) |
| 12660 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12661 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12662 | target_include_directories(status_test |
| 12663 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12664 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12665 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12666 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12667 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12668 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12669 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12670 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12671 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12672 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12673 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12674 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12675 | PRIVATE third_party/googletest/googletest/include |
| 12676 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12677 | PRIVATE third_party/googletest/googlemock/include |
| 12678 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12679 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12680 | ) |
| 12681 | |
| 12682 | target_link_libraries(status_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12683 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12684 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12685 | grpc_test_util |
| 12686 | grpc++ |
| 12687 | grpc |
| 12688 | gpr_test_util |
| 12689 | gpr |
| 12690 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12691 | ) |
| 12692 | |
| 12693 | endif (gRPC_BUILD_TESTS) |
| 12694 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12695 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12696 | |
| 12697 | add_executable(streaming_throughput_test |
| 12698 | test/cpp/end2end/streaming_throughput_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12699 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12700 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12701 | ) |
| 12702 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12703 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12704 | target_include_directories(streaming_throughput_test |
| 12705 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12706 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12707 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12708 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12709 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12710 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12711 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12712 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12713 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12714 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12715 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12716 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12717 | PRIVATE third_party/googletest/googletest/include |
| 12718 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12719 | PRIVATE third_party/googletest/googlemock/include |
| 12720 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12721 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12722 | ) |
| 12723 | |
| 12724 | target_link_libraries(streaming_throughput_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12725 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12726 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12727 | grpc++_test_util |
| 12728 | grpc_test_util |
| 12729 | grpc++ |
| 12730 | grpc |
| 12731 | gpr_test_util |
| 12732 | gpr |
| 12733 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12734 | ) |
| 12735 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12736 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12737 | endif (gRPC_BUILD_TESTS) |
| 12738 | if (gRPC_BUILD_TESTS) |
| 12739 | |
| 12740 | add_executable(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12741 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 12742 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 12743 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 12744 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 12745 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 12746 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 12747 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 12748 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 12749 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 12750 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 12751 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 12752 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
| 12753 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 12754 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 12755 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 12756 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12757 | test/cpp/interop/interop_client.cc |
| 12758 | test/cpp/interop/stress_interop_client.cc |
| 12759 | test/cpp/interop/stress_test.cc |
| 12760 | test/cpp/util/metrics_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12761 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12762 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12763 | ) |
| 12764 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12765 | protobuf_generate_grpc_cpp( |
| 12766 | src/proto/grpc/testing/empty.proto |
| 12767 | ) |
| 12768 | protobuf_generate_grpc_cpp( |
| 12769 | src/proto/grpc/testing/messages.proto |
| 12770 | ) |
| 12771 | protobuf_generate_grpc_cpp( |
| 12772 | src/proto/grpc/testing/metrics.proto |
| 12773 | ) |
| 12774 | protobuf_generate_grpc_cpp( |
| 12775 | src/proto/grpc/testing/test.proto |
| 12776 | ) |
| 12777 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12778 | target_include_directories(stress_test |
| 12779 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12780 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12781 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12782 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12783 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12784 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12785 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12786 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12787 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12788 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12789 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12790 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12791 | PRIVATE third_party/googletest/googletest/include |
| 12792 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12793 | PRIVATE third_party/googletest/googlemock/include |
| 12794 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12795 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12796 | ) |
| 12797 | |
| 12798 | target_link_libraries(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12799 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12800 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12801 | grpc++_test_util |
| 12802 | grpc_test_util |
| 12803 | grpc++ |
| 12804 | grpc |
| 12805 | gpr_test_util |
| 12806 | gpr |
| 12807 | grpc++_test_config |
| 12808 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12809 | ) |
| 12810 | |
| 12811 | endif (gRPC_BUILD_TESTS) |
| 12812 | if (gRPC_BUILD_TESTS) |
| 12813 | |
| 12814 | add_executable(thread_manager_test |
| 12815 | test/cpp/thread_manager/thread_manager_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12816 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12817 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12818 | ) |
| 12819 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12820 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12821 | target_include_directories(thread_manager_test |
| 12822 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12823 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12824 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12825 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12826 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12827 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12828 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12829 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12830 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12831 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12832 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12833 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12834 | PRIVATE third_party/googletest/googletest/include |
| 12835 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12836 | PRIVATE third_party/googletest/googlemock/include |
| 12837 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12838 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12839 | ) |
| 12840 | |
| 12841 | target_link_libraries(thread_manager_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12842 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12843 | ${_gRPC_ALLTARGETS_LIBRARIES} |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 12844 | grpc++_unsecure |
| 12845 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12846 | gpr |
| 12847 | grpc++_test_config |
| 12848 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12849 | ) |
| 12850 | |
| 12851 | endif (gRPC_BUILD_TESTS) |
| 12852 | if (gRPC_BUILD_TESTS) |
| 12853 | |
| 12854 | add_executable(thread_stress_test |
| 12855 | test/cpp/end2end/thread_stress_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12856 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12857 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12858 | ) |
| 12859 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12860 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12861 | target_include_directories(thread_stress_test |
| 12862 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12863 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12864 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12865 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12866 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12867 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12868 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12869 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12870 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12871 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12872 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12873 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12874 | PRIVATE third_party/googletest/googletest/include |
| 12875 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12876 | PRIVATE third_party/googletest/googlemock/include |
| 12877 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12878 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12879 | ) |
| 12880 | |
| 12881 | target_link_libraries(thread_stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12882 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12883 | ${_gRPC_ALLTARGETS_LIBRARIES} |
jiangtaoli2016 | 3aaa5ea | 2017-08-02 13:36:50 -0700 | [diff] [blame] | 12884 | grpc++_test_util_unsecure |
| 12885 | grpc_test_util_unsecure |
| 12886 | grpc++_unsecure |
| 12887 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12888 | gpr_test_util |
| 12889 | gpr |
| 12890 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12891 | ) |
| 12892 | |
| 12893 | endif (gRPC_BUILD_TESTS) |
| 12894 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12895 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12896 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12897 | add_executable(writes_per_rpc_test |
| 12898 | test/cpp/performance/writes_per_rpc_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12899 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12900 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12901 | ) |
| 12902 | |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12903 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12904 | target_include_directories(writes_per_rpc_test |
| 12905 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12906 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12907 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12908 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12909 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12910 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12911 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12912 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12913 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12914 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12915 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12916 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12917 | PRIVATE third_party/googletest/googletest/include |
| 12918 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12919 | PRIVATE third_party/googletest/googlemock/include |
| 12920 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12921 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12922 | ) |
| 12923 | |
| 12924 | target_link_libraries(writes_per_rpc_test |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12925 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12926 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12927 | grpc++_test_util |
| 12928 | grpc_test_util |
| 12929 | grpc++ |
| 12930 | grpc |
| 12931 | gpr_test_util |
| 12932 | gpr |
| 12933 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12934 | ) |
| 12935 | |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12936 | endif() |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12937 | endif (gRPC_BUILD_TESTS) |
| 12938 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12939 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12940 | add_executable(public_headers_must_be_c89 |
| 12941 | test/core/surface/public_headers_must_be_c89.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12942 | ) |
| 12943 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12944 | |
| 12945 | target_include_directories(public_headers_must_be_c89 |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12946 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12947 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12948 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12949 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12950 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12951 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12952 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12953 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12954 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12955 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12956 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12957 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12958 | ) |
| 12959 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12960 | target_link_libraries(public_headers_must_be_c89 |
| 12961 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12962 | grpc |
| 12963 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12964 | ) |
| 12965 | |
| 12966 | endif (gRPC_BUILD_TESTS) |
| 12967 | if (gRPC_BUILD_TESTS) |
| 12968 | |
| 12969 | add_executable(badreq_bad_client_test |
| 12970 | test/core/bad_client/tests/badreq.c |
| 12971 | ) |
| 12972 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12973 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12974 | target_include_directories(badreq_bad_client_test |
| 12975 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12976 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12977 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12978 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12979 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12980 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12981 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12982 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12983 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12984 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12985 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12986 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12987 | ) |
| 12988 | |
| 12989 | target_link_libraries(badreq_bad_client_test |
| 12990 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12991 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12992 | bad_client_test |
| 12993 | grpc_test_util_unsecure |
| 12994 | grpc_unsecure |
| 12995 | gpr_test_util |
| 12996 | gpr |
| 12997 | ) |
| 12998 | |
| 12999 | endif (gRPC_BUILD_TESTS) |
| 13000 | if (gRPC_BUILD_TESTS) |
| 13001 | |
| 13002 | add_executable(connection_prefix_bad_client_test |
| 13003 | test/core/bad_client/tests/connection_prefix.c |
| 13004 | ) |
| 13005 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13006 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13007 | target_include_directories(connection_prefix_bad_client_test |
| 13008 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13009 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13010 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13011 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13012 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13013 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13014 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13015 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13016 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13017 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13018 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13019 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13020 | ) |
| 13021 | |
| 13022 | target_link_libraries(connection_prefix_bad_client_test |
| 13023 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13024 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13025 | bad_client_test |
| 13026 | grpc_test_util_unsecure |
| 13027 | grpc_unsecure |
| 13028 | gpr_test_util |
| 13029 | gpr |
| 13030 | ) |
| 13031 | |
| 13032 | endif (gRPC_BUILD_TESTS) |
| 13033 | if (gRPC_BUILD_TESTS) |
| 13034 | |
| 13035 | add_executable(head_of_line_blocking_bad_client_test |
| 13036 | test/core/bad_client/tests/head_of_line_blocking.c |
| 13037 | ) |
| 13038 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13039 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13040 | target_include_directories(head_of_line_blocking_bad_client_test |
| 13041 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13042 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13043 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13044 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13045 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13046 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13047 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13048 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13049 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13050 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13051 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13052 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13053 | ) |
| 13054 | |
| 13055 | target_link_libraries(head_of_line_blocking_bad_client_test |
| 13056 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13057 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13058 | bad_client_test |
| 13059 | grpc_test_util_unsecure |
| 13060 | grpc_unsecure |
| 13061 | gpr_test_util |
| 13062 | gpr |
| 13063 | ) |
| 13064 | |
| 13065 | endif (gRPC_BUILD_TESTS) |
| 13066 | if (gRPC_BUILD_TESTS) |
| 13067 | |
| 13068 | add_executable(headers_bad_client_test |
| 13069 | test/core/bad_client/tests/headers.c |
| 13070 | ) |
| 13071 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13072 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13073 | target_include_directories(headers_bad_client_test |
| 13074 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13075 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13076 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13077 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13078 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13079 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13080 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13081 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13082 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13083 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13084 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13085 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13086 | ) |
| 13087 | |
| 13088 | target_link_libraries(headers_bad_client_test |
| 13089 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13090 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13091 | bad_client_test |
| 13092 | grpc_test_util_unsecure |
| 13093 | grpc_unsecure |
| 13094 | gpr_test_util |
| 13095 | gpr |
| 13096 | ) |
| 13097 | |
| 13098 | endif (gRPC_BUILD_TESTS) |
| 13099 | if (gRPC_BUILD_TESTS) |
| 13100 | |
| 13101 | add_executable(initial_settings_frame_bad_client_test |
| 13102 | test/core/bad_client/tests/initial_settings_frame.c |
| 13103 | ) |
| 13104 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13105 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13106 | target_include_directories(initial_settings_frame_bad_client_test |
| 13107 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13108 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13109 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13110 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13111 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13112 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13113 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13114 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13115 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13116 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13117 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13118 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13119 | ) |
| 13120 | |
| 13121 | target_link_libraries(initial_settings_frame_bad_client_test |
| 13122 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13123 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13124 | bad_client_test |
| 13125 | grpc_test_util_unsecure |
| 13126 | grpc_unsecure |
| 13127 | gpr_test_util |
| 13128 | gpr |
| 13129 | ) |
| 13130 | |
| 13131 | endif (gRPC_BUILD_TESTS) |
| 13132 | if (gRPC_BUILD_TESTS) |
| 13133 | |
| 13134 | add_executable(large_metadata_bad_client_test |
| 13135 | test/core/bad_client/tests/large_metadata.c |
| 13136 | ) |
| 13137 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13138 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13139 | target_include_directories(large_metadata_bad_client_test |
| 13140 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13141 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13142 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13143 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13144 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13145 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13146 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13147 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13148 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13149 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13150 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13151 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13152 | ) |
| 13153 | |
| 13154 | target_link_libraries(large_metadata_bad_client_test |
| 13155 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13156 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13157 | bad_client_test |
| 13158 | grpc_test_util_unsecure |
| 13159 | grpc_unsecure |
| 13160 | gpr_test_util |
| 13161 | gpr |
| 13162 | ) |
| 13163 | |
| 13164 | endif (gRPC_BUILD_TESTS) |
| 13165 | if (gRPC_BUILD_TESTS) |
| 13166 | |
| 13167 | add_executable(server_registered_method_bad_client_test |
| 13168 | test/core/bad_client/tests/server_registered_method.c |
| 13169 | ) |
| 13170 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13171 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13172 | target_include_directories(server_registered_method_bad_client_test |
| 13173 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13174 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13175 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13176 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13177 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13178 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13179 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13180 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13181 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13182 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13183 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13184 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13185 | ) |
| 13186 | |
| 13187 | target_link_libraries(server_registered_method_bad_client_test |
| 13188 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13189 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13190 | bad_client_test |
| 13191 | grpc_test_util_unsecure |
| 13192 | grpc_unsecure |
| 13193 | gpr_test_util |
| 13194 | gpr |
| 13195 | ) |
| 13196 | |
| 13197 | endif (gRPC_BUILD_TESTS) |
| 13198 | if (gRPC_BUILD_TESTS) |
| 13199 | |
| 13200 | add_executable(simple_request_bad_client_test |
| 13201 | test/core/bad_client/tests/simple_request.c |
| 13202 | ) |
| 13203 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13204 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13205 | target_include_directories(simple_request_bad_client_test |
| 13206 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13207 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13208 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13209 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13210 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13211 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13212 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13213 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13214 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13215 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13216 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13217 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13218 | ) |
| 13219 | |
| 13220 | target_link_libraries(simple_request_bad_client_test |
| 13221 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13222 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13223 | bad_client_test |
| 13224 | grpc_test_util_unsecure |
| 13225 | grpc_unsecure |
| 13226 | gpr_test_util |
| 13227 | gpr |
| 13228 | ) |
| 13229 | |
| 13230 | endif (gRPC_BUILD_TESTS) |
| 13231 | if (gRPC_BUILD_TESTS) |
| 13232 | |
| 13233 | add_executable(unknown_frame_bad_client_test |
| 13234 | test/core/bad_client/tests/unknown_frame.c |
| 13235 | ) |
| 13236 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13237 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13238 | target_include_directories(unknown_frame_bad_client_test |
| 13239 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13240 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13241 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13242 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13243 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13244 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13245 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13246 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13247 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13248 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13249 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13250 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13251 | ) |
| 13252 | |
| 13253 | target_link_libraries(unknown_frame_bad_client_test |
| 13254 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13255 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13256 | bad_client_test |
| 13257 | grpc_test_util_unsecure |
| 13258 | grpc_unsecure |
| 13259 | gpr_test_util |
| 13260 | gpr |
| 13261 | ) |
| 13262 | |
| 13263 | endif (gRPC_BUILD_TESTS) |
| 13264 | if (gRPC_BUILD_TESTS) |
| 13265 | |
| 13266 | add_executable(window_overflow_bad_client_test |
| 13267 | test/core/bad_client/tests/window_overflow.c |
| 13268 | ) |
| 13269 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13270 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13271 | target_include_directories(window_overflow_bad_client_test |
| 13272 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13273 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13274 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13275 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13276 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13277 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13278 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13279 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13280 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13281 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13282 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13283 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13284 | ) |
| 13285 | |
| 13286 | target_link_libraries(window_overflow_bad_client_test |
| 13287 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13288 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13289 | bad_client_test |
| 13290 | grpc_test_util_unsecure |
| 13291 | grpc_unsecure |
| 13292 | gpr_test_util |
| 13293 | gpr |
| 13294 | ) |
| 13295 | |
| 13296 | endif (gRPC_BUILD_TESTS) |
| 13297 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13298 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13299 | |
| 13300 | add_executable(bad_ssl_cert_server |
| 13301 | test/core/bad_ssl/servers/cert.c |
| 13302 | ) |
| 13303 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13304 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13305 | target_include_directories(bad_ssl_cert_server |
| 13306 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13307 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13308 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13309 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13310 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13311 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13312 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13313 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13314 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13315 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13316 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13317 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13318 | ) |
| 13319 | |
| 13320 | target_link_libraries(bad_ssl_cert_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13321 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13322 | bad_ssl_test_server |
| 13323 | grpc_test_util |
| 13324 | grpc |
| 13325 | gpr_test_util |
| 13326 | gpr |
| 13327 | ) |
| 13328 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13329 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13330 | endif (gRPC_BUILD_TESTS) |
| 13331 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13332 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13333 | |
| 13334 | add_executable(bad_ssl_cert_test |
| 13335 | test/core/bad_ssl/bad_ssl_test.c |
| 13336 | ) |
| 13337 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13338 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13339 | target_include_directories(bad_ssl_cert_test |
| 13340 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13341 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13342 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13343 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13344 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13345 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13346 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13347 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13348 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13349 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13350 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13351 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13352 | ) |
| 13353 | |
| 13354 | target_link_libraries(bad_ssl_cert_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13355 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13356 | grpc_test_util |
| 13357 | grpc |
| 13358 | gpr_test_util |
| 13359 | gpr |
| 13360 | ) |
| 13361 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13362 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13363 | endif (gRPC_BUILD_TESTS) |
| 13364 | if (gRPC_BUILD_TESTS) |
| 13365 | |
| 13366 | add_executable(h2_census_test |
| 13367 | test/core/end2end/fixtures/h2_census.c |
| 13368 | ) |
| 13369 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13370 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13371 | target_include_directories(h2_census_test |
| 13372 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13373 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13374 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13375 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13376 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13377 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13378 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13379 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13380 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13381 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13382 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13383 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13384 | ) |
| 13385 | |
| 13386 | target_link_libraries(h2_census_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13387 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13388 | end2end_tests |
| 13389 | grpc_test_util |
| 13390 | grpc |
| 13391 | gpr_test_util |
| 13392 | gpr |
| 13393 | ) |
| 13394 | |
| 13395 | endif (gRPC_BUILD_TESTS) |
| 13396 | if (gRPC_BUILD_TESTS) |
| 13397 | |
| 13398 | add_executable(h2_compress_test |
| 13399 | test/core/end2end/fixtures/h2_compress.c |
| 13400 | ) |
| 13401 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13402 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13403 | target_include_directories(h2_compress_test |
| 13404 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13405 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13406 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13407 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13408 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13409 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13410 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13411 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13412 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13413 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13414 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13415 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13416 | ) |
| 13417 | |
| 13418 | target_link_libraries(h2_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13419 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13420 | end2end_tests |
| 13421 | grpc_test_util |
| 13422 | grpc |
| 13423 | gpr_test_util |
| 13424 | gpr |
| 13425 | ) |
| 13426 | |
| 13427 | endif (gRPC_BUILD_TESTS) |
| 13428 | if (gRPC_BUILD_TESTS) |
| 13429 | |
| 13430 | add_executable(h2_fakesec_test |
| 13431 | test/core/end2end/fixtures/h2_fakesec.c |
| 13432 | ) |
| 13433 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13434 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13435 | target_include_directories(h2_fakesec_test |
| 13436 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13437 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13438 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13439 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13440 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13441 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13442 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13443 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13444 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13445 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13446 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13447 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13448 | ) |
| 13449 | |
| 13450 | target_link_libraries(h2_fakesec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13451 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13452 | end2end_tests |
| 13453 | grpc_test_util |
| 13454 | grpc |
| 13455 | gpr_test_util |
| 13456 | gpr |
| 13457 | ) |
| 13458 | |
| 13459 | endif (gRPC_BUILD_TESTS) |
| 13460 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13461 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13462 | |
| 13463 | add_executable(h2_fd_test |
| 13464 | test/core/end2end/fixtures/h2_fd.c |
| 13465 | ) |
| 13466 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13467 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13468 | target_include_directories(h2_fd_test |
| 13469 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13470 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13471 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13472 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13473 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13474 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13475 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13476 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13477 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13478 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13479 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13480 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13481 | ) |
| 13482 | |
| 13483 | target_link_libraries(h2_fd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13484 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13485 | end2end_tests |
| 13486 | grpc_test_util |
| 13487 | grpc |
| 13488 | gpr_test_util |
| 13489 | gpr |
| 13490 | ) |
| 13491 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13492 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13493 | endif (gRPC_BUILD_TESTS) |
| 13494 | if (gRPC_BUILD_TESTS) |
| 13495 | |
| 13496 | add_executable(h2_full_test |
| 13497 | test/core/end2end/fixtures/h2_full.c |
| 13498 | ) |
| 13499 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13500 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13501 | target_include_directories(h2_full_test |
| 13502 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13503 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13504 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13505 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13506 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13507 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13508 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13509 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13510 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13511 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13512 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13513 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13514 | ) |
| 13515 | |
| 13516 | target_link_libraries(h2_full_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13517 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13518 | end2end_tests |
| 13519 | grpc_test_util |
| 13520 | grpc |
| 13521 | gpr_test_util |
| 13522 | gpr |
| 13523 | ) |
| 13524 | |
| 13525 | endif (gRPC_BUILD_TESTS) |
| 13526 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13527 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13528 | |
| 13529 | add_executable(h2_full+pipe_test |
| 13530 | test/core/end2end/fixtures/h2_full+pipe.c |
| 13531 | ) |
| 13532 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13533 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13534 | target_include_directories(h2_full+pipe_test |
| 13535 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13536 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13537 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13538 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13539 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13540 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13541 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13542 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13543 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13544 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13545 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13546 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13547 | ) |
| 13548 | |
| 13549 | target_link_libraries(h2_full+pipe_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13550 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13551 | end2end_tests |
| 13552 | grpc_test_util |
| 13553 | grpc |
| 13554 | gpr_test_util |
| 13555 | gpr |
| 13556 | ) |
| 13557 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13558 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13559 | endif (gRPC_BUILD_TESTS) |
| 13560 | if (gRPC_BUILD_TESTS) |
| 13561 | |
| 13562 | add_executable(h2_full+trace_test |
| 13563 | test/core/end2end/fixtures/h2_full+trace.c |
| 13564 | ) |
| 13565 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13566 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13567 | target_include_directories(h2_full+trace_test |
| 13568 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13569 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13570 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13571 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13572 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13573 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13574 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13575 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13576 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13577 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13578 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13579 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13580 | ) |
| 13581 | |
| 13582 | target_link_libraries(h2_full+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13583 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13584 | end2end_tests |
| 13585 | grpc_test_util |
| 13586 | grpc |
| 13587 | gpr_test_util |
| 13588 | gpr |
| 13589 | ) |
| 13590 | |
| 13591 | endif (gRPC_BUILD_TESTS) |
| 13592 | if (gRPC_BUILD_TESTS) |
| 13593 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13594 | add_executable(h2_full+workarounds_test |
| 13595 | test/core/end2end/fixtures/h2_full+workarounds.c |
| 13596 | ) |
| 13597 | |
| 13598 | |
| 13599 | target_include_directories(h2_full+workarounds_test |
| 13600 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13601 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13602 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13603 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13604 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13605 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13606 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 13607 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 13608 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13609 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13610 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13611 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13612 | ) |
| 13613 | |
| 13614 | target_link_libraries(h2_full+workarounds_test |
| 13615 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13616 | end2end_tests |
| 13617 | grpc_test_util |
| 13618 | grpc |
| 13619 | gpr_test_util |
| 13620 | gpr |
| 13621 | ) |
| 13622 | |
| 13623 | endif (gRPC_BUILD_TESTS) |
| 13624 | if (gRPC_BUILD_TESTS) |
| 13625 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13626 | add_executable(h2_http_proxy_test |
| 13627 | test/core/end2end/fixtures/h2_http_proxy.c |
| 13628 | ) |
| 13629 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13630 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13631 | target_include_directories(h2_http_proxy_test |
| 13632 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13633 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13634 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13635 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13636 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13637 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13638 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13639 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13640 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13641 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13642 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13643 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13644 | ) |
| 13645 | |
| 13646 | target_link_libraries(h2_http_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13647 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13648 | end2end_tests |
| 13649 | grpc_test_util |
| 13650 | grpc |
| 13651 | gpr_test_util |
| 13652 | gpr |
| 13653 | ) |
| 13654 | |
| 13655 | endif (gRPC_BUILD_TESTS) |
| 13656 | if (gRPC_BUILD_TESTS) |
| 13657 | |
| 13658 | add_executable(h2_load_reporting_test |
| 13659 | test/core/end2end/fixtures/h2_load_reporting.c |
| 13660 | ) |
| 13661 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13662 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13663 | target_include_directories(h2_load_reporting_test |
| 13664 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13665 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13666 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13667 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13668 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13669 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13670 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13671 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13672 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13673 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13674 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13675 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13676 | ) |
| 13677 | |
| 13678 | target_link_libraries(h2_load_reporting_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13679 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13680 | end2end_tests |
| 13681 | grpc_test_util |
| 13682 | grpc |
| 13683 | gpr_test_util |
| 13684 | gpr |
| 13685 | ) |
| 13686 | |
| 13687 | endif (gRPC_BUILD_TESTS) |
| 13688 | if (gRPC_BUILD_TESTS) |
| 13689 | |
| 13690 | add_executable(h2_oauth2_test |
| 13691 | test/core/end2end/fixtures/h2_oauth2.c |
| 13692 | ) |
| 13693 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13694 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13695 | target_include_directories(h2_oauth2_test |
| 13696 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13697 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13698 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13699 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13700 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13701 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13702 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13703 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13704 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13705 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13706 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13707 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13708 | ) |
| 13709 | |
| 13710 | target_link_libraries(h2_oauth2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13711 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13712 | end2end_tests |
| 13713 | grpc_test_util |
| 13714 | grpc |
| 13715 | gpr_test_util |
| 13716 | gpr |
| 13717 | ) |
| 13718 | |
| 13719 | endif (gRPC_BUILD_TESTS) |
| 13720 | if (gRPC_BUILD_TESTS) |
| 13721 | |
| 13722 | add_executable(h2_proxy_test |
| 13723 | test/core/end2end/fixtures/h2_proxy.c |
| 13724 | ) |
| 13725 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13726 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13727 | target_include_directories(h2_proxy_test |
| 13728 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13729 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13730 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13731 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13732 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13733 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13734 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13735 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13736 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13737 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13738 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13739 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13740 | ) |
| 13741 | |
| 13742 | target_link_libraries(h2_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13743 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13744 | end2end_tests |
| 13745 | grpc_test_util |
| 13746 | grpc |
| 13747 | gpr_test_util |
| 13748 | gpr |
| 13749 | ) |
| 13750 | |
| 13751 | endif (gRPC_BUILD_TESTS) |
| 13752 | if (gRPC_BUILD_TESTS) |
| 13753 | |
| 13754 | add_executable(h2_sockpair_test |
| 13755 | test/core/end2end/fixtures/h2_sockpair.c |
| 13756 | ) |
| 13757 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13758 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13759 | target_include_directories(h2_sockpair_test |
| 13760 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13761 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13762 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13763 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13764 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13765 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13766 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13767 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13768 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13769 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13770 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13771 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13772 | ) |
| 13773 | |
| 13774 | target_link_libraries(h2_sockpair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13775 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13776 | end2end_tests |
| 13777 | grpc_test_util |
| 13778 | grpc |
| 13779 | gpr_test_util |
| 13780 | gpr |
| 13781 | ) |
| 13782 | |
| 13783 | endif (gRPC_BUILD_TESTS) |
| 13784 | if (gRPC_BUILD_TESTS) |
| 13785 | |
| 13786 | add_executable(h2_sockpair+trace_test |
| 13787 | test/core/end2end/fixtures/h2_sockpair+trace.c |
| 13788 | ) |
| 13789 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13790 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13791 | target_include_directories(h2_sockpair+trace_test |
| 13792 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13793 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13794 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13795 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13796 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13797 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13798 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13799 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13800 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13801 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13802 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13803 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13804 | ) |
| 13805 | |
| 13806 | target_link_libraries(h2_sockpair+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13807 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13808 | end2end_tests |
| 13809 | grpc_test_util |
| 13810 | grpc |
| 13811 | gpr_test_util |
| 13812 | gpr |
| 13813 | ) |
| 13814 | |
| 13815 | endif (gRPC_BUILD_TESTS) |
| 13816 | if (gRPC_BUILD_TESTS) |
| 13817 | |
| 13818 | add_executable(h2_sockpair_1byte_test |
| 13819 | test/core/end2end/fixtures/h2_sockpair_1byte.c |
| 13820 | ) |
| 13821 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13822 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13823 | target_include_directories(h2_sockpair_1byte_test |
| 13824 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13825 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13826 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13827 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13828 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13829 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13830 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13831 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13832 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13833 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13834 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13835 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13836 | ) |
| 13837 | |
| 13838 | target_link_libraries(h2_sockpair_1byte_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13839 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13840 | end2end_tests |
| 13841 | grpc_test_util |
| 13842 | grpc |
| 13843 | gpr_test_util |
| 13844 | gpr |
| 13845 | ) |
| 13846 | |
| 13847 | endif (gRPC_BUILD_TESTS) |
| 13848 | if (gRPC_BUILD_TESTS) |
| 13849 | |
| 13850 | add_executable(h2_ssl_test |
| 13851 | test/core/end2end/fixtures/h2_ssl.c |
| 13852 | ) |
| 13853 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13854 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13855 | target_include_directories(h2_ssl_test |
| 13856 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13857 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13858 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13859 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13860 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13861 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13862 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13863 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13864 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13865 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13866 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13867 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13868 | ) |
| 13869 | |
| 13870 | target_link_libraries(h2_ssl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13871 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13872 | end2end_tests |
| 13873 | grpc_test_util |
| 13874 | grpc |
| 13875 | gpr_test_util |
| 13876 | gpr |
| 13877 | ) |
| 13878 | |
| 13879 | endif (gRPC_BUILD_TESTS) |
| 13880 | if (gRPC_BUILD_TESTS) |
| 13881 | |
| 13882 | add_executable(h2_ssl_cert_test |
| 13883 | test/core/end2end/fixtures/h2_ssl_cert.c |
| 13884 | ) |
| 13885 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13886 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13887 | target_include_directories(h2_ssl_cert_test |
| 13888 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13889 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13890 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13891 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13892 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13893 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13894 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13895 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13896 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13897 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13898 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13899 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13900 | ) |
| 13901 | |
| 13902 | target_link_libraries(h2_ssl_cert_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13903 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13904 | end2end_tests |
| 13905 | grpc_test_util |
| 13906 | grpc |
| 13907 | gpr_test_util |
| 13908 | gpr |
| 13909 | ) |
| 13910 | |
| 13911 | endif (gRPC_BUILD_TESTS) |
| 13912 | if (gRPC_BUILD_TESTS) |
| 13913 | |
| 13914 | add_executable(h2_ssl_proxy_test |
| 13915 | test/core/end2end/fixtures/h2_ssl_proxy.c |
| 13916 | ) |
| 13917 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13918 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13919 | target_include_directories(h2_ssl_proxy_test |
| 13920 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13921 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13922 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13923 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13924 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13925 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13926 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13927 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13928 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13929 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13930 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13931 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13932 | ) |
| 13933 | |
| 13934 | target_link_libraries(h2_ssl_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13935 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13936 | end2end_tests |
| 13937 | grpc_test_util |
| 13938 | grpc |
| 13939 | gpr_test_util |
| 13940 | gpr |
| 13941 | ) |
| 13942 | |
| 13943 | endif (gRPC_BUILD_TESTS) |
| 13944 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13945 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13946 | |
| 13947 | add_executable(h2_uds_test |
| 13948 | test/core/end2end/fixtures/h2_uds.c |
| 13949 | ) |
| 13950 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13951 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13952 | target_include_directories(h2_uds_test |
| 13953 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13954 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13955 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13956 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13957 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13958 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13959 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13960 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13961 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13962 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13963 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13964 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13965 | ) |
| 13966 | |
| 13967 | target_link_libraries(h2_uds_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13968 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13969 | end2end_tests |
| 13970 | grpc_test_util |
| 13971 | grpc |
| 13972 | gpr_test_util |
| 13973 | gpr |
| 13974 | ) |
| 13975 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13976 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13977 | endif (gRPC_BUILD_TESTS) |
| 13978 | if (gRPC_BUILD_TESTS) |
| 13979 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13980 | add_executable(inproc_test |
| 13981 | test/core/end2end/fixtures/inproc.c |
| 13982 | ) |
| 13983 | |
| 13984 | |
| 13985 | target_include_directories(inproc_test |
| 13986 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13987 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13988 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13989 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13990 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13991 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13992 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 13993 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 13994 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13995 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13996 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13997 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13998 | ) |
| 13999 | |
| 14000 | target_link_libraries(inproc_test |
| 14001 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14002 | end2end_tests |
| 14003 | grpc_test_util |
| 14004 | grpc |
| 14005 | gpr_test_util |
| 14006 | gpr |
| 14007 | ) |
| 14008 | |
| 14009 | endif (gRPC_BUILD_TESTS) |
| 14010 | if (gRPC_BUILD_TESTS) |
| 14011 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14012 | add_executable(h2_census_nosec_test |
| 14013 | test/core/end2end/fixtures/h2_census.c |
| 14014 | ) |
| 14015 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14016 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14017 | target_include_directories(h2_census_nosec_test |
| 14018 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14019 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14020 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14021 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14022 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14023 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14024 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14025 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14026 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14027 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14028 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14029 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14030 | ) |
| 14031 | |
| 14032 | target_link_libraries(h2_census_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14033 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14034 | end2end_nosec_tests |
| 14035 | grpc_test_util_unsecure |
| 14036 | grpc_unsecure |
| 14037 | gpr_test_util |
| 14038 | gpr |
| 14039 | ) |
| 14040 | |
| 14041 | endif (gRPC_BUILD_TESTS) |
| 14042 | if (gRPC_BUILD_TESTS) |
| 14043 | |
| 14044 | add_executable(h2_compress_nosec_test |
| 14045 | test/core/end2end/fixtures/h2_compress.c |
| 14046 | ) |
| 14047 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14048 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14049 | target_include_directories(h2_compress_nosec_test |
| 14050 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14051 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14052 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14053 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14054 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14055 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14056 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14057 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14058 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14059 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14060 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14061 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14062 | ) |
| 14063 | |
| 14064 | target_link_libraries(h2_compress_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14065 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14066 | end2end_nosec_tests |
| 14067 | grpc_test_util_unsecure |
| 14068 | grpc_unsecure |
| 14069 | gpr_test_util |
| 14070 | gpr |
| 14071 | ) |
| 14072 | |
| 14073 | endif (gRPC_BUILD_TESTS) |
| 14074 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14075 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14076 | |
| 14077 | add_executable(h2_fd_nosec_test |
| 14078 | test/core/end2end/fixtures/h2_fd.c |
| 14079 | ) |
| 14080 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14081 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14082 | target_include_directories(h2_fd_nosec_test |
| 14083 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14084 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14085 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14086 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14087 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14088 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14089 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14090 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14091 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14092 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14093 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14094 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14095 | ) |
| 14096 | |
| 14097 | target_link_libraries(h2_fd_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14098 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14099 | end2end_nosec_tests |
| 14100 | grpc_test_util_unsecure |
| 14101 | grpc_unsecure |
| 14102 | gpr_test_util |
| 14103 | gpr |
| 14104 | ) |
| 14105 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14106 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14107 | endif (gRPC_BUILD_TESTS) |
| 14108 | if (gRPC_BUILD_TESTS) |
| 14109 | |
| 14110 | add_executable(h2_full_nosec_test |
| 14111 | test/core/end2end/fixtures/h2_full.c |
| 14112 | ) |
| 14113 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14114 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14115 | target_include_directories(h2_full_nosec_test |
| 14116 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14117 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14118 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14119 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14120 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14121 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14122 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14123 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14124 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14125 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14126 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14127 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14128 | ) |
| 14129 | |
| 14130 | target_link_libraries(h2_full_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14131 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14132 | end2end_nosec_tests |
| 14133 | grpc_test_util_unsecure |
| 14134 | grpc_unsecure |
| 14135 | gpr_test_util |
| 14136 | gpr |
| 14137 | ) |
| 14138 | |
| 14139 | endif (gRPC_BUILD_TESTS) |
| 14140 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14141 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14142 | |
| 14143 | add_executable(h2_full+pipe_nosec_test |
| 14144 | test/core/end2end/fixtures/h2_full+pipe.c |
| 14145 | ) |
| 14146 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14147 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14148 | target_include_directories(h2_full+pipe_nosec_test |
| 14149 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14150 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14151 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14152 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14153 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14154 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14155 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14156 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14157 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14158 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14159 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14160 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14161 | ) |
| 14162 | |
| 14163 | target_link_libraries(h2_full+pipe_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14164 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14165 | end2end_nosec_tests |
| 14166 | grpc_test_util_unsecure |
| 14167 | grpc_unsecure |
| 14168 | gpr_test_util |
| 14169 | gpr |
| 14170 | ) |
| 14171 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14172 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14173 | endif (gRPC_BUILD_TESTS) |
| 14174 | if (gRPC_BUILD_TESTS) |
| 14175 | |
| 14176 | add_executable(h2_full+trace_nosec_test |
| 14177 | test/core/end2end/fixtures/h2_full+trace.c |
| 14178 | ) |
| 14179 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14180 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14181 | target_include_directories(h2_full+trace_nosec_test |
| 14182 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14183 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14184 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14185 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14186 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14187 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14188 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14189 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14190 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14191 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14192 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14193 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14194 | ) |
| 14195 | |
| 14196 | target_link_libraries(h2_full+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14197 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14198 | end2end_nosec_tests |
| 14199 | grpc_test_util_unsecure |
| 14200 | grpc_unsecure |
| 14201 | gpr_test_util |
| 14202 | gpr |
| 14203 | ) |
| 14204 | |
| 14205 | endif (gRPC_BUILD_TESTS) |
| 14206 | if (gRPC_BUILD_TESTS) |
| 14207 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 14208 | add_executable(h2_full+workarounds_nosec_test |
| 14209 | test/core/end2end/fixtures/h2_full+workarounds.c |
| 14210 | ) |
| 14211 | |
| 14212 | |
| 14213 | target_include_directories(h2_full+workarounds_nosec_test |
| 14214 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14215 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14216 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14217 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14218 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14219 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14220 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 14221 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 14222 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14223 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14224 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14225 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14226 | ) |
| 14227 | |
| 14228 | target_link_libraries(h2_full+workarounds_nosec_test |
| 14229 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14230 | end2end_nosec_tests |
| 14231 | grpc_test_util_unsecure |
| 14232 | grpc_unsecure |
| 14233 | gpr_test_util |
| 14234 | gpr |
| 14235 | ) |
| 14236 | |
| 14237 | endif (gRPC_BUILD_TESTS) |
| 14238 | if (gRPC_BUILD_TESTS) |
| 14239 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14240 | add_executable(h2_http_proxy_nosec_test |
| 14241 | test/core/end2end/fixtures/h2_http_proxy.c |
| 14242 | ) |
| 14243 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14244 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14245 | target_include_directories(h2_http_proxy_nosec_test |
| 14246 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14247 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14248 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14249 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14250 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14251 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14252 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14253 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14254 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14255 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14256 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14257 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14258 | ) |
| 14259 | |
| 14260 | target_link_libraries(h2_http_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14261 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14262 | end2end_nosec_tests |
| 14263 | grpc_test_util_unsecure |
| 14264 | grpc_unsecure |
| 14265 | gpr_test_util |
| 14266 | gpr |
| 14267 | ) |
| 14268 | |
| 14269 | endif (gRPC_BUILD_TESTS) |
| 14270 | if (gRPC_BUILD_TESTS) |
| 14271 | |
| 14272 | add_executable(h2_load_reporting_nosec_test |
| 14273 | test/core/end2end/fixtures/h2_load_reporting.c |
| 14274 | ) |
| 14275 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14276 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14277 | target_include_directories(h2_load_reporting_nosec_test |
| 14278 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14279 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14280 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14281 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14282 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14283 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14284 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14285 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14286 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14287 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14288 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14289 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14290 | ) |
| 14291 | |
| 14292 | target_link_libraries(h2_load_reporting_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14293 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14294 | end2end_nosec_tests |
| 14295 | grpc_test_util_unsecure |
| 14296 | grpc_unsecure |
| 14297 | gpr_test_util |
| 14298 | gpr |
| 14299 | ) |
| 14300 | |
| 14301 | endif (gRPC_BUILD_TESTS) |
| 14302 | if (gRPC_BUILD_TESTS) |
| 14303 | |
| 14304 | add_executable(h2_proxy_nosec_test |
| 14305 | test/core/end2end/fixtures/h2_proxy.c |
| 14306 | ) |
| 14307 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14308 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14309 | target_include_directories(h2_proxy_nosec_test |
| 14310 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14311 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14312 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14313 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14314 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14315 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14316 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14317 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14318 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14319 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14320 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14321 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14322 | ) |
| 14323 | |
| 14324 | target_link_libraries(h2_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14325 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14326 | end2end_nosec_tests |
| 14327 | grpc_test_util_unsecure |
| 14328 | grpc_unsecure |
| 14329 | gpr_test_util |
| 14330 | gpr |
| 14331 | ) |
| 14332 | |
| 14333 | endif (gRPC_BUILD_TESTS) |
| 14334 | if (gRPC_BUILD_TESTS) |
| 14335 | |
| 14336 | add_executable(h2_sockpair_nosec_test |
| 14337 | test/core/end2end/fixtures/h2_sockpair.c |
| 14338 | ) |
| 14339 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14340 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14341 | target_include_directories(h2_sockpair_nosec_test |
| 14342 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14343 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14344 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14345 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14346 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14347 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14348 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14349 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14350 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14351 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14352 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14353 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14354 | ) |
| 14355 | |
| 14356 | target_link_libraries(h2_sockpair_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14357 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14358 | end2end_nosec_tests |
| 14359 | grpc_test_util_unsecure |
| 14360 | grpc_unsecure |
| 14361 | gpr_test_util |
| 14362 | gpr |
| 14363 | ) |
| 14364 | |
| 14365 | endif (gRPC_BUILD_TESTS) |
| 14366 | if (gRPC_BUILD_TESTS) |
| 14367 | |
| 14368 | add_executable(h2_sockpair+trace_nosec_test |
| 14369 | test/core/end2end/fixtures/h2_sockpair+trace.c |
| 14370 | ) |
| 14371 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14372 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14373 | target_include_directories(h2_sockpair+trace_nosec_test |
| 14374 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14375 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14376 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14377 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14378 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14379 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14380 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14381 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14382 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14383 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14384 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14385 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14386 | ) |
| 14387 | |
| 14388 | target_link_libraries(h2_sockpair+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14389 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14390 | end2end_nosec_tests |
| 14391 | grpc_test_util_unsecure |
| 14392 | grpc_unsecure |
| 14393 | gpr_test_util |
| 14394 | gpr |
| 14395 | ) |
| 14396 | |
| 14397 | endif (gRPC_BUILD_TESTS) |
| 14398 | if (gRPC_BUILD_TESTS) |
| 14399 | |
| 14400 | add_executable(h2_sockpair_1byte_nosec_test |
| 14401 | test/core/end2end/fixtures/h2_sockpair_1byte.c |
| 14402 | ) |
| 14403 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14404 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14405 | target_include_directories(h2_sockpair_1byte_nosec_test |
| 14406 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14407 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14408 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14409 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14410 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14411 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14412 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14413 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14414 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14415 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14416 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14417 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14418 | ) |
| 14419 | |
| 14420 | target_link_libraries(h2_sockpair_1byte_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14421 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14422 | end2end_nosec_tests |
| 14423 | grpc_test_util_unsecure |
| 14424 | grpc_unsecure |
| 14425 | gpr_test_util |
| 14426 | gpr |
| 14427 | ) |
| 14428 | |
| 14429 | endif (gRPC_BUILD_TESTS) |
| 14430 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14431 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14432 | |
| 14433 | add_executable(h2_uds_nosec_test |
| 14434 | test/core/end2end/fixtures/h2_uds.c |
| 14435 | ) |
| 14436 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14437 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14438 | target_include_directories(h2_uds_nosec_test |
| 14439 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14440 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14441 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14442 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14443 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14444 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14445 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14446 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14447 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14448 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14449 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14450 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14451 | ) |
| 14452 | |
| 14453 | target_link_libraries(h2_uds_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14454 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14455 | end2end_nosec_tests |
| 14456 | grpc_test_util_unsecure |
| 14457 | grpc_unsecure |
| 14458 | gpr_test_util |
| 14459 | gpr |
| 14460 | ) |
| 14461 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14462 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14463 | endif (gRPC_BUILD_TESTS) |
| 14464 | if (gRPC_BUILD_TESTS) |
| 14465 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14466 | add_executable(inproc_nosec_test |
| 14467 | test/core/end2end/fixtures/inproc.c |
| 14468 | ) |
| 14469 | |
| 14470 | |
| 14471 | target_include_directories(inproc_nosec_test |
| 14472 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14473 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14474 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14475 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14476 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14477 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14478 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 14479 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 14480 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14481 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14482 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14483 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14484 | ) |
| 14485 | |
| 14486 | target_link_libraries(inproc_nosec_test |
| 14487 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14488 | end2end_nosec_tests |
| 14489 | grpc_test_util_unsecure |
| 14490 | grpc_unsecure |
| 14491 | gpr_test_util |
| 14492 | gpr |
| 14493 | ) |
| 14494 | |
| 14495 | endif (gRPC_BUILD_TESTS) |
| 14496 | if (gRPC_BUILD_TESTS) |
| 14497 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14498 | add_executable(api_fuzzer_one_entry |
| 14499 | test/core/end2end/fuzzers/api_fuzzer.c |
| 14500 | test/core/util/one_corpus_entry_fuzzer.c |
| 14501 | ) |
| 14502 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14503 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14504 | target_include_directories(api_fuzzer_one_entry |
| 14505 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14506 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14507 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14508 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14509 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14510 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14511 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14512 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14513 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14514 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14515 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14516 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14517 | ) |
| 14518 | |
| 14519 | target_link_libraries(api_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14520 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14521 | grpc_test_util |
| 14522 | grpc |
| 14523 | gpr_test_util |
| 14524 | gpr |
| 14525 | ) |
| 14526 | |
| 14527 | endif (gRPC_BUILD_TESTS) |
| 14528 | if (gRPC_BUILD_TESTS) |
| 14529 | |
| 14530 | add_executable(client_fuzzer_one_entry |
| 14531 | test/core/end2end/fuzzers/client_fuzzer.c |
| 14532 | test/core/util/one_corpus_entry_fuzzer.c |
| 14533 | ) |
| 14534 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14535 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14536 | target_include_directories(client_fuzzer_one_entry |
| 14537 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14538 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14539 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14540 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14541 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14542 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14543 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14544 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14545 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14546 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14547 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14548 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14549 | ) |
| 14550 | |
| 14551 | target_link_libraries(client_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14552 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14553 | grpc_test_util |
| 14554 | grpc |
| 14555 | gpr_test_util |
| 14556 | gpr |
| 14557 | ) |
| 14558 | |
| 14559 | endif (gRPC_BUILD_TESTS) |
| 14560 | if (gRPC_BUILD_TESTS) |
| 14561 | |
| 14562 | add_executable(hpack_parser_fuzzer_test_one_entry |
| 14563 | test/core/transport/chttp2/hpack_parser_fuzzer_test.c |
| 14564 | test/core/util/one_corpus_entry_fuzzer.c |
| 14565 | ) |
| 14566 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14567 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14568 | target_include_directories(hpack_parser_fuzzer_test_one_entry |
| 14569 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14570 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14571 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14572 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14573 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14574 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14575 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14576 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14577 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14578 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14579 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14580 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14581 | ) |
| 14582 | |
| 14583 | target_link_libraries(hpack_parser_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14584 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14585 | grpc_test_util |
| 14586 | grpc |
| 14587 | gpr_test_util |
| 14588 | gpr |
| 14589 | ) |
| 14590 | |
| 14591 | endif (gRPC_BUILD_TESTS) |
| 14592 | if (gRPC_BUILD_TESTS) |
| 14593 | |
| 14594 | add_executable(http_request_fuzzer_test_one_entry |
| 14595 | test/core/http/request_fuzzer.c |
| 14596 | test/core/util/one_corpus_entry_fuzzer.c |
| 14597 | ) |
| 14598 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14599 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14600 | target_include_directories(http_request_fuzzer_test_one_entry |
| 14601 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14602 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14603 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14604 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14605 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14606 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14607 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14608 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14609 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14610 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14611 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14612 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14613 | ) |
| 14614 | |
| 14615 | target_link_libraries(http_request_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14616 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14617 | grpc_test_util |
| 14618 | grpc |
| 14619 | gpr_test_util |
| 14620 | gpr |
| 14621 | ) |
| 14622 | |
| 14623 | endif (gRPC_BUILD_TESTS) |
| 14624 | if (gRPC_BUILD_TESTS) |
| 14625 | |
| 14626 | add_executable(http_response_fuzzer_test_one_entry |
| 14627 | test/core/http/response_fuzzer.c |
| 14628 | test/core/util/one_corpus_entry_fuzzer.c |
| 14629 | ) |
| 14630 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14631 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14632 | target_include_directories(http_response_fuzzer_test_one_entry |
| 14633 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14634 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14635 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14636 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14637 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14638 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14639 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14640 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14641 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14642 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14643 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14644 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14645 | ) |
| 14646 | |
| 14647 | target_link_libraries(http_response_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14648 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14649 | grpc_test_util |
| 14650 | grpc |
| 14651 | gpr_test_util |
| 14652 | gpr |
| 14653 | ) |
| 14654 | |
| 14655 | endif (gRPC_BUILD_TESTS) |
| 14656 | if (gRPC_BUILD_TESTS) |
| 14657 | |
| 14658 | add_executable(json_fuzzer_test_one_entry |
| 14659 | test/core/json/fuzzer.c |
| 14660 | test/core/util/one_corpus_entry_fuzzer.c |
| 14661 | ) |
| 14662 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14663 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14664 | target_include_directories(json_fuzzer_test_one_entry |
| 14665 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14666 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14667 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14668 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14669 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14670 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14671 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14672 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14673 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14674 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14675 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14676 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14677 | ) |
| 14678 | |
| 14679 | target_link_libraries(json_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14680 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14681 | grpc_test_util |
| 14682 | grpc |
| 14683 | gpr_test_util |
| 14684 | gpr |
| 14685 | ) |
| 14686 | |
| 14687 | endif (gRPC_BUILD_TESTS) |
| 14688 | if (gRPC_BUILD_TESTS) |
| 14689 | |
| 14690 | add_executable(nanopb_fuzzer_response_test_one_entry |
| 14691 | test/core/nanopb/fuzzer_response.c |
| 14692 | test/core/util/one_corpus_entry_fuzzer.c |
| 14693 | ) |
| 14694 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14695 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14696 | target_include_directories(nanopb_fuzzer_response_test_one_entry |
| 14697 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14698 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14699 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14700 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14701 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14702 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14703 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14704 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14705 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14706 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14707 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14708 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14709 | ) |
| 14710 | |
| 14711 | target_link_libraries(nanopb_fuzzer_response_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14712 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14713 | grpc_test_util |
| 14714 | grpc |
| 14715 | gpr_test_util |
| 14716 | gpr |
| 14717 | ) |
| 14718 | |
| 14719 | endif (gRPC_BUILD_TESTS) |
| 14720 | if (gRPC_BUILD_TESTS) |
| 14721 | |
| 14722 | add_executable(nanopb_fuzzer_serverlist_test_one_entry |
| 14723 | test/core/nanopb/fuzzer_serverlist.c |
| 14724 | test/core/util/one_corpus_entry_fuzzer.c |
| 14725 | ) |
| 14726 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14727 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14728 | target_include_directories(nanopb_fuzzer_serverlist_test_one_entry |
| 14729 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14730 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14731 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14732 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14733 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14734 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14735 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14736 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14737 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14738 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14739 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14740 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14741 | ) |
| 14742 | |
| 14743 | target_link_libraries(nanopb_fuzzer_serverlist_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14744 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14745 | grpc_test_util |
| 14746 | grpc |
| 14747 | gpr_test_util |
| 14748 | gpr |
| 14749 | ) |
| 14750 | |
| 14751 | endif (gRPC_BUILD_TESTS) |
| 14752 | if (gRPC_BUILD_TESTS) |
| 14753 | |
| 14754 | add_executable(percent_decode_fuzzer_one_entry |
| 14755 | test/core/slice/percent_decode_fuzzer.c |
| 14756 | test/core/util/one_corpus_entry_fuzzer.c |
| 14757 | ) |
| 14758 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14759 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14760 | target_include_directories(percent_decode_fuzzer_one_entry |
| 14761 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14762 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14763 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14764 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14765 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14766 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14767 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14768 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14769 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14770 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14771 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14772 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14773 | ) |
| 14774 | |
| 14775 | target_link_libraries(percent_decode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14776 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14777 | grpc_test_util |
| 14778 | grpc |
| 14779 | gpr_test_util |
| 14780 | gpr |
| 14781 | ) |
| 14782 | |
| 14783 | endif (gRPC_BUILD_TESTS) |
| 14784 | if (gRPC_BUILD_TESTS) |
| 14785 | |
| 14786 | add_executable(percent_encode_fuzzer_one_entry |
| 14787 | test/core/slice/percent_encode_fuzzer.c |
| 14788 | test/core/util/one_corpus_entry_fuzzer.c |
| 14789 | ) |
| 14790 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14791 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14792 | target_include_directories(percent_encode_fuzzer_one_entry |
| 14793 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14794 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14795 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14796 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14797 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14798 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14799 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14800 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14801 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14802 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14803 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14804 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14805 | ) |
| 14806 | |
| 14807 | target_link_libraries(percent_encode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14808 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14809 | grpc_test_util |
| 14810 | grpc |
| 14811 | gpr_test_util |
| 14812 | gpr |
| 14813 | ) |
| 14814 | |
| 14815 | endif (gRPC_BUILD_TESTS) |
| 14816 | if (gRPC_BUILD_TESTS) |
| 14817 | |
| 14818 | add_executable(server_fuzzer_one_entry |
| 14819 | test/core/end2end/fuzzers/server_fuzzer.c |
| 14820 | test/core/util/one_corpus_entry_fuzzer.c |
| 14821 | ) |
| 14822 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14823 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14824 | target_include_directories(server_fuzzer_one_entry |
| 14825 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14826 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14827 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14828 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14829 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14830 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14831 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14832 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14833 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14834 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14835 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14836 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14837 | ) |
| 14838 | |
| 14839 | target_link_libraries(server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14840 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14841 | grpc_test_util |
| 14842 | grpc |
| 14843 | gpr_test_util |
| 14844 | gpr |
| 14845 | ) |
| 14846 | |
| 14847 | endif (gRPC_BUILD_TESTS) |
| 14848 | if (gRPC_BUILD_TESTS) |
| 14849 | |
| 14850 | add_executable(ssl_server_fuzzer_one_entry |
| 14851 | test/core/security/ssl_server_fuzzer.c |
| 14852 | test/core/util/one_corpus_entry_fuzzer.c |
| 14853 | ) |
| 14854 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14855 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14856 | target_include_directories(ssl_server_fuzzer_one_entry |
| 14857 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14858 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14859 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14860 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14861 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14862 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14863 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14864 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14865 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14866 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14867 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14868 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14869 | ) |
| 14870 | |
| 14871 | target_link_libraries(ssl_server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14872 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14873 | grpc_test_util |
| 14874 | grpc |
| 14875 | gpr_test_util |
| 14876 | gpr |
| 14877 | ) |
| 14878 | |
| 14879 | endif (gRPC_BUILD_TESTS) |
| 14880 | if (gRPC_BUILD_TESTS) |
| 14881 | |
| 14882 | add_executable(uri_fuzzer_test_one_entry |
| 14883 | test/core/client_channel/uri_fuzzer_test.c |
| 14884 | test/core/util/one_corpus_entry_fuzzer.c |
| 14885 | ) |
| 14886 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14887 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14888 | target_include_directories(uri_fuzzer_test_one_entry |
| 14889 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14890 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14891 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14892 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14893 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14894 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14895 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14896 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14897 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14898 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14899 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14900 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14901 | ) |
| 14902 | |
| 14903 | target_link_libraries(uri_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14904 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14905 | grpc_test_util |
| 14906 | grpc |
| 14907 | gpr_test_util |
| 14908 | gpr |
| 14909 | ) |
| 14910 | |
| 14911 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14912 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14913 | |
| 14914 | |
| 14915 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 14916 | |
| 14917 | |
| 14918 | |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 14919 | if (gRPC_INSTALL) |
| 14920 | install(EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 14921 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 14922 | NAMESPACE gRPC:: |
| 14923 | ) |
| 14924 | endif() |
| 14925 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14926 | foreach(_config gRPCConfig gRPCConfigVersion) |
| 14927 | configure_file(tools/cmake/${_config}.cmake.in |
| 14928 | ${_config}.cmake @ONLY) |
| 14929 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_config}.cmake |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 14930 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14931 | ) |
| 14932 | endforeach() |