Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1 | # GRPC global cmake file |
| 2 | # This currently builds C and C++ code. |
| 3 | # This file has been automatically generated from a template file. |
| 4 | # Please look at the templates directory instead. |
| 5 | # This file can be regenerated from the template by running |
| 6 | # tools/buildgen/generate_projects.sh |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 7 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 8 | # Copyright 2015 gRPC authors. |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 9 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 10 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 11 | # you may not use this file except in compliance with the License. |
| 12 | # You may obtain a copy of the License at |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 13 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 14 | # http://www.apache.org/licenses/LICENSE-2.0 |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 15 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 16 | # Unless required by applicable law or agreed to in writing, software |
| 17 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 18 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 19 | # See the License for the specific language governing permissions and |
| 20 | # limitations under the License. |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 21 | |
| 22 | |
| 23 | |
| 24 | cmake_minimum_required(VERSION 2.8) |
| 25 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 26 | set(PACKAGE_NAME "grpc") |
David Garcia Quintas | aebcdbd | 2017-05-30 14:14:27 -0700 | [diff] [blame] | 27 | set(PACKAGE_VERSION "1.5.0-dev") |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 28 | set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") |
| 29 | set(PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}") |
| 30 | set(PACKAGE_BUGREPORT "https://github.com/grpc/grpc/issues/") |
| 31 | project(${PACKAGE_NAME} C CXX) |
| 32 | |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 33 | set(gRPC_INSTALL_BINDIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Installation directory for executables") |
| 34 | set(gRPC_INSTALL_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Installation directory for libraries") |
| 35 | set(gRPC_INSTALL_INCLUDEDIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Installation directory for headers") |
| 36 | set(gRPC_INSTALL_CMAKEDIR "${CMAKE_INSTALL_PREFIX}/lib/cmake/${PACKAGE_NAME}" CACHE PATH "Installation directory for cmake config files") |
| 37 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 38 | # Options |
| 39 | option(gRPC_BUILD_TESTS "Build tests" OFF) |
| 40 | |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 41 | set(gRPC_INSTALL_default ON) |
Alex Merry | a65f006 | 2017-05-15 22:59:37 +0100 | [diff] [blame] | 42 | if (NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) |
| 43 | # Disable gRPC_INSTALL by default if building as a submodule |
| 44 | set(gRPC_INSTALL_default OFF) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 45 | endif() |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 46 | set(gRPC_INSTALL ${gRPC_INSTALL_default} CACHE BOOL |
| 47 | "Generate installation target: gRPC_ZLIB_PROVIDER, gRPC_CARES_PROVIDER, gRPC_SSL_PROVIDER and gRPC_PROTOBUF_PROVIDER must all be \"package\"") |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 48 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 49 | set(gRPC_ZLIB_PROVIDER "module" CACHE STRING "Provider of zlib library") |
| 50 | set_property(CACHE gRPC_ZLIB_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 51 | |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 52 | set(gRPC_CARES_PROVIDER "module" CACHE STRING "Provider of c-ares library") |
| 53 | set_property(CACHE gRPC_CARES_PROVIDER PROPERTY STRINGS "module" "package") |
| 54 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 55 | set(gRPC_SSL_PROVIDER "module" CACHE STRING "Provider of ssl library") |
| 56 | set_property(CACHE gRPC_SSL_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | a72712e | 2016-07-06 10:30:25 +0100 | [diff] [blame] | 57 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 58 | set(gRPC_PROTOBUF_PROVIDER "module" CACHE STRING "Provider of protobuf library") |
| 59 | set_property(CACHE gRPC_PROTOBUF_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 60 | |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 61 | set(gRPC_PROTOBUF_PACKAGE_TYPE "" CACHE STRING "Algorithm for searching protobuf package") |
| 62 | set_property(CACHE gRPC_PROTOBUF_PACKAGE_TYPE PROPERTY STRINGS "CONFIG" "MODULE") |
| 63 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 64 | set(gRPC_GFLAGS_PROVIDER "module" CACHE STRING "Provider of gflags library") |
| 65 | set_property(CACHE gRPC_GFLAGS_PROVIDER PROPERTY STRINGS "module" "package") |
| 66 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 67 | set(gRPC_BENCHMARK_PROVIDER "module" CACHE STRING "Provider of benchmark library") |
| 68 | set_property(CACHE gRPC_BENCHMARK_PROVIDER PROPERTY STRINGS "module" "package") |
| 69 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 70 | set(gRPC_USE_PROTO_LITE OFF CACHE BOOL "Use the protobuf-lite library") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 71 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 72 | if(UNIX) |
| 73 | if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") |
| 74 | set(_gRPC_PLATFORM_LINUX ON) |
| 75 | elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") |
| 76 | set(_gRPC_PLATFORM_MAC ON) |
| 77 | else() |
| 78 | set(_gRPC_PLATFORM_POSIX ON) |
| 79 | endif() |
| 80 | endif() |
| 81 | if(WIN32) |
| 82 | set(_gRPC_PLATFORM_WINDOWS ON) |
| 83 | endif() |
| 84 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 85 | set(CMAKE_POSITION_INDEPENDENT_CODE TRUE) |
| 86 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 87 | if (MSVC) |
Jan Tattermusch | 5140791 | 2017-02-02 20:44:22 +0100 | [diff] [blame] | 88 | include(cmake/msvc_static_runtime.cmake) |
Jan Tattermusch | 3aab96f | 2017-01-11 16:12:46 +0100 | [diff] [blame] | 89 | add_definitions(-D_WIN32_WINNT=0x600 -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS) |
Jan Tattermusch | 3aab96f | 2017-01-11 16:12:46 +0100 | [diff] [blame] | 90 | # needed to compile protobuf |
| 91 | add_definitions(/wd4065 /wd4506) |
| 92 | # TODO(jtattermusch): revisit C4267 occurrences throughout the code |
| 93 | add_definitions(/wd4267) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 94 | endif() |
| 95 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 96 | if (gRPC_USE_PROTO_LITE) |
| 97 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf-lite") |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 98 | add_definitions("-DGRPC_USE_PROTO_LITE") |
| 99 | else() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 100 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 101 | endif() |
| 102 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 103 | if("${gRPC_ZLIB_PROVIDER}" STREQUAL "module") |
| 104 | if(NOT ZLIB_ROOT_DIR) |
| 105 | set(ZLIB_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zlib) |
| 106 | endif() |
| 107 | set(ZLIB_INCLUDE_DIR "${ZLIB_ROOT_DIR}") |
| 108 | if(EXISTS "${ZLIB_ROOT_DIR}/CMakeLists.txt") |
Jan Tattermusch | 74c74fb | 2017-06-19 16:14:50 +0200 | [diff] [blame] | 109 | # TODO(jtattermusch): workaround for https://github.com/madler/zlib/issues/218 |
| 110 | include_directories(${ZLIB_INCLUDE_DIR}) |
| 111 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 112 | add_subdirectory(${ZLIB_ROOT_DIR} third_party/zlib) |
| 113 | if(TARGET zlibstatic) |
| 114 | set(_gRPC_ZLIB_LIBRARIES zlibstatic) |
| 115 | endif() |
| 116 | else() |
| 117 | message(WARNING "gRPC_ZLIB_PROVIDER is \"module\" but ZLIB_ROOT_DIR is wrong") |
| 118 | endif() |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 119 | if(gRPC_INSTALL) |
| 120 | message(WARNING "gRPC_INSTALL will be forced to FALSE because gRPC_ZLIB_PROVIDER is \"module\"") |
| 121 | set(gRPC_INSTALL FALSE) |
| 122 | endif() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 123 | elseif("${gRPC_ZLIB_PROVIDER}" STREQUAL "package") |
| 124 | find_package(ZLIB) |
| 125 | if(TARGET ZLIB::ZLIB) |
| 126 | set(_gRPC_ZLIB_LIBRARIES ZLIB::ZLIB) |
| 127 | endif() |
Konstantin Podsvirov | dd33148 | 2016-07-28 00:00:25 +0300 | [diff] [blame] | 128 | set(_gRPC_FIND_ZLIB "if(NOT ZLIB_FOUND)\n find_package(ZLIB)\nendif()") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 129 | endif() |
| 130 | |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 131 | if("${gRPC_CARES_PROVIDER}" STREQUAL "module") |
| 132 | if(NOT CARES_ROOT_DIR) |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 133 | set(CARES_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/c-ares) |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 134 | endif() |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 135 | string(TOLOWER ${CMAKE_SYSTEM_NAME} CARES_SYSTEM_NAME) |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 136 | set(CARES_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/cares/cares") |
| 137 | set(CARES_BUILD_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/cares") |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 138 | set(CARES_PLATFORM_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/cares/config_${CARES_SYSTEM_NAME}") |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 139 | if(EXISTS "${CARES_ROOT_DIR}/CMakeLists.txt") |
| 140 | if("${CARES_SYSTEM_NAME}" MATCHES "windows") |
| 141 | add_definitions(-DCARES_STATICLIB=1) |
| 142 | add_definitions(-DWIN32_LEAN_AND_MEAN=1) |
| 143 | else() |
| 144 | add_definitions(-DHAVE_CONFIG_H=1) |
| 145 | add_definitions(-D_GNU_SOURCE=1) |
| 146 | endif() |
| 147 | add_subdirectory(src/c-ares third_party/cares) |
| 148 | if(TARGET cares) |
| 149 | set(_gRPC_CARES_LIBRARIES cares) |
| 150 | endif() |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 151 | else() |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 152 | message(WARNING "gRPC_CARES_PROVIDER is \"module\" but CARES_ROOT_DIR is wrong") |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 153 | endif() |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 154 | if(gRPC_INSTALL) |
| 155 | message(WARNING "gRPC_INSTALL will be forced to FALSE because gRPC_CARES_PROVIDER is \"module\"") |
| 156 | set(gRPC_INSTALL FALSE) |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 157 | endif() |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 158 | elseif("${gRPC_CARES_PROVIDER}" STREQUAL "package") |
Alex Merry | 8ced27a36 | 2017-05-15 21:56:44 +0100 | [diff] [blame] | 159 | find_package(c-ares CONFIG) |
| 160 | if(TARGET c-ares::cares) |
| 161 | set(_gRPC_CARES_LIBRARIES c-ares::cares) |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 162 | endif() |
Alex Merry | 8ced27a36 | 2017-05-15 21:56:44 +0100 | [diff] [blame] | 163 | set(_gRPC_FIND_CARES "if(NOT c-ares_FOUND)\n find_package(c-ares CONFIG)\nendif()") |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 164 | endif() |
| 165 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 166 | if("${gRPC_PROTOBUF_PROVIDER}" STREQUAL "module") |
| 167 | # Building the protobuf tests require gmock what is not part of a standard protobuf checkout. |
| 168 | # Disable them unless they are explicitly requested from the cmake command line (when we assume |
| 169 | # gmock is downloaded to the right location inside protobuf). |
| 170 | if(NOT protobuf_BUILD_TESTS) |
| 171 | set(protobuf_BUILD_TESTS OFF CACHE BOOL "Build protobuf tests") |
| 172 | endif() |
Jan Tattermusch | b70df57 | 2017-06-19 16:37:15 +0200 | [diff] [blame] | 173 | # Disable building protobuf with zlib. Building protobuf with zlib breaks |
| 174 | # the build if zlib is not installed on the system. |
| 175 | if(NOT protobuf_WITH_ZLIB) |
| 176 | set(protobuf_WITH_ZLIB OFF CACHE BOOL "Build protobuf with zlib.") |
| 177 | endif() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 178 | if(NOT PROTOBUF_ROOT_DIR) |
| 179 | set(PROTOBUF_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/protobuf) |
| 180 | endif() |
yang-g | 66d40c6 | 2017-04-12 10:18:10 -0700 | [diff] [blame] | 181 | set(PROTOBUF_WELLKNOWN_IMPORT_DIR ${PROTOBUF_ROOT_DIR}/src) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 182 | if(EXISTS "${PROTOBUF_ROOT_DIR}/cmake/CMakeLists.txt") |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 183 | set(protobuf_MSVC_STATIC_RUNTIME OFF CACHE BOOL "Link static runtime libraries") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 184 | add_subdirectory(${PROTOBUF_ROOT_DIR}/cmake third_party/protobuf) |
| 185 | if(TARGET ${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 186 | set(_gRPC_PROTOBUF_LIBRARIES ${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 187 | endif() |
| 188 | if(TARGET libprotoc) |
| 189 | set(_gRPC_PROTOBUF_PROTOC_LIBRARIES libprotoc) |
| 190 | endif() |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 191 | if(TARGET protoc) |
| 192 | set(_gRPC_PROTOBUF_PROTOC protoc) |
| 193 | endif() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 194 | else() |
| 195 | message(WARNING "gRPC_PROTOBUF_PROVIDER is \"module\" but PROTOBUF_ROOT_DIR is wrong") |
| 196 | endif() |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 197 | if(gRPC_INSTALL) |
| 198 | message(WARNING "gRPC_INSTALL will be forced to FALSE because gRPC_PROTOBUF_PROVIDER is \"module\"") |
| 199 | set(gRPC_INSTALL FALSE) |
| 200 | endif() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 201 | elseif("${gRPC_PROTOBUF_PROVIDER}" STREQUAL "package") |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 202 | find_package(Protobuf ${gRPC_PROTOBUF_PACKAGE_TYPE}) |
| 203 | if(Protobuf_FOUND OR PROTOBUF_FOUND) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 204 | if(TARGET protobuf::${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 205 | set(_gRPC_PROTOBUF_LIBRARIES protobuf::${_gRPC_PROTOBUF_LIBRARY_NAME}) |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 206 | else() |
| 207 | set(_gRPC_PROTOBUF_LIBRARIES ${PROTOBUF_LIBRARIES}) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 208 | endif() |
| 209 | if(TARGET protobuf::libprotoc) |
| 210 | set(_gRPC_PROTOBUF_PROTOC_LIBRARIES protobuf::libprotoc) |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 211 | else() |
| 212 | set(_gRPC_PROTOBUF_PROTOC_LIBRARIES ${PROTOBUF_PROTOC_LIBRARIES}) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 213 | endif() |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 214 | if(TARGET protobuf::protoc) |
| 215 | set(_gRPC_PROTOBUF_PROTOC protobuf::protoc) |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 216 | else() |
| 217 | set(_gRPC_PROTOBUF_PROTOC ${PROTOBUF_PROTOC_EXECUTABLE}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 218 | endif() |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 219 | set(_gRPC_FIND_PROTOBUF "if(NOT Protobuf_FOUND AND NOT PROTOBUF_FOUND)\n find_package(Protobuf ${gRPC_PROTOBUF_PACKAGE_TYPE})\nendif()") |
| 220 | endif() |
| 221 | if(PROTOBUF_FOUND) |
| 222 | include_directories(${PROTOBUF_INCLUDE_DIRS}) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 223 | endif() |
yang-g | 66d40c6 | 2017-04-12 10:18:10 -0700 | [diff] [blame] | 224 | set(PROTOBUF_WELLKNOWN_IMPORT_DIR /usr/local/include) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 225 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 226 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 227 | if("${gRPC_SSL_PROVIDER}" STREQUAL "module") |
| 228 | if(NOT BORINGSSL_ROOT_DIR) |
| 229 | set(BORINGSSL_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/boringssl) |
| 230 | endif() |
| 231 | if(EXISTS "${BORINGSSL_ROOT_DIR}/CMakeLists.txt") |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 232 | set(OPENSSL_NO_ASM ON) # make boringssl buildable with Visual Studio |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 233 | add_subdirectory(${BORINGSSL_ROOT_DIR} third_party/boringssl) |
| 234 | if(TARGET ssl) |
| 235 | set(_gRPC_SSL_LIBRARIES ssl) |
| 236 | endif() |
| 237 | else() |
| 238 | message(WARNING "gRPC_SSL_PROVIDER is \"module\" but BORINGSSL_ROOT_DIR is wrong") |
| 239 | endif() |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 240 | if(gRPC_INSTALL) |
| 241 | message(WARNING "gRPC_INSTALL will be forced to FALSE because gRPC_SSL_PROVIDER is \"module\"") |
| 242 | set(gRPC_INSTALL FALSE) |
| 243 | endif() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 244 | elseif("${gRPC_SSL_PROVIDER}" STREQUAL "package") |
| 245 | find_package(OpenSSL) |
| 246 | if(TARGET OpenSSL::SSL) |
| 247 | set(_gRPC_SSL_LIBRARIES OpenSSL::SSL) |
| 248 | endif() |
Konstantin Podsvirov | dd33148 | 2016-07-28 00:00:25 +0300 | [diff] [blame] | 249 | set(_gRPC_FIND_SSL "if(NOT OpenSSL_FOUND)\n find_package(OpenSSL)\nendif()") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 250 | endif() |
| 251 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 252 | if("${gRPC_GFLAGS_PROVIDER}" STREQUAL "module") |
| 253 | if(NOT GFLAGS_ROOT_DIR) |
| 254 | set(GFLAGS_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/gflags) |
| 255 | endif() |
| 256 | if(EXISTS "${GFLAGS_ROOT_DIR}/CMakeLists.txt") |
| 257 | add_subdirectory(${GFLAGS_ROOT_DIR} third_party/gflags) |
| 258 | if(TARGET gflags_static) |
| 259 | set(_gRPC_GFLAGS_LIBRARIES gflags_static) |
| 260 | endif() |
| 261 | else() |
| 262 | message(WARNING "gRPC_GFLAGS_PROVIDER is \"module\" but GFLAGS_ROOT_DIR is wrong") |
| 263 | endif() |
| 264 | elseif("${gRPC_GFLAGS_PROVIDER}" STREQUAL "package") |
| 265 | find_package(gflags) |
| 266 | if(TARGET gflags::gflags) |
| 267 | set(_gRPC_GFLAGS_LIBRARIES gflags::gflags) |
| 268 | endif() |
| 269 | set(_gRPC_FIND_GFLAGS "if(NOT gflags_FOUND)\n find_package(gflags)\nendif()") |
| 270 | endif() |
| 271 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 272 | if("${gRPC_BENCHMARK_PROVIDER}" STREQUAL "module") |
| 273 | if(NOT BENCHMARK_ROOT_DIR) |
| 274 | set(BENCHMARK_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/benchmark) |
| 275 | endif() |
| 276 | if(EXISTS "${BENCHMARK_ROOT_DIR}/CMakeLists.txt") |
| 277 | add_subdirectory(${BENCHMARK_ROOT_DIR} third_party/benchmark) |
| 278 | if(TARGET benchmark) |
| 279 | set(_gRPC_BENCHMARK_LIBRARIES benchmark) |
| 280 | endif() |
| 281 | else() |
| 282 | message(WARNING "gRPC_BENCHMARK_PROVIDER is \"module\" but BENCHMARK_ROOT_DIR is wrong") |
| 283 | endif() |
| 284 | elseif("${gRPC_BENCHMARK_PROVIDER}" STREQUAL "package") |
| 285 | find_package(benchmark) |
| 286 | if(TARGET benchmark::benchmark) |
| 287 | set(_gRPC_BENCHMARK_LIBRARIES benchmark::benchmark) |
| 288 | endif() |
| 289 | set(_gRPC_FIND_BENCHMARK "if(NOT benchmark_FOUND)\n find_package(benchmark)\nendif()") |
| 290 | endif() |
| 291 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 292 | if(NOT MSVC) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 293 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 294 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |
| 295 | endif() |
| 296 | |
Mehrdad Afshari | 79ec0ff | 2017-04-19 03:14:26 -0700 | [diff] [blame] | 297 | if(_gRPC_PLATFORM_MAC) |
| 298 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m pthread) |
| 299 | elseif(UNIX) |
| 300 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} rt m pthread) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 301 | endif() |
| 302 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 303 | if(WIN32 AND MSVC) |
| 304 | set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32) |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 305 | endif() |
| 306 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 307 | # Create directory for generated .proto files |
| 308 | set(_gRPC_PROTO_GENS_DIR ${CMAKE_BINARY_DIR}/gens) |
| 309 | file(MAKE_DIRECTORY ${_gRPC_PROTO_GENS_DIR}) |
| 310 | |
| 311 | # protobuf_generate_grpc_cpp |
| 312 | # -------------------------- |
| 313 | # |
| 314 | # Add custom commands to process ``.proto`` files to C++ using protoc and |
| 315 | # GRPC plugin:: |
| 316 | # |
| 317 | # protobuf_generate_grpc_cpp [<ARGN>...] |
| 318 | # |
| 319 | # ``ARGN`` |
| 320 | # ``.proto`` files |
| 321 | # |
| 322 | function(protobuf_generate_grpc_cpp) |
| 323 | if(NOT ARGN) |
| 324 | message(SEND_ERROR "Error: PROTOBUF_GENERATE_GRPC_CPP() called without any proto files") |
| 325 | return() |
| 326 | endif() |
| 327 | |
yang-g | 66d40c6 | 2017-04-12 10:18:10 -0700 | [diff] [blame] | 328 | set(_protobuf_include_path -I . -I ${PROTOBUF_WELLKNOWN_IMPORT_DIR}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 329 | foreach(FIL ${ARGN}) |
| 330 | get_filename_component(ABS_FIL ${FIL} ABSOLUTE) |
| 331 | get_filename_component(FIL_WE ${FIL} NAME_WE) |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 332 | file(RELATIVE_PATH REL_FIL ${CMAKE_CURRENT_SOURCE_DIR} ${ABS_FIL}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 333 | get_filename_component(REL_DIR ${REL_FIL} DIRECTORY) |
| 334 | set(RELFIL_WE "${REL_DIR}/${FIL_WE}") |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 335 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 336 | add_custom_command( |
| 337 | OUTPUT "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.cc" |
| 338 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.h" |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 339 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}_mock.grpc.pb.h" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 340 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc" |
| 341 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h" |
Jan Tattermusch | 6fe1d80 | 2017-06-12 11:37:40 +0200 | [diff] [blame] | 342 | COMMAND $<TARGET_FILE:${_gRPC_PROTOBUF_PROTOC}> |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 343 | ARGS --grpc_out=generate_mock_code=true:${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 344 | --cpp_out=${_gRPC_PROTO_GENS_DIR} |
| 345 | --plugin=protoc-gen-grpc=$<TARGET_FILE:grpc_cpp_plugin> |
| 346 | ${_protobuf_include_path} |
| 347 | ${REL_FIL} |
| 348 | DEPENDS ${ABS_FIL} ${_gRPC_PROTOBUF_PROTOC} grpc_cpp_plugin |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 349 | WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 350 | COMMENT "Running gRPC C++ protocol buffer compiler on ${FIL}" |
| 351 | VERBATIM) |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 352 | |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 353 | set_source_files_properties("${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.cc" "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.h" "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}_mock.grpc.pb.h" "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc" "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h" PROPERTIES GENERATED TRUE) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 354 | endforeach() |
| 355 | endfunction() |
| 356 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 357 | add_custom_target(plugins |
| 358 | DEPENDS |
| 359 | grpc_cpp_plugin |
| 360 | grpc_csharp_plugin |
| 361 | grpc_node_plugin |
| 362 | grpc_objective_c_plugin |
| 363 | grpc_php_plugin |
| 364 | grpc_python_plugin |
| 365 | grpc_ruby_plugin |
| 366 | ) |
| 367 | |
| 368 | add_custom_target(tools_c |
| 369 | DEPENDS |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 370 | check_epollexclusive |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 371 | gen_hpack_tables |
| 372 | gen_legal_metadata_characters |
| 373 | gen_percent_encoding_tables |
| 374 | grpc_create_jwt |
| 375 | grpc_print_google_default_creds_token |
| 376 | grpc_verify_jwt |
| 377 | ) |
| 378 | |
| 379 | add_custom_target(tools_cxx |
| 380 | DEPENDS |
| 381 | ) |
| 382 | |
| 383 | add_custom_target(tools |
| 384 | DEPENDS tools_c tools_cxx) |
| 385 | |
| 386 | if (gRPC_BUILD_TESTS) |
| 387 | add_custom_target(buildtests_c) |
| 388 | add_dependencies(buildtests_c alarm_test) |
| 389 | add_dependencies(buildtests_c algorithm_test) |
| 390 | add_dependencies(buildtests_c alloc_test) |
| 391 | add_dependencies(buildtests_c alpn_test) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 392 | add_dependencies(buildtests_c arena_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 393 | add_dependencies(buildtests_c bad_server_response_test) |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 394 | add_dependencies(buildtests_c bdp_estimator_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 395 | add_dependencies(buildtests_c bin_decoder_test) |
| 396 | add_dependencies(buildtests_c bin_encoder_test) |
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 |
| 981 | src/core/lib/iomgr/iocp_windows.c |
| 982 | src/core/lib/iomgr/iomgr.c |
| 983 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 984 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 985 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 986 | src/core/lib/iomgr/is_epollexclusive_available.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 987 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 988 | src/core/lib/iomgr/lockfree_event.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 989 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 990 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 991 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 992 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 993 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 994 | src/core/lib/iomgr/pollset_windows.c |
| 995 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 996 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 997 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 998 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 999 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 1000 | src/core/lib/iomgr/socket_factory_posix.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 1001 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1002 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1003 | src/core/lib/iomgr/socket_utils_linux.c |
| 1004 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1005 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 1006 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1007 | src/core/lib/iomgr/socket_windows.c |
| 1008 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1009 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1010 | src/core/lib/iomgr/tcp_client_windows.c |
| 1011 | src/core/lib/iomgr/tcp_posix.c |
| 1012 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 1013 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 1014 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 1015 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1016 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1017 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1018 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1019 | src/core/lib/iomgr/tcp_windows.c |
| 1020 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1021 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1022 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 1023 | src/core/lib/iomgr/timer_manager.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1024 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1025 | src/core/lib/iomgr/udp_server.c |
| 1026 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1027 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 1028 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1029 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1030 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1031 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1032 | src/core/lib/iomgr/wakeup_fd_posix.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1033 | src/core/lib/json/json.c |
| 1034 | src/core/lib/json/json_reader.c |
| 1035 | src/core/lib/json/json_string.c |
| 1036 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 1037 | src/core/lib/slice/b64.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1038 | src/core/lib/slice/percent_encoding.c |
| 1039 | src/core/lib/slice/slice.c |
| 1040 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1041 | src/core/lib/slice/slice_hash_table.c |
| 1042 | src/core/lib/slice/slice_intern.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1043 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1044 | src/core/lib/surface/alarm.c |
| 1045 | src/core/lib/surface/api_trace.c |
| 1046 | src/core/lib/surface/byte_buffer.c |
| 1047 | src/core/lib/surface/byte_buffer_reader.c |
| 1048 | src/core/lib/surface/call.c |
| 1049 | src/core/lib/surface/call_details.c |
| 1050 | src/core/lib/surface/call_log_batch.c |
| 1051 | src/core/lib/surface/channel.c |
| 1052 | src/core/lib/surface/channel_init.c |
| 1053 | src/core/lib/surface/channel_ping.c |
| 1054 | src/core/lib/surface/channel_stack_type.c |
| 1055 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 1056 | src/core/lib/surface/completion_queue_factory.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1057 | src/core/lib/surface/event_string.c |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1058 | src/core/lib/surface/lame_client.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1059 | src/core/lib/surface/metadata_array.c |
| 1060 | src/core/lib/surface/server.c |
| 1061 | src/core/lib/surface/validate_metadata.c |
| 1062 | src/core/lib/surface/version.c |
Craig Tiller | 9e0066b | 2016-10-20 14:04:18 -0700 | [diff] [blame] | 1063 | src/core/lib/transport/bdp_estimator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1064 | src/core/lib/transport/byte_stream.c |
| 1065 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1066 | src/core/lib/transport/error_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1067 | src/core/lib/transport/metadata.c |
| 1068 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 1069 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 1070 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1071 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1072 | src/core/lib/transport/status_conversion.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 1073 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1074 | src/core/lib/transport/transport.c |
| 1075 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 1076 | src/core/lib/debug/trace.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1077 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c |
| 1078 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 1079 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 1080 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 1081 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 1082 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 1083 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 1084 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 1085 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 1086 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 1087 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 1088 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 1089 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 1090 | src/core/ext/transport/chttp2/transport/hpack_table.c |
Craig Tiller | c8f62bc | 2017-04-03 16:25:45 -0700 | [diff] [blame] | 1091 | src/core/ext/transport/chttp2/transport/http2_settings.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1092 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 1093 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 1094 | src/core/ext/transport/chttp2/transport/parsing.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1095 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 1096 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1097 | src/core/ext/transport/chttp2/transport/varint.c |
| 1098 | src/core/ext/transport/chttp2/transport/writing.c |
| 1099 | src/core/ext/transport/chttp2/alpn/alpn.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1100 | src/core/ext/filters/http/client/http_client_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1101 | src/core/ext/filters/http/http_filters_plugin.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 1102 | src/core/ext/filters/http/message_compress/message_compress_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1103 | src/core/ext/filters/http/server/http_server_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1104 | src/core/lib/http/httpcli_security_connector.c |
| 1105 | src/core/lib/security/context/security_context.c |
| 1106 | src/core/lib/security/credentials/composite/composite_credentials.c |
| 1107 | src/core/lib/security/credentials/credentials.c |
| 1108 | src/core/lib/security/credentials/credentials_metadata.c |
| 1109 | src/core/lib/security/credentials/fake/fake_credentials.c |
murgatroid99 | 7c20590 | 2016-08-09 10:07:42 -0700 | [diff] [blame] | 1110 | src/core/lib/security/credentials/google_default/credentials_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1111 | src/core/lib/security/credentials/google_default/google_default_credentials.c |
| 1112 | src/core/lib/security/credentials/iam/iam_credentials.c |
| 1113 | src/core/lib/security/credentials/jwt/json_token.c |
| 1114 | src/core/lib/security/credentials/jwt/jwt_credentials.c |
| 1115 | src/core/lib/security/credentials/jwt/jwt_verifier.c |
| 1116 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c |
| 1117 | src/core/lib/security/credentials/plugin/plugin_credentials.c |
| 1118 | src/core/lib/security/credentials/ssl/ssl_credentials.c |
| 1119 | src/core/lib/security/transport/client_auth_filter.c |
David Garcia Quintas | 0129150 | 2017-02-07 13:26:41 -0800 | [diff] [blame] | 1120 | src/core/lib/security/transport/lb_targets_info.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1121 | src/core/lib/security/transport/secure_endpoint.c |
| 1122 | src/core/lib/security/transport/security_connector.c |
Mark D. Roth | 071cacf | 2016-11-17 13:17:56 -0800 | [diff] [blame] | 1123 | src/core/lib/security/transport/security_handshaker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1124 | src/core/lib/security/transport/server_auth_filter.c |
| 1125 | src/core/lib/security/transport/tsi_error.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1126 | src/core/lib/security/util/json_util.c |
| 1127 | src/core/lib/surface/init_secure.c |
Craig Tiller | 134fed3 | 2017-03-28 14:27:18 -0700 | [diff] [blame] | 1128 | src/core/tsi/fake_transport_security.c |
Yihua Zhang | 1435bfc | 2017-07-17 11:20:51 -0700 | [diff] [blame] | 1129 | src/core/tsi/gts_transport_security.c |
Craig Tiller | 134fed3 | 2017-03-28 14:27:18 -0700 | [diff] [blame] | 1130 | src/core/tsi/ssl_transport_security.c |
| 1131 | src/core/tsi/transport_security.c |
jiangtaoli2016 | e69881d | 2017-04-10 14:29:43 -0700 | [diff] [blame] | 1132 | src/core/tsi/transport_security_adapter.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 1133 | src/core/ext/transport/chttp2/server/chttp2_server.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1134 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1135 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 1136 | src/core/ext/filters/client_channel/client_channel.c |
| 1137 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 1138 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 1139 | src/core/ext/filters/client_channel/connector.c |
| 1140 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 1141 | src/core/ext/filters/client_channel/http_proxy.c |
| 1142 | src/core/ext/filters/client_channel/lb_policy.c |
| 1143 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 1144 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 1145 | src/core/ext/filters/client_channel/parse_address.c |
| 1146 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 1147 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 1148 | src/core/ext/filters/client_channel/resolver.c |
| 1149 | src/core/ext/filters/client_channel/resolver_factory.c |
| 1150 | src/core/ext/filters/client_channel/resolver_registry.c |
| 1151 | src/core/ext/filters/client_channel/retry_throttle.c |
| 1152 | src/core/ext/filters/client_channel/subchannel.c |
| 1153 | src/core/ext/filters/client_channel/subchannel_index.c |
| 1154 | src/core/ext/filters/client_channel/uri_parser.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 1155 | src/core/ext/filters/deadline/deadline_filter.c |
Mark D. Roth | 8686cab | 2016-11-17 13:12:17 -0800 | [diff] [blame] | 1156 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1157 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 1158 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
| 1159 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 1160 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 1161 | src/core/ext/transport/inproc/inproc_plugin.c |
| 1162 | src/core/ext/transport/inproc/inproc_transport.c |
Mark D. Roth | 09e458c | 2017-05-02 08:13:26 -0700 | [diff] [blame] | 1163 | 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] | 1164 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c |
| 1165 | 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] | 1166 | 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] | 1167 | src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c |
| 1168 | 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] | 1169 | third_party/nanopb/pb_common.c |
| 1170 | third_party/nanopb/pb_decode.c |
| 1171 | third_party/nanopb/pb_encode.c |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 1172 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1173 | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c |
| 1174 | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.c |
| 1175 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c |
| 1176 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c |
| 1177 | 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] | 1178 | 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] | 1179 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.c |
| 1180 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.c |
| 1181 | src/core/ext/filters/load_reporting/load_reporting.c |
| 1182 | src/core/ext/filters/load_reporting/load_reporting_filter.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 1183 | src/core/ext/census/base_resources.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1184 | src/core/ext/census/context.c |
| 1185 | src/core/ext/census/gen/census.pb.c |
Alistair Veitch | a0c69f9 | 2016-08-31 12:01:27 -0700 | [diff] [blame] | 1186 | src/core/ext/census/gen/trace_context.pb.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1187 | src/core/ext/census/grpc_context.c |
| 1188 | src/core/ext/census/grpc_filter.c |
| 1189 | src/core/ext/census/grpc_plugin.c |
| 1190 | src/core/ext/census/initialize.c |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 1191 | src/core/ext/census/intrusive_hash_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1192 | src/core/ext/census/mlog.c |
| 1193 | src/core/ext/census/operation.c |
| 1194 | src/core/ext/census/placeholders.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 1195 | src/core/ext/census/resource.c |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 1196 | src/core/ext/census/trace_context.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1197 | src/core/ext/census/tracing.c |
Craig Tiller | 6d4894e | 2017-03-31 17:22:06 -0700 | [diff] [blame] | 1198 | src/core/ext/filters/max_age/max_age_filter.c |
Craig Tiller | 9b3648a | 2017-04-03 12:25:19 -0700 | [diff] [blame] | 1199 | src/core/ext/filters/message_size/message_size_filter.c |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 1200 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c |
| 1201 | src/core/ext/filters/workarounds/workaround_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1202 | src/core/plugin_registry/grpc_plugin_registry.c |
| 1203 | ) |
| 1204 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1205 | if(WIN32 AND MSVC) |
| 1206 | set_target_properties(grpc PROPERTIES COMPILE_PDB_NAME "grpc" |
| 1207 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1208 | ) |
| 1209 | if (gRPC_INSTALL) |
| 1210 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1211 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1212 | ) |
| 1213 | endif() |
| 1214 | endif() |
| 1215 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1216 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1217 | target_include_directories(grpc |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 1218 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1219 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1220 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1221 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1222 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1223 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1224 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 1225 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1226 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 1227 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1228 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1229 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1230 | ) |
| 1231 | |
| 1232 | target_link_libraries(grpc |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1233 | ${_gRPC_BASELIB_LIBRARIES} |
| 1234 | ${_gRPC_SSL_LIBRARIES} |
| 1235 | ${_gRPC_ZLIB_LIBRARIES} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1236 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1237 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1238 | gpr |
| 1239 | ) |
| 1240 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1241 | foreach(_hdr |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1242 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1243 | include/grpc/impl/codegen/compression_types.h |
| 1244 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1245 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1246 | include/grpc/impl/codegen/grpc_types.h |
| 1247 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1248 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1249 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1250 | include/grpc/impl/codegen/atm.h |
| 1251 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1252 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1253 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1254 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1255 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1256 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1257 | include/grpc/impl/codegen/sync.h |
| 1258 | include/grpc/impl/codegen/sync_generic.h |
| 1259 | include/grpc/impl/codegen/sync_posix.h |
| 1260 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1261 | include/grpc/grpc_security.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1262 | include/grpc/byte_buffer.h |
| 1263 | include/grpc/byte_buffer_reader.h |
| 1264 | include/grpc/compression.h |
| 1265 | include/grpc/grpc.h |
| 1266 | include/grpc/grpc_posix.h |
| 1267 | include/grpc/grpc_security_constants.h |
| 1268 | include/grpc/load_reporting.h |
| 1269 | include/grpc/slice.h |
| 1270 | include/grpc/slice_buffer.h |
| 1271 | include/grpc/status.h |
| 1272 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1273 | include/grpc/census.h |
| 1274 | ) |
| 1275 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1276 | get_filename_component(_path ${_path} PATH) |
| 1277 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1278 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1279 | ) |
| 1280 | endforeach() |
| 1281 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1282 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1283 | if (gRPC_INSTALL) |
| 1284 | install(TARGETS grpc EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1285 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1286 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1287 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1288 | ) |
| 1289 | endif() |
| 1290 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1291 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1292 | add_library(grpc_cronet |
| 1293 | src/core/lib/surface/init.c |
| 1294 | src/core/lib/channel/channel_args.c |
| 1295 | src/core/lib/channel/channel_stack.c |
| 1296 | src/core/lib/channel/channel_stack_builder.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1297 | src/core/lib/channel/connected_channel.c |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 1298 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 1299 | src/core/lib/channel/handshaker_factory.c |
| 1300 | src/core/lib/channel/handshaker_registry.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1301 | src/core/lib/compression/compression.c |
| 1302 | src/core/lib/compression/message_compress.c |
Muxi Yan | e87a7e1 | 2017-06-29 16:53:24 -0700 | [diff] [blame] | 1303 | src/core/lib/compression/stream_compression.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1304 | src/core/lib/http/format_request.c |
| 1305 | src/core/lib/http/httpcli.c |
| 1306 | src/core/lib/http/parser.c |
| 1307 | src/core/lib/iomgr/closure.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 1308 | src/core/lib/iomgr/combiner.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1309 | src/core/lib/iomgr/endpoint.c |
| 1310 | src/core/lib/iomgr/endpoint_pair_posix.c |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 1311 | src/core/lib/iomgr/endpoint_pair_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1312 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 1313 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1314 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 1315 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 1316 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 1317 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1318 | src/core/lib/iomgr/ev_epollsig_linux.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1319 | src/core/lib/iomgr/ev_poll_posix.c |
| 1320 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 1321 | src/core/lib/iomgr/ev_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1322 | src/core/lib/iomgr/exec_ctx.c |
| 1323 | src/core/lib/iomgr/executor.c |
| 1324 | src/core/lib/iomgr/iocp_windows.c |
| 1325 | src/core/lib/iomgr/iomgr.c |
| 1326 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1327 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1328 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 1329 | src/core/lib/iomgr/is_epollexclusive_available.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1330 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 1331 | src/core/lib/iomgr/lockfree_event.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 1332 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1333 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1334 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1335 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1336 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1337 | src/core/lib/iomgr/pollset_windows.c |
| 1338 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1339 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1340 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 1341 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1342 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 1343 | src/core/lib/iomgr/socket_factory_posix.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 1344 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1345 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1346 | src/core/lib/iomgr/socket_utils_linux.c |
| 1347 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1348 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 1349 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1350 | src/core/lib/iomgr/socket_windows.c |
| 1351 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1352 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1353 | src/core/lib/iomgr/tcp_client_windows.c |
| 1354 | src/core/lib/iomgr/tcp_posix.c |
| 1355 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 1356 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 1357 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 1358 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1359 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1360 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1361 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1362 | src/core/lib/iomgr/tcp_windows.c |
| 1363 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1364 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1365 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 1366 | src/core/lib/iomgr/timer_manager.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1367 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1368 | src/core/lib/iomgr/udp_server.c |
| 1369 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1370 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 1371 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1372 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1373 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1374 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1375 | src/core/lib/iomgr/wakeup_fd_posix.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1376 | src/core/lib/json/json.c |
| 1377 | src/core/lib/json/json_reader.c |
| 1378 | src/core/lib/json/json_string.c |
| 1379 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 1380 | src/core/lib/slice/b64.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1381 | src/core/lib/slice/percent_encoding.c |
| 1382 | src/core/lib/slice/slice.c |
| 1383 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1384 | src/core/lib/slice/slice_hash_table.c |
| 1385 | src/core/lib/slice/slice_intern.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1386 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1387 | src/core/lib/surface/alarm.c |
| 1388 | src/core/lib/surface/api_trace.c |
| 1389 | src/core/lib/surface/byte_buffer.c |
| 1390 | src/core/lib/surface/byte_buffer_reader.c |
| 1391 | src/core/lib/surface/call.c |
| 1392 | src/core/lib/surface/call_details.c |
| 1393 | src/core/lib/surface/call_log_batch.c |
| 1394 | src/core/lib/surface/channel.c |
| 1395 | src/core/lib/surface/channel_init.c |
| 1396 | src/core/lib/surface/channel_ping.c |
| 1397 | src/core/lib/surface/channel_stack_type.c |
| 1398 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 1399 | src/core/lib/surface/completion_queue_factory.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1400 | src/core/lib/surface/event_string.c |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1401 | src/core/lib/surface/lame_client.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1402 | src/core/lib/surface/metadata_array.c |
| 1403 | src/core/lib/surface/server.c |
| 1404 | src/core/lib/surface/validate_metadata.c |
| 1405 | src/core/lib/surface/version.c |
Craig Tiller | 9e0066b | 2016-10-20 14:04:18 -0700 | [diff] [blame] | 1406 | src/core/lib/transport/bdp_estimator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1407 | src/core/lib/transport/byte_stream.c |
| 1408 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1409 | src/core/lib/transport/error_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1410 | src/core/lib/transport/metadata.c |
| 1411 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 1412 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 1413 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1414 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1415 | src/core/lib/transport/status_conversion.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 1416 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1417 | src/core/lib/transport/transport.c |
| 1418 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 1419 | src/core/lib/debug/trace.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1420 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.c |
| 1421 | src/core/ext/transport/cronet/transport/cronet_api_dummy.c |
| 1422 | src/core/ext/transport/cronet/transport/cronet_transport.c |
| 1423 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c |
| 1424 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 1425 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 1426 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 1427 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 1428 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 1429 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 1430 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 1431 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 1432 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 1433 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 1434 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 1435 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 1436 | src/core/ext/transport/chttp2/transport/hpack_table.c |
Craig Tiller | c8f62bc | 2017-04-03 16:25:45 -0700 | [diff] [blame] | 1437 | src/core/ext/transport/chttp2/transport/http2_settings.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1438 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 1439 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 1440 | src/core/ext/transport/chttp2/transport/parsing.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1441 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 1442 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1443 | src/core/ext/transport/chttp2/transport/varint.c |
| 1444 | src/core/ext/transport/chttp2/transport/writing.c |
| 1445 | src/core/ext/transport/chttp2/alpn/alpn.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1446 | src/core/ext/filters/http/client/http_client_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1447 | src/core/ext/filters/http/http_filters_plugin.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 1448 | src/core/ext/filters/http/message_compress/message_compress_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 1449 | src/core/ext/filters/http/server/http_server_filter.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1450 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 1451 | src/core/ext/filters/client_channel/client_channel.c |
| 1452 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 1453 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 1454 | src/core/ext/filters/client_channel/connector.c |
| 1455 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 1456 | src/core/ext/filters/client_channel/http_proxy.c |
| 1457 | src/core/ext/filters/client_channel/lb_policy.c |
| 1458 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 1459 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 1460 | src/core/ext/filters/client_channel/parse_address.c |
| 1461 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 1462 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 1463 | src/core/ext/filters/client_channel/resolver.c |
| 1464 | src/core/ext/filters/client_channel/resolver_factory.c |
| 1465 | src/core/ext/filters/client_channel/resolver_registry.c |
| 1466 | src/core/ext/filters/client_channel/retry_throttle.c |
| 1467 | src/core/ext/filters/client_channel/subchannel.c |
| 1468 | src/core/ext/filters/client_channel/subchannel_index.c |
| 1469 | src/core/ext/filters/client_channel/uri_parser.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 1470 | src/core/ext/filters/deadline/deadline_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1471 | src/core/lib/http/httpcli_security_connector.c |
| 1472 | src/core/lib/security/context/security_context.c |
| 1473 | src/core/lib/security/credentials/composite/composite_credentials.c |
| 1474 | src/core/lib/security/credentials/credentials.c |
| 1475 | src/core/lib/security/credentials/credentials_metadata.c |
| 1476 | src/core/lib/security/credentials/fake/fake_credentials.c |
murgatroid99 | 7c20590 | 2016-08-09 10:07:42 -0700 | [diff] [blame] | 1477 | src/core/lib/security/credentials/google_default/credentials_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1478 | src/core/lib/security/credentials/google_default/google_default_credentials.c |
| 1479 | src/core/lib/security/credentials/iam/iam_credentials.c |
| 1480 | src/core/lib/security/credentials/jwt/json_token.c |
| 1481 | src/core/lib/security/credentials/jwt/jwt_credentials.c |
| 1482 | src/core/lib/security/credentials/jwt/jwt_verifier.c |
| 1483 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c |
| 1484 | src/core/lib/security/credentials/plugin/plugin_credentials.c |
| 1485 | src/core/lib/security/credentials/ssl/ssl_credentials.c |
| 1486 | src/core/lib/security/transport/client_auth_filter.c |
David Garcia Quintas | 0129150 | 2017-02-07 13:26:41 -0800 | [diff] [blame] | 1487 | src/core/lib/security/transport/lb_targets_info.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1488 | src/core/lib/security/transport/secure_endpoint.c |
| 1489 | src/core/lib/security/transport/security_connector.c |
Mark D. Roth | 071cacf | 2016-11-17 13:17:56 -0800 | [diff] [blame] | 1490 | src/core/lib/security/transport/security_handshaker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1491 | src/core/lib/security/transport/server_auth_filter.c |
| 1492 | src/core/lib/security/transport/tsi_error.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1493 | src/core/lib/security/util/json_util.c |
| 1494 | src/core/lib/surface/init_secure.c |
Craig Tiller | 134fed3 | 2017-03-28 14:27:18 -0700 | [diff] [blame] | 1495 | src/core/tsi/fake_transport_security.c |
Yihua Zhang | 1435bfc | 2017-07-17 11:20:51 -0700 | [diff] [blame] | 1496 | src/core/tsi/gts_transport_security.c |
Craig Tiller | 134fed3 | 2017-03-28 14:27:18 -0700 | [diff] [blame] | 1497 | src/core/tsi/ssl_transport_security.c |
| 1498 | src/core/tsi/transport_security.c |
jiangtaoli2016 | e69881d | 2017-04-10 14:29:43 -0700 | [diff] [blame] | 1499 | src/core/tsi/transport_security_adapter.c |
Mark D. Roth | 8686cab | 2016-11-17 13:12:17 -0800 | [diff] [blame] | 1500 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1501 | src/core/ext/filters/load_reporting/load_reporting.c |
| 1502 | src/core/ext/filters/load_reporting/load_reporting_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1503 | src/core/plugin_registry/grpc_cronet_plugin_registry.c |
| 1504 | ) |
| 1505 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1506 | if(WIN32 AND MSVC) |
| 1507 | set_target_properties(grpc_cronet PROPERTIES COMPILE_PDB_NAME "grpc_cronet" |
| 1508 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1509 | ) |
| 1510 | if (gRPC_INSTALL) |
| 1511 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1512 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1513 | ) |
| 1514 | endif() |
| 1515 | endif() |
| 1516 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1517 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1518 | target_include_directories(grpc_cronet |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 1519 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1520 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1521 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1522 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1523 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1524 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1525 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 1526 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1527 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 1528 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1529 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1530 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1531 | ) |
| 1532 | |
| 1533 | target_link_libraries(grpc_cronet |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1534 | ${_gRPC_BASELIB_LIBRARIES} |
| 1535 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 1536 | ${_gRPC_ZLIB_LIBRARIES} |
| 1537 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1538 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1539 | gpr |
| 1540 | ) |
| 1541 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1542 | foreach(_hdr |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1543 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1544 | include/grpc/impl/codegen/compression_types.h |
| 1545 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1546 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1547 | include/grpc/impl/codegen/grpc_types.h |
| 1548 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1549 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1550 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1551 | include/grpc/impl/codegen/atm.h |
| 1552 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1553 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1554 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1555 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1556 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1557 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1558 | include/grpc/impl/codegen/sync.h |
| 1559 | include/grpc/impl/codegen/sync_generic.h |
| 1560 | include/grpc/impl/codegen/sync_posix.h |
| 1561 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1562 | include/grpc/grpc_cronet.h |
| 1563 | include/grpc/grpc_security.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1564 | include/grpc/grpc_security_constants.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1565 | ) |
| 1566 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1567 | get_filename_component(_path ${_path} PATH) |
| 1568 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1569 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1570 | ) |
| 1571 | endforeach() |
| 1572 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1573 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1574 | if (gRPC_INSTALL) |
| 1575 | install(TARGETS grpc_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1576 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1577 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1578 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1579 | ) |
| 1580 | endif() |
| 1581 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1582 | if (gRPC_BUILD_TESTS) |
| 1583 | |
| 1584 | add_library(grpc_test_util |
| 1585 | test/core/end2end/data/client_certs.c |
| 1586 | test/core/end2end/data/server1_cert.c |
| 1587 | test/core/end2end/data/server1_key.c |
| 1588 | test/core/end2end/data/test_root_cert.c |
| 1589 | test/core/security/oauth2_utils.c |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 1590 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1591 | test/core/end2end/cq_verifier.c |
Craig Tiller | e067b6e | 2017-03-06 14:46:37 -0800 | [diff] [blame] | 1592 | test/core/end2end/fixtures/http_proxy_fixture.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1593 | test/core/end2end/fixtures/proxy.c |
| 1594 | test/core/iomgr/endpoint_tests.c |
Craig Tiller | 61eb40c | 2017-02-03 13:46:33 -0800 | [diff] [blame] | 1595 | test/core/util/debugger_macros.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1596 | test/core/util/grpc_profiler.c |
| 1597 | test/core/util/memory_counters.c |
| 1598 | test/core/util/mock_endpoint.c |
| 1599 | test/core/util/parse_hexstring.c |
| 1600 | test/core/util/passthru_endpoint.c |
Craig Tiller | cba864b | 2017-02-17 10:27:56 -0800 | [diff] [blame] | 1601 | test/core/util/port.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1602 | test/core/util/port_server_client.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1603 | test/core/util/slice_splitter.c |
Craig Tiller | fe5f497 | 2017-02-13 16:26:27 -0800 | [diff] [blame] | 1604 | test/core/util/trickle_endpoint.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1605 | src/core/lib/channel/channel_args.c |
| 1606 | src/core/lib/channel/channel_stack.c |
| 1607 | src/core/lib/channel/channel_stack_builder.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1608 | src/core/lib/channel/connected_channel.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1609 | src/core/lib/channel/handshaker.c |
| 1610 | src/core/lib/channel/handshaker_factory.c |
| 1611 | src/core/lib/channel/handshaker_registry.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1612 | src/core/lib/compression/compression.c |
| 1613 | src/core/lib/compression/message_compress.c |
Muxi Yan | e87a7e1 | 2017-06-29 16:53:24 -0700 | [diff] [blame] | 1614 | src/core/lib/compression/stream_compression.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1615 | src/core/lib/http/format_request.c |
| 1616 | src/core/lib/http/httpcli.c |
| 1617 | src/core/lib/http/parser.c |
| 1618 | src/core/lib/iomgr/closure.c |
| 1619 | src/core/lib/iomgr/combiner.c |
| 1620 | src/core/lib/iomgr/endpoint.c |
| 1621 | src/core/lib/iomgr/endpoint_pair_posix.c |
| 1622 | src/core/lib/iomgr/endpoint_pair_uv.c |
| 1623 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 1624 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1625 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 1626 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 1627 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 1628 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1629 | src/core/lib/iomgr/ev_epollsig_linux.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1630 | src/core/lib/iomgr/ev_poll_posix.c |
| 1631 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 1632 | src/core/lib/iomgr/ev_windows.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1633 | src/core/lib/iomgr/exec_ctx.c |
| 1634 | src/core/lib/iomgr/executor.c |
| 1635 | src/core/lib/iomgr/iocp_windows.c |
| 1636 | src/core/lib/iomgr/iomgr.c |
| 1637 | src/core/lib/iomgr/iomgr_posix.c |
| 1638 | src/core/lib/iomgr/iomgr_uv.c |
| 1639 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 1640 | src/core/lib/iomgr/is_epollexclusive_available.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1641 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 1642 | src/core/lib/iomgr/lockfree_event.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1643 | src/core/lib/iomgr/network_status_tracker.c |
| 1644 | src/core/lib/iomgr/polling_entity.c |
| 1645 | src/core/lib/iomgr/pollset_set_uv.c |
| 1646 | src/core/lib/iomgr/pollset_set_windows.c |
| 1647 | src/core/lib/iomgr/pollset_uv.c |
| 1648 | src/core/lib/iomgr/pollset_windows.c |
| 1649 | src/core/lib/iomgr/resolve_address_posix.c |
| 1650 | src/core/lib/iomgr/resolve_address_uv.c |
| 1651 | src/core/lib/iomgr/resolve_address_windows.c |
| 1652 | src/core/lib/iomgr/resource_quota.c |
| 1653 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 1654 | src/core/lib/iomgr/socket_factory_posix.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1655 | src/core/lib/iomgr/socket_mutator.c |
| 1656 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1657 | src/core/lib/iomgr/socket_utils_linux.c |
| 1658 | src/core/lib/iomgr/socket_utils_posix.c |
| 1659 | src/core/lib/iomgr/socket_utils_uv.c |
| 1660 | src/core/lib/iomgr/socket_utils_windows.c |
| 1661 | src/core/lib/iomgr/socket_windows.c |
| 1662 | src/core/lib/iomgr/tcp_client_posix.c |
| 1663 | src/core/lib/iomgr/tcp_client_uv.c |
| 1664 | src/core/lib/iomgr/tcp_client_windows.c |
| 1665 | src/core/lib/iomgr/tcp_posix.c |
| 1666 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 1667 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 1668 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 1669 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1670 | src/core/lib/iomgr/tcp_server_uv.c |
| 1671 | src/core/lib/iomgr/tcp_server_windows.c |
| 1672 | src/core/lib/iomgr/tcp_uv.c |
| 1673 | src/core/lib/iomgr/tcp_windows.c |
| 1674 | src/core/lib/iomgr/time_averaged_stats.c |
| 1675 | src/core/lib/iomgr/timer_generic.c |
| 1676 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 1677 | src/core/lib/iomgr/timer_manager.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1678 | src/core/lib/iomgr/timer_uv.c |
| 1679 | src/core/lib/iomgr/udp_server.c |
| 1680 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1681 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
| 1682 | src/core/lib/iomgr/wakeup_fd_cv.c |
| 1683 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1684 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1685 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1686 | src/core/lib/iomgr/wakeup_fd_posix.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1687 | src/core/lib/json/json.c |
| 1688 | src/core/lib/json/json_reader.c |
| 1689 | src/core/lib/json/json_string.c |
| 1690 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 1691 | src/core/lib/slice/b64.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1692 | src/core/lib/slice/percent_encoding.c |
| 1693 | src/core/lib/slice/slice.c |
| 1694 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1695 | src/core/lib/slice/slice_hash_table.c |
| 1696 | src/core/lib/slice/slice_intern.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1697 | src/core/lib/slice/slice_string_helpers.c |
| 1698 | src/core/lib/surface/alarm.c |
| 1699 | src/core/lib/surface/api_trace.c |
| 1700 | src/core/lib/surface/byte_buffer.c |
| 1701 | src/core/lib/surface/byte_buffer_reader.c |
| 1702 | src/core/lib/surface/call.c |
| 1703 | src/core/lib/surface/call_details.c |
| 1704 | src/core/lib/surface/call_log_batch.c |
| 1705 | src/core/lib/surface/channel.c |
| 1706 | src/core/lib/surface/channel_init.c |
| 1707 | src/core/lib/surface/channel_ping.c |
| 1708 | src/core/lib/surface/channel_stack_type.c |
| 1709 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 1710 | src/core/lib/surface/completion_queue_factory.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1711 | src/core/lib/surface/event_string.c |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1712 | src/core/lib/surface/lame_client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1713 | src/core/lib/surface/metadata_array.c |
| 1714 | src/core/lib/surface/server.c |
| 1715 | src/core/lib/surface/validate_metadata.c |
| 1716 | src/core/lib/surface/version.c |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 1717 | src/core/lib/transport/bdp_estimator.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1718 | src/core/lib/transport/byte_stream.c |
| 1719 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1720 | src/core/lib/transport/error_utils.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1721 | src/core/lib/transport/metadata.c |
| 1722 | src/core/lib/transport/metadata_batch.c |
| 1723 | src/core/lib/transport/pid_controller.c |
| 1724 | src/core/lib/transport/service_config.c |
| 1725 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1726 | src/core/lib/transport/status_conversion.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1727 | src/core/lib/transport/timeout_encoding.c |
| 1728 | src/core/lib/transport/transport.c |
| 1729 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 1730 | src/core/lib/debug/trace.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1731 | ) |
| 1732 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1733 | if(WIN32 AND MSVC) |
| 1734 | set_target_properties(grpc_test_util PROPERTIES COMPILE_PDB_NAME "grpc_test_util" |
| 1735 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1736 | ) |
| 1737 | if (gRPC_INSTALL) |
| 1738 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1739 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1740 | ) |
| 1741 | endif() |
| 1742 | endif() |
| 1743 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1744 | |
| 1745 | target_include_directories(grpc_test_util |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 1746 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1747 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1748 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1749 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1750 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1751 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1752 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 1753 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 1754 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 1755 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1756 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1757 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 1758 | ) |
| 1759 | |
| 1760 | target_link_libraries(grpc_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1761 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1762 | gpr_test_util |
| 1763 | gpr |
| 1764 | grpc |
| 1765 | ) |
| 1766 | |
| 1767 | foreach(_hdr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1768 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1769 | include/grpc/impl/codegen/compression_types.h |
| 1770 | include/grpc/impl/codegen/connectivity_state.h |
| 1771 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 1772 | include/grpc/impl/codegen/grpc_types.h |
| 1773 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1774 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1775 | include/grpc/impl/codegen/status.h |
| 1776 | include/grpc/impl/codegen/atm.h |
| 1777 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1778 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1779 | include/grpc/impl/codegen/atm_windows.h |
| 1780 | include/grpc/impl/codegen/gpr_slice.h |
| 1781 | include/grpc/impl/codegen/gpr_types.h |
| 1782 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1783 | include/grpc/impl/codegen/sync.h |
| 1784 | include/grpc/impl/codegen/sync_generic.h |
| 1785 | include/grpc/impl/codegen/sync_posix.h |
| 1786 | include/grpc/impl/codegen/sync_windows.h |
| 1787 | ) |
| 1788 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1789 | get_filename_component(_path ${_path} PATH) |
| 1790 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1791 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1792 | ) |
| 1793 | endforeach() |
| 1794 | |
| 1795 | endif (gRPC_BUILD_TESTS) |
| 1796 | if (gRPC_BUILD_TESTS) |
| 1797 | |
| 1798 | add_library(grpc_test_util_unsecure |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 1799 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1800 | test/core/end2end/cq_verifier.c |
Craig Tiller | e067b6e | 2017-03-06 14:46:37 -0800 | [diff] [blame] | 1801 | test/core/end2end/fixtures/http_proxy_fixture.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1802 | test/core/end2end/fixtures/proxy.c |
| 1803 | test/core/iomgr/endpoint_tests.c |
Craig Tiller | 61eb40c | 2017-02-03 13:46:33 -0800 | [diff] [blame] | 1804 | test/core/util/debugger_macros.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1805 | test/core/util/grpc_profiler.c |
| 1806 | test/core/util/memory_counters.c |
| 1807 | test/core/util/mock_endpoint.c |
| 1808 | test/core/util/parse_hexstring.c |
| 1809 | test/core/util/passthru_endpoint.c |
Craig Tiller | cba864b | 2017-02-17 10:27:56 -0800 | [diff] [blame] | 1810 | test/core/util/port.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1811 | test/core/util/port_server_client.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1812 | test/core/util/slice_splitter.c |
Craig Tiller | fe5f497 | 2017-02-13 16:26:27 -0800 | [diff] [blame] | 1813 | test/core/util/trickle_endpoint.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1814 | ) |
| 1815 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1816 | if(WIN32 AND MSVC) |
| 1817 | set_target_properties(grpc_test_util_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_test_util_unsecure" |
| 1818 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1819 | ) |
| 1820 | if (gRPC_INSTALL) |
| 1821 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1822 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1823 | ) |
| 1824 | endif() |
| 1825 | endif() |
| 1826 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1827 | |
| 1828 | target_include_directories(grpc_test_util_unsecure |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 1829 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1830 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1831 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1832 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1833 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1834 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1835 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 1836 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 1837 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 1838 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1839 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1840 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 1841 | ) |
| 1842 | |
| 1843 | target_link_libraries(grpc_test_util_unsecure |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1844 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1845 | gpr |
| 1846 | gpr_test_util |
| 1847 | grpc_unsecure |
| 1848 | grpc |
| 1849 | ) |
| 1850 | |
| 1851 | |
| 1852 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1853 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1854 | add_library(grpc_unsecure |
| 1855 | src/core/lib/surface/init.c |
| 1856 | src/core/lib/surface/init_unsecure.c |
| 1857 | src/core/lib/channel/channel_args.c |
| 1858 | src/core/lib/channel/channel_stack.c |
| 1859 | src/core/lib/channel/channel_stack_builder.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1860 | src/core/lib/channel/connected_channel.c |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 1861 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 1862 | src/core/lib/channel/handshaker_factory.c |
| 1863 | src/core/lib/channel/handshaker_registry.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1864 | src/core/lib/compression/compression.c |
| 1865 | src/core/lib/compression/message_compress.c |
Muxi Yan | e87a7e1 | 2017-06-29 16:53:24 -0700 | [diff] [blame] | 1866 | src/core/lib/compression/stream_compression.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1867 | src/core/lib/http/format_request.c |
| 1868 | src/core/lib/http/httpcli.c |
| 1869 | src/core/lib/http/parser.c |
| 1870 | src/core/lib/iomgr/closure.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 1871 | src/core/lib/iomgr/combiner.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1872 | src/core/lib/iomgr/endpoint.c |
| 1873 | src/core/lib/iomgr/endpoint_pair_posix.c |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 1874 | src/core/lib/iomgr/endpoint_pair_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1875 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 1876 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1877 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 1878 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 1879 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 1880 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 1881 | src/core/lib/iomgr/ev_epollsig_linux.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1882 | src/core/lib/iomgr/ev_poll_posix.c |
| 1883 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 1884 | src/core/lib/iomgr/ev_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1885 | src/core/lib/iomgr/exec_ctx.c |
| 1886 | src/core/lib/iomgr/executor.c |
| 1887 | src/core/lib/iomgr/iocp_windows.c |
| 1888 | src/core/lib/iomgr/iomgr.c |
| 1889 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1890 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1891 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 1892 | src/core/lib/iomgr/is_epollexclusive_available.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1893 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 1894 | src/core/lib/iomgr/lockfree_event.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 1895 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1896 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1897 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1898 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1899 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1900 | src/core/lib/iomgr/pollset_windows.c |
| 1901 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1902 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1903 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 1904 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1905 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 1906 | src/core/lib/iomgr/socket_factory_posix.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 1907 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1908 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1909 | src/core/lib/iomgr/socket_utils_linux.c |
| 1910 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1911 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 1912 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1913 | src/core/lib/iomgr/socket_windows.c |
| 1914 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1915 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1916 | src/core/lib/iomgr/tcp_client_windows.c |
| 1917 | src/core/lib/iomgr/tcp_posix.c |
| 1918 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 1919 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 1920 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 1921 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1922 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1923 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1924 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1925 | src/core/lib/iomgr/tcp_windows.c |
| 1926 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1927 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1928 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 1929 | src/core/lib/iomgr/timer_manager.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1930 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1931 | src/core/lib/iomgr/udp_server.c |
| 1932 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1933 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 1934 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1935 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1936 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1937 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1938 | src/core/lib/iomgr/wakeup_fd_posix.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1939 | src/core/lib/json/json.c |
| 1940 | src/core/lib/json/json_reader.c |
| 1941 | src/core/lib/json/json_string.c |
| 1942 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 1943 | src/core/lib/slice/b64.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1944 | src/core/lib/slice/percent_encoding.c |
| 1945 | src/core/lib/slice/slice.c |
| 1946 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1947 | src/core/lib/slice/slice_hash_table.c |
| 1948 | src/core/lib/slice/slice_intern.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1949 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1950 | src/core/lib/surface/alarm.c |
| 1951 | src/core/lib/surface/api_trace.c |
| 1952 | src/core/lib/surface/byte_buffer.c |
| 1953 | src/core/lib/surface/byte_buffer_reader.c |
| 1954 | src/core/lib/surface/call.c |
| 1955 | src/core/lib/surface/call_details.c |
| 1956 | src/core/lib/surface/call_log_batch.c |
| 1957 | src/core/lib/surface/channel.c |
| 1958 | src/core/lib/surface/channel_init.c |
| 1959 | src/core/lib/surface/channel_ping.c |
| 1960 | src/core/lib/surface/channel_stack_type.c |
| 1961 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 1962 | src/core/lib/surface/completion_queue_factory.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1963 | src/core/lib/surface/event_string.c |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1964 | src/core/lib/surface/lame_client.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1965 | src/core/lib/surface/metadata_array.c |
| 1966 | src/core/lib/surface/server.c |
| 1967 | src/core/lib/surface/validate_metadata.c |
| 1968 | src/core/lib/surface/version.c |
Craig Tiller | 9e0066b | 2016-10-20 14:04:18 -0700 | [diff] [blame] | 1969 | src/core/lib/transport/bdp_estimator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1970 | src/core/lib/transport/byte_stream.c |
| 1971 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1972 | src/core/lib/transport/error_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1973 | src/core/lib/transport/metadata.c |
| 1974 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 1975 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 1976 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1977 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1978 | src/core/lib/transport/status_conversion.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 1979 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1980 | src/core/lib/transport/transport.c |
| 1981 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 1982 | src/core/lib/debug/trace.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1983 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 1984 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
| 1985 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 1986 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 1987 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 1988 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 1989 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 1990 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 1991 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 1992 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 1993 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 1994 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 1995 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 1996 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 1997 | src/core/ext/transport/chttp2/transport/hpack_table.c |
Craig Tiller | c8f62bc | 2017-04-03 16:25:45 -0700 | [diff] [blame] | 1998 | src/core/ext/transport/chttp2/transport/http2_settings.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1999 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 2000 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 2001 | src/core/ext/transport/chttp2/transport/parsing.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2002 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 2003 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2004 | src/core/ext/transport/chttp2/transport/varint.c |
| 2005 | src/core/ext/transport/chttp2/transport/writing.c |
| 2006 | src/core/ext/transport/chttp2/alpn/alpn.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2007 | src/core/ext/filters/http/client/http_client_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2008 | src/core/ext/filters/http/http_filters_plugin.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 2009 | src/core/ext/filters/http/message_compress/message_compress_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2010 | src/core/ext/filters/http/server/http_server_filter.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 2011 | src/core/ext/transport/chttp2/server/chttp2_server.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2012 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 2013 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
Mark D. Roth | 2502afb | 2016-11-29 15:17:31 -0800 | [diff] [blame] | 2014 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2015 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 2016 | src/core/ext/filters/client_channel/client_channel.c |
| 2017 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 2018 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 2019 | src/core/ext/filters/client_channel/connector.c |
| 2020 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 2021 | src/core/ext/filters/client_channel/http_proxy.c |
| 2022 | src/core/ext/filters/client_channel/lb_policy.c |
| 2023 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 2024 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 2025 | src/core/ext/filters/client_channel/parse_address.c |
| 2026 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 2027 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 2028 | src/core/ext/filters/client_channel/resolver.c |
| 2029 | src/core/ext/filters/client_channel/resolver_factory.c |
| 2030 | src/core/ext/filters/client_channel/resolver_registry.c |
| 2031 | src/core/ext/filters/client_channel/retry_throttle.c |
| 2032 | src/core/ext/filters/client_channel/subchannel.c |
| 2033 | src/core/ext/filters/client_channel/subchannel_index.c |
| 2034 | src/core/ext/filters/client_channel/uri_parser.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 2035 | src/core/ext/filters/deadline/deadline_filter.c |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 2036 | src/core/ext/transport/inproc/inproc_plugin.c |
| 2037 | src/core/ext/transport/inproc/inproc_transport.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2038 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c |
| 2039 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c |
| 2040 | 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] | 2041 | 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] | 2042 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.c |
| 2043 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.c |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 2044 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2045 | src/core/ext/filters/load_reporting/load_reporting.c |
| 2046 | src/core/ext/filters/load_reporting/load_reporting_filter.c |
Mark D. Roth | 09e458c | 2017-05-02 08:13:26 -0700 | [diff] [blame] | 2047 | 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] | 2048 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c |
| 2049 | 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] | 2050 | 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] | 2051 | src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c |
| 2052 | 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] | 2053 | third_party/nanopb/pb_common.c |
| 2054 | third_party/nanopb/pb_decode.c |
| 2055 | third_party/nanopb/pb_encode.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2056 | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c |
| 2057 | 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] | 2058 | src/core/ext/census/base_resources.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2059 | src/core/ext/census/context.c |
| 2060 | src/core/ext/census/gen/census.pb.c |
Alistair Veitch | a0c69f9 | 2016-08-31 12:01:27 -0700 | [diff] [blame] | 2061 | src/core/ext/census/gen/trace_context.pb.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2062 | src/core/ext/census/grpc_context.c |
| 2063 | src/core/ext/census/grpc_filter.c |
| 2064 | src/core/ext/census/grpc_plugin.c |
| 2065 | src/core/ext/census/initialize.c |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 2066 | src/core/ext/census/intrusive_hash_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2067 | src/core/ext/census/mlog.c |
| 2068 | src/core/ext/census/operation.c |
| 2069 | src/core/ext/census/placeholders.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 2070 | src/core/ext/census/resource.c |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 2071 | src/core/ext/census/trace_context.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2072 | src/core/ext/census/tracing.c |
Craig Tiller | 6d4894e | 2017-03-31 17:22:06 -0700 | [diff] [blame] | 2073 | src/core/ext/filters/max_age/max_age_filter.c |
Craig Tiller | 9b3648a | 2017-04-03 12:25:19 -0700 | [diff] [blame] | 2074 | src/core/ext/filters/message_size/message_size_filter.c |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 2075 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c |
| 2076 | src/core/ext/filters/workarounds/workaround_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2077 | src/core/plugin_registry/grpc_unsecure_plugin_registry.c |
| 2078 | ) |
| 2079 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2080 | if(WIN32 AND MSVC) |
| 2081 | set_target_properties(grpc_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_unsecure" |
| 2082 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2083 | ) |
| 2084 | if (gRPC_INSTALL) |
| 2085 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2086 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2087 | ) |
| 2088 | endif() |
| 2089 | endif() |
| 2090 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2091 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2092 | target_include_directories(grpc_unsecure |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 2093 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2094 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2095 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2096 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2097 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2098 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2099 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2100 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 2101 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2102 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2103 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2104 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2105 | ) |
| 2106 | |
| 2107 | target_link_libraries(grpc_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2108 | ${_gRPC_BASELIB_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 2109 | ${_gRPC_ZLIB_LIBRARIES} |
| 2110 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2111 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2112 | gpr |
| 2113 | ) |
| 2114 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2115 | foreach(_hdr |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2116 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2117 | include/grpc/impl/codegen/compression_types.h |
| 2118 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 2119 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2120 | include/grpc/impl/codegen/grpc_types.h |
| 2121 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2122 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2123 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2124 | include/grpc/impl/codegen/atm.h |
| 2125 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2126 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2127 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2128 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 2129 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2130 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2131 | include/grpc/impl/codegen/sync.h |
| 2132 | include/grpc/impl/codegen/sync_generic.h |
| 2133 | include/grpc/impl/codegen/sync_posix.h |
| 2134 | include/grpc/impl/codegen/sync_windows.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2135 | include/grpc/byte_buffer.h |
| 2136 | include/grpc/byte_buffer_reader.h |
| 2137 | include/grpc/compression.h |
| 2138 | include/grpc/grpc.h |
| 2139 | include/grpc/grpc_posix.h |
| 2140 | include/grpc/grpc_security_constants.h |
| 2141 | include/grpc/load_reporting.h |
| 2142 | include/grpc/slice.h |
| 2143 | include/grpc/slice_buffer.h |
| 2144 | include/grpc/status.h |
| 2145 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2146 | include/grpc/census.h |
| 2147 | ) |
| 2148 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2149 | get_filename_component(_path ${_path} PATH) |
| 2150 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2151 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2152 | ) |
| 2153 | endforeach() |
| 2154 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2155 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2156 | if (gRPC_INSTALL) |
| 2157 | install(TARGETS grpc_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2158 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2159 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2160 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2161 | ) |
| 2162 | endif() |
| 2163 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2164 | if (gRPC_BUILD_TESTS) |
| 2165 | |
| 2166 | add_library(reconnect_server |
| 2167 | test/core/util/reconnect_server.c |
| 2168 | ) |
| 2169 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2170 | if(WIN32 AND MSVC) |
| 2171 | set_target_properties(reconnect_server PROPERTIES COMPILE_PDB_NAME "reconnect_server" |
| 2172 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2173 | ) |
| 2174 | if (gRPC_INSTALL) |
| 2175 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/reconnect_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2176 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2177 | ) |
| 2178 | endif() |
| 2179 | endif() |
| 2180 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2181 | |
| 2182 | target_include_directories(reconnect_server |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 2183 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2184 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2185 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2186 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2187 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2188 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2189 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2190 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2191 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2192 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2193 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2194 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2195 | ) |
| 2196 | |
| 2197 | target_link_libraries(reconnect_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2198 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2199 | test_tcp_server |
| 2200 | grpc_test_util |
| 2201 | grpc |
| 2202 | gpr_test_util |
| 2203 | gpr |
| 2204 | ) |
| 2205 | |
| 2206 | |
| 2207 | endif (gRPC_BUILD_TESTS) |
| 2208 | if (gRPC_BUILD_TESTS) |
| 2209 | |
| 2210 | add_library(test_tcp_server |
| 2211 | test/core/util/test_tcp_server.c |
| 2212 | ) |
| 2213 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2214 | if(WIN32 AND MSVC) |
| 2215 | set_target_properties(test_tcp_server PROPERTIES COMPILE_PDB_NAME "test_tcp_server" |
| 2216 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2217 | ) |
| 2218 | if (gRPC_INSTALL) |
| 2219 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/test_tcp_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2220 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2221 | ) |
| 2222 | endif() |
| 2223 | endif() |
| 2224 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2225 | |
| 2226 | target_include_directories(test_tcp_server |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 2227 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2228 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2229 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2230 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2231 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2232 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2233 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2234 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2235 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2236 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2237 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2238 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2239 | ) |
| 2240 | |
| 2241 | target_link_libraries(test_tcp_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2242 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2243 | grpc_test_util |
| 2244 | grpc |
| 2245 | gpr_test_util |
| 2246 | gpr |
| 2247 | ) |
| 2248 | |
| 2249 | |
| 2250 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2251 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2252 | add_library(grpc++ |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2253 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2254 | src/cpp/client/secure_credentials.cc |
| 2255 | src/cpp/common/auth_property_iterator.cc |
| 2256 | src/cpp/common/secure_auth_context.cc |
| 2257 | src/cpp/common/secure_channel_arguments.cc |
| 2258 | src/cpp/common/secure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2259 | src/cpp/server/insecure_server_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2260 | src/cpp/server/secure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2261 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2262 | src/cpp/client/client_context.cc |
| 2263 | src/cpp/client/create_channel.cc |
| 2264 | src/cpp/client/create_channel_internal.cc |
| 2265 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2266 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2267 | src/cpp/client/generic_stub.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2268 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 2269 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2270 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2271 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2272 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2273 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2274 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2275 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2276 | src/cpp/server/channel_argument_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2277 | src/cpp/server/create_default_thread_pool.cc |
| 2278 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2279 | src/cpp/server/health/default_health_check_service.cc |
| 2280 | src/cpp/server/health/health.pb.c |
| 2281 | src/cpp/server/health/health_check_service.cc |
| 2282 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2283 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2284 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2285 | src/cpp/server/server_context.cc |
| 2286 | src/cpp/server/server_credentials.cc |
| 2287 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 2288 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2289 | src/cpp/util/byte_buffer_cc.cc |
| 2290 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2291 | src/cpp/util/status.cc |
| 2292 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2293 | src/cpp/util/time_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2294 | src/cpp/codegen/codegen_init.cc |
| 2295 | ) |
| 2296 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2297 | if(WIN32 AND MSVC) |
| 2298 | set_target_properties(grpc++ PROPERTIES COMPILE_PDB_NAME "grpc++" |
| 2299 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2300 | ) |
| 2301 | if (gRPC_INSTALL) |
| 2302 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2303 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2304 | ) |
| 2305 | endif() |
| 2306 | endif() |
| 2307 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2308 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2309 | target_include_directories(grpc++ |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 2310 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2311 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2312 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2313 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2314 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2315 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2316 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2317 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 2318 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2319 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2320 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2321 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2322 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2323 | ) |
| 2324 | |
| 2325 | target_link_libraries(grpc++ |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2326 | ${_gRPC_BASELIB_LIBRARIES} |
| 2327 | ${_gRPC_SSL_LIBRARIES} |
| 2328 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2329 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2330 | grpc |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2331 | gpr |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2332 | ) |
| 2333 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2334 | foreach(_hdr |
| 2335 | include/grpc++/alarm.h |
| 2336 | include/grpc++/channel.h |
| 2337 | include/grpc++/client_context.h |
| 2338 | include/grpc++/completion_queue.h |
| 2339 | include/grpc++/create_channel.h |
| 2340 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2341 | include/grpc++/ext/health_check_service_server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2342 | include/grpc++/generic/async_generic_service.h |
| 2343 | include/grpc++/generic/generic_stub.h |
| 2344 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2345 | include/grpc++/health_check_service_interface.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2346 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2347 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2348 | include/grpc++/impl/client_unary_call.h |
| 2349 | include/grpc++/impl/codegen/core_codegen.h |
| 2350 | include/grpc++/impl/grpc_library.h |
| 2351 | include/grpc++/impl/method_handler_impl.h |
| 2352 | include/grpc++/impl/rpc_method.h |
| 2353 | include/grpc++/impl/rpc_service_method.h |
| 2354 | include/grpc++/impl/serialization_traits.h |
| 2355 | include/grpc++/impl/server_builder_option.h |
| 2356 | include/grpc++/impl/server_builder_plugin.h |
| 2357 | include/grpc++/impl/server_initializer.h |
| 2358 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2359 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2360 | include/grpc++/security/auth_context.h |
| 2361 | include/grpc++/security/auth_metadata_processor.h |
| 2362 | include/grpc++/security/credentials.h |
| 2363 | include/grpc++/security/server_credentials.h |
| 2364 | include/grpc++/server.h |
| 2365 | include/grpc++/server_builder.h |
| 2366 | include/grpc++/server_context.h |
| 2367 | include/grpc++/server_posix.h |
| 2368 | include/grpc++/support/async_stream.h |
| 2369 | include/grpc++/support/async_unary_call.h |
| 2370 | include/grpc++/support/byte_buffer.h |
| 2371 | include/grpc++/support/channel_arguments.h |
| 2372 | include/grpc++/support/config.h |
| 2373 | include/grpc++/support/slice.h |
| 2374 | include/grpc++/support/status.h |
| 2375 | include/grpc++/support/status_code_enum.h |
| 2376 | include/grpc++/support/string_ref.h |
| 2377 | include/grpc++/support/stub_options.h |
| 2378 | include/grpc++/support/sync_stream.h |
| 2379 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2380 | include/grpc/support/alloc.h |
| 2381 | include/grpc/support/atm.h |
| 2382 | include/grpc/support/atm_gcc_atomic.h |
| 2383 | include/grpc/support/atm_gcc_sync.h |
| 2384 | include/grpc/support/atm_windows.h |
| 2385 | include/grpc/support/avl.h |
| 2386 | include/grpc/support/cmdline.h |
| 2387 | include/grpc/support/cpu.h |
| 2388 | include/grpc/support/histogram.h |
| 2389 | include/grpc/support/host_port.h |
| 2390 | include/grpc/support/log.h |
| 2391 | include/grpc/support/log_windows.h |
| 2392 | include/grpc/support/port_platform.h |
| 2393 | include/grpc/support/string_util.h |
| 2394 | include/grpc/support/subprocess.h |
| 2395 | include/grpc/support/sync.h |
| 2396 | include/grpc/support/sync_generic.h |
| 2397 | include/grpc/support/sync_posix.h |
| 2398 | include/grpc/support/sync_windows.h |
| 2399 | include/grpc/support/thd.h |
| 2400 | include/grpc/support/time.h |
| 2401 | include/grpc/support/tls.h |
| 2402 | include/grpc/support/tls_gcc.h |
| 2403 | include/grpc/support/tls_msvc.h |
| 2404 | include/grpc/support/tls_pthread.h |
| 2405 | include/grpc/support/useful.h |
| 2406 | include/grpc/impl/codegen/atm.h |
| 2407 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2408 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2409 | include/grpc/impl/codegen/atm_windows.h |
| 2410 | include/grpc/impl/codegen/gpr_slice.h |
| 2411 | include/grpc/impl/codegen/gpr_types.h |
| 2412 | include/grpc/impl/codegen/port_platform.h |
| 2413 | include/grpc/impl/codegen/sync.h |
| 2414 | include/grpc/impl/codegen/sync_generic.h |
| 2415 | include/grpc/impl/codegen/sync_posix.h |
| 2416 | include/grpc/impl/codegen/sync_windows.h |
| 2417 | include/grpc/byte_buffer.h |
| 2418 | include/grpc/byte_buffer_reader.h |
| 2419 | include/grpc/compression.h |
| 2420 | include/grpc/grpc.h |
| 2421 | include/grpc/grpc_posix.h |
| 2422 | include/grpc/grpc_security_constants.h |
| 2423 | include/grpc/load_reporting.h |
| 2424 | include/grpc/slice.h |
| 2425 | include/grpc/slice_buffer.h |
| 2426 | include/grpc/status.h |
| 2427 | include/grpc/support/workaround_list.h |
| 2428 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2429 | include/grpc/impl/codegen/compression_types.h |
| 2430 | include/grpc/impl/codegen/connectivity_state.h |
| 2431 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 2432 | include/grpc/impl/codegen/grpc_types.h |
| 2433 | include/grpc/impl/codegen/propagation_bits.h |
| 2434 | include/grpc/impl/codegen/slice.h |
| 2435 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2436 | include/grpc++/impl/codegen/async_stream.h |
| 2437 | include/grpc++/impl/codegen/async_unary_call.h |
| 2438 | include/grpc++/impl/codegen/call.h |
| 2439 | include/grpc++/impl/codegen/call_hook.h |
| 2440 | include/grpc++/impl/codegen/channel_interface.h |
| 2441 | include/grpc++/impl/codegen/client_context.h |
| 2442 | include/grpc++/impl/codegen/client_unary_call.h |
| 2443 | include/grpc++/impl/codegen/completion_queue.h |
| 2444 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2445 | include/grpc++/impl/codegen/config.h |
| 2446 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2447 | include/grpc++/impl/codegen/create_auth_context.h |
| 2448 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 2449 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2450 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2451 | include/grpc++/impl/codegen/rpc_method.h |
| 2452 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2453 | include/grpc++/impl/codegen/security/auth_context.h |
| 2454 | include/grpc++/impl/codegen/serialization_traits.h |
| 2455 | include/grpc++/impl/codegen/server_context.h |
| 2456 | include/grpc++/impl/codegen/server_interface.h |
| 2457 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2458 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2459 | include/grpc++/impl/codegen/status.h |
| 2460 | include/grpc++/impl/codegen/status_code_enum.h |
| 2461 | include/grpc++/impl/codegen/string_ref.h |
| 2462 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2463 | include/grpc++/impl/codegen/sync_stream.h |
| 2464 | include/grpc++/impl/codegen/time.h |
Piotr Pietraszkiewicz | a5fac1f | 2017-02-09 11:15:44 +0100 | [diff] [blame] | 2465 | include/grpc++/impl/codegen/proto_utils.h |
| 2466 | include/grpc++/impl/codegen/config_protobuf.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2467 | ) |
| 2468 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2469 | get_filename_component(_path ${_path} PATH) |
| 2470 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2471 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2472 | ) |
| 2473 | endforeach() |
| 2474 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2475 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2476 | if (gRPC_INSTALL) |
| 2477 | install(TARGETS grpc++ EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2478 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2479 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2480 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2481 | ) |
| 2482 | endif() |
| 2483 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2484 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2485 | add_library(grpc++_cronet |
| 2486 | src/cpp/client/cronet_credentials.cc |
| 2487 | src/cpp/client/insecure_credentials.cc |
| 2488 | src/cpp/common/insecure_create_auth_context.cc |
| 2489 | src/cpp/server/insecure_server_credentials.cc |
| 2490 | src/cpp/client/channel_cc.cc |
| 2491 | src/cpp/client/client_context.cc |
| 2492 | src/cpp/client/create_channel.cc |
| 2493 | src/cpp/client/create_channel_internal.cc |
| 2494 | src/cpp/client/create_channel_posix.cc |
| 2495 | src/cpp/client/credentials_cc.cc |
| 2496 | src/cpp/client/generic_stub.cc |
| 2497 | src/cpp/common/channel_arguments.cc |
| 2498 | src/cpp/common/channel_filter.cc |
| 2499 | src/cpp/common/completion_queue_cc.cc |
| 2500 | src/cpp/common/core_codegen.cc |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2501 | src/cpp/common/resource_quota_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2502 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2503 | src/cpp/common/version_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2504 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2505 | src/cpp/server/channel_argument_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2506 | src/cpp/server/create_default_thread_pool.cc |
| 2507 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2508 | src/cpp/server/health/default_health_check_service.cc |
| 2509 | src/cpp/server/health/health.pb.c |
| 2510 | src/cpp/server/health/health_check_service.cc |
| 2511 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2512 | src/cpp/server/server_builder.cc |
| 2513 | src/cpp/server/server_cc.cc |
| 2514 | src/cpp/server/server_context.cc |
| 2515 | src/cpp/server/server_credentials.cc |
| 2516 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 33d5494 | 2016-10-25 10:03:52 -0700 | [diff] [blame] | 2517 | src/cpp/thread_manager/thread_manager.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2518 | src/cpp/util/byte_buffer_cc.cc |
| 2519 | src/cpp/util/slice_cc.cc |
| 2520 | src/cpp/util/status.cc |
| 2521 | src/cpp/util/string_ref.cc |
| 2522 | src/cpp/util/time_cc.cc |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 2523 | src/cpp/codegen/codegen_init.cc |
| 2524 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 2525 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
| 2526 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
| 2527 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 2528 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 2529 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 2530 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 2531 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 2532 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 2533 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 2534 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 2535 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 2536 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 2537 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 2538 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 2539 | src/core/ext/transport/chttp2/transport/hpack_table.c |
| 2540 | src/core/ext/transport/chttp2/transport/http2_settings.c |
| 2541 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 2542 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 2543 | src/core/ext/transport/chttp2/transport/parsing.c |
| 2544 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 2545 | src/core/ext/transport/chttp2/transport/stream_map.c |
| 2546 | src/core/ext/transport/chttp2/transport/varint.c |
| 2547 | src/core/ext/transport/chttp2/transport/writing.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2548 | src/core/lib/channel/channel_args.c |
| 2549 | src/core/lib/channel/channel_stack.c |
| 2550 | src/core/lib/channel/channel_stack_builder.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2551 | src/core/lib/channel/connected_channel.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2552 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 2553 | src/core/lib/channel/handshaker_factory.c |
| 2554 | src/core/lib/channel/handshaker_registry.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2555 | src/core/lib/compression/compression.c |
| 2556 | src/core/lib/compression/message_compress.c |
Muxi Yan | e87a7e1 | 2017-06-29 16:53:24 -0700 | [diff] [blame] | 2557 | src/core/lib/compression/stream_compression.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2558 | src/core/lib/http/format_request.c |
| 2559 | src/core/lib/http/httpcli.c |
| 2560 | src/core/lib/http/parser.c |
| 2561 | src/core/lib/iomgr/closure.c |
| 2562 | src/core/lib/iomgr/combiner.c |
| 2563 | src/core/lib/iomgr/endpoint.c |
| 2564 | src/core/lib/iomgr/endpoint_pair_posix.c |
| 2565 | src/core/lib/iomgr/endpoint_pair_uv.c |
| 2566 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 2567 | src/core/lib/iomgr/error.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 2568 | src/core/lib/iomgr/ev_epoll1_linux.c |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 2569 | src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 2570 | src/core/lib/iomgr/ev_epoll_thread_pool_linux.c |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 2571 | src/core/lib/iomgr/ev_epollex_linux.c |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 2572 | src/core/lib/iomgr/ev_epollsig_linux.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2573 | src/core/lib/iomgr/ev_poll_posix.c |
| 2574 | src/core/lib/iomgr/ev_posix.c |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 2575 | src/core/lib/iomgr/ev_windows.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2576 | src/core/lib/iomgr/exec_ctx.c |
| 2577 | src/core/lib/iomgr/executor.c |
| 2578 | src/core/lib/iomgr/iocp_windows.c |
| 2579 | src/core/lib/iomgr/iomgr.c |
| 2580 | src/core/lib/iomgr/iomgr_posix.c |
| 2581 | src/core/lib/iomgr/iomgr_uv.c |
| 2582 | src/core/lib/iomgr/iomgr_windows.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 2583 | src/core/lib/iomgr/is_epollexclusive_available.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2584 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 2585 | src/core/lib/iomgr/lockfree_event.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2586 | src/core/lib/iomgr/network_status_tracker.c |
| 2587 | src/core/lib/iomgr/polling_entity.c |
| 2588 | src/core/lib/iomgr/pollset_set_uv.c |
| 2589 | src/core/lib/iomgr/pollset_set_windows.c |
| 2590 | src/core/lib/iomgr/pollset_uv.c |
| 2591 | src/core/lib/iomgr/pollset_windows.c |
| 2592 | src/core/lib/iomgr/resolve_address_posix.c |
| 2593 | src/core/lib/iomgr/resolve_address_uv.c |
| 2594 | src/core/lib/iomgr/resolve_address_windows.c |
| 2595 | src/core/lib/iomgr/resource_quota.c |
| 2596 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 2597 | src/core/lib/iomgr/socket_factory_posix.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2598 | src/core/lib/iomgr/socket_mutator.c |
| 2599 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 2600 | src/core/lib/iomgr/socket_utils_linux.c |
| 2601 | src/core/lib/iomgr/socket_utils_posix.c |
| 2602 | src/core/lib/iomgr/socket_utils_uv.c |
| 2603 | src/core/lib/iomgr/socket_utils_windows.c |
| 2604 | src/core/lib/iomgr/socket_windows.c |
| 2605 | src/core/lib/iomgr/tcp_client_posix.c |
| 2606 | src/core/lib/iomgr/tcp_client_uv.c |
| 2607 | src/core/lib/iomgr/tcp_client_windows.c |
| 2608 | src/core/lib/iomgr/tcp_posix.c |
| 2609 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 2610 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 2611 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 2612 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2613 | src/core/lib/iomgr/tcp_server_uv.c |
| 2614 | src/core/lib/iomgr/tcp_server_windows.c |
| 2615 | src/core/lib/iomgr/tcp_uv.c |
| 2616 | src/core/lib/iomgr/tcp_windows.c |
| 2617 | src/core/lib/iomgr/time_averaged_stats.c |
| 2618 | src/core/lib/iomgr/timer_generic.c |
| 2619 | src/core/lib/iomgr/timer_heap.c |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 2620 | src/core/lib/iomgr/timer_manager.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2621 | src/core/lib/iomgr/timer_uv.c |
| 2622 | src/core/lib/iomgr/udp_server.c |
| 2623 | src/core/lib/iomgr/unix_sockets_posix.c |
| 2624 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
| 2625 | src/core/lib/iomgr/wakeup_fd_cv.c |
| 2626 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 2627 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 2628 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 2629 | src/core/lib/iomgr/wakeup_fd_posix.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2630 | src/core/lib/json/json.c |
| 2631 | src/core/lib/json/json_reader.c |
| 2632 | src/core/lib/json/json_string.c |
| 2633 | src/core/lib/json/json_writer.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2634 | src/core/lib/slice/b64.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2635 | src/core/lib/slice/percent_encoding.c |
| 2636 | src/core/lib/slice/slice.c |
| 2637 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2638 | src/core/lib/slice/slice_hash_table.c |
| 2639 | src/core/lib/slice/slice_intern.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2640 | src/core/lib/slice/slice_string_helpers.c |
| 2641 | src/core/lib/surface/alarm.c |
| 2642 | src/core/lib/surface/api_trace.c |
| 2643 | src/core/lib/surface/byte_buffer.c |
| 2644 | src/core/lib/surface/byte_buffer_reader.c |
| 2645 | src/core/lib/surface/call.c |
| 2646 | src/core/lib/surface/call_details.c |
| 2647 | src/core/lib/surface/call_log_batch.c |
| 2648 | src/core/lib/surface/channel.c |
| 2649 | src/core/lib/surface/channel_init.c |
| 2650 | src/core/lib/surface/channel_ping.c |
| 2651 | src/core/lib/surface/channel_stack_type.c |
| 2652 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 2653 | src/core/lib/surface/completion_queue_factory.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2654 | src/core/lib/surface/event_string.c |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 2655 | src/core/lib/surface/lame_client.cc |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2656 | src/core/lib/surface/metadata_array.c |
| 2657 | src/core/lib/surface/server.c |
| 2658 | src/core/lib/surface/validate_metadata.c |
| 2659 | src/core/lib/surface/version.c |
Craig Tiller | d425712 | 2017-01-13 09:33:57 -0800 | [diff] [blame] | 2660 | src/core/lib/transport/bdp_estimator.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2661 | src/core/lib/transport/byte_stream.c |
| 2662 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2663 | src/core/lib/transport/error_utils.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2664 | src/core/lib/transport/metadata.c |
| 2665 | src/core/lib/transport/metadata_batch.c |
| 2666 | src/core/lib/transport/pid_controller.c |
| 2667 | src/core/lib/transport/service_config.c |
| 2668 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2669 | src/core/lib/transport/status_conversion.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2670 | src/core/lib/transport/timeout_encoding.c |
| 2671 | src/core/lib/transport/transport.c |
| 2672 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 2673 | src/core/lib/debug/trace.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2674 | src/core/ext/transport/chttp2/alpn/alpn.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2675 | src/core/ext/filters/http/client/http_client_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2676 | src/core/ext/filters/http/http_filters_plugin.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 2677 | src/core/ext/filters/http/message_compress/message_compress_filter.c |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 2678 | src/core/ext/filters/http/server/http_server_filter.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2679 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 2680 | src/core/ext/filters/client_channel/client_channel.c |
| 2681 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 2682 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 2683 | src/core/ext/filters/client_channel/connector.c |
| 2684 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 2685 | src/core/ext/filters/client_channel/http_proxy.c |
| 2686 | src/core/ext/filters/client_channel/lb_policy.c |
| 2687 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 2688 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 2689 | src/core/ext/filters/client_channel/parse_address.c |
| 2690 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 2691 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 2692 | src/core/ext/filters/client_channel/resolver.c |
| 2693 | src/core/ext/filters/client_channel/resolver_factory.c |
| 2694 | src/core/ext/filters/client_channel/resolver_registry.c |
| 2695 | src/core/ext/filters/client_channel/retry_throttle.c |
| 2696 | src/core/ext/filters/client_channel/subchannel.c |
| 2697 | src/core/ext/filters/client_channel/subchannel_index.c |
| 2698 | src/core/ext/filters/client_channel/uri_parser.c |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 2699 | src/core/ext/filters/deadline/deadline_filter.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2700 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 2701 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 2702 | src/core/ext/transport/chttp2/server/chttp2_server.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2703 | src/core/ext/census/base_resources.c |
| 2704 | src/core/ext/census/context.c |
| 2705 | src/core/ext/census/gen/census.pb.c |
| 2706 | src/core/ext/census/gen/trace_context.pb.c |
| 2707 | src/core/ext/census/grpc_context.c |
| 2708 | src/core/ext/census/grpc_filter.c |
| 2709 | src/core/ext/census/grpc_plugin.c |
| 2710 | src/core/ext/census/initialize.c |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 2711 | src/core/ext/census/intrusive_hash_map.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2712 | src/core/ext/census/mlog.c |
| 2713 | src/core/ext/census/operation.c |
| 2714 | src/core/ext/census/placeholders.c |
| 2715 | src/core/ext/census/resource.c |
| 2716 | src/core/ext/census/trace_context.c |
| 2717 | src/core/ext/census/tracing.c |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2718 | third_party/nanopb/pb_common.c |
| 2719 | third_party/nanopb/pb_decode.c |
| 2720 | third_party/nanopb/pb_encode.c |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2721 | ) |
| 2722 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2723 | if(WIN32 AND MSVC) |
| 2724 | set_target_properties(grpc++_cronet PROPERTIES COMPILE_PDB_NAME "grpc++_cronet" |
| 2725 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2726 | ) |
| 2727 | if (gRPC_INSTALL) |
| 2728 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2729 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2730 | ) |
| 2731 | endif() |
| 2732 | endif() |
| 2733 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2734 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2735 | target_include_directories(grpc++_cronet |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 2736 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2737 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2738 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2739 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2740 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2741 | PRIVATE ${BENCHMARK}/include |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2742 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2743 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | f1cd449 | 2016-10-25 11:26:17 -0700 | [diff] [blame] | 2744 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2745 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2746 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2747 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2748 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2749 | ) |
| 2750 | |
| 2751 | target_link_libraries(grpc++_cronet |
| 2752 | ${_gRPC_BASELIB_LIBRARIES} |
| 2753 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2754 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2755 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2756 | gpr |
| 2757 | grpc_cronet |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 2758 | grpc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2759 | ) |
| 2760 | |
| 2761 | foreach(_hdr |
| 2762 | include/grpc++/alarm.h |
| 2763 | include/grpc++/channel.h |
| 2764 | include/grpc++/client_context.h |
| 2765 | include/grpc++/completion_queue.h |
| 2766 | include/grpc++/create_channel.h |
| 2767 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2768 | include/grpc++/ext/health_check_service_server_builder_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2769 | include/grpc++/generic/async_generic_service.h |
| 2770 | include/grpc++/generic/generic_stub.h |
| 2771 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2772 | include/grpc++/health_check_service_interface.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2773 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2774 | include/grpc++/impl/channel_argument_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2775 | include/grpc++/impl/client_unary_call.h |
| 2776 | include/grpc++/impl/codegen/core_codegen.h |
| 2777 | include/grpc++/impl/grpc_library.h |
| 2778 | include/grpc++/impl/method_handler_impl.h |
| 2779 | include/grpc++/impl/rpc_method.h |
| 2780 | include/grpc++/impl/rpc_service_method.h |
| 2781 | include/grpc++/impl/serialization_traits.h |
| 2782 | include/grpc++/impl/server_builder_option.h |
| 2783 | include/grpc++/impl/server_builder_plugin.h |
| 2784 | include/grpc++/impl/server_initializer.h |
| 2785 | include/grpc++/impl/service_type.h |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2786 | include/grpc++/resource_quota.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2787 | include/grpc++/security/auth_context.h |
| 2788 | include/grpc++/security/auth_metadata_processor.h |
| 2789 | include/grpc++/security/credentials.h |
| 2790 | include/grpc++/security/server_credentials.h |
| 2791 | include/grpc++/server.h |
| 2792 | include/grpc++/server_builder.h |
| 2793 | include/grpc++/server_context.h |
| 2794 | include/grpc++/server_posix.h |
| 2795 | include/grpc++/support/async_stream.h |
| 2796 | include/grpc++/support/async_unary_call.h |
| 2797 | include/grpc++/support/byte_buffer.h |
| 2798 | include/grpc++/support/channel_arguments.h |
| 2799 | include/grpc++/support/config.h |
| 2800 | include/grpc++/support/slice.h |
| 2801 | include/grpc++/support/status.h |
| 2802 | include/grpc++/support/status_code_enum.h |
| 2803 | include/grpc++/support/string_ref.h |
| 2804 | include/grpc++/support/stub_options.h |
| 2805 | include/grpc++/support/sync_stream.h |
| 2806 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2807 | include/grpc/support/alloc.h |
| 2808 | include/grpc/support/atm.h |
| 2809 | include/grpc/support/atm_gcc_atomic.h |
| 2810 | include/grpc/support/atm_gcc_sync.h |
| 2811 | include/grpc/support/atm_windows.h |
| 2812 | include/grpc/support/avl.h |
| 2813 | include/grpc/support/cmdline.h |
| 2814 | include/grpc/support/cpu.h |
| 2815 | include/grpc/support/histogram.h |
| 2816 | include/grpc/support/host_port.h |
| 2817 | include/grpc/support/log.h |
| 2818 | include/grpc/support/log_windows.h |
| 2819 | include/grpc/support/port_platform.h |
| 2820 | include/grpc/support/string_util.h |
| 2821 | include/grpc/support/subprocess.h |
| 2822 | include/grpc/support/sync.h |
| 2823 | include/grpc/support/sync_generic.h |
| 2824 | include/grpc/support/sync_posix.h |
| 2825 | include/grpc/support/sync_windows.h |
| 2826 | include/grpc/support/thd.h |
| 2827 | include/grpc/support/time.h |
| 2828 | include/grpc/support/tls.h |
| 2829 | include/grpc/support/tls_gcc.h |
| 2830 | include/grpc/support/tls_msvc.h |
| 2831 | include/grpc/support/tls_pthread.h |
| 2832 | include/grpc/support/useful.h |
| 2833 | include/grpc/impl/codegen/atm.h |
| 2834 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2835 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2836 | include/grpc/impl/codegen/atm_windows.h |
| 2837 | include/grpc/impl/codegen/gpr_slice.h |
| 2838 | include/grpc/impl/codegen/gpr_types.h |
| 2839 | include/grpc/impl/codegen/port_platform.h |
| 2840 | include/grpc/impl/codegen/sync.h |
| 2841 | include/grpc/impl/codegen/sync_generic.h |
| 2842 | include/grpc/impl/codegen/sync_posix.h |
| 2843 | include/grpc/impl/codegen/sync_windows.h |
| 2844 | include/grpc/byte_buffer.h |
| 2845 | include/grpc/byte_buffer_reader.h |
| 2846 | include/grpc/compression.h |
| 2847 | include/grpc/grpc.h |
| 2848 | include/grpc/grpc_posix.h |
| 2849 | include/grpc/grpc_security_constants.h |
| 2850 | include/grpc/load_reporting.h |
| 2851 | include/grpc/slice.h |
| 2852 | include/grpc/slice_buffer.h |
| 2853 | include/grpc/status.h |
| 2854 | include/grpc/support/workaround_list.h |
| 2855 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2856 | include/grpc/impl/codegen/compression_types.h |
| 2857 | include/grpc/impl/codegen/connectivity_state.h |
| 2858 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 2859 | include/grpc/impl/codegen/grpc_types.h |
| 2860 | include/grpc/impl/codegen/propagation_bits.h |
| 2861 | include/grpc/impl/codegen/slice.h |
| 2862 | include/grpc/impl/codegen/status.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2863 | include/grpc++/impl/codegen/async_stream.h |
| 2864 | include/grpc++/impl/codegen/async_unary_call.h |
| 2865 | include/grpc++/impl/codegen/call.h |
| 2866 | include/grpc++/impl/codegen/call_hook.h |
| 2867 | include/grpc++/impl/codegen/channel_interface.h |
| 2868 | include/grpc++/impl/codegen/client_context.h |
| 2869 | include/grpc++/impl/codegen/client_unary_call.h |
| 2870 | include/grpc++/impl/codegen/completion_queue.h |
| 2871 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2872 | include/grpc++/impl/codegen/config.h |
| 2873 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2874 | include/grpc++/impl/codegen/create_auth_context.h |
| 2875 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 2876 | include/grpc++/impl/codegen/metadata_map.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2877 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2878 | include/grpc++/impl/codegen/rpc_method.h |
| 2879 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2880 | include/grpc++/impl/codegen/security/auth_context.h |
| 2881 | include/grpc++/impl/codegen/serialization_traits.h |
| 2882 | include/grpc++/impl/codegen/server_context.h |
| 2883 | include/grpc++/impl/codegen/server_interface.h |
| 2884 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2885 | include/grpc++/impl/codegen/slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2886 | include/grpc++/impl/codegen/status.h |
| 2887 | include/grpc++/impl/codegen/status_code_enum.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2888 | include/grpc++/impl/codegen/string_ref.h |
| 2889 | include/grpc++/impl/codegen/stub_options.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2890 | include/grpc++/impl/codegen/sync_stream.h |
| 2891 | include/grpc++/impl/codegen/time.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2892 | include/grpc/census.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2893 | ) |
| 2894 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2895 | get_filename_component(_path ${_path} PATH) |
| 2896 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2897 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2898 | ) |
| 2899 | endforeach() |
| 2900 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2901 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2902 | if (gRPC_INSTALL) |
| 2903 | install(TARGETS grpc++_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2904 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2905 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2906 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2907 | ) |
| 2908 | endif() |
| 2909 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 2910 | |
| 2911 | add_library(grpc++_error_details |
| 2912 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.cc |
| 2913 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.cc |
| 2914 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.h |
| 2915 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.h |
| 2916 | src/cpp/util/error_details.cc |
| 2917 | ) |
| 2918 | |
| 2919 | if(WIN32 AND MSVC) |
| 2920 | set_target_properties(grpc++_error_details PROPERTIES COMPILE_PDB_NAME "grpc++_error_details" |
| 2921 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2922 | ) |
| 2923 | if (gRPC_INSTALL) |
| 2924 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_error_details.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2925 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 2926 | ) |
| 2927 | endif() |
| 2928 | endif() |
| 2929 | |
| 2930 | protobuf_generate_grpc_cpp( |
| 2931 | src/proto/grpc/status/status.proto |
| 2932 | ) |
| 2933 | |
| 2934 | target_include_directories(grpc++_error_details |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 2935 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 2936 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 2937 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2938 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2939 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 2940 | PRIVATE ${BENCHMARK}/include |
| 2941 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 2942 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 2943 | PRIVATE ${CARES_INCLUDE_DIR} |
| 2944 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 2945 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 2946 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2947 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 2948 | ) |
| 2949 | |
| 2950 | target_link_libraries(grpc++_error_details |
| 2951 | ${_gRPC_BASELIB_LIBRARIES} |
| 2952 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2953 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 2954 | grpc++ |
| 2955 | ) |
| 2956 | |
| 2957 | foreach(_hdr |
| 2958 | include/grpc++/support/error_details.h |
| 2959 | ) |
| 2960 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2961 | get_filename_component(_path ${_path} PATH) |
| 2962 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2963 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 2964 | ) |
| 2965 | endforeach() |
| 2966 | |
| 2967 | |
| 2968 | if (gRPC_INSTALL) |
| 2969 | install(TARGETS grpc++_error_details EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2970 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2971 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2972 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 2973 | ) |
| 2974 | endif() |
| 2975 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2976 | if (gRPC_BUILD_TESTS) |
| 2977 | |
| 2978 | add_library(grpc++_proto_reflection_desc_db |
| 2979 | test/cpp/util/proto_reflection_descriptor_database.cc |
| 2980 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 2981 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 2982 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 2983 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 2984 | ) |
| 2985 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2986 | if(WIN32 AND MSVC) |
| 2987 | set_target_properties(grpc++_proto_reflection_desc_db PROPERTIES COMPILE_PDB_NAME "grpc++_proto_reflection_desc_db" |
| 2988 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2989 | ) |
| 2990 | if (gRPC_INSTALL) |
| 2991 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_proto_reflection_desc_db.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2992 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2993 | ) |
| 2994 | endif() |
| 2995 | endif() |
| 2996 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2997 | protobuf_generate_grpc_cpp( |
| 2998 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 2999 | ) |
| 3000 | |
| 3001 | target_include_directories(grpc++_proto_reflection_desc_db |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3002 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3003 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3004 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3005 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3006 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3007 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3008 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3009 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3010 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3011 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3012 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3013 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3014 | PRIVATE third_party/googletest/googletest/include |
| 3015 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3016 | PRIVATE third_party/googletest/googlemock/include |
| 3017 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3018 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3019 | ) |
| 3020 | |
| 3021 | target_link_libraries(grpc++_proto_reflection_desc_db |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3022 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3023 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3024 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3025 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3026 | ) |
| 3027 | |
| 3028 | foreach(_hdr |
| 3029 | include/grpc++/impl/codegen/config_protobuf.h |
| 3030 | ) |
| 3031 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3032 | get_filename_component(_path ${_path} PATH) |
| 3033 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3034 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3035 | ) |
| 3036 | endforeach() |
| 3037 | |
| 3038 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3039 | |
| 3040 | add_library(grpc++_reflection |
| 3041 | src/cpp/ext/proto_server_reflection.cc |
| 3042 | src/cpp/ext/proto_server_reflection_plugin.cc |
| 3043 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3044 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3045 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3046 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3047 | ) |
| 3048 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3049 | if(WIN32 AND MSVC) |
| 3050 | set_target_properties(grpc++_reflection PROPERTIES COMPILE_PDB_NAME "grpc++_reflection" |
| 3051 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3052 | ) |
| 3053 | if (gRPC_INSTALL) |
| 3054 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_reflection.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3055 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3056 | ) |
| 3057 | endif() |
| 3058 | endif() |
| 3059 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3060 | protobuf_generate_grpc_cpp( |
| 3061 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3062 | ) |
| 3063 | |
| 3064 | target_include_directories(grpc++_reflection |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3065 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3066 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3067 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3068 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3069 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3070 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3071 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3072 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3073 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3074 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3075 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3076 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3077 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3078 | ) |
| 3079 | |
| 3080 | target_link_libraries(grpc++_reflection |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3081 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3082 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3083 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3084 | grpc |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3085 | ) |
| 3086 | |
| 3087 | foreach(_hdr |
| 3088 | include/grpc++/ext/proto_server_reflection_plugin.h |
| 3089 | ) |
| 3090 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3091 | get_filename_component(_path ${_path} PATH) |
| 3092 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3093 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3094 | ) |
| 3095 | endforeach() |
| 3096 | |
| 3097 | |
| 3098 | if (gRPC_INSTALL) |
| 3099 | install(TARGETS grpc++_reflection EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3100 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3101 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3102 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3103 | ) |
| 3104 | endif() |
| 3105 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3106 | if (gRPC_BUILD_TESTS) |
| 3107 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3108 | add_library(grpc++_test_config |
| 3109 | test/cpp/util/test_config_cc.cc |
| 3110 | ) |
| 3111 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3112 | if(WIN32 AND MSVC) |
| 3113 | set_target_properties(grpc++_test_config PROPERTIES COMPILE_PDB_NAME "grpc++_test_config" |
| 3114 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3115 | ) |
| 3116 | if (gRPC_INSTALL) |
| 3117 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_config.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3118 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3119 | ) |
| 3120 | endif() |
| 3121 | endif() |
| 3122 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3123 | |
| 3124 | target_include_directories(grpc++_test_config |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3125 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3126 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3127 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3128 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3129 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3130 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3131 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3132 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3133 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3134 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3135 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3136 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3137 | PRIVATE third_party/googletest/googletest/include |
| 3138 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3139 | PRIVATE third_party/googletest/googlemock/include |
| 3140 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3141 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3142 | ) |
| 3143 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3144 | target_link_libraries(grpc++_test_config |
| 3145 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3146 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3147 | ) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3148 | |
| 3149 | |
| 3150 | endif (gRPC_BUILD_TESTS) |
| 3151 | if (gRPC_BUILD_TESTS) |
| 3152 | |
| 3153 | add_library(grpc++_test_util |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3154 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3155 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3156 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3157 | ${_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] | 3158 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3159 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3160 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3161 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3162 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3163 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3164 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3165 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3166 | ${_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] | 3167 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3168 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3169 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3170 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3171 | test/cpp/end2end/test_service_impl.cc |
| 3172 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3173 | test/cpp/util/create_test_channel.cc |
| 3174 | test/cpp/util/string_ref_helper.cc |
| 3175 | test/cpp/util/subprocess.cc |
| 3176 | test/cpp/util/test_credentials_provider.cc |
| 3177 | src/cpp/codegen/codegen_init.cc |
| 3178 | ) |
| 3179 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3180 | if(WIN32 AND MSVC) |
| 3181 | set_target_properties(grpc++_test_util PROPERTIES COMPILE_PDB_NAME "grpc++_test_util" |
| 3182 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3183 | ) |
| 3184 | if (gRPC_INSTALL) |
| 3185 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3186 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3187 | ) |
| 3188 | endif() |
| 3189 | endif() |
| 3190 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3191 | protobuf_generate_grpc_cpp( |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3192 | src/proto/grpc/health/v1/health.proto |
| 3193 | ) |
| 3194 | protobuf_generate_grpc_cpp( |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3195 | src/proto/grpc/testing/echo_messages.proto |
| 3196 | ) |
| 3197 | protobuf_generate_grpc_cpp( |
| 3198 | src/proto/grpc/testing/echo.proto |
| 3199 | ) |
| 3200 | protobuf_generate_grpc_cpp( |
| 3201 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3202 | ) |
| 3203 | |
| 3204 | target_include_directories(grpc++_test_util |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3205 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3206 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3207 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3208 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3209 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3210 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3211 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3212 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3213 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3214 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3215 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3216 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3217 | PRIVATE third_party/googletest/googletest/include |
| 3218 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3219 | PRIVATE third_party/googletest/googlemock/include |
| 3220 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3221 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3222 | ) |
| 3223 | |
| 3224 | target_link_libraries(grpc++_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3225 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3226 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3227 | grpc++ |
| 3228 | grpc_test_util |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3229 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3230 | ) |
| 3231 | |
| 3232 | foreach(_hdr |
| 3233 | include/grpc++/impl/codegen/async_stream.h |
| 3234 | include/grpc++/impl/codegen/async_unary_call.h |
| 3235 | include/grpc++/impl/codegen/call.h |
| 3236 | include/grpc++/impl/codegen/call_hook.h |
| 3237 | include/grpc++/impl/codegen/channel_interface.h |
| 3238 | include/grpc++/impl/codegen/client_context.h |
| 3239 | include/grpc++/impl/codegen/client_unary_call.h |
| 3240 | include/grpc++/impl/codegen/completion_queue.h |
| 3241 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3242 | include/grpc++/impl/codegen/config.h |
| 3243 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3244 | include/grpc++/impl/codegen/create_auth_context.h |
| 3245 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3246 | include/grpc++/impl/codegen/metadata_map.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3247 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3248 | include/grpc++/impl/codegen/rpc_method.h |
| 3249 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3250 | include/grpc++/impl/codegen/security/auth_context.h |
| 3251 | include/grpc++/impl/codegen/serialization_traits.h |
| 3252 | include/grpc++/impl/codegen/server_context.h |
| 3253 | include/grpc++/impl/codegen/server_interface.h |
| 3254 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3255 | include/grpc++/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3256 | include/grpc++/impl/codegen/status.h |
| 3257 | include/grpc++/impl/codegen/status_code_enum.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3258 | include/grpc++/impl/codegen/string_ref.h |
| 3259 | include/grpc++/impl/codegen/stub_options.h |
| 3260 | include/grpc++/impl/codegen/sync_stream.h |
| 3261 | include/grpc++/impl/codegen/time.h |
| 3262 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3263 | include/grpc/impl/codegen/compression_types.h |
| 3264 | include/grpc/impl/codegen/connectivity_state.h |
| 3265 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 3266 | include/grpc/impl/codegen/grpc_types.h |
| 3267 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3268 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3269 | include/grpc/impl/codegen/status.h |
| 3270 | include/grpc/impl/codegen/atm.h |
| 3271 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3272 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3273 | include/grpc/impl/codegen/atm_windows.h |
| 3274 | include/grpc/impl/codegen/gpr_slice.h |
| 3275 | include/grpc/impl/codegen/gpr_types.h |
| 3276 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3277 | include/grpc/impl/codegen/sync.h |
| 3278 | include/grpc/impl/codegen/sync_generic.h |
| 3279 | include/grpc/impl/codegen/sync_posix.h |
| 3280 | include/grpc/impl/codegen/sync_windows.h |
| 3281 | include/grpc++/impl/codegen/proto_utils.h |
| 3282 | include/grpc++/impl/codegen/config_protobuf.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3283 | ) |
| 3284 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3285 | get_filename_component(_path ${_path} PATH) |
| 3286 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3287 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3288 | ) |
| 3289 | endforeach() |
| 3290 | |
| 3291 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3292 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3293 | add_library(grpc++_unsecure |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 3294 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3295 | src/cpp/common/insecure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 3296 | src/cpp/server/insecure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3297 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3298 | src/cpp/client/client_context.cc |
| 3299 | src/cpp/client/create_channel.cc |
| 3300 | src/cpp/client/create_channel_internal.cc |
| 3301 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3302 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3303 | src/cpp/client/generic_stub.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3304 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 3305 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3306 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3307 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 3308 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3309 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 3310 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3311 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 3312 | src/cpp/server/channel_argument_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3313 | src/cpp/server/create_default_thread_pool.cc |
| 3314 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 3315 | src/cpp/server/health/default_health_check_service.cc |
| 3316 | src/cpp/server/health/health.pb.c |
| 3317 | src/cpp/server/health/health_check_service.cc |
| 3318 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3319 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3320 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3321 | src/cpp/server/server_context.cc |
| 3322 | src/cpp/server/server_credentials.cc |
| 3323 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 3324 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3325 | src/cpp/util/byte_buffer_cc.cc |
| 3326 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3327 | src/cpp/util/status.cc |
| 3328 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3329 | src/cpp/util/time_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3330 | src/cpp/codegen/codegen_init.cc |
| 3331 | ) |
| 3332 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3333 | if(WIN32 AND MSVC) |
| 3334 | set_target_properties(grpc++_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_unsecure" |
| 3335 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3336 | ) |
| 3337 | if (gRPC_INSTALL) |
| 3338 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3339 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3340 | ) |
| 3341 | endif() |
| 3342 | endif() |
| 3343 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3344 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3345 | target_include_directories(grpc++_unsecure |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3346 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3347 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3348 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3349 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3350 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3351 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3352 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3353 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 3354 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3355 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3356 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3357 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3358 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3359 | ) |
| 3360 | |
| 3361 | target_link_libraries(grpc++_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3362 | ${_gRPC_BASELIB_LIBRARIES} |
| 3363 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3364 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3365 | gpr |
| 3366 | grpc_unsecure |
| 3367 | ) |
| 3368 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3369 | foreach(_hdr |
| 3370 | include/grpc++/alarm.h |
| 3371 | include/grpc++/channel.h |
| 3372 | include/grpc++/client_context.h |
| 3373 | include/grpc++/completion_queue.h |
| 3374 | include/grpc++/create_channel.h |
| 3375 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 3376 | include/grpc++/ext/health_check_service_server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3377 | include/grpc++/generic/async_generic_service.h |
| 3378 | include/grpc++/generic/generic_stub.h |
| 3379 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 3380 | include/grpc++/health_check_service_interface.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3381 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 3382 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3383 | include/grpc++/impl/client_unary_call.h |
| 3384 | include/grpc++/impl/codegen/core_codegen.h |
| 3385 | include/grpc++/impl/grpc_library.h |
| 3386 | include/grpc++/impl/method_handler_impl.h |
| 3387 | include/grpc++/impl/rpc_method.h |
| 3388 | include/grpc++/impl/rpc_service_method.h |
| 3389 | include/grpc++/impl/serialization_traits.h |
| 3390 | include/grpc++/impl/server_builder_option.h |
| 3391 | include/grpc++/impl/server_builder_plugin.h |
| 3392 | include/grpc++/impl/server_initializer.h |
| 3393 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 3394 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3395 | include/grpc++/security/auth_context.h |
| 3396 | include/grpc++/security/auth_metadata_processor.h |
| 3397 | include/grpc++/security/credentials.h |
| 3398 | include/grpc++/security/server_credentials.h |
| 3399 | include/grpc++/server.h |
| 3400 | include/grpc++/server_builder.h |
| 3401 | include/grpc++/server_context.h |
| 3402 | include/grpc++/server_posix.h |
| 3403 | include/grpc++/support/async_stream.h |
| 3404 | include/grpc++/support/async_unary_call.h |
| 3405 | include/grpc++/support/byte_buffer.h |
| 3406 | include/grpc++/support/channel_arguments.h |
| 3407 | include/grpc++/support/config.h |
| 3408 | include/grpc++/support/slice.h |
| 3409 | include/grpc++/support/status.h |
| 3410 | include/grpc++/support/status_code_enum.h |
| 3411 | include/grpc++/support/string_ref.h |
| 3412 | include/grpc++/support/stub_options.h |
| 3413 | include/grpc++/support/sync_stream.h |
| 3414 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3415 | include/grpc/support/alloc.h |
| 3416 | include/grpc/support/atm.h |
| 3417 | include/grpc/support/atm_gcc_atomic.h |
| 3418 | include/grpc/support/atm_gcc_sync.h |
| 3419 | include/grpc/support/atm_windows.h |
| 3420 | include/grpc/support/avl.h |
| 3421 | include/grpc/support/cmdline.h |
| 3422 | include/grpc/support/cpu.h |
| 3423 | include/grpc/support/histogram.h |
| 3424 | include/grpc/support/host_port.h |
| 3425 | include/grpc/support/log.h |
| 3426 | include/grpc/support/log_windows.h |
| 3427 | include/grpc/support/port_platform.h |
| 3428 | include/grpc/support/string_util.h |
| 3429 | include/grpc/support/subprocess.h |
| 3430 | include/grpc/support/sync.h |
| 3431 | include/grpc/support/sync_generic.h |
| 3432 | include/grpc/support/sync_posix.h |
| 3433 | include/grpc/support/sync_windows.h |
| 3434 | include/grpc/support/thd.h |
| 3435 | include/grpc/support/time.h |
| 3436 | include/grpc/support/tls.h |
| 3437 | include/grpc/support/tls_gcc.h |
| 3438 | include/grpc/support/tls_msvc.h |
| 3439 | include/grpc/support/tls_pthread.h |
| 3440 | include/grpc/support/useful.h |
| 3441 | include/grpc/impl/codegen/atm.h |
| 3442 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3443 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3444 | include/grpc/impl/codegen/atm_windows.h |
| 3445 | include/grpc/impl/codegen/gpr_slice.h |
| 3446 | include/grpc/impl/codegen/gpr_types.h |
| 3447 | include/grpc/impl/codegen/port_platform.h |
| 3448 | include/grpc/impl/codegen/sync.h |
| 3449 | include/grpc/impl/codegen/sync_generic.h |
| 3450 | include/grpc/impl/codegen/sync_posix.h |
| 3451 | include/grpc/impl/codegen/sync_windows.h |
| 3452 | include/grpc/byte_buffer.h |
| 3453 | include/grpc/byte_buffer_reader.h |
| 3454 | include/grpc/compression.h |
| 3455 | include/grpc/grpc.h |
| 3456 | include/grpc/grpc_posix.h |
| 3457 | include/grpc/grpc_security_constants.h |
| 3458 | include/grpc/load_reporting.h |
| 3459 | include/grpc/slice.h |
| 3460 | include/grpc/slice_buffer.h |
| 3461 | include/grpc/status.h |
| 3462 | include/grpc/support/workaround_list.h |
| 3463 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3464 | include/grpc/impl/codegen/compression_types.h |
| 3465 | include/grpc/impl/codegen/connectivity_state.h |
| 3466 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 3467 | include/grpc/impl/codegen/grpc_types.h |
| 3468 | include/grpc/impl/codegen/propagation_bits.h |
| 3469 | include/grpc/impl/codegen/slice.h |
| 3470 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3471 | include/grpc++/impl/codegen/async_stream.h |
| 3472 | include/grpc++/impl/codegen/async_unary_call.h |
| 3473 | include/grpc++/impl/codegen/call.h |
| 3474 | include/grpc++/impl/codegen/call_hook.h |
| 3475 | include/grpc++/impl/codegen/channel_interface.h |
| 3476 | include/grpc++/impl/codegen/client_context.h |
| 3477 | include/grpc++/impl/codegen/client_unary_call.h |
| 3478 | include/grpc++/impl/codegen/completion_queue.h |
| 3479 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3480 | include/grpc++/impl/codegen/config.h |
| 3481 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3482 | include/grpc++/impl/codegen/create_auth_context.h |
| 3483 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3484 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3485 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3486 | include/grpc++/impl/codegen/rpc_method.h |
| 3487 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3488 | include/grpc++/impl/codegen/security/auth_context.h |
| 3489 | include/grpc++/impl/codegen/serialization_traits.h |
| 3490 | include/grpc++/impl/codegen/server_context.h |
| 3491 | include/grpc++/impl/codegen/server_interface.h |
| 3492 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3493 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3494 | include/grpc++/impl/codegen/status.h |
| 3495 | include/grpc++/impl/codegen/status_code_enum.h |
| 3496 | include/grpc++/impl/codegen/string_ref.h |
| 3497 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3498 | include/grpc++/impl/codegen/sync_stream.h |
| 3499 | include/grpc++/impl/codegen/time.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3500 | ) |
| 3501 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3502 | get_filename_component(_path ${_path} PATH) |
| 3503 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3504 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3505 | ) |
| 3506 | endforeach() |
| 3507 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3508 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3509 | if (gRPC_INSTALL) |
| 3510 | install(TARGETS grpc++_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3511 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3512 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3513 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3514 | ) |
| 3515 | endif() |
| 3516 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3517 | if (gRPC_BUILD_TESTS) |
| 3518 | |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3519 | add_library(grpc_benchmark |
Craig Tiller | f09ec59 | 2017-03-03 16:52:37 -0800 | [diff] [blame] | 3520 | test/cpp/microbenchmarks/helpers.cc |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3521 | ) |
| 3522 | |
| 3523 | if(WIN32 AND MSVC) |
| 3524 | set_target_properties(grpc_benchmark PROPERTIES COMPILE_PDB_NAME "grpc_benchmark" |
| 3525 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3526 | ) |
| 3527 | if (gRPC_INSTALL) |
| 3528 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_benchmark.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3529 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3530 | ) |
| 3531 | endif() |
| 3532 | endif() |
| 3533 | |
| 3534 | |
| 3535 | target_include_directories(grpc_benchmark |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3536 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3537 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3538 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3539 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3540 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 3541 | PRIVATE ${BENCHMARK}/include |
| 3542 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3543 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 9bc0d82 | 2017-03-17 13:02:03 -0700 | [diff] [blame] | 3544 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3545 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3546 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3547 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3548 | PRIVATE third_party/googletest/googletest/include |
| 3549 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3550 | PRIVATE third_party/googletest/googlemock/include |
| 3551 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3552 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3553 | ) |
| 3554 | |
| 3555 | target_link_libraries(grpc_benchmark |
| 3556 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3557 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3558 | benchmark |
| 3559 | grpc++ |
Craig Tiller | e067b6e | 2017-03-06 14:46:37 -0800 | [diff] [blame] | 3560 | grpc_test_util |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3561 | grpc |
| 3562 | ${_gRPC_GFLAGS_LIBRARIES} |
| 3563 | ) |
| 3564 | |
| 3565 | |
| 3566 | endif (gRPC_BUILD_TESTS) |
| 3567 | if (gRPC_BUILD_TESTS) |
| 3568 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3569 | add_library(grpc_cli_libs |
| 3570 | test/cpp/util/cli_call.cc |
| 3571 | test/cpp/util/cli_credentials.cc |
| 3572 | test/cpp/util/grpc_tool.cc |
| 3573 | test/cpp/util/proto_file_parser.cc |
| 3574 | test/cpp/util/service_describer.cc |
| 3575 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3576 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3577 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3578 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3579 | ) |
| 3580 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3581 | if(WIN32 AND MSVC) |
| 3582 | set_target_properties(grpc_cli_libs PROPERTIES COMPILE_PDB_NAME "grpc_cli_libs" |
| 3583 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3584 | ) |
| 3585 | if (gRPC_INSTALL) |
| 3586 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cli_libs.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3587 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3588 | ) |
| 3589 | endif() |
| 3590 | endif() |
| 3591 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3592 | protobuf_generate_grpc_cpp( |
| 3593 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3594 | ) |
| 3595 | |
| 3596 | target_include_directories(grpc_cli_libs |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3597 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3598 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3599 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3600 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3601 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3602 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3603 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3604 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3605 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3606 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3607 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3608 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3609 | PRIVATE third_party/googletest/googletest/include |
| 3610 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3611 | PRIVATE third_party/googletest/googlemock/include |
| 3612 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3613 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3614 | ) |
| 3615 | |
| 3616 | target_link_libraries(grpc_cli_libs |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3617 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3618 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3619 | grpc++_proto_reflection_desc_db |
| 3620 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3621 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3622 | ) |
| 3623 | |
| 3624 | foreach(_hdr |
| 3625 | include/grpc++/impl/codegen/config_protobuf.h |
| 3626 | ) |
| 3627 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3628 | get_filename_component(_path ${_path} PATH) |
| 3629 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3630 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3631 | ) |
| 3632 | endforeach() |
| 3633 | |
| 3634 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3635 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3636 | add_library(grpc_plugin_support |
| 3637 | src/compiler/cpp_generator.cc |
| 3638 | src/compiler/csharp_generator.cc |
| 3639 | src/compiler/node_generator.cc |
| 3640 | src/compiler/objective_c_generator.cc |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 3641 | src/compiler/php_generator.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3642 | src/compiler/python_generator.cc |
| 3643 | src/compiler/ruby_generator.cc |
| 3644 | ) |
| 3645 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3646 | if(WIN32 AND MSVC) |
| 3647 | set_target_properties(grpc_plugin_support PROPERTIES COMPILE_PDB_NAME "grpc_plugin_support" |
| 3648 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3649 | ) |
| 3650 | if (gRPC_INSTALL) |
| 3651 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_plugin_support.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3652 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3653 | ) |
| 3654 | endif() |
| 3655 | endif() |
| 3656 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3657 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3658 | target_include_directories(grpc_plugin_support |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3659 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3660 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3661 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3662 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3663 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3664 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3665 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3666 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 3667 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3668 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3669 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3670 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3671 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3672 | ) |
| 3673 | |
| 3674 | target_link_libraries(grpc_plugin_support |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3675 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3676 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3677 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3678 | ) |
| 3679 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3680 | foreach(_hdr |
| 3681 | include/grpc++/impl/codegen/config_protobuf.h |
| 3682 | ) |
| 3683 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3684 | get_filename_component(_path ${_path} PATH) |
| 3685 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3686 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3687 | ) |
| 3688 | endforeach() |
| 3689 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3690 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3691 | if (gRPC_INSTALL) |
| 3692 | install(TARGETS grpc_plugin_support EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3693 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3694 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3695 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3696 | ) |
| 3697 | endif() |
| 3698 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3699 | if (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3700 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3701 | add_library(http2_client_main |
| 3702 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 3703 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 3704 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 3705 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 3706 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3707 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3708 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3709 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3710 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 3711 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 3712 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 3713 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 3714 | test/cpp/interop/http2_client.cc |
| 3715 | ) |
| 3716 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3717 | if(WIN32 AND MSVC) |
| 3718 | set_target_properties(http2_client_main PROPERTIES COMPILE_PDB_NAME "http2_client_main" |
| 3719 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3720 | ) |
| 3721 | if (gRPC_INSTALL) |
| 3722 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/http2_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3723 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3724 | ) |
| 3725 | endif() |
| 3726 | endif() |
| 3727 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3728 | protobuf_generate_grpc_cpp( |
| 3729 | src/proto/grpc/testing/empty.proto |
| 3730 | ) |
| 3731 | protobuf_generate_grpc_cpp( |
| 3732 | src/proto/grpc/testing/messages.proto |
| 3733 | ) |
| 3734 | protobuf_generate_grpc_cpp( |
| 3735 | src/proto/grpc/testing/test.proto |
| 3736 | ) |
| 3737 | |
| 3738 | target_include_directories(http2_client_main |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3739 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3740 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3741 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3742 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3743 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3744 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3745 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3746 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3747 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3748 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3749 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3750 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3751 | PRIVATE third_party/googletest/googletest/include |
| 3752 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3753 | PRIVATE third_party/googletest/googlemock/include |
| 3754 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3755 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3756 | ) |
| 3757 | |
| 3758 | target_link_libraries(http2_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3759 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3760 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3761 | grpc++_test_util |
| 3762 | grpc_test_util |
| 3763 | grpc++ |
| 3764 | grpc |
| 3765 | grpc++_test_config |
| 3766 | ) |
| 3767 | |
| 3768 | |
| 3769 | endif (gRPC_BUILD_TESTS) |
| 3770 | if (gRPC_BUILD_TESTS) |
| 3771 | |
| 3772 | add_library(interop_client_helper |
| 3773 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3774 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3775 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3776 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3777 | test/cpp/interop/client_helper.cc |
| 3778 | ) |
| 3779 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3780 | if(WIN32 AND MSVC) |
| 3781 | set_target_properties(interop_client_helper PROPERTIES COMPILE_PDB_NAME "interop_client_helper" |
| 3782 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3783 | ) |
| 3784 | if (gRPC_INSTALL) |
| 3785 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3786 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3787 | ) |
| 3788 | endif() |
| 3789 | endif() |
| 3790 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3791 | protobuf_generate_grpc_cpp( |
| 3792 | src/proto/grpc/testing/messages.proto |
| 3793 | ) |
| 3794 | |
| 3795 | target_include_directories(interop_client_helper |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3796 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3797 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3798 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3799 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3800 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3801 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3802 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3803 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3804 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3805 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3806 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3807 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3808 | PRIVATE third_party/googletest/googletest/include |
| 3809 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3810 | PRIVATE third_party/googletest/googlemock/include |
| 3811 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3812 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3813 | ) |
| 3814 | |
| 3815 | target_link_libraries(interop_client_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3816 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3817 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3818 | grpc++_test_util |
| 3819 | grpc_test_util |
| 3820 | grpc++ |
| 3821 | grpc |
| 3822 | gpr |
| 3823 | ) |
| 3824 | |
| 3825 | |
| 3826 | endif (gRPC_BUILD_TESTS) |
| 3827 | if (gRPC_BUILD_TESTS) |
| 3828 | |
| 3829 | add_library(interop_client_main |
| 3830 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 3831 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 3832 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 3833 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 3834 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3835 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3836 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3837 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3838 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 3839 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 3840 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 3841 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 3842 | test/cpp/interop/client.cc |
| 3843 | test/cpp/interop/interop_client.cc |
| 3844 | ) |
| 3845 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3846 | if(WIN32 AND MSVC) |
| 3847 | set_target_properties(interop_client_main PROPERTIES COMPILE_PDB_NAME "interop_client_main" |
| 3848 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3849 | ) |
| 3850 | if (gRPC_INSTALL) |
| 3851 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3852 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3853 | ) |
| 3854 | endif() |
| 3855 | endif() |
| 3856 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3857 | protobuf_generate_grpc_cpp( |
| 3858 | src/proto/grpc/testing/empty.proto |
| 3859 | ) |
| 3860 | protobuf_generate_grpc_cpp( |
| 3861 | src/proto/grpc/testing/messages.proto |
| 3862 | ) |
| 3863 | protobuf_generate_grpc_cpp( |
| 3864 | src/proto/grpc/testing/test.proto |
| 3865 | ) |
| 3866 | |
| 3867 | target_include_directories(interop_client_main |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3868 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3869 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3870 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3871 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3872 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3873 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3874 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3875 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3876 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3877 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3878 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3879 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3880 | PRIVATE third_party/googletest/googletest/include |
| 3881 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3882 | PRIVATE third_party/googletest/googlemock/include |
| 3883 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3884 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3885 | ) |
| 3886 | |
| 3887 | target_link_libraries(interop_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3888 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3889 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3890 | interop_client_helper |
| 3891 | grpc++_test_util |
| 3892 | grpc_test_util |
| 3893 | grpc++ |
| 3894 | grpc |
| 3895 | gpr_test_util |
| 3896 | gpr |
| 3897 | grpc++_test_config |
| 3898 | ) |
| 3899 | |
| 3900 | |
| 3901 | endif (gRPC_BUILD_TESTS) |
| 3902 | if (gRPC_BUILD_TESTS) |
| 3903 | |
| 3904 | add_library(interop_server_helper |
| 3905 | test/cpp/interop/server_helper.cc |
| 3906 | ) |
| 3907 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3908 | if(WIN32 AND MSVC) |
| 3909 | set_target_properties(interop_server_helper PROPERTIES COMPILE_PDB_NAME "interop_server_helper" |
| 3910 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3911 | ) |
| 3912 | if (gRPC_INSTALL) |
| 3913 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3914 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3915 | ) |
| 3916 | endif() |
| 3917 | endif() |
| 3918 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3919 | |
| 3920 | target_include_directories(interop_server_helper |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3921 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3922 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3923 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3924 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3925 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3926 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3927 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3928 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3929 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3930 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3931 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3932 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3933 | PRIVATE third_party/googletest/googletest/include |
| 3934 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3935 | PRIVATE third_party/googletest/googlemock/include |
| 3936 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3937 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3938 | ) |
| 3939 | |
| 3940 | target_link_libraries(interop_server_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3941 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3942 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3943 | grpc++_test_util |
| 3944 | grpc_test_util |
| 3945 | grpc++ |
| 3946 | grpc |
| 3947 | gpr |
| 3948 | ) |
| 3949 | |
| 3950 | |
| 3951 | endif (gRPC_BUILD_TESTS) |
| 3952 | if (gRPC_BUILD_TESTS) |
| 3953 | |
| 3954 | add_library(interop_server_lib |
| 3955 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 3956 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 3957 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 3958 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 3959 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3960 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3961 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3962 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3963 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 3964 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 3965 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 3966 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 3967 | test/cpp/interop/interop_server.cc |
| 3968 | ) |
| 3969 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3970 | if(WIN32 AND MSVC) |
| 3971 | set_target_properties(interop_server_lib PROPERTIES COMPILE_PDB_NAME "interop_server_lib" |
| 3972 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3973 | ) |
| 3974 | if (gRPC_INSTALL) |
| 3975 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_lib.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3976 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3977 | ) |
| 3978 | endif() |
| 3979 | endif() |
| 3980 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3981 | protobuf_generate_grpc_cpp( |
| 3982 | src/proto/grpc/testing/empty.proto |
| 3983 | ) |
| 3984 | protobuf_generate_grpc_cpp( |
| 3985 | src/proto/grpc/testing/messages.proto |
| 3986 | ) |
| 3987 | protobuf_generate_grpc_cpp( |
| 3988 | src/proto/grpc/testing/test.proto |
| 3989 | ) |
| 3990 | |
| 3991 | target_include_directories(interop_server_lib |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 3992 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3993 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3994 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3995 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3996 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3997 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3998 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3999 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4000 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4001 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4002 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4003 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4004 | PRIVATE third_party/googletest/googletest/include |
| 4005 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4006 | PRIVATE third_party/googletest/googlemock/include |
| 4007 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4008 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4009 | ) |
| 4010 | |
| 4011 | target_link_libraries(interop_server_lib |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4012 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4013 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4014 | interop_server_helper |
| 4015 | grpc++_test_util |
| 4016 | grpc_test_util |
| 4017 | grpc++ |
| 4018 | grpc |
| 4019 | gpr_test_util |
| 4020 | gpr |
| 4021 | grpc++_test_config |
| 4022 | ) |
| 4023 | |
| 4024 | |
| 4025 | endif (gRPC_BUILD_TESTS) |
| 4026 | if (gRPC_BUILD_TESTS) |
| 4027 | |
| 4028 | add_library(interop_server_main |
| 4029 | test/cpp/interop/interop_server_bootstrap.cc |
| 4030 | ) |
| 4031 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4032 | if(WIN32 AND MSVC) |
| 4033 | set_target_properties(interop_server_main PROPERTIES COMPILE_PDB_NAME "interop_server_main" |
| 4034 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4035 | ) |
| 4036 | if (gRPC_INSTALL) |
| 4037 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4038 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4039 | ) |
| 4040 | endif() |
| 4041 | endif() |
| 4042 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4043 | |
| 4044 | target_include_directories(interop_server_main |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4045 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4046 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4047 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4048 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4049 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4050 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4051 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4052 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4053 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4054 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4055 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4056 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4057 | PRIVATE third_party/googletest/googletest/include |
| 4058 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4059 | PRIVATE third_party/googletest/googlemock/include |
| 4060 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4061 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4062 | ) |
| 4063 | |
| 4064 | target_link_libraries(interop_server_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4065 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4066 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4067 | interop_server_lib |
| 4068 | ) |
| 4069 | |
| 4070 | |
| 4071 | endif (gRPC_BUILD_TESTS) |
| 4072 | if (gRPC_BUILD_TESTS) |
| 4073 | |
| 4074 | add_library(qps |
| 4075 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4076 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4077 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4078 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4079 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 4080 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 4081 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 4082 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 4083 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 4084 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 4085 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 4086 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
| 4087 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 4088 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 4089 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 4090 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 4091 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 4092 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 4093 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 4094 | ${_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] | 4095 | test/cpp/qps/benchmark_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4096 | test/cpp/qps/client_async.cc |
| 4097 | test/cpp/qps/client_sync.cc |
| 4098 | test/cpp/qps/driver.cc |
| 4099 | test/cpp/qps/parse_json.cc |
| 4100 | test/cpp/qps/qps_worker.cc |
| 4101 | test/cpp/qps/report.cc |
| 4102 | test/cpp/qps/server_async.cc |
| 4103 | test/cpp/qps/server_sync.cc |
| 4104 | test/cpp/qps/usage_timer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4105 | ) |
| 4106 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4107 | if(WIN32 AND MSVC) |
| 4108 | set_target_properties(qps PROPERTIES COMPILE_PDB_NAME "qps" |
| 4109 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4110 | ) |
| 4111 | if (gRPC_INSTALL) |
| 4112 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qps.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4113 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4114 | ) |
| 4115 | endif() |
| 4116 | endif() |
| 4117 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4118 | protobuf_generate_grpc_cpp( |
| 4119 | src/proto/grpc/testing/messages.proto |
| 4120 | ) |
| 4121 | protobuf_generate_grpc_cpp( |
| 4122 | src/proto/grpc/testing/payloads.proto |
| 4123 | ) |
| 4124 | protobuf_generate_grpc_cpp( |
| 4125 | src/proto/grpc/testing/stats.proto |
| 4126 | ) |
| 4127 | protobuf_generate_grpc_cpp( |
| 4128 | src/proto/grpc/testing/control.proto |
| 4129 | ) |
| 4130 | protobuf_generate_grpc_cpp( |
| 4131 | src/proto/grpc/testing/services.proto |
| 4132 | ) |
| 4133 | |
| 4134 | target_include_directories(qps |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4135 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4136 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4137 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4138 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4139 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4140 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4141 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4142 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4143 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4144 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4145 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4146 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4147 | PRIVATE third_party/googletest/googletest/include |
| 4148 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4149 | PRIVATE third_party/googletest/googlemock/include |
| 4150 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4151 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4152 | ) |
| 4153 | |
| 4154 | target_link_libraries(qps |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4155 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4156 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4157 | grpc_test_util |
| 4158 | grpc++_test_util |
| 4159 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 4160 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4161 | ) |
| 4162 | |
| 4163 | |
| 4164 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4165 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 4166 | add_library(grpc_csharp_ext SHARED |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4167 | src/csharp/ext/grpc_csharp_ext.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4168 | ) |
| 4169 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4170 | if(WIN32 AND MSVC) |
| 4171 | set_target_properties(grpc_csharp_ext PROPERTIES COMPILE_PDB_NAME "grpc_csharp_ext" |
| 4172 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4173 | ) |
| 4174 | if (gRPC_INSTALL) |
| 4175 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_csharp_ext.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4176 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4177 | ) |
| 4178 | endif() |
| 4179 | endif() |
| 4180 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4181 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4182 | target_include_directories(grpc_csharp_ext |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4183 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4184 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4185 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4186 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4187 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4188 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4189 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4190 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4191 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4192 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4193 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4194 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4195 | ) |
| 4196 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4197 | target_link_libraries(grpc_csharp_ext |
| 4198 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4199 | grpc |
| 4200 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4201 | ) |
| 4202 | |
| 4203 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4204 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4205 | if (gRPC_INSTALL) |
| 4206 | install(TARGETS grpc_csharp_ext EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4207 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4208 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4209 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4210 | ) |
| 4211 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4212 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4213 | if (gRPC_BUILD_TESTS) |
| 4214 | |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4215 | add_library(ares |
Yuchen Zeng | 6694bb0 | 2017-01-23 17:09:51 -0800 | [diff] [blame] | 4216 | third_party/cares/cares/ares__close_sockets.c |
| 4217 | third_party/cares/cares/ares__get_hostent.c |
| 4218 | third_party/cares/cares/ares__read_line.c |
| 4219 | third_party/cares/cares/ares__timeval.c |
| 4220 | third_party/cares/cares/ares_cancel.c |
| 4221 | third_party/cares/cares/ares_create_query.c |
| 4222 | third_party/cares/cares/ares_data.c |
| 4223 | third_party/cares/cares/ares_destroy.c |
| 4224 | third_party/cares/cares/ares_expand_name.c |
| 4225 | third_party/cares/cares/ares_expand_string.c |
| 4226 | third_party/cares/cares/ares_fds.c |
| 4227 | third_party/cares/cares/ares_free_hostent.c |
| 4228 | third_party/cares/cares/ares_free_string.c |
| 4229 | third_party/cares/cares/ares_getenv.c |
| 4230 | third_party/cares/cares/ares_gethostbyaddr.c |
| 4231 | third_party/cares/cares/ares_gethostbyname.c |
| 4232 | third_party/cares/cares/ares_getnameinfo.c |
| 4233 | third_party/cares/cares/ares_getopt.c |
| 4234 | third_party/cares/cares/ares_getsock.c |
| 4235 | third_party/cares/cares/ares_init.c |
| 4236 | third_party/cares/cares/ares_library_init.c |
| 4237 | third_party/cares/cares/ares_llist.c |
| 4238 | third_party/cares/cares/ares_mkquery.c |
| 4239 | third_party/cares/cares/ares_nowarn.c |
| 4240 | third_party/cares/cares/ares_options.c |
| 4241 | third_party/cares/cares/ares_parse_a_reply.c |
| 4242 | third_party/cares/cares/ares_parse_aaaa_reply.c |
| 4243 | third_party/cares/cares/ares_parse_mx_reply.c |
| 4244 | third_party/cares/cares/ares_parse_naptr_reply.c |
| 4245 | third_party/cares/cares/ares_parse_ns_reply.c |
| 4246 | third_party/cares/cares/ares_parse_ptr_reply.c |
| 4247 | third_party/cares/cares/ares_parse_soa_reply.c |
| 4248 | third_party/cares/cares/ares_parse_srv_reply.c |
| 4249 | third_party/cares/cares/ares_parse_txt_reply.c |
| 4250 | third_party/cares/cares/ares_platform.c |
| 4251 | third_party/cares/cares/ares_process.c |
| 4252 | third_party/cares/cares/ares_query.c |
| 4253 | third_party/cares/cares/ares_search.c |
| 4254 | third_party/cares/cares/ares_send.c |
| 4255 | third_party/cares/cares/ares_strcasecmp.c |
| 4256 | third_party/cares/cares/ares_strdup.c |
| 4257 | third_party/cares/cares/ares_strerror.c |
| 4258 | third_party/cares/cares/ares_timeout.c |
| 4259 | third_party/cares/cares/ares_version.c |
| 4260 | third_party/cares/cares/ares_writev.c |
| 4261 | third_party/cares/cares/bitncmp.c |
| 4262 | third_party/cares/cares/inet_net_pton.c |
| 4263 | third_party/cares/cares/inet_ntop.c |
| 4264 | third_party/cares/cares/windows_port.c |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4265 | ) |
| 4266 | |
Yuchen Zeng | 2c97708 | 2017-02-27 13:35:41 -0800 | [diff] [blame] | 4267 | if(WIN32 AND MSVC) |
| 4268 | set_target_properties(ares PROPERTIES COMPILE_PDB_NAME "ares" |
| 4269 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4270 | ) |
| 4271 | if (gRPC_INSTALL) |
| 4272 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ares.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4273 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Yuchen Zeng | 2c97708 | 2017-02-27 13:35:41 -0800 | [diff] [blame] | 4274 | ) |
| 4275 | endif() |
| 4276 | endif() |
| 4277 | |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4278 | |
| 4279 | target_include_directories(ares |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4280 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4281 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4282 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4283 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4284 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Yuchen Zeng | 1492f6c | 2017-02-02 12:42:54 -0800 | [diff] [blame] | 4285 | PRIVATE ${BENCHMARK}/include |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4286 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4287 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4288 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4289 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4290 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4291 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4292 | ) |
| 4293 | |
| 4294 | target_link_libraries(ares |
| 4295 | ${_gRPC_SSL_LIBRARIES} |
Yuchen Zeng | 1492f6c | 2017-02-02 12:42:54 -0800 | [diff] [blame] | 4296 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4297 | ) |
| 4298 | |
| 4299 | |
| 4300 | endif (gRPC_BUILD_TESTS) |
| 4301 | if (gRPC_BUILD_TESTS) |
| 4302 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4303 | add_library(bad_client_test |
| 4304 | test/core/bad_client/bad_client.c |
| 4305 | ) |
| 4306 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4307 | if(WIN32 AND MSVC) |
| 4308 | set_target_properties(bad_client_test PROPERTIES COMPILE_PDB_NAME "bad_client_test" |
| 4309 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4310 | ) |
| 4311 | if (gRPC_INSTALL) |
| 4312 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_client_test.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4313 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4314 | ) |
| 4315 | endif() |
| 4316 | endif() |
| 4317 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4318 | |
| 4319 | target_include_directories(bad_client_test |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4320 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4321 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4322 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4323 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4324 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4325 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4326 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4327 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4328 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4329 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4330 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4331 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4332 | ) |
| 4333 | |
| 4334 | target_link_libraries(bad_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4335 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4336 | grpc_test_util_unsecure |
| 4337 | grpc_unsecure |
| 4338 | gpr_test_util |
| 4339 | gpr |
| 4340 | ) |
| 4341 | |
| 4342 | |
| 4343 | endif (gRPC_BUILD_TESTS) |
| 4344 | if (gRPC_BUILD_TESTS) |
| 4345 | |
| 4346 | add_library(bad_ssl_test_server |
| 4347 | test/core/bad_ssl/server_common.c |
| 4348 | ) |
| 4349 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4350 | if(WIN32 AND MSVC) |
| 4351 | set_target_properties(bad_ssl_test_server PROPERTIES COMPILE_PDB_NAME "bad_ssl_test_server" |
| 4352 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4353 | ) |
| 4354 | if (gRPC_INSTALL) |
| 4355 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_ssl_test_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4356 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4357 | ) |
| 4358 | endif() |
| 4359 | endif() |
| 4360 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4361 | |
| 4362 | target_include_directories(bad_ssl_test_server |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4363 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4364 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4365 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4366 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4367 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4368 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4369 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4370 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4371 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4372 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4373 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4374 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4375 | ) |
| 4376 | |
| 4377 | target_link_libraries(bad_ssl_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4378 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4379 | grpc_test_util |
| 4380 | grpc |
| 4381 | gpr_test_util |
| 4382 | gpr |
| 4383 | ) |
| 4384 | |
| 4385 | |
| 4386 | endif (gRPC_BUILD_TESTS) |
| 4387 | if (gRPC_BUILD_TESTS) |
| 4388 | |
| 4389 | add_library(end2end_tests |
| 4390 | test/core/end2end/end2end_tests.c |
| 4391 | test/core/end2end/end2end_test_utils.c |
| 4392 | test/core/end2end/tests/authority_not_supported.c |
| 4393 | test/core/end2end/tests/bad_hostname.c |
Yuchen Zeng | af5c505 | 2017-02-28 16:24:00 -0800 | [diff] [blame] | 4394 | test/core/end2end/tests/bad_ping.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4395 | test/core/end2end/tests/binary_metadata.c |
| 4396 | test/core/end2end/tests/call_creds.c |
| 4397 | test/core/end2end/tests/cancel_after_accept.c |
| 4398 | test/core/end2end/tests/cancel_after_client_done.c |
| 4399 | test/core/end2end/tests/cancel_after_invoke.c |
Muxi Yan | d19c112 | 2017-06-23 17:00:20 -0700 | [diff] [blame] | 4400 | test/core/end2end/tests/cancel_after_round_trip.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4401 | test/core/end2end/tests/cancel_before_invoke.c |
| 4402 | test/core/end2end/tests/cancel_in_a_vacuum.c |
| 4403 | test/core/end2end/tests/cancel_with_status.c |
| 4404 | test/core/end2end/tests/compressed_payload.c |
| 4405 | test/core/end2end/tests/connectivity.c |
| 4406 | test/core/end2end/tests/default_host.c |
| 4407 | test/core/end2end/tests/disappearing_server.c |
| 4408 | test/core/end2end/tests/empty_batch.c |
| 4409 | test/core/end2end/tests/filter_call_init_fails.c |
| 4410 | test/core/end2end/tests/filter_causes_close.c |
| 4411 | test/core/end2end/tests/filter_latency.c |
| 4412 | test/core/end2end/tests/graceful_server_shutdown.c |
| 4413 | test/core/end2end/tests/high_initial_seqno.c |
| 4414 | test/core/end2end/tests/hpack_size.c |
| 4415 | test/core/end2end/tests/idempotent_request.c |
| 4416 | test/core/end2end/tests/invoke_large_request.c |
Yuchen Zeng | 990d9fe | 2017-02-26 16:54:18 -0800 | [diff] [blame] | 4417 | test/core/end2end/tests/keepalive_timeout.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4418 | test/core/end2end/tests/large_metadata.c |
| 4419 | test/core/end2end/tests/load_reporting_hook.c |
| 4420 | test/core/end2end/tests/max_concurrent_streams.c |
Yuchen Zeng | 22321fc | 2017-03-28 19:10:09 -0700 | [diff] [blame] | 4421 | test/core/end2end/tests/max_connection_age.c |
Yuchen Zeng | b2caafc | 2017-03-29 01:54:08 -0700 | [diff] [blame] | 4422 | test/core/end2end/tests/max_connection_idle.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4423 | test/core/end2end/tests/max_message_length.c |
| 4424 | test/core/end2end/tests/negative_deadline.c |
| 4425 | test/core/end2end/tests/network_status_change.c |
| 4426 | test/core/end2end/tests/no_logging.c |
| 4427 | test/core/end2end/tests/no_op.c |
| 4428 | test/core/end2end/tests/payload.c |
| 4429 | test/core/end2end/tests/ping.c |
| 4430 | test/core/end2end/tests/ping_pong_streaming.c |
Yash Tibrewal | c62ce80 | 2017-07-20 16:48:01 -0700 | [diff] [blame] | 4431 | test/core/end2end/tests/proxy_auth.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4432 | test/core/end2end/tests/registered_call.c |
| 4433 | test/core/end2end/tests/request_with_flags.c |
| 4434 | test/core/end2end/tests/request_with_payload.c |
| 4435 | test/core/end2end/tests/resource_quota_server.c |
| 4436 | test/core/end2end/tests/server_finishes_request.c |
| 4437 | test/core/end2end/tests/shutdown_finishes_calls.c |
| 4438 | test/core/end2end/tests/shutdown_finishes_tags.c |
| 4439 | test/core/end2end/tests/simple_cacheable_request.c |
| 4440 | test/core/end2end/tests/simple_delayed_request.c |
| 4441 | test/core/end2end/tests/simple_metadata.c |
| 4442 | test/core/end2end/tests/simple_request.c |
| 4443 | test/core/end2end/tests/streaming_error_response.c |
| 4444 | test/core/end2end/tests/trailing_metadata.c |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 4445 | test/core/end2end/tests/workaround_cronet_compression.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4446 | test/core/end2end/tests/write_buffering.c |
| 4447 | test/core/end2end/tests/write_buffering_at_end.c |
| 4448 | ) |
| 4449 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4450 | if(WIN32 AND MSVC) |
| 4451 | set_target_properties(end2end_tests PROPERTIES COMPILE_PDB_NAME "end2end_tests" |
| 4452 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4453 | ) |
| 4454 | if (gRPC_INSTALL) |
| 4455 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4456 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4457 | ) |
| 4458 | endif() |
| 4459 | endif() |
| 4460 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4461 | |
| 4462 | target_include_directories(end2end_tests |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4463 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4464 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4465 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4466 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4467 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4468 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4469 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4470 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4471 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4472 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4473 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4474 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4475 | ) |
| 4476 | |
| 4477 | target_link_libraries(end2end_tests |
| 4478 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4479 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4480 | grpc_test_util |
| 4481 | grpc |
| 4482 | gpr_test_util |
| 4483 | gpr |
| 4484 | ) |
| 4485 | |
| 4486 | |
| 4487 | endif (gRPC_BUILD_TESTS) |
| 4488 | if (gRPC_BUILD_TESTS) |
| 4489 | |
| 4490 | add_library(end2end_nosec_tests |
| 4491 | test/core/end2end/end2end_nosec_tests.c |
| 4492 | test/core/end2end/end2end_test_utils.c |
| 4493 | test/core/end2end/tests/authority_not_supported.c |
| 4494 | test/core/end2end/tests/bad_hostname.c |
Yuchen Zeng | af5c505 | 2017-02-28 16:24:00 -0800 | [diff] [blame] | 4495 | test/core/end2end/tests/bad_ping.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4496 | test/core/end2end/tests/binary_metadata.c |
| 4497 | test/core/end2end/tests/cancel_after_accept.c |
| 4498 | test/core/end2end/tests/cancel_after_client_done.c |
| 4499 | test/core/end2end/tests/cancel_after_invoke.c |
Muxi Yan | d19c112 | 2017-06-23 17:00:20 -0700 | [diff] [blame] | 4500 | test/core/end2end/tests/cancel_after_round_trip.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4501 | test/core/end2end/tests/cancel_before_invoke.c |
| 4502 | test/core/end2end/tests/cancel_in_a_vacuum.c |
| 4503 | test/core/end2end/tests/cancel_with_status.c |
| 4504 | test/core/end2end/tests/compressed_payload.c |
| 4505 | test/core/end2end/tests/connectivity.c |
| 4506 | test/core/end2end/tests/default_host.c |
| 4507 | test/core/end2end/tests/disappearing_server.c |
| 4508 | test/core/end2end/tests/empty_batch.c |
| 4509 | test/core/end2end/tests/filter_call_init_fails.c |
| 4510 | test/core/end2end/tests/filter_causes_close.c |
| 4511 | test/core/end2end/tests/filter_latency.c |
| 4512 | test/core/end2end/tests/graceful_server_shutdown.c |
| 4513 | test/core/end2end/tests/high_initial_seqno.c |
| 4514 | test/core/end2end/tests/hpack_size.c |
| 4515 | test/core/end2end/tests/idempotent_request.c |
| 4516 | test/core/end2end/tests/invoke_large_request.c |
Yuchen Zeng | 990d9fe | 2017-02-26 16:54:18 -0800 | [diff] [blame] | 4517 | test/core/end2end/tests/keepalive_timeout.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4518 | test/core/end2end/tests/large_metadata.c |
| 4519 | test/core/end2end/tests/load_reporting_hook.c |
| 4520 | test/core/end2end/tests/max_concurrent_streams.c |
Yuchen Zeng | 22321fc | 2017-03-28 19:10:09 -0700 | [diff] [blame] | 4521 | test/core/end2end/tests/max_connection_age.c |
Yuchen Zeng | b2caafc | 2017-03-29 01:54:08 -0700 | [diff] [blame] | 4522 | test/core/end2end/tests/max_connection_idle.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4523 | test/core/end2end/tests/max_message_length.c |
| 4524 | test/core/end2end/tests/negative_deadline.c |
| 4525 | test/core/end2end/tests/network_status_change.c |
| 4526 | test/core/end2end/tests/no_logging.c |
| 4527 | test/core/end2end/tests/no_op.c |
| 4528 | test/core/end2end/tests/payload.c |
| 4529 | test/core/end2end/tests/ping.c |
| 4530 | test/core/end2end/tests/ping_pong_streaming.c |
Yash Tibrewal | c62ce80 | 2017-07-20 16:48:01 -0700 | [diff] [blame] | 4531 | test/core/end2end/tests/proxy_auth.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4532 | test/core/end2end/tests/registered_call.c |
| 4533 | test/core/end2end/tests/request_with_flags.c |
| 4534 | test/core/end2end/tests/request_with_payload.c |
| 4535 | test/core/end2end/tests/resource_quota_server.c |
| 4536 | test/core/end2end/tests/server_finishes_request.c |
| 4537 | test/core/end2end/tests/shutdown_finishes_calls.c |
| 4538 | test/core/end2end/tests/shutdown_finishes_tags.c |
| 4539 | test/core/end2end/tests/simple_cacheable_request.c |
| 4540 | test/core/end2end/tests/simple_delayed_request.c |
| 4541 | test/core/end2end/tests/simple_metadata.c |
| 4542 | test/core/end2end/tests/simple_request.c |
| 4543 | test/core/end2end/tests/streaming_error_response.c |
| 4544 | test/core/end2end/tests/trailing_metadata.c |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 4545 | test/core/end2end/tests/workaround_cronet_compression.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4546 | test/core/end2end/tests/write_buffering.c |
| 4547 | test/core/end2end/tests/write_buffering_at_end.c |
| 4548 | ) |
| 4549 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4550 | if(WIN32 AND MSVC) |
| 4551 | set_target_properties(end2end_nosec_tests PROPERTIES COMPILE_PDB_NAME "end2end_nosec_tests" |
| 4552 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4553 | ) |
| 4554 | if (gRPC_INSTALL) |
| 4555 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_nosec_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4556 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4557 | ) |
| 4558 | endif() |
| 4559 | endif() |
| 4560 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4561 | |
| 4562 | target_include_directories(end2end_nosec_tests |
Jan Tattermusch | 456b713 | 2017-06-20 13:21:27 +0200 | [diff] [blame] | 4563 | PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4564 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4565 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4566 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4567 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4568 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4569 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4570 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4571 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4572 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4573 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4574 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4575 | ) |
| 4576 | |
| 4577 | target_link_libraries(end2end_nosec_tests |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4578 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4579 | grpc_test_util_unsecure |
| 4580 | grpc_unsecure |
| 4581 | gpr_test_util |
| 4582 | gpr |
| 4583 | ) |
| 4584 | |
| 4585 | |
| 4586 | endif (gRPC_BUILD_TESTS) |
| 4587 | |
| 4588 | if (gRPC_BUILD_TESTS) |
| 4589 | |
| 4590 | add_executable(alarm_test |
| 4591 | test/core/surface/alarm_test.c |
| 4592 | ) |
| 4593 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4594 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4595 | target_include_directories(alarm_test |
| 4596 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4597 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4598 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4599 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4600 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4601 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4602 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4603 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4604 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4605 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4606 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4607 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4608 | ) |
| 4609 | |
| 4610 | target_link_libraries(alarm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4611 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4612 | grpc_test_util |
| 4613 | grpc |
| 4614 | gpr_test_util |
| 4615 | gpr |
| 4616 | ) |
| 4617 | |
| 4618 | endif (gRPC_BUILD_TESTS) |
| 4619 | if (gRPC_BUILD_TESTS) |
| 4620 | |
| 4621 | add_executable(algorithm_test |
| 4622 | test/core/compression/algorithm_test.c |
| 4623 | ) |
| 4624 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4625 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4626 | target_include_directories(algorithm_test |
| 4627 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4628 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4629 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4630 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4631 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4632 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4633 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4634 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4635 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4636 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4637 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4638 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4639 | ) |
| 4640 | |
| 4641 | target_link_libraries(algorithm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4642 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4643 | grpc_test_util |
| 4644 | grpc |
| 4645 | gpr_test_util |
| 4646 | gpr |
| 4647 | ) |
| 4648 | |
| 4649 | endif (gRPC_BUILD_TESTS) |
| 4650 | if (gRPC_BUILD_TESTS) |
| 4651 | |
| 4652 | add_executable(alloc_test |
| 4653 | test/core/support/alloc_test.c |
| 4654 | ) |
| 4655 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4656 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4657 | target_include_directories(alloc_test |
| 4658 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4659 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4660 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4661 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4662 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4663 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4664 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4665 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4666 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4667 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4668 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4669 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4670 | ) |
| 4671 | |
| 4672 | target_link_libraries(alloc_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4673 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4674 | gpr_test_util |
| 4675 | gpr |
| 4676 | ) |
| 4677 | |
| 4678 | endif (gRPC_BUILD_TESTS) |
| 4679 | if (gRPC_BUILD_TESTS) |
| 4680 | |
| 4681 | add_executable(alpn_test |
| 4682 | test/core/transport/chttp2/alpn_test.c |
| 4683 | ) |
| 4684 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4685 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4686 | target_include_directories(alpn_test |
| 4687 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4688 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4689 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4690 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4691 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4692 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4693 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4694 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4695 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4696 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4697 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4698 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4699 | ) |
| 4700 | |
| 4701 | target_link_libraries(alpn_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4702 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4703 | grpc_test_util |
| 4704 | grpc |
| 4705 | gpr_test_util |
| 4706 | gpr |
| 4707 | ) |
| 4708 | |
| 4709 | endif (gRPC_BUILD_TESTS) |
| 4710 | if (gRPC_BUILD_TESTS) |
| 4711 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4712 | add_executable(arena_test |
| 4713 | test/core/support/arena_test.c |
| 4714 | ) |
| 4715 | |
| 4716 | |
| 4717 | target_include_directories(arena_test |
| 4718 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4719 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4720 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4721 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4722 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 4723 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4724 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4725 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4726 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4727 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4728 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4729 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4730 | ) |
| 4731 | |
| 4732 | target_link_libraries(arena_test |
| 4733 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4734 | gpr_test_util |
| 4735 | gpr |
| 4736 | ) |
| 4737 | |
| 4738 | endif (gRPC_BUILD_TESTS) |
| 4739 | if (gRPC_BUILD_TESTS) |
| 4740 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4741 | add_executable(bad_server_response_test |
| 4742 | test/core/end2end/bad_server_response_test.c |
| 4743 | ) |
| 4744 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4745 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4746 | target_include_directories(bad_server_response_test |
| 4747 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4748 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4749 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4750 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4751 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4752 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4753 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4754 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4755 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4756 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4757 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4758 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4759 | ) |
| 4760 | |
| 4761 | target_link_libraries(bad_server_response_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4762 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4763 | test_tcp_server |
| 4764 | grpc_test_util |
| 4765 | grpc |
| 4766 | gpr_test_util |
| 4767 | gpr |
| 4768 | ) |
| 4769 | |
| 4770 | endif (gRPC_BUILD_TESTS) |
| 4771 | if (gRPC_BUILD_TESTS) |
| 4772 | |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 4773 | add_executable(bdp_estimator_test |
| 4774 | test/core/transport/bdp_estimator_test.c |
| 4775 | ) |
| 4776 | |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 4777 | |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 4778 | target_include_directories(bdp_estimator_test |
| 4779 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4780 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4781 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4782 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 4783 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 4784 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4785 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4786 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4787 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4788 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4789 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 4790 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4791 | ) |
| 4792 | |
| 4793 | target_link_libraries(bdp_estimator_test |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 4794 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 4795 | grpc_test_util |
| 4796 | grpc |
| 4797 | gpr_test_util |
| 4798 | gpr |
| 4799 | ) |
| 4800 | |
| 4801 | endif (gRPC_BUILD_TESTS) |
| 4802 | if (gRPC_BUILD_TESTS) |
| 4803 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4804 | add_executable(bin_decoder_test |
| 4805 | test/core/transport/chttp2/bin_decoder_test.c |
| 4806 | ) |
| 4807 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4808 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4809 | target_include_directories(bin_decoder_test |
| 4810 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4811 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4812 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4813 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4814 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4815 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4816 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4817 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4818 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4819 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4820 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4821 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4822 | ) |
| 4823 | |
| 4824 | target_link_libraries(bin_decoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4825 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4826 | grpc_test_util |
| 4827 | grpc |
| 4828 | ) |
| 4829 | |
| 4830 | endif (gRPC_BUILD_TESTS) |
| 4831 | if (gRPC_BUILD_TESTS) |
| 4832 | |
| 4833 | add_executable(bin_encoder_test |
| 4834 | test/core/transport/chttp2/bin_encoder_test.c |
| 4835 | ) |
| 4836 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4837 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4838 | target_include_directories(bin_encoder_test |
| 4839 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4840 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4841 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4842 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4843 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4844 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4845 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4846 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4847 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4848 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4849 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4850 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4851 | ) |
| 4852 | |
| 4853 | target_link_libraries(bin_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4854 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4855 | grpc_test_util |
| 4856 | grpc |
| 4857 | ) |
| 4858 | |
| 4859 | endif (gRPC_BUILD_TESTS) |
| 4860 | if (gRPC_BUILD_TESTS) |
| 4861 | |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 4862 | add_executable(byte_stream_test |
| 4863 | test/core/transport/byte_stream_test.c |
| 4864 | ) |
| 4865 | |
| 4866 | |
| 4867 | target_include_directories(byte_stream_test |
| 4868 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4869 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4870 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4871 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4872 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 4873 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4874 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4875 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 4876 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4877 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4878 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 4879 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4880 | ) |
| 4881 | |
| 4882 | target_link_libraries(byte_stream_test |
| 4883 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4884 | grpc_test_util |
| 4885 | grpc |
| 4886 | gpr_test_util |
| 4887 | gpr |
| 4888 | ) |
| 4889 | |
| 4890 | endif (gRPC_BUILD_TESTS) |
| 4891 | if (gRPC_BUILD_TESTS) |
| 4892 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4893 | add_executable(census_context_test |
| 4894 | test/core/census/context_test.c |
| 4895 | ) |
| 4896 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4897 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4898 | target_include_directories(census_context_test |
| 4899 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4900 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4901 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4902 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4903 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4904 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4905 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4906 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4907 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4908 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4909 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4910 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4911 | ) |
| 4912 | |
| 4913 | target_link_libraries(census_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4914 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4915 | grpc_test_util |
| 4916 | grpc |
| 4917 | gpr_test_util |
| 4918 | gpr |
| 4919 | ) |
| 4920 | |
| 4921 | endif (gRPC_BUILD_TESTS) |
| 4922 | if (gRPC_BUILD_TESTS) |
| 4923 | |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 4924 | add_executable(census_intrusive_hash_map_test |
| 4925 | test/core/census/intrusive_hash_map_test.c |
| 4926 | ) |
| 4927 | |
| 4928 | |
| 4929 | target_include_directories(census_intrusive_hash_map_test |
| 4930 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4931 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4932 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4933 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4934 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 4935 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4936 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4937 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 4938 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4939 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4940 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 4941 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4942 | ) |
| 4943 | |
| 4944 | target_link_libraries(census_intrusive_hash_map_test |
| 4945 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4946 | grpc_test_util |
| 4947 | grpc |
| 4948 | gpr_test_util |
| 4949 | gpr |
| 4950 | ) |
| 4951 | |
| 4952 | endif (gRPC_BUILD_TESTS) |
| 4953 | if (gRPC_BUILD_TESTS) |
| 4954 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4955 | add_executable(census_resource_test |
| 4956 | test/core/census/resource_test.c |
| 4957 | ) |
| 4958 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4959 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4960 | target_include_directories(census_resource_test |
| 4961 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4962 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4963 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4964 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4965 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4966 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4967 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4968 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4969 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4970 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4971 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4972 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4973 | ) |
| 4974 | |
| 4975 | target_link_libraries(census_resource_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4976 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4977 | grpc_test_util |
| 4978 | grpc |
| 4979 | gpr_test_util |
| 4980 | gpr |
| 4981 | ) |
| 4982 | |
| 4983 | endif (gRPC_BUILD_TESTS) |
| 4984 | if (gRPC_BUILD_TESTS) |
| 4985 | |
| 4986 | add_executable(census_trace_context_test |
| 4987 | test/core/census/trace_context_test.c |
| 4988 | ) |
| 4989 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4990 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4991 | target_include_directories(census_trace_context_test |
| 4992 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4993 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4994 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4995 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4996 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4997 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4998 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4999 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5000 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5001 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5002 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5003 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5004 | ) |
| 5005 | |
| 5006 | target_link_libraries(census_trace_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5007 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5008 | grpc_test_util |
| 5009 | grpc |
| 5010 | gpr_test_util |
| 5011 | gpr |
| 5012 | ) |
| 5013 | |
| 5014 | endif (gRPC_BUILD_TESTS) |
| 5015 | if (gRPC_BUILD_TESTS) |
| 5016 | |
| 5017 | add_executable(channel_create_test |
| 5018 | test/core/surface/channel_create_test.c |
| 5019 | ) |
| 5020 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5021 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5022 | target_include_directories(channel_create_test |
| 5023 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5024 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5025 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5026 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5027 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5028 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5029 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5030 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5031 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5032 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5033 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5034 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5035 | ) |
| 5036 | |
| 5037 | target_link_libraries(channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5038 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5039 | grpc_test_util |
| 5040 | grpc |
| 5041 | gpr_test_util |
| 5042 | gpr |
| 5043 | ) |
| 5044 | |
| 5045 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5046 | |
| 5047 | add_executable(check_epollexclusive |
| 5048 | test/build/check_epollexclusive.c |
| 5049 | ) |
| 5050 | |
| 5051 | |
| 5052 | target_include_directories(check_epollexclusive |
| 5053 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5054 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5055 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5056 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5057 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5058 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5059 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5060 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 5061 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5062 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5063 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5064 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5065 | ) |
| 5066 | |
| 5067 | target_link_libraries(check_epollexclusive |
| 5068 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5069 | grpc |
| 5070 | gpr |
| 5071 | ) |
| 5072 | |
| 5073 | |
| 5074 | if (gRPC_INSTALL) |
| 5075 | install(TARGETS check_epollexclusive EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5076 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 5077 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 5078 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5079 | ) |
| 5080 | endif() |
| 5081 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5082 | if (gRPC_BUILD_TESTS) |
| 5083 | |
| 5084 | add_executable(chttp2_hpack_encoder_test |
| 5085 | test/core/transport/chttp2/hpack_encoder_test.c |
| 5086 | ) |
| 5087 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5088 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5089 | target_include_directories(chttp2_hpack_encoder_test |
| 5090 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5091 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5092 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5093 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5094 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5095 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5096 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5097 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5098 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5099 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5100 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5101 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5102 | ) |
| 5103 | |
| 5104 | target_link_libraries(chttp2_hpack_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5105 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5106 | grpc_test_util |
| 5107 | grpc |
| 5108 | gpr_test_util |
| 5109 | gpr |
| 5110 | ) |
| 5111 | |
| 5112 | endif (gRPC_BUILD_TESTS) |
| 5113 | if (gRPC_BUILD_TESTS) |
| 5114 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5115 | add_executable(chttp2_stream_map_test |
| 5116 | test/core/transport/chttp2/stream_map_test.c |
| 5117 | ) |
| 5118 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5119 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5120 | target_include_directories(chttp2_stream_map_test |
| 5121 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5122 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5123 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5124 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5125 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5126 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5127 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5128 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5129 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5130 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5131 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5132 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5133 | ) |
| 5134 | |
| 5135 | target_link_libraries(chttp2_stream_map_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5136 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5137 | grpc_test_util |
| 5138 | grpc |
| 5139 | gpr_test_util |
| 5140 | gpr |
| 5141 | ) |
| 5142 | |
| 5143 | endif (gRPC_BUILD_TESTS) |
| 5144 | if (gRPC_BUILD_TESTS) |
| 5145 | |
| 5146 | add_executable(chttp2_varint_test |
| 5147 | test/core/transport/chttp2/varint_test.c |
| 5148 | ) |
| 5149 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5150 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5151 | target_include_directories(chttp2_varint_test |
| 5152 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5153 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5154 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5155 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5156 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5157 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5158 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5159 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5160 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5161 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5162 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5163 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5164 | ) |
| 5165 | |
| 5166 | target_link_libraries(chttp2_varint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5167 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5168 | grpc_test_util |
| 5169 | grpc |
| 5170 | gpr_test_util |
| 5171 | gpr |
| 5172 | ) |
| 5173 | |
| 5174 | endif (gRPC_BUILD_TESTS) |
| 5175 | if (gRPC_BUILD_TESTS) |
| 5176 | |
| 5177 | add_executable(combiner_test |
| 5178 | test/core/iomgr/combiner_test.c |
| 5179 | ) |
| 5180 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5181 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5182 | target_include_directories(combiner_test |
| 5183 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5184 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5185 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5186 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5187 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5188 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5189 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5190 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5191 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5192 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5193 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5194 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5195 | ) |
| 5196 | |
| 5197 | target_link_libraries(combiner_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5198 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5199 | grpc_test_util |
| 5200 | grpc |
| 5201 | gpr_test_util |
| 5202 | gpr |
| 5203 | ) |
| 5204 | |
| 5205 | endif (gRPC_BUILD_TESTS) |
| 5206 | if (gRPC_BUILD_TESTS) |
| 5207 | |
| 5208 | add_executable(compression_test |
| 5209 | test/core/compression/compression_test.c |
| 5210 | ) |
| 5211 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5212 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5213 | target_include_directories(compression_test |
| 5214 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5215 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5216 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5217 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5218 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5219 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5220 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5221 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5222 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5223 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5224 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5225 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5226 | ) |
| 5227 | |
| 5228 | target_link_libraries(compression_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5229 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5230 | grpc_test_util |
| 5231 | grpc |
| 5232 | gpr_test_util |
| 5233 | gpr |
| 5234 | ) |
| 5235 | |
| 5236 | endif (gRPC_BUILD_TESTS) |
| 5237 | if (gRPC_BUILD_TESTS) |
| 5238 | |
| 5239 | add_executable(concurrent_connectivity_test |
| 5240 | test/core/surface/concurrent_connectivity_test.c |
| 5241 | ) |
| 5242 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5243 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5244 | target_include_directories(concurrent_connectivity_test |
| 5245 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5246 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5247 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5248 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5249 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5250 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5251 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5252 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5253 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5254 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5255 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5256 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5257 | ) |
| 5258 | |
| 5259 | target_link_libraries(concurrent_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5260 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5261 | grpc_test_util |
| 5262 | grpc |
| 5263 | gpr_test_util |
| 5264 | gpr |
| 5265 | ) |
| 5266 | |
| 5267 | endif (gRPC_BUILD_TESTS) |
| 5268 | if (gRPC_BUILD_TESTS) |
| 5269 | |
| 5270 | add_executable(connection_refused_test |
| 5271 | test/core/end2end/connection_refused_test.c |
| 5272 | ) |
| 5273 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5274 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5275 | target_include_directories(connection_refused_test |
| 5276 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5277 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5278 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5279 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5280 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5281 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5282 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5283 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5284 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5285 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5286 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5287 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5288 | ) |
| 5289 | |
| 5290 | target_link_libraries(connection_refused_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5291 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5292 | grpc_test_util |
| 5293 | grpc |
| 5294 | gpr_test_util |
| 5295 | gpr |
| 5296 | ) |
| 5297 | |
| 5298 | endif (gRPC_BUILD_TESTS) |
| 5299 | if (gRPC_BUILD_TESTS) |
| 5300 | |
| 5301 | add_executable(dns_resolver_connectivity_test |
| 5302 | test/core/client_channel/resolvers/dns_resolver_connectivity_test.c |
| 5303 | ) |
| 5304 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5305 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5306 | target_include_directories(dns_resolver_connectivity_test |
| 5307 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5308 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5309 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5310 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5311 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5312 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5313 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5314 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5315 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5316 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5317 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5318 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5319 | ) |
| 5320 | |
| 5321 | target_link_libraries(dns_resolver_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5322 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5323 | grpc_test_util |
| 5324 | grpc |
| 5325 | gpr_test_util |
| 5326 | gpr |
| 5327 | ) |
| 5328 | |
| 5329 | endif (gRPC_BUILD_TESTS) |
| 5330 | if (gRPC_BUILD_TESTS) |
| 5331 | |
| 5332 | add_executable(dns_resolver_test |
| 5333 | test/core/client_channel/resolvers/dns_resolver_test.c |
| 5334 | ) |
| 5335 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5336 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5337 | target_include_directories(dns_resolver_test |
| 5338 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5339 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5340 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5341 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5342 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5343 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5344 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5345 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5346 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5347 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5348 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5349 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5350 | ) |
| 5351 | |
| 5352 | target_link_libraries(dns_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5353 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5354 | grpc_test_util |
| 5355 | grpc |
| 5356 | gpr_test_util |
| 5357 | gpr |
| 5358 | ) |
| 5359 | |
| 5360 | endif (gRPC_BUILD_TESTS) |
| 5361 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5362 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5363 | |
| 5364 | add_executable(dualstack_socket_test |
| 5365 | test/core/end2end/dualstack_socket_test.c |
| 5366 | ) |
| 5367 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5368 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5369 | target_include_directories(dualstack_socket_test |
| 5370 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5371 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5372 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5373 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5374 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5375 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5376 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5377 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5378 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5379 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5380 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5381 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5382 | ) |
| 5383 | |
| 5384 | target_link_libraries(dualstack_socket_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5385 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5386 | grpc_test_util |
| 5387 | grpc |
| 5388 | gpr_test_util |
| 5389 | gpr |
| 5390 | ) |
| 5391 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5392 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5393 | endif (gRPC_BUILD_TESTS) |
| 5394 | if (gRPC_BUILD_TESTS) |
| 5395 | |
| 5396 | add_executable(endpoint_pair_test |
| 5397 | test/core/iomgr/endpoint_pair_test.c |
| 5398 | ) |
| 5399 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5400 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5401 | target_include_directories(endpoint_pair_test |
| 5402 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5403 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5404 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5405 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5406 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5407 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5408 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5409 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5410 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5411 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5412 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5413 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5414 | ) |
| 5415 | |
| 5416 | target_link_libraries(endpoint_pair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5417 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5418 | grpc_test_util |
| 5419 | grpc |
| 5420 | gpr_test_util |
| 5421 | gpr |
| 5422 | ) |
| 5423 | |
| 5424 | endif (gRPC_BUILD_TESTS) |
| 5425 | if (gRPC_BUILD_TESTS) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5426 | |
| 5427 | add_executable(error_test |
| 5428 | test/core/iomgr/error_test.c |
| 5429 | ) |
| 5430 | |
| 5431 | |
| 5432 | target_include_directories(error_test |
| 5433 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5434 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5435 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5436 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5437 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5438 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5439 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5440 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5441 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5442 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5443 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5444 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5445 | ) |
| 5446 | |
| 5447 | target_link_libraries(error_test |
| 5448 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5449 | grpc_test_util |
| 5450 | grpc |
| 5451 | gpr_test_util |
| 5452 | gpr |
| 5453 | ) |
| 5454 | |
| 5455 | endif (gRPC_BUILD_TESTS) |
| 5456 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5457 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5458 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5459 | add_executable(ev_epollsig_linux_test |
| 5460 | test/core/iomgr/ev_epollsig_linux_test.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5461 | ) |
| 5462 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5463 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5464 | target_include_directories(ev_epollsig_linux_test |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5465 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5466 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5467 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5468 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5469 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5470 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5471 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5472 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5473 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5474 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5475 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5476 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5477 | ) |
| 5478 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5479 | target_link_libraries(ev_epollsig_linux_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5480 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5481 | grpc_test_util |
| 5482 | grpc |
| 5483 | gpr_test_util |
| 5484 | gpr |
| 5485 | ) |
| 5486 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5487 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5488 | endif (gRPC_BUILD_TESTS) |
| 5489 | if (gRPC_BUILD_TESTS) |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5490 | |
| 5491 | add_executable(fake_resolver_test |
| 5492 | test/core/client_channel/resolvers/fake_resolver_test.c |
| 5493 | ) |
| 5494 | |
| 5495 | |
| 5496 | target_include_directories(fake_resolver_test |
| 5497 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5498 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5499 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5500 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5501 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5502 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5503 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5504 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 5505 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5506 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5507 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5508 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5509 | ) |
| 5510 | |
| 5511 | target_link_libraries(fake_resolver_test |
| 5512 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5513 | grpc_test_util |
| 5514 | grpc |
| 5515 | gpr_test_util |
| 5516 | gpr |
| 5517 | ) |
| 5518 | |
| 5519 | endif (gRPC_BUILD_TESTS) |
| 5520 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5521 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5522 | |
| 5523 | add_executable(fd_conservation_posix_test |
| 5524 | test/core/iomgr/fd_conservation_posix_test.c |
| 5525 | ) |
| 5526 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5527 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5528 | target_include_directories(fd_conservation_posix_test |
| 5529 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5530 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5531 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5532 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5533 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5534 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5535 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5536 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5537 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5538 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5539 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5540 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5541 | ) |
| 5542 | |
| 5543 | target_link_libraries(fd_conservation_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5544 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5545 | grpc_test_util |
| 5546 | grpc |
| 5547 | gpr_test_util |
| 5548 | gpr |
| 5549 | ) |
| 5550 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5551 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5552 | endif (gRPC_BUILD_TESTS) |
| 5553 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5554 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5555 | |
| 5556 | add_executable(fd_posix_test |
| 5557 | test/core/iomgr/fd_posix_test.c |
| 5558 | ) |
| 5559 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5560 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5561 | target_include_directories(fd_posix_test |
| 5562 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5563 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5564 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5565 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5566 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5567 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5568 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5569 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5570 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5571 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5572 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5573 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5574 | ) |
| 5575 | |
| 5576 | target_link_libraries(fd_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5577 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5578 | grpc_test_util |
| 5579 | grpc |
| 5580 | gpr_test_util |
| 5581 | gpr |
| 5582 | ) |
| 5583 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5584 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5585 | endif (gRPC_BUILD_TESTS) |
| 5586 | if (gRPC_BUILD_TESTS) |
| 5587 | |
| 5588 | add_executable(fling_client |
| 5589 | test/core/fling/client.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(fling_client |
| 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(fling_client |
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(fling_server |
| 5620 | test/core/fling/server.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(fling_server |
| 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(fling_server |
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) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5649 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5650 | |
| 5651 | add_executable(fling_stream_test |
| 5652 | test/core/fling/fling_stream_test.c |
| 5653 | ) |
| 5654 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5655 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5656 | target_include_directories(fling_stream_test |
| 5657 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5658 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5659 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5660 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5661 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5662 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5663 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5664 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5665 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5666 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5667 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5668 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5669 | ) |
| 5670 | |
| 5671 | target_link_libraries(fling_stream_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5672 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5673 | grpc_test_util |
| 5674 | grpc |
| 5675 | gpr_test_util |
| 5676 | gpr |
| 5677 | ) |
| 5678 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5679 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5680 | endif (gRPC_BUILD_TESTS) |
| 5681 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5682 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5683 | |
| 5684 | add_executable(fling_test |
| 5685 | test/core/fling/fling_test.c |
| 5686 | ) |
| 5687 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5688 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5689 | target_include_directories(fling_test |
| 5690 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5691 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5692 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5693 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5694 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5695 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5696 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5697 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5698 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5699 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5700 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5701 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5702 | ) |
| 5703 | |
| 5704 | target_link_libraries(fling_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5705 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5706 | grpc_test_util |
| 5707 | grpc |
| 5708 | gpr_test_util |
| 5709 | gpr |
| 5710 | ) |
| 5711 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5712 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5713 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 5714 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5715 | add_executable(gen_hpack_tables |
| 5716 | tools/codegen/core/gen_hpack_tables.c |
| 5717 | ) |
| 5718 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5719 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5720 | target_include_directories(gen_hpack_tables |
| 5721 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5722 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5723 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5724 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5725 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5726 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5727 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5728 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5729 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5730 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5731 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5732 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5733 | ) |
| 5734 | |
| 5735 | target_link_libraries(gen_hpack_tables |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5736 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5737 | gpr |
| 5738 | grpc |
| 5739 | ) |
| 5740 | |
| 5741 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 5742 | if (gRPC_INSTALL) |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 5743 | install(TARGETS gen_hpack_tables EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5744 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 5745 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 5746 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 5747 | ) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 5748 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 5749 | |
| 5750 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5751 | add_executable(gen_legal_metadata_characters |
| 5752 | tools/codegen/core/gen_legal_metadata_characters.c |
| 5753 | ) |
| 5754 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5755 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5756 | target_include_directories(gen_legal_metadata_characters |
| 5757 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5758 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5759 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5760 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5761 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5762 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5763 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5764 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5765 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5766 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5767 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5768 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5769 | ) |
| 5770 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5771 | target_link_libraries(gen_legal_metadata_characters |
| 5772 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5773 | ) |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5774 | |
| 5775 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 5776 | if (gRPC_INSTALL) |
| 5777 | install(TARGETS gen_legal_metadata_characters EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5778 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 5779 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 5780 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 5781 | ) |
| 5782 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 5783 | |
| 5784 | |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5785 | add_executable(gen_percent_encoding_tables |
| 5786 | tools/codegen/core/gen_percent_encoding_tables.c |
| 5787 | ) |
| 5788 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5789 | |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5790 | target_include_directories(gen_percent_encoding_tables |
| 5791 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5792 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5793 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5794 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5795 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5796 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5797 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5798 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5799 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5800 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5801 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5802 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5803 | ) |
| 5804 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5805 | target_link_libraries(gen_percent_encoding_tables |
| 5806 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5807 | ) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5808 | |
| 5809 | |
Craig Tiller | 426dcde | 2016-09-07 15:43:10 -0700 | [diff] [blame] | 5810 | if (gRPC_INSTALL) |
| 5811 | install(TARGETS gen_percent_encoding_tables EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5812 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 5813 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 5814 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Craig Tiller | 426dcde | 2016-09-07 15:43:10 -0700 | [diff] [blame] | 5815 | ) |
| 5816 | endif() |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5817 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5818 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5819 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5820 | |
| 5821 | add_executable(goaway_server_test |
| 5822 | test/core/end2end/goaway_server_test.c |
| 5823 | ) |
| 5824 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5825 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5826 | target_include_directories(goaway_server_test |
| 5827 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5828 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5829 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5830 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5831 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5832 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5833 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5834 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5835 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5836 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5837 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5838 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5839 | ) |
| 5840 | |
| 5841 | target_link_libraries(goaway_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5842 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5843 | grpc_test_util |
| 5844 | grpc |
| 5845 | gpr_test_util |
| 5846 | gpr |
| 5847 | ) |
| 5848 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5849 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5850 | endif (gRPC_BUILD_TESTS) |
| 5851 | if (gRPC_BUILD_TESTS) |
| 5852 | |
| 5853 | add_executable(gpr_avl_test |
| 5854 | test/core/support/avl_test.c |
| 5855 | ) |
| 5856 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5857 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5858 | target_include_directories(gpr_avl_test |
| 5859 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5860 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5861 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5862 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5863 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5864 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5865 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5866 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5867 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5868 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5869 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5870 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5871 | ) |
| 5872 | |
| 5873 | target_link_libraries(gpr_avl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5874 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5875 | gpr_test_util |
| 5876 | gpr |
| 5877 | ) |
| 5878 | |
| 5879 | endif (gRPC_BUILD_TESTS) |
| 5880 | if (gRPC_BUILD_TESTS) |
| 5881 | |
| 5882 | add_executable(gpr_backoff_test |
| 5883 | test/core/support/backoff_test.c |
| 5884 | ) |
| 5885 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5886 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5887 | target_include_directories(gpr_backoff_test |
| 5888 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5889 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5890 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5891 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5892 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5893 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5894 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5895 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5896 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5897 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5898 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5899 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5900 | ) |
| 5901 | |
| 5902 | target_link_libraries(gpr_backoff_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5903 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5904 | gpr_test_util |
| 5905 | gpr |
| 5906 | ) |
| 5907 | |
| 5908 | endif (gRPC_BUILD_TESTS) |
| 5909 | if (gRPC_BUILD_TESTS) |
| 5910 | |
| 5911 | add_executable(gpr_cmdline_test |
| 5912 | test/core/support/cmdline_test.c |
| 5913 | ) |
| 5914 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5915 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5916 | target_include_directories(gpr_cmdline_test |
| 5917 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5918 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5919 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5920 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5921 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5922 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5923 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5924 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5925 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5926 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5927 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5928 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5929 | ) |
| 5930 | |
| 5931 | target_link_libraries(gpr_cmdline_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5932 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5933 | gpr_test_util |
| 5934 | gpr |
| 5935 | ) |
| 5936 | |
| 5937 | endif (gRPC_BUILD_TESTS) |
| 5938 | if (gRPC_BUILD_TESTS) |
| 5939 | |
| 5940 | add_executable(gpr_cpu_test |
| 5941 | test/core/support/cpu_test.c |
| 5942 | ) |
| 5943 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5944 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5945 | target_include_directories(gpr_cpu_test |
| 5946 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5947 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5948 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5949 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5950 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5951 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5952 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5953 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5954 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5955 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5956 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5957 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5958 | ) |
| 5959 | |
| 5960 | target_link_libraries(gpr_cpu_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5961 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5962 | gpr_test_util |
| 5963 | gpr |
| 5964 | ) |
| 5965 | |
| 5966 | endif (gRPC_BUILD_TESTS) |
| 5967 | if (gRPC_BUILD_TESTS) |
| 5968 | |
| 5969 | add_executable(gpr_env_test |
| 5970 | test/core/support/env_test.c |
| 5971 | ) |
| 5972 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5973 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5974 | target_include_directories(gpr_env_test |
| 5975 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5976 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5977 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5978 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5979 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5980 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5981 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5982 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5983 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5984 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5985 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5986 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5987 | ) |
| 5988 | |
| 5989 | target_link_libraries(gpr_env_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5990 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5991 | gpr_test_util |
| 5992 | gpr |
| 5993 | ) |
| 5994 | |
| 5995 | endif (gRPC_BUILD_TESTS) |
| 5996 | if (gRPC_BUILD_TESTS) |
| 5997 | |
| 5998 | add_executable(gpr_histogram_test |
| 5999 | test/core/support/histogram_test.c |
| 6000 | ) |
| 6001 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6002 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6003 | target_include_directories(gpr_histogram_test |
| 6004 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6005 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6006 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6007 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6008 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6009 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6010 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6011 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6012 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6013 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6014 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6015 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6016 | ) |
| 6017 | |
| 6018 | target_link_libraries(gpr_histogram_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6019 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6020 | gpr_test_util |
| 6021 | gpr |
| 6022 | ) |
| 6023 | |
| 6024 | endif (gRPC_BUILD_TESTS) |
| 6025 | if (gRPC_BUILD_TESTS) |
| 6026 | |
| 6027 | add_executable(gpr_host_port_test |
| 6028 | test/core/support/host_port_test.c |
| 6029 | ) |
| 6030 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6031 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6032 | target_include_directories(gpr_host_port_test |
| 6033 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6034 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6035 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6036 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6037 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6038 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6039 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6040 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6041 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6042 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6043 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6044 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6045 | ) |
| 6046 | |
| 6047 | target_link_libraries(gpr_host_port_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6048 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6049 | gpr_test_util |
| 6050 | gpr |
| 6051 | ) |
| 6052 | |
| 6053 | endif (gRPC_BUILD_TESTS) |
| 6054 | if (gRPC_BUILD_TESTS) |
| 6055 | |
| 6056 | add_executable(gpr_log_test |
| 6057 | test/core/support/log_test.c |
| 6058 | ) |
| 6059 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6060 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6061 | target_include_directories(gpr_log_test |
| 6062 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6063 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6064 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6065 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6066 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6067 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6068 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6069 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6070 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6071 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6072 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6073 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6074 | ) |
| 6075 | |
| 6076 | target_link_libraries(gpr_log_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6077 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6078 | gpr_test_util |
| 6079 | gpr |
| 6080 | ) |
| 6081 | |
| 6082 | endif (gRPC_BUILD_TESTS) |
| 6083 | if (gRPC_BUILD_TESTS) |
| 6084 | |
| 6085 | add_executable(gpr_mpscq_test |
| 6086 | test/core/support/mpscq_test.c |
| 6087 | ) |
| 6088 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6089 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6090 | target_include_directories(gpr_mpscq_test |
| 6091 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6092 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6093 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6094 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6095 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6096 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6097 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6098 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6099 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6100 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6101 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6102 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6103 | ) |
| 6104 | |
| 6105 | target_link_libraries(gpr_mpscq_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6106 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6107 | gpr_test_util |
| 6108 | gpr |
| 6109 | ) |
| 6110 | |
| 6111 | endif (gRPC_BUILD_TESTS) |
| 6112 | if (gRPC_BUILD_TESTS) |
| 6113 | |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6114 | add_executable(gpr_spinlock_test |
| 6115 | test/core/support/spinlock_test.c |
| 6116 | ) |
| 6117 | |
| 6118 | |
| 6119 | target_include_directories(gpr_spinlock_test |
| 6120 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6121 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6122 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6123 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6124 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6125 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6126 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6127 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6128 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6129 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6130 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6131 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6132 | ) |
| 6133 | |
| 6134 | target_link_libraries(gpr_spinlock_test |
| 6135 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6136 | gpr_test_util |
| 6137 | gpr |
| 6138 | ) |
| 6139 | |
| 6140 | endif (gRPC_BUILD_TESTS) |
| 6141 | if (gRPC_BUILD_TESTS) |
| 6142 | |
Ken Payson | a4710a0 | 2017-07-10 16:49:59 -0700 | [diff] [blame] | 6143 | add_executable(gpr_stack_lockfree_test |
| 6144 | test/core/support/stack_lockfree_test.c |
| 6145 | ) |
| 6146 | |
| 6147 | |
| 6148 | target_include_directories(gpr_stack_lockfree_test |
| 6149 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6150 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6151 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6152 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6153 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6154 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6155 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6156 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 6157 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6158 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6159 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 6160 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6161 | ) |
| 6162 | |
| 6163 | target_link_libraries(gpr_stack_lockfree_test |
| 6164 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6165 | gpr_test_util |
| 6166 | gpr |
| 6167 | ) |
| 6168 | |
| 6169 | endif (gRPC_BUILD_TESTS) |
| 6170 | if (gRPC_BUILD_TESTS) |
| 6171 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6172 | add_executable(gpr_string_test |
| 6173 | test/core/support/string_test.c |
| 6174 | ) |
| 6175 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6176 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6177 | target_include_directories(gpr_string_test |
| 6178 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6179 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6180 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6181 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6182 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6183 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6184 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6185 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6186 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6187 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6188 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6189 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6190 | ) |
| 6191 | |
| 6192 | target_link_libraries(gpr_string_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6193 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6194 | gpr_test_util |
| 6195 | gpr |
| 6196 | ) |
| 6197 | |
| 6198 | endif (gRPC_BUILD_TESTS) |
| 6199 | if (gRPC_BUILD_TESTS) |
| 6200 | |
| 6201 | add_executable(gpr_sync_test |
| 6202 | test/core/support/sync_test.c |
| 6203 | ) |
| 6204 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6205 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6206 | target_include_directories(gpr_sync_test |
| 6207 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6208 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6209 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6210 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6211 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6212 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6213 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6214 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6215 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6216 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6217 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6218 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6219 | ) |
| 6220 | |
| 6221 | target_link_libraries(gpr_sync_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6222 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6223 | gpr_test_util |
| 6224 | gpr |
| 6225 | ) |
| 6226 | |
| 6227 | endif (gRPC_BUILD_TESTS) |
| 6228 | if (gRPC_BUILD_TESTS) |
| 6229 | |
| 6230 | add_executable(gpr_thd_test |
| 6231 | test/core/support/thd_test.c |
| 6232 | ) |
| 6233 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6234 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6235 | target_include_directories(gpr_thd_test |
| 6236 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6237 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6238 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6239 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6240 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6241 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6242 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6243 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6244 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6245 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6246 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6247 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6248 | ) |
| 6249 | |
| 6250 | target_link_libraries(gpr_thd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6251 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6252 | gpr_test_util |
| 6253 | gpr |
| 6254 | ) |
| 6255 | |
| 6256 | endif (gRPC_BUILD_TESTS) |
| 6257 | if (gRPC_BUILD_TESTS) |
| 6258 | |
| 6259 | add_executable(gpr_time_test |
| 6260 | test/core/support/time_test.c |
| 6261 | ) |
| 6262 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6263 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6264 | target_include_directories(gpr_time_test |
| 6265 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6266 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6267 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6268 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6269 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6270 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6271 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6272 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6273 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6274 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6275 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6276 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6277 | ) |
| 6278 | |
| 6279 | target_link_libraries(gpr_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6280 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6281 | gpr_test_util |
| 6282 | gpr |
| 6283 | ) |
| 6284 | |
| 6285 | endif (gRPC_BUILD_TESTS) |
| 6286 | if (gRPC_BUILD_TESTS) |
| 6287 | |
| 6288 | add_executable(gpr_tls_test |
| 6289 | test/core/support/tls_test.c |
| 6290 | ) |
| 6291 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6292 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6293 | target_include_directories(gpr_tls_test |
| 6294 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6295 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6296 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6297 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6298 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6299 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6300 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6301 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6302 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6303 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6304 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6305 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6306 | ) |
| 6307 | |
| 6308 | target_link_libraries(gpr_tls_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6309 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6310 | gpr_test_util |
| 6311 | gpr |
| 6312 | ) |
| 6313 | |
| 6314 | endif (gRPC_BUILD_TESTS) |
| 6315 | if (gRPC_BUILD_TESTS) |
| 6316 | |
| 6317 | add_executable(gpr_useful_test |
| 6318 | test/core/support/useful_test.c |
| 6319 | ) |
| 6320 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6321 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6322 | target_include_directories(gpr_useful_test |
| 6323 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6324 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6325 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6326 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6327 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6328 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6329 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6330 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6331 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6332 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6333 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6334 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6335 | ) |
| 6336 | |
| 6337 | target_link_libraries(gpr_useful_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6338 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6339 | gpr_test_util |
| 6340 | gpr |
| 6341 | ) |
| 6342 | |
| 6343 | endif (gRPC_BUILD_TESTS) |
| 6344 | if (gRPC_BUILD_TESTS) |
| 6345 | |
| 6346 | add_executable(grpc_auth_context_test |
| 6347 | test/core/security/auth_context_test.c |
| 6348 | ) |
| 6349 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6350 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6351 | target_include_directories(grpc_auth_context_test |
| 6352 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6353 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6354 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6355 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6356 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6357 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6358 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6359 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6360 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6361 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6362 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6363 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6364 | ) |
| 6365 | |
| 6366 | target_link_libraries(grpc_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6367 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6368 | grpc_test_util |
| 6369 | grpc |
| 6370 | gpr_test_util |
| 6371 | gpr |
| 6372 | ) |
| 6373 | |
| 6374 | endif (gRPC_BUILD_TESTS) |
| 6375 | if (gRPC_BUILD_TESTS) |
| 6376 | |
| 6377 | add_executable(grpc_b64_test |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 6378 | test/core/slice/b64_test.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6379 | ) |
| 6380 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6381 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6382 | target_include_directories(grpc_b64_test |
| 6383 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6384 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6385 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6386 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6387 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6388 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6389 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6390 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6391 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6392 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6393 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6394 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6395 | ) |
| 6396 | |
| 6397 | target_link_libraries(grpc_b64_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6398 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6399 | grpc_test_util |
| 6400 | grpc |
| 6401 | gpr_test_util |
| 6402 | gpr |
| 6403 | ) |
| 6404 | |
| 6405 | endif (gRPC_BUILD_TESTS) |
| 6406 | if (gRPC_BUILD_TESTS) |
| 6407 | |
| 6408 | add_executable(grpc_byte_buffer_reader_test |
| 6409 | test/core/surface/byte_buffer_reader_test.c |
| 6410 | ) |
| 6411 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6412 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6413 | target_include_directories(grpc_byte_buffer_reader_test |
| 6414 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6415 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6416 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6417 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6418 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6419 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6420 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6421 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6422 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6423 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6424 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6425 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6426 | ) |
| 6427 | |
| 6428 | target_link_libraries(grpc_byte_buffer_reader_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6429 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6430 | grpc_test_util |
| 6431 | grpc |
| 6432 | gpr_test_util |
| 6433 | gpr |
| 6434 | ) |
| 6435 | |
| 6436 | endif (gRPC_BUILD_TESTS) |
| 6437 | if (gRPC_BUILD_TESTS) |
| 6438 | |
| 6439 | add_executable(grpc_channel_args_test |
| 6440 | test/core/channel/channel_args_test.c |
| 6441 | ) |
| 6442 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6443 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6444 | target_include_directories(grpc_channel_args_test |
| 6445 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6446 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6447 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6448 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6449 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6450 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6451 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6452 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6453 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6454 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6455 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6456 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6457 | ) |
| 6458 | |
| 6459 | target_link_libraries(grpc_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6460 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6461 | grpc_test_util |
| 6462 | grpc |
| 6463 | gpr_test_util |
| 6464 | gpr |
| 6465 | ) |
| 6466 | |
| 6467 | endif (gRPC_BUILD_TESTS) |
| 6468 | if (gRPC_BUILD_TESTS) |
| 6469 | |
| 6470 | add_executable(grpc_channel_stack_test |
| 6471 | test/core/channel/channel_stack_test.c |
| 6472 | ) |
| 6473 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6474 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6475 | target_include_directories(grpc_channel_stack_test |
| 6476 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6477 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6478 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6479 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6480 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6481 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6482 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6483 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6484 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6485 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6486 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6487 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6488 | ) |
| 6489 | |
| 6490 | target_link_libraries(grpc_channel_stack_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6491 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6492 | grpc_test_util |
| 6493 | grpc |
| 6494 | gpr_test_util |
| 6495 | gpr |
| 6496 | ) |
| 6497 | |
| 6498 | endif (gRPC_BUILD_TESTS) |
| 6499 | if (gRPC_BUILD_TESTS) |
| 6500 | |
| 6501 | add_executable(grpc_completion_queue_test |
| 6502 | test/core/surface/completion_queue_test.c |
| 6503 | ) |
| 6504 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6505 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6506 | target_include_directories(grpc_completion_queue_test |
| 6507 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6508 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6509 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6510 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6511 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6512 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6513 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6514 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6515 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6516 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6517 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6518 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6519 | ) |
| 6520 | |
| 6521 | target_link_libraries(grpc_completion_queue_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6522 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6523 | grpc_test_util |
| 6524 | grpc |
| 6525 | gpr_test_util |
| 6526 | gpr |
| 6527 | ) |
| 6528 | |
| 6529 | endif (gRPC_BUILD_TESTS) |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6530 | if (gRPC_BUILD_TESTS) |
| 6531 | |
| 6532 | add_executable(grpc_completion_queue_threading_test |
| 6533 | test/core/surface/completion_queue_threading_test.c |
| 6534 | ) |
| 6535 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6536 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6537 | target_include_directories(grpc_completion_queue_threading_test |
| 6538 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6539 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6540 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6541 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6542 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6543 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6544 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6545 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6546 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6547 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6548 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6549 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6550 | ) |
| 6551 | |
| 6552 | target_link_libraries(grpc_completion_queue_threading_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6553 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6554 | grpc_test_util |
| 6555 | grpc |
| 6556 | gpr_test_util |
| 6557 | gpr |
| 6558 | ) |
| 6559 | |
| 6560 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6561 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6562 | add_executable(grpc_create_jwt |
| 6563 | test/core/security/create_jwt.c |
| 6564 | ) |
| 6565 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6566 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6567 | target_include_directories(grpc_create_jwt |
| 6568 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6569 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6570 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6571 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6572 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6573 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6574 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6575 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6576 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6577 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6578 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6579 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6580 | ) |
| 6581 | |
| 6582 | target_link_libraries(grpc_create_jwt |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 6583 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6584 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6585 | grpc |
| 6586 | gpr |
| 6587 | ) |
| 6588 | |
| 6589 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6590 | if (gRPC_INSTALL) |
| 6591 | install(TARGETS grpc_create_jwt EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6592 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6593 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6594 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6595 | ) |
| 6596 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6597 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6598 | if (gRPC_BUILD_TESTS) |
| 6599 | |
| 6600 | add_executable(grpc_credentials_test |
| 6601 | test/core/security/credentials_test.c |
| 6602 | ) |
| 6603 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6604 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6605 | target_include_directories(grpc_credentials_test |
| 6606 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6607 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6608 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6609 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6610 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6611 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6612 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6613 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6614 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6615 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6616 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6617 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6618 | ) |
| 6619 | |
| 6620 | target_link_libraries(grpc_credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6621 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6622 | grpc_test_util |
| 6623 | grpc |
| 6624 | gpr_test_util |
| 6625 | gpr |
| 6626 | ) |
| 6627 | |
| 6628 | endif (gRPC_BUILD_TESTS) |
| 6629 | if (gRPC_BUILD_TESTS) |
| 6630 | |
| 6631 | add_executable(grpc_fetch_oauth2 |
| 6632 | test/core/security/fetch_oauth2.c |
| 6633 | ) |
| 6634 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6635 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6636 | target_include_directories(grpc_fetch_oauth2 |
| 6637 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6638 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6639 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6640 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6641 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6642 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6643 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6644 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6645 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6646 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6647 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6648 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6649 | ) |
| 6650 | |
| 6651 | target_link_libraries(grpc_fetch_oauth2 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6652 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6653 | grpc_test_util |
| 6654 | grpc |
| 6655 | gpr_test_util |
| 6656 | gpr |
| 6657 | ) |
| 6658 | |
| 6659 | endif (gRPC_BUILD_TESTS) |
| 6660 | if (gRPC_BUILD_TESTS) |
| 6661 | |
| 6662 | add_executable(grpc_invalid_channel_args_test |
| 6663 | test/core/surface/invalid_channel_args_test.c |
| 6664 | ) |
| 6665 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6666 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6667 | target_include_directories(grpc_invalid_channel_args_test |
| 6668 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6669 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6670 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6671 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6672 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6673 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6674 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6675 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6676 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6677 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6678 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6679 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6680 | ) |
| 6681 | |
| 6682 | target_link_libraries(grpc_invalid_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6683 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6684 | grpc_test_util |
| 6685 | grpc |
| 6686 | gpr_test_util |
| 6687 | gpr |
| 6688 | ) |
| 6689 | |
| 6690 | endif (gRPC_BUILD_TESTS) |
| 6691 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6692 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6693 | |
| 6694 | add_executable(grpc_json_token_test |
| 6695 | test/core/security/json_token_test.c |
| 6696 | ) |
| 6697 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6698 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6699 | target_include_directories(grpc_json_token_test |
| 6700 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6701 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6702 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6703 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6704 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6705 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6706 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6707 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6708 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6709 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6710 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6711 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6712 | ) |
| 6713 | |
| 6714 | target_link_libraries(grpc_json_token_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6715 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6716 | grpc_test_util |
| 6717 | grpc |
| 6718 | gpr_test_util |
| 6719 | gpr |
| 6720 | ) |
| 6721 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6722 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6723 | endif (gRPC_BUILD_TESTS) |
| 6724 | if (gRPC_BUILD_TESTS) |
| 6725 | |
| 6726 | add_executable(grpc_jwt_verifier_test |
| 6727 | test/core/security/jwt_verifier_test.c |
| 6728 | ) |
| 6729 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6730 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6731 | target_include_directories(grpc_jwt_verifier_test |
| 6732 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6733 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6734 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6735 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6736 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6737 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6738 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6739 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6740 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6741 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6742 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6743 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6744 | ) |
| 6745 | |
| 6746 | target_link_libraries(grpc_jwt_verifier_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6747 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6748 | grpc_test_util |
| 6749 | grpc |
| 6750 | gpr_test_util |
| 6751 | gpr |
| 6752 | ) |
| 6753 | |
| 6754 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6755 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6756 | add_executable(grpc_print_google_default_creds_token |
| 6757 | test/core/security/print_google_default_creds_token.c |
| 6758 | ) |
| 6759 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6760 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6761 | target_include_directories(grpc_print_google_default_creds_token |
| 6762 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6763 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6764 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6765 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6766 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6767 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6768 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6769 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6770 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6771 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6772 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6773 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6774 | ) |
| 6775 | |
| 6776 | target_link_libraries(grpc_print_google_default_creds_token |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6777 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6778 | grpc |
| 6779 | gpr |
| 6780 | ) |
| 6781 | |
| 6782 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6783 | if (gRPC_INSTALL) |
| 6784 | install(TARGETS grpc_print_google_default_creds_token EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6785 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6786 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6787 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6788 | ) |
| 6789 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6790 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6791 | if (gRPC_BUILD_TESTS) |
| 6792 | |
| 6793 | add_executable(grpc_security_connector_test |
| 6794 | test/core/security/security_connector_test.c |
| 6795 | ) |
| 6796 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6797 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6798 | target_include_directories(grpc_security_connector_test |
| 6799 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6800 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6801 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6802 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6803 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6804 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6805 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6806 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6807 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6808 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6809 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6810 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6811 | ) |
| 6812 | |
| 6813 | target_link_libraries(grpc_security_connector_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6814 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6815 | grpc_test_util |
| 6816 | grpc |
| 6817 | gpr_test_util |
| 6818 | gpr |
| 6819 | ) |
| 6820 | |
| 6821 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6822 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6823 | add_executable(grpc_verify_jwt |
| 6824 | test/core/security/verify_jwt.c |
| 6825 | ) |
| 6826 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6827 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6828 | target_include_directories(grpc_verify_jwt |
| 6829 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6830 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6831 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6832 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6833 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6834 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6835 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6836 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6837 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6838 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6839 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6840 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6841 | ) |
| 6842 | |
| 6843 | target_link_libraries(grpc_verify_jwt |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6844 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6845 | grpc |
| 6846 | gpr |
| 6847 | ) |
| 6848 | |
| 6849 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6850 | if (gRPC_INSTALL) |
| 6851 | install(TARGETS grpc_verify_jwt EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6852 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6853 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6854 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6855 | ) |
| 6856 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6857 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6858 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6859 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6860 | |
| 6861 | add_executable(handshake_client |
| 6862 | test/core/handshake/client_ssl.c |
| 6863 | ) |
| 6864 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6865 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6866 | target_include_directories(handshake_client |
| 6867 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6868 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6869 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6870 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6871 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6872 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6873 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6874 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6875 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6876 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6877 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6878 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6879 | ) |
| 6880 | |
| 6881 | target_link_libraries(handshake_client |
| 6882 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6883 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6884 | grpc_test_util |
| 6885 | grpc |
| 6886 | gpr_test_util |
| 6887 | gpr |
| 6888 | ) |
| 6889 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6890 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6891 | endif (gRPC_BUILD_TESTS) |
| 6892 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6893 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6894 | |
| 6895 | add_executable(handshake_server |
| 6896 | test/core/handshake/server_ssl.c |
| 6897 | ) |
| 6898 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6899 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6900 | target_include_directories(handshake_server |
| 6901 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6902 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6903 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6904 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6905 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6906 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6907 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6908 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6909 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6910 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6911 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6912 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6913 | ) |
| 6914 | |
| 6915 | target_link_libraries(handshake_server |
| 6916 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6917 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6918 | grpc_test_util |
| 6919 | grpc |
| 6920 | gpr_test_util |
| 6921 | gpr |
| 6922 | ) |
| 6923 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6924 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6925 | endif (gRPC_BUILD_TESTS) |
| 6926 | if (gRPC_BUILD_TESTS) |
| 6927 | |
| 6928 | add_executable(hpack_parser_test |
| 6929 | test/core/transport/chttp2/hpack_parser_test.c |
| 6930 | ) |
| 6931 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6932 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6933 | target_include_directories(hpack_parser_test |
| 6934 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6935 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6936 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6937 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6938 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6939 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6940 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6941 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6942 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6943 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6944 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6945 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6946 | ) |
| 6947 | |
| 6948 | target_link_libraries(hpack_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6949 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6950 | grpc_test_util |
| 6951 | grpc |
| 6952 | gpr_test_util |
| 6953 | gpr |
| 6954 | ) |
| 6955 | |
| 6956 | endif (gRPC_BUILD_TESTS) |
| 6957 | if (gRPC_BUILD_TESTS) |
| 6958 | |
| 6959 | add_executable(hpack_table_test |
| 6960 | test/core/transport/chttp2/hpack_table_test.c |
| 6961 | ) |
| 6962 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6963 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6964 | target_include_directories(hpack_table_test |
| 6965 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6966 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6967 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6968 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6969 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6970 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6971 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6972 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6973 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6974 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6975 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6976 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6977 | ) |
| 6978 | |
| 6979 | target_link_libraries(hpack_table_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6980 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6981 | grpc_test_util |
| 6982 | grpc |
| 6983 | gpr_test_util |
| 6984 | gpr |
| 6985 | ) |
| 6986 | |
| 6987 | endif (gRPC_BUILD_TESTS) |
| 6988 | if (gRPC_BUILD_TESTS) |
| 6989 | |
| 6990 | add_executable(http_parser_test |
| 6991 | test/core/http/parser_test.c |
| 6992 | ) |
| 6993 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6994 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6995 | target_include_directories(http_parser_test |
| 6996 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6997 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6998 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6999 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7000 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7001 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7002 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7003 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7004 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7005 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7006 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7007 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7008 | ) |
| 7009 | |
| 7010 | target_link_libraries(http_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7011 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7012 | grpc_test_util |
| 7013 | grpc |
| 7014 | gpr_test_util |
| 7015 | gpr |
| 7016 | ) |
| 7017 | |
| 7018 | endif (gRPC_BUILD_TESTS) |
| 7019 | if (gRPC_BUILD_TESTS) |
| 7020 | |
| 7021 | add_executable(httpcli_format_request_test |
| 7022 | test/core/http/format_request_test.c |
| 7023 | ) |
| 7024 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7025 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7026 | target_include_directories(httpcli_format_request_test |
| 7027 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7028 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7029 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7030 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7031 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7032 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7033 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7034 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7035 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7036 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7037 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7038 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7039 | ) |
| 7040 | |
| 7041 | target_link_libraries(httpcli_format_request_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7042 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7043 | grpc_test_util |
| 7044 | grpc |
| 7045 | gpr_test_util |
| 7046 | gpr |
| 7047 | ) |
| 7048 | |
| 7049 | endif (gRPC_BUILD_TESTS) |
| 7050 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7051 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7052 | |
| 7053 | add_executable(httpcli_test |
| 7054 | test/core/http/httpcli_test.c |
| 7055 | ) |
| 7056 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7057 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7058 | target_include_directories(httpcli_test |
| 7059 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7060 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7061 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7062 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7063 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7064 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7065 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7066 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7067 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7068 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7069 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7070 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7071 | ) |
| 7072 | |
| 7073 | target_link_libraries(httpcli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7074 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7075 | grpc_test_util |
| 7076 | grpc |
| 7077 | gpr_test_util |
| 7078 | gpr |
| 7079 | ) |
| 7080 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7081 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7082 | endif (gRPC_BUILD_TESTS) |
| 7083 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7084 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7085 | |
| 7086 | add_executable(httpscli_test |
| 7087 | test/core/http/httpscli_test.c |
| 7088 | ) |
| 7089 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7090 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7091 | target_include_directories(httpscli_test |
| 7092 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7093 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7094 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7095 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7096 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7097 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7098 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7099 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7100 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7101 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7102 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7103 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7104 | ) |
| 7105 | |
| 7106 | target_link_libraries(httpscli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7107 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7108 | grpc_test_util |
| 7109 | grpc |
| 7110 | gpr_test_util |
| 7111 | gpr |
| 7112 | ) |
| 7113 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7114 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7115 | endif (gRPC_BUILD_TESTS) |
| 7116 | if (gRPC_BUILD_TESTS) |
| 7117 | |
| 7118 | add_executable(init_test |
| 7119 | test/core/surface/init_test.c |
| 7120 | ) |
| 7121 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7122 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7123 | target_include_directories(init_test |
| 7124 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7125 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7126 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7127 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7128 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7129 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7130 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7131 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7132 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7133 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7134 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7135 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7136 | ) |
| 7137 | |
| 7138 | target_link_libraries(init_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7139 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7140 | grpc_test_util |
| 7141 | grpc |
| 7142 | gpr_test_util |
| 7143 | gpr |
| 7144 | ) |
| 7145 | |
| 7146 | endif (gRPC_BUILD_TESTS) |
| 7147 | if (gRPC_BUILD_TESTS) |
| 7148 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7149 | add_executable(invalid_call_argument_test |
| 7150 | test/core/end2end/invalid_call_argument_test.c |
| 7151 | ) |
| 7152 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7153 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7154 | target_include_directories(invalid_call_argument_test |
| 7155 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7156 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7157 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7158 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7159 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7160 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7161 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7162 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7163 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7164 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7165 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7166 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7167 | ) |
| 7168 | |
| 7169 | target_link_libraries(invalid_call_argument_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7170 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7171 | grpc_test_util |
| 7172 | grpc |
| 7173 | gpr_test_util |
| 7174 | gpr |
| 7175 | ) |
| 7176 | |
| 7177 | endif (gRPC_BUILD_TESTS) |
| 7178 | if (gRPC_BUILD_TESTS) |
| 7179 | |
| 7180 | add_executable(json_rewrite |
| 7181 | test/core/json/json_rewrite.c |
| 7182 | ) |
| 7183 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7184 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7185 | target_include_directories(json_rewrite |
| 7186 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7187 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7188 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7189 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7190 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7191 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7192 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7193 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7194 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7195 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7196 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7197 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7198 | ) |
| 7199 | |
| 7200 | target_link_libraries(json_rewrite |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7201 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7202 | grpc |
| 7203 | gpr |
| 7204 | ) |
| 7205 | |
| 7206 | endif (gRPC_BUILD_TESTS) |
| 7207 | if (gRPC_BUILD_TESTS) |
| 7208 | |
| 7209 | add_executable(json_rewrite_test |
| 7210 | test/core/json/json_rewrite_test.c |
| 7211 | ) |
| 7212 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7213 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7214 | target_include_directories(json_rewrite_test |
| 7215 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7216 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7217 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7218 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7219 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7220 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7221 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7222 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7223 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7224 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7225 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7226 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7227 | ) |
| 7228 | |
| 7229 | target_link_libraries(json_rewrite_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7230 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7231 | grpc_test_util |
| 7232 | grpc |
| 7233 | gpr_test_util |
| 7234 | gpr |
| 7235 | ) |
| 7236 | |
| 7237 | endif (gRPC_BUILD_TESTS) |
| 7238 | if (gRPC_BUILD_TESTS) |
| 7239 | |
| 7240 | add_executable(json_stream_error_test |
| 7241 | test/core/json/json_stream_error_test.c |
| 7242 | ) |
| 7243 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7244 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7245 | target_include_directories(json_stream_error_test |
| 7246 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7247 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7248 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7249 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7250 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7251 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7252 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7253 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7254 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7255 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7256 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7257 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7258 | ) |
| 7259 | |
| 7260 | target_link_libraries(json_stream_error_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7261 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7262 | grpc_test_util |
| 7263 | grpc |
| 7264 | gpr_test_util |
| 7265 | gpr |
| 7266 | ) |
| 7267 | |
| 7268 | endif (gRPC_BUILD_TESTS) |
| 7269 | if (gRPC_BUILD_TESTS) |
| 7270 | |
| 7271 | add_executable(json_test |
| 7272 | test/core/json/json_test.c |
| 7273 | ) |
| 7274 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7275 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7276 | target_include_directories(json_test |
| 7277 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7278 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7279 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7280 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7281 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7282 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7283 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7284 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7285 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7286 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7287 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7288 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7289 | ) |
| 7290 | |
| 7291 | target_link_libraries(json_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7292 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7293 | grpc_test_util |
| 7294 | grpc |
| 7295 | gpr_test_util |
| 7296 | gpr |
| 7297 | ) |
| 7298 | |
| 7299 | endif (gRPC_BUILD_TESTS) |
| 7300 | if (gRPC_BUILD_TESTS) |
| 7301 | |
| 7302 | add_executable(lame_client_test |
| 7303 | test/core/surface/lame_client_test.c |
| 7304 | ) |
| 7305 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7306 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7307 | target_include_directories(lame_client_test |
| 7308 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7309 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7310 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7311 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7312 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7313 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7314 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7315 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7316 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7317 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7318 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7319 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7320 | ) |
| 7321 | |
| 7322 | target_link_libraries(lame_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7323 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7324 | grpc_test_util |
| 7325 | grpc |
| 7326 | gpr_test_util |
| 7327 | gpr |
| 7328 | ) |
| 7329 | |
| 7330 | endif (gRPC_BUILD_TESTS) |
| 7331 | if (gRPC_BUILD_TESTS) |
| 7332 | |
| 7333 | add_executable(lb_policies_test |
| 7334 | test/core/client_channel/lb_policies_test.c |
| 7335 | ) |
| 7336 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7337 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7338 | target_include_directories(lb_policies_test |
| 7339 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7340 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7341 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7342 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7343 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7344 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7345 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7346 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7347 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7348 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7349 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7350 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7351 | ) |
| 7352 | |
| 7353 | target_link_libraries(lb_policies_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7354 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7355 | grpc_test_util |
| 7356 | grpc |
| 7357 | gpr_test_util |
| 7358 | gpr |
| 7359 | ) |
| 7360 | |
| 7361 | endif (gRPC_BUILD_TESTS) |
| 7362 | if (gRPC_BUILD_TESTS) |
| 7363 | |
| 7364 | add_executable(load_file_test |
| 7365 | test/core/iomgr/load_file_test.c |
| 7366 | ) |
| 7367 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7368 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7369 | target_include_directories(load_file_test |
| 7370 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7371 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7372 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7373 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7374 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7375 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7376 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7377 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7378 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7379 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7380 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7381 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7382 | ) |
| 7383 | |
| 7384 | target_link_libraries(load_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7385 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7386 | grpc_test_util |
| 7387 | grpc |
| 7388 | gpr_test_util |
| 7389 | gpr |
| 7390 | ) |
| 7391 | |
| 7392 | endif (gRPC_BUILD_TESTS) |
| 7393 | if (gRPC_BUILD_TESTS) |
| 7394 | |
| 7395 | add_executable(memory_profile_client |
| 7396 | test/core/memory_usage/client.c |
| 7397 | ) |
| 7398 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7399 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7400 | target_include_directories(memory_profile_client |
| 7401 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7402 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7403 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7404 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7405 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7406 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7407 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7408 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7409 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7410 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7411 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7412 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7413 | ) |
| 7414 | |
| 7415 | target_link_libraries(memory_profile_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7416 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7417 | grpc_test_util |
| 7418 | grpc |
| 7419 | gpr_test_util |
| 7420 | gpr |
| 7421 | ) |
| 7422 | |
| 7423 | endif (gRPC_BUILD_TESTS) |
| 7424 | if (gRPC_BUILD_TESTS) |
| 7425 | |
| 7426 | add_executable(memory_profile_server |
| 7427 | test/core/memory_usage/server.c |
| 7428 | ) |
| 7429 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7430 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7431 | target_include_directories(memory_profile_server |
| 7432 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7433 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7434 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7435 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7436 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7437 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7438 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7439 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7440 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7441 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7442 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7443 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7444 | ) |
| 7445 | |
| 7446 | target_link_libraries(memory_profile_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7447 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7448 | grpc_test_util |
| 7449 | grpc |
| 7450 | gpr_test_util |
| 7451 | gpr |
| 7452 | ) |
| 7453 | |
| 7454 | endif (gRPC_BUILD_TESTS) |
| 7455 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7456 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7457 | |
| 7458 | add_executable(memory_profile_test |
| 7459 | test/core/memory_usage/memory_usage_test.c |
| 7460 | ) |
| 7461 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7462 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7463 | target_include_directories(memory_profile_test |
| 7464 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7465 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7466 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7467 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7468 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7469 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7470 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7471 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7472 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7473 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7474 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7475 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7476 | ) |
| 7477 | |
| 7478 | target_link_libraries(memory_profile_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7479 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7480 | grpc_test_util |
| 7481 | grpc |
| 7482 | gpr_test_util |
| 7483 | gpr |
| 7484 | ) |
| 7485 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7486 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7487 | endif (gRPC_BUILD_TESTS) |
| 7488 | if (gRPC_BUILD_TESTS) |
| 7489 | |
| 7490 | add_executable(message_compress_test |
| 7491 | test/core/compression/message_compress_test.c |
| 7492 | ) |
| 7493 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7494 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7495 | target_include_directories(message_compress_test |
| 7496 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7497 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7498 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7499 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7500 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7501 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7502 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7503 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7504 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7505 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7506 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7507 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7508 | ) |
| 7509 | |
| 7510 | target_link_libraries(message_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7511 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7512 | grpc_test_util |
| 7513 | grpc |
| 7514 | gpr_test_util |
| 7515 | gpr |
| 7516 | ) |
| 7517 | |
| 7518 | endif (gRPC_BUILD_TESTS) |
| 7519 | if (gRPC_BUILD_TESTS) |
| 7520 | |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7521 | add_executable(minimal_stack_is_minimal_test |
| 7522 | test/core/channel/minimal_stack_is_minimal_test.c |
| 7523 | ) |
| 7524 | |
| 7525 | |
| 7526 | target_include_directories(minimal_stack_is_minimal_test |
| 7527 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7528 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7529 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7530 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 7531 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 7532 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7533 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7534 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 7535 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7536 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7537 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 7538 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7539 | ) |
| 7540 | |
| 7541 | target_link_libraries(minimal_stack_is_minimal_test |
| 7542 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7543 | grpc_test_util |
| 7544 | grpc |
| 7545 | gpr_test_util |
| 7546 | gpr |
| 7547 | ) |
| 7548 | |
| 7549 | endif (gRPC_BUILD_TESTS) |
| 7550 | if (gRPC_BUILD_TESTS) |
| 7551 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7552 | add_executable(mlog_test |
| 7553 | test/core/census/mlog_test.c |
| 7554 | ) |
| 7555 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7556 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7557 | target_include_directories(mlog_test |
| 7558 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7559 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7560 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7561 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7562 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7563 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7564 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7565 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7566 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7567 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7568 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7569 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7570 | ) |
| 7571 | |
| 7572 | target_link_libraries(mlog_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7573 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7574 | grpc_test_util |
| 7575 | grpc |
| 7576 | gpr_test_util |
| 7577 | gpr |
| 7578 | ) |
| 7579 | |
| 7580 | endif (gRPC_BUILD_TESTS) |
| 7581 | if (gRPC_BUILD_TESTS) |
| 7582 | |
| 7583 | add_executable(multiple_server_queues_test |
| 7584 | test/core/end2end/multiple_server_queues_test.c |
| 7585 | ) |
| 7586 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7587 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7588 | target_include_directories(multiple_server_queues_test |
| 7589 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7590 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7591 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7592 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7593 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7594 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7595 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7596 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7597 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7598 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7599 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7600 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7601 | ) |
| 7602 | |
| 7603 | target_link_libraries(multiple_server_queues_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7604 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7605 | grpc_test_util |
| 7606 | grpc |
| 7607 | gpr_test_util |
| 7608 | gpr |
| 7609 | ) |
| 7610 | |
| 7611 | endif (gRPC_BUILD_TESTS) |
| 7612 | if (gRPC_BUILD_TESTS) |
| 7613 | |
| 7614 | add_executable(murmur_hash_test |
| 7615 | test/core/support/murmur_hash_test.c |
| 7616 | ) |
| 7617 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7618 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7619 | target_include_directories(murmur_hash_test |
| 7620 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7621 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7622 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7623 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7624 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7625 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7626 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7627 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7628 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7629 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7630 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7631 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7632 | ) |
| 7633 | |
| 7634 | target_link_libraries(murmur_hash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7635 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7636 | gpr_test_util |
| 7637 | gpr |
| 7638 | ) |
| 7639 | |
| 7640 | endif (gRPC_BUILD_TESTS) |
| 7641 | if (gRPC_BUILD_TESTS) |
| 7642 | |
| 7643 | add_executable(no_server_test |
| 7644 | test/core/end2end/no_server_test.c |
| 7645 | ) |
| 7646 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7647 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7648 | target_include_directories(no_server_test |
| 7649 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7650 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7651 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7652 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7653 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7654 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7655 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7656 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7657 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7658 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7659 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7660 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7661 | ) |
| 7662 | |
| 7663 | target_link_libraries(no_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7664 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7665 | grpc_test_util |
| 7666 | grpc |
| 7667 | gpr_test_util |
| 7668 | gpr |
| 7669 | ) |
| 7670 | |
| 7671 | endif (gRPC_BUILD_TESTS) |
| 7672 | if (gRPC_BUILD_TESTS) |
| 7673 | |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7674 | add_executable(num_external_connectivity_watchers_test |
| 7675 | test/core/surface/num_external_connectivity_watchers_test.c |
| 7676 | ) |
| 7677 | |
| 7678 | |
| 7679 | target_include_directories(num_external_connectivity_watchers_test |
| 7680 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7681 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7682 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7683 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 7684 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 7685 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7686 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7687 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 7688 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7689 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7690 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 7691 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7692 | ) |
| 7693 | |
| 7694 | target_link_libraries(num_external_connectivity_watchers_test |
| 7695 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7696 | grpc_test_util |
| 7697 | grpc |
| 7698 | gpr_test_util |
| 7699 | gpr |
| 7700 | ) |
| 7701 | |
| 7702 | endif (gRPC_BUILD_TESTS) |
| 7703 | if (gRPC_BUILD_TESTS) |
| 7704 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7705 | add_executable(parse_address_test |
| 7706 | test/core/client_channel/parse_address_test.c |
| 7707 | ) |
| 7708 | |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7709 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7710 | target_include_directories(parse_address_test |
| 7711 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7712 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7713 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7714 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7715 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7716 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7717 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7718 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7719 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7720 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7721 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7722 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7723 | ) |
| 7724 | |
| 7725 | target_link_libraries(parse_address_test |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7726 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7727 | grpc_test_util |
| 7728 | grpc |
| 7729 | gpr_test_util |
| 7730 | gpr |
| 7731 | ) |
| 7732 | |
| 7733 | endif (gRPC_BUILD_TESTS) |
| 7734 | if (gRPC_BUILD_TESTS) |
| 7735 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7736 | add_executable(percent_encoding_test |
| 7737 | test/core/slice/percent_encoding_test.c |
| 7738 | ) |
| 7739 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7740 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7741 | target_include_directories(percent_encoding_test |
| 7742 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7743 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7744 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7745 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7746 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7747 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7748 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7749 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7750 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7751 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7752 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7753 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7754 | ) |
| 7755 | |
| 7756 | target_link_libraries(percent_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7757 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7758 | grpc_test_util |
| 7759 | grpc |
| 7760 | gpr_test_util |
| 7761 | gpr |
| 7762 | ) |
| 7763 | |
| 7764 | endif (gRPC_BUILD_TESTS) |
| 7765 | if (gRPC_BUILD_TESTS) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7766 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7767 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7768 | add_executable(pollset_set_test |
| 7769 | test/core/iomgr/pollset_set_test.c |
| 7770 | ) |
| 7771 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7772 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7773 | target_include_directories(pollset_set_test |
| 7774 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7775 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7776 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7777 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7778 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7779 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7780 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7781 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7782 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7783 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7784 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7785 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7786 | ) |
| 7787 | |
| 7788 | target_link_libraries(pollset_set_test |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7789 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7790 | grpc_test_util |
| 7791 | grpc |
| 7792 | gpr_test_util |
| 7793 | gpr |
| 7794 | ) |
| 7795 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7796 | endif() |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7797 | endif (gRPC_BUILD_TESTS) |
| 7798 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7799 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7800 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7801 | add_executable(resolve_address_posix_test |
| 7802 | test/core/iomgr/resolve_address_posix_test.c |
| 7803 | ) |
| 7804 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7805 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7806 | target_include_directories(resolve_address_posix_test |
| 7807 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7808 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7809 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7810 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7811 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7812 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7813 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7814 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7815 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7816 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7817 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7818 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7819 | ) |
| 7820 | |
| 7821 | target_link_libraries(resolve_address_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7822 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7823 | grpc_test_util |
| 7824 | grpc |
| 7825 | gpr_test_util |
| 7826 | gpr |
| 7827 | ) |
| 7828 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7829 | endif() |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7830 | endif (gRPC_BUILD_TESTS) |
| 7831 | if (gRPC_BUILD_TESTS) |
| 7832 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7833 | add_executable(resolve_address_test |
| 7834 | test/core/iomgr/resolve_address_test.c |
| 7835 | ) |
| 7836 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7837 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7838 | target_include_directories(resolve_address_test |
| 7839 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7840 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7841 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7842 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7843 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7844 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7845 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7846 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7847 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7848 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7849 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7850 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7851 | ) |
| 7852 | |
| 7853 | target_link_libraries(resolve_address_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7854 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7855 | grpc_test_util |
| 7856 | grpc |
| 7857 | gpr_test_util |
| 7858 | gpr |
| 7859 | ) |
| 7860 | |
| 7861 | endif (gRPC_BUILD_TESTS) |
| 7862 | if (gRPC_BUILD_TESTS) |
| 7863 | |
| 7864 | add_executable(resource_quota_test |
| 7865 | test/core/iomgr/resource_quota_test.c |
| 7866 | ) |
| 7867 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7868 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7869 | target_include_directories(resource_quota_test |
| 7870 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7871 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7872 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7873 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7874 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7875 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7876 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7877 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7878 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7879 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7880 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7881 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7882 | ) |
| 7883 | |
| 7884 | target_link_libraries(resource_quota_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7885 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7886 | grpc_test_util |
| 7887 | grpc |
| 7888 | gpr_test_util |
| 7889 | gpr |
| 7890 | ) |
| 7891 | |
| 7892 | endif (gRPC_BUILD_TESTS) |
| 7893 | if (gRPC_BUILD_TESTS) |
| 7894 | |
| 7895 | add_executable(secure_channel_create_test |
| 7896 | test/core/surface/secure_channel_create_test.c |
| 7897 | ) |
| 7898 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7899 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7900 | target_include_directories(secure_channel_create_test |
| 7901 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7902 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7903 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7904 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7905 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7906 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7907 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7908 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7909 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7910 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7911 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7912 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7913 | ) |
| 7914 | |
| 7915 | target_link_libraries(secure_channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7916 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7917 | grpc_test_util |
| 7918 | grpc |
| 7919 | gpr_test_util |
| 7920 | gpr |
| 7921 | ) |
| 7922 | |
| 7923 | endif (gRPC_BUILD_TESTS) |
| 7924 | if (gRPC_BUILD_TESTS) |
| 7925 | |
| 7926 | add_executable(secure_endpoint_test |
| 7927 | test/core/security/secure_endpoint_test.c |
| 7928 | ) |
| 7929 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7930 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7931 | target_include_directories(secure_endpoint_test |
| 7932 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7933 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7934 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7935 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7936 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7937 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7938 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7939 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7940 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7941 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7942 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7943 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7944 | ) |
| 7945 | |
| 7946 | target_link_libraries(secure_endpoint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7947 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7948 | grpc_test_util |
| 7949 | grpc |
| 7950 | gpr_test_util |
| 7951 | gpr |
| 7952 | ) |
| 7953 | |
| 7954 | endif (gRPC_BUILD_TESTS) |
| 7955 | if (gRPC_BUILD_TESTS) |
| 7956 | |
| 7957 | add_executable(sequential_connectivity_test |
| 7958 | test/core/surface/sequential_connectivity_test.c |
| 7959 | ) |
| 7960 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7961 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7962 | target_include_directories(sequential_connectivity_test |
| 7963 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7964 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7965 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7966 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7967 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7968 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7969 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7970 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7971 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7972 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7973 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7974 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7975 | ) |
| 7976 | |
| 7977 | target_link_libraries(sequential_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7978 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7979 | grpc_test_util |
| 7980 | grpc |
| 7981 | gpr_test_util |
| 7982 | gpr |
| 7983 | ) |
| 7984 | |
| 7985 | endif (gRPC_BUILD_TESTS) |
| 7986 | if (gRPC_BUILD_TESTS) |
| 7987 | |
| 7988 | add_executable(server_chttp2_test |
| 7989 | test/core/surface/server_chttp2_test.c |
| 7990 | ) |
| 7991 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7992 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7993 | target_include_directories(server_chttp2_test |
| 7994 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7995 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7996 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7997 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7998 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7999 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8000 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8001 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8002 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8003 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8004 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8005 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8006 | ) |
| 8007 | |
| 8008 | target_link_libraries(server_chttp2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8009 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8010 | grpc_test_util |
| 8011 | grpc |
| 8012 | gpr_test_util |
| 8013 | gpr |
| 8014 | ) |
| 8015 | |
| 8016 | endif (gRPC_BUILD_TESTS) |
| 8017 | if (gRPC_BUILD_TESTS) |
| 8018 | |
| 8019 | add_executable(server_test |
| 8020 | test/core/surface/server_test.c |
| 8021 | ) |
| 8022 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8023 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8024 | target_include_directories(server_test |
| 8025 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8026 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8027 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8028 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8029 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8030 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8031 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8032 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8033 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8034 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8035 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8036 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8037 | ) |
| 8038 | |
| 8039 | target_link_libraries(server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8040 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8041 | grpc_test_util |
| 8042 | grpc |
| 8043 | gpr_test_util |
| 8044 | gpr |
| 8045 | ) |
| 8046 | |
| 8047 | endif (gRPC_BUILD_TESTS) |
| 8048 | if (gRPC_BUILD_TESTS) |
| 8049 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8050 | add_executable(slice_buffer_test |
| 8051 | test/core/slice/slice_buffer_test.c |
| 8052 | ) |
| 8053 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8054 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8055 | target_include_directories(slice_buffer_test |
| 8056 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8057 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8058 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8059 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8060 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8061 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8062 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8063 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8064 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8065 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8066 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8067 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8068 | ) |
| 8069 | |
| 8070 | target_link_libraries(slice_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8071 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8072 | grpc_test_util |
| 8073 | grpc |
| 8074 | gpr_test_util |
| 8075 | gpr |
| 8076 | ) |
| 8077 | |
| 8078 | endif (gRPC_BUILD_TESTS) |
| 8079 | if (gRPC_BUILD_TESTS) |
| 8080 | |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 8081 | add_executable(slice_hash_table_test |
| 8082 | test/core/slice/slice_hash_table_test.c |
| 8083 | ) |
| 8084 | |
| 8085 | |
| 8086 | target_include_directories(slice_hash_table_test |
| 8087 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8088 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8089 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8090 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8091 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8092 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8093 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8094 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 8095 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8096 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8097 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8098 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8099 | ) |
| 8100 | |
| 8101 | target_link_libraries(slice_hash_table_test |
| 8102 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8103 | grpc_test_util |
| 8104 | grpc |
| 8105 | gpr_test_util |
| 8106 | gpr |
| 8107 | ) |
| 8108 | |
| 8109 | endif (gRPC_BUILD_TESTS) |
| 8110 | if (gRPC_BUILD_TESTS) |
| 8111 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8112 | add_executable(slice_string_helpers_test |
| 8113 | test/core/slice/slice_string_helpers_test.c |
| 8114 | ) |
| 8115 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8116 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8117 | target_include_directories(slice_string_helpers_test |
| 8118 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8119 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8120 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8121 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8122 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8123 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8124 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8125 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8126 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8127 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8128 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8129 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8130 | ) |
| 8131 | |
| 8132 | target_link_libraries(slice_string_helpers_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8133 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8134 | grpc_test_util |
| 8135 | grpc |
| 8136 | gpr_test_util |
| 8137 | gpr |
| 8138 | ) |
| 8139 | |
| 8140 | endif (gRPC_BUILD_TESTS) |
| 8141 | if (gRPC_BUILD_TESTS) |
| 8142 | |
| 8143 | add_executable(slice_test |
| 8144 | test/core/slice/slice_test.c |
| 8145 | ) |
| 8146 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8147 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8148 | target_include_directories(slice_test |
| 8149 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8150 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8151 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8152 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8153 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8154 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8155 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8156 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8157 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8158 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8159 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8160 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8161 | ) |
| 8162 | |
| 8163 | target_link_libraries(slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8164 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8165 | grpc_test_util |
| 8166 | grpc |
| 8167 | gpr_test_util |
| 8168 | gpr |
| 8169 | ) |
| 8170 | |
| 8171 | endif (gRPC_BUILD_TESTS) |
| 8172 | if (gRPC_BUILD_TESTS) |
| 8173 | |
| 8174 | add_executable(sockaddr_resolver_test |
| 8175 | test/core/client_channel/resolvers/sockaddr_resolver_test.c |
| 8176 | ) |
| 8177 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8178 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8179 | target_include_directories(sockaddr_resolver_test |
| 8180 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8181 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8182 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8183 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8184 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8185 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8186 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8187 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8188 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8189 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8190 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8191 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8192 | ) |
| 8193 | |
| 8194 | target_link_libraries(sockaddr_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8195 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8196 | grpc_test_util |
| 8197 | grpc |
| 8198 | gpr_test_util |
| 8199 | gpr |
| 8200 | ) |
| 8201 | |
| 8202 | endif (gRPC_BUILD_TESTS) |
| 8203 | if (gRPC_BUILD_TESTS) |
| 8204 | |
| 8205 | add_executable(sockaddr_utils_test |
| 8206 | test/core/iomgr/sockaddr_utils_test.c |
| 8207 | ) |
| 8208 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8209 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8210 | target_include_directories(sockaddr_utils_test |
| 8211 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8212 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8213 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8214 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8215 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8216 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8217 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8218 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8219 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8220 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8221 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8222 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8223 | ) |
| 8224 | |
| 8225 | target_link_libraries(sockaddr_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8226 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8227 | grpc_test_util |
| 8228 | grpc |
| 8229 | gpr_test_util |
| 8230 | gpr |
| 8231 | ) |
| 8232 | |
| 8233 | endif (gRPC_BUILD_TESTS) |
| 8234 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8235 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8236 | |
| 8237 | add_executable(socket_utils_test |
| 8238 | test/core/iomgr/socket_utils_test.c |
| 8239 | ) |
| 8240 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8241 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8242 | target_include_directories(socket_utils_test |
| 8243 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8244 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8245 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8246 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8247 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8248 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8249 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8250 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8251 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8252 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8253 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8254 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8255 | ) |
| 8256 | |
| 8257 | target_link_libraries(socket_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8258 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8259 | grpc_test_util |
| 8260 | grpc |
| 8261 | gpr_test_util |
| 8262 | gpr |
| 8263 | ) |
| 8264 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8265 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8266 | endif (gRPC_BUILD_TESTS) |
| 8267 | if (gRPC_BUILD_TESTS) |
| 8268 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8269 | add_executable(status_conversion_test |
| 8270 | test/core/transport/status_conversion_test.c |
| 8271 | ) |
| 8272 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8273 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8274 | target_include_directories(status_conversion_test |
| 8275 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8276 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8277 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8278 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8279 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8280 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8281 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8282 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8283 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8284 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8285 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8286 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8287 | ) |
| 8288 | |
| 8289 | target_link_libraries(status_conversion_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8290 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8291 | grpc_test_util |
| 8292 | grpc |
| 8293 | gpr_test_util |
| 8294 | gpr |
| 8295 | ) |
| 8296 | |
| 8297 | endif (gRPC_BUILD_TESTS) |
| 8298 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8299 | |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8300 | add_executable(stream_compression_test |
| 8301 | test/core/compression/stream_compression_test.c |
| 8302 | ) |
| 8303 | |
| 8304 | |
| 8305 | target_include_directories(stream_compression_test |
| 8306 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8307 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8308 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8309 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8310 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8311 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8312 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8313 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 8314 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8315 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8316 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8317 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8318 | ) |
| 8319 | |
| 8320 | target_link_libraries(stream_compression_test |
| 8321 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8322 | grpc_test_util |
| 8323 | grpc |
| 8324 | gpr_test_util |
| 8325 | gpr |
| 8326 | ) |
| 8327 | |
| 8328 | endif (gRPC_BUILD_TESTS) |
| 8329 | if (gRPC_BUILD_TESTS) |
| 8330 | |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8331 | add_executable(stream_owned_slice_test |
| 8332 | test/core/transport/stream_owned_slice_test.c |
| 8333 | ) |
| 8334 | |
| 8335 | |
| 8336 | target_include_directories(stream_owned_slice_test |
| 8337 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8338 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8339 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8340 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8341 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8342 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8343 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8344 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8345 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8346 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8347 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8348 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8349 | ) |
| 8350 | |
| 8351 | target_link_libraries(stream_owned_slice_test |
| 8352 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8353 | grpc_test_util |
| 8354 | grpc |
| 8355 | gpr_test_util |
| 8356 | gpr |
| 8357 | ) |
| 8358 | |
| 8359 | endif (gRPC_BUILD_TESTS) |
| 8360 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8361 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8362 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8363 | add_executable(tcp_client_posix_test |
| 8364 | test/core/iomgr/tcp_client_posix_test.c |
| 8365 | ) |
| 8366 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8367 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8368 | target_include_directories(tcp_client_posix_test |
| 8369 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8370 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8371 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8372 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8373 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8374 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8375 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8376 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8377 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8378 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8379 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8380 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8381 | ) |
| 8382 | |
| 8383 | target_link_libraries(tcp_client_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8384 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8385 | grpc_test_util |
| 8386 | grpc |
| 8387 | gpr_test_util |
| 8388 | gpr |
| 8389 | ) |
| 8390 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8391 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8392 | endif (gRPC_BUILD_TESTS) |
| 8393 | if (gRPC_BUILD_TESTS) |
| 8394 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8395 | add_executable(tcp_client_uv_test |
| 8396 | test/core/iomgr/tcp_client_uv_test.c |
| 8397 | ) |
| 8398 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8399 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8400 | target_include_directories(tcp_client_uv_test |
| 8401 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8402 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8403 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8404 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8405 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8406 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8407 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8408 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8409 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8410 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8411 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8412 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8413 | ) |
| 8414 | |
| 8415 | target_link_libraries(tcp_client_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8416 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8417 | grpc_test_util |
| 8418 | grpc |
| 8419 | gpr_test_util |
| 8420 | gpr |
| 8421 | ) |
| 8422 | |
| 8423 | endif (gRPC_BUILD_TESTS) |
| 8424 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8425 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8426 | |
| 8427 | add_executable(tcp_posix_test |
| 8428 | test/core/iomgr/tcp_posix_test.c |
| 8429 | ) |
| 8430 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8431 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8432 | target_include_directories(tcp_posix_test |
| 8433 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8434 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8435 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8436 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8437 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8438 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8439 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8440 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8441 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8442 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8443 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8444 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8445 | ) |
| 8446 | |
| 8447 | target_link_libraries(tcp_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8448 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8449 | grpc_test_util |
| 8450 | grpc |
| 8451 | gpr_test_util |
| 8452 | gpr |
| 8453 | ) |
| 8454 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8455 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8456 | endif (gRPC_BUILD_TESTS) |
| 8457 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8458 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8459 | |
| 8460 | add_executable(tcp_server_posix_test |
| 8461 | test/core/iomgr/tcp_server_posix_test.c |
| 8462 | ) |
| 8463 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8464 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8465 | target_include_directories(tcp_server_posix_test |
| 8466 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8467 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8468 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8469 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8470 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8471 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8472 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8473 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8474 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8475 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8476 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8477 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8478 | ) |
| 8479 | |
| 8480 | target_link_libraries(tcp_server_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8481 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8482 | grpc_test_util |
| 8483 | grpc |
| 8484 | gpr_test_util |
| 8485 | gpr |
| 8486 | ) |
| 8487 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8488 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8489 | endif (gRPC_BUILD_TESTS) |
| 8490 | if (gRPC_BUILD_TESTS) |
| 8491 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8492 | add_executable(tcp_server_uv_test |
| 8493 | test/core/iomgr/tcp_server_uv_test.c |
| 8494 | ) |
| 8495 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8496 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8497 | target_include_directories(tcp_server_uv_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 |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8502 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8503 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8504 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8505 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8506 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8507 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8508 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8509 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8510 | ) |
| 8511 | |
| 8512 | target_link_libraries(tcp_server_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8513 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 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(time_averaged_stats_test |
| 8524 | test/core/iomgr/time_averaged_stats_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(time_averaged_stats_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(time_averaged_stats_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(timeout_encoding_test |
| 8555 | test/core/transport/timeout_encoding_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(timeout_encoding_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(timeout_encoding_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(timer_heap_test |
| 8586 | test/core/iomgr/timer_heap_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(timer_heap_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(timer_heap_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(timer_list_test |
| 8617 | test/core/iomgr/timer_list_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(timer_list_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(timer_list_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) |
| 8646 | |
| 8647 | add_executable(transport_connectivity_state_test |
| 8648 | test/core/transport/connectivity_state_test.c |
| 8649 | ) |
| 8650 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8651 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8652 | target_include_directories(transport_connectivity_state_test |
| 8653 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8654 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8655 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8656 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8657 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8658 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8659 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8660 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8661 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8662 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8663 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8664 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8665 | ) |
| 8666 | |
| 8667 | target_link_libraries(transport_connectivity_state_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8668 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8669 | grpc_test_util |
| 8670 | grpc |
| 8671 | gpr_test_util |
| 8672 | gpr |
| 8673 | ) |
| 8674 | |
| 8675 | endif (gRPC_BUILD_TESTS) |
| 8676 | if (gRPC_BUILD_TESTS) |
| 8677 | |
| 8678 | add_executable(transport_metadata_test |
| 8679 | test/core/transport/metadata_test.c |
| 8680 | ) |
| 8681 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8682 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8683 | target_include_directories(transport_metadata_test |
| 8684 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8685 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8686 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8687 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8688 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8689 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8690 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8691 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8692 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8693 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8694 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8695 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8696 | ) |
| 8697 | |
| 8698 | target_link_libraries(transport_metadata_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8699 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8700 | grpc_test_util |
| 8701 | grpc |
| 8702 | gpr_test_util |
| 8703 | gpr |
| 8704 | ) |
| 8705 | |
| 8706 | endif (gRPC_BUILD_TESTS) |
| 8707 | if (gRPC_BUILD_TESTS) |
| 8708 | |
| 8709 | add_executable(transport_pid_controller_test |
| 8710 | test/core/transport/pid_controller_test.c |
| 8711 | ) |
| 8712 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8713 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8714 | target_include_directories(transport_pid_controller_test |
| 8715 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8716 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8717 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8718 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8719 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8720 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8721 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8722 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8723 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8724 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8725 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8726 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8727 | ) |
| 8728 | |
| 8729 | target_link_libraries(transport_pid_controller_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8730 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8731 | grpc_test_util |
| 8732 | grpc |
| 8733 | gpr_test_util |
| 8734 | gpr |
| 8735 | ) |
| 8736 | |
| 8737 | endif (gRPC_BUILD_TESTS) |
| 8738 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8739 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8740 | |
| 8741 | add_executable(transport_security_test |
| 8742 | test/core/tsi/transport_security_test.c |
| 8743 | ) |
| 8744 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8745 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8746 | target_include_directories(transport_security_test |
| 8747 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8748 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8749 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8750 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8751 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8752 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8753 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8754 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8755 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8756 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8757 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8758 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8759 | ) |
| 8760 | |
| 8761 | target_link_libraries(transport_security_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8762 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8763 | grpc_test_util |
| 8764 | grpc |
| 8765 | gpr_test_util |
| 8766 | gpr |
| 8767 | ) |
| 8768 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8769 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8770 | endif (gRPC_BUILD_TESTS) |
| 8771 | if (gRPC_BUILD_TESTS) |
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) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8773 | |
| 8774 | add_executable(udp_server_test |
| 8775 | test/core/iomgr/udp_server_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(udp_server_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(udp_server_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 | |
| 8806 | add_executable(uri_parser_test |
| 8807 | test/core/client_channel/uri_parser_test.c |
| 8808 | ) |
| 8809 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8810 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8811 | target_include_directories(uri_parser_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 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8816 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [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 |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8823 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8824 | ) |
| 8825 | |
| 8826 | target_link_libraries(uri_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8827 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [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(wakeup_fd_cv_test |
| 8839 | test/core/iomgr/wakeup_fd_cv_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(wakeup_fd_cv_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(wakeup_fd_cv_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) |
| 8869 | |
| 8870 | add_executable(alarm_cpp_test |
| 8871 | test/cpp/common/alarm_cpp_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8872 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8873 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8874 | ) |
| 8875 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8876 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8877 | target_include_directories(alarm_cpp_test |
| 8878 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8879 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8880 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8881 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8882 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8883 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8884 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8885 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8886 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8887 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8888 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8889 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8890 | PRIVATE third_party/googletest/googletest/include |
| 8891 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8892 | PRIVATE third_party/googletest/googlemock/include |
| 8893 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8894 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8895 | ) |
| 8896 | |
| 8897 | target_link_libraries(alarm_cpp_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8898 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8899 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8900 | grpc++_test_util |
| 8901 | grpc_test_util |
| 8902 | grpc++ |
| 8903 | grpc |
| 8904 | gpr_test_util |
| 8905 | gpr |
| 8906 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8907 | ) |
| 8908 | |
| 8909 | endif (gRPC_BUILD_TESTS) |
| 8910 | if (gRPC_BUILD_TESTS) |
| 8911 | |
| 8912 | add_executable(async_end2end_test |
| 8913 | test/cpp/end2end/async_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8914 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8915 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8916 | ) |
| 8917 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8918 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8919 | target_include_directories(async_end2end_test |
| 8920 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8921 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8922 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8923 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8924 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8925 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8926 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8927 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8928 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8929 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8930 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8931 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8932 | PRIVATE third_party/googletest/googletest/include |
| 8933 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8934 | PRIVATE third_party/googletest/googlemock/include |
| 8935 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8936 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8937 | ) |
| 8938 | |
| 8939 | target_link_libraries(async_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8940 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8941 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8942 | grpc++_test_util |
| 8943 | grpc_test_util |
| 8944 | grpc++ |
| 8945 | grpc |
| 8946 | gpr_test_util |
| 8947 | gpr |
| 8948 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8949 | ) |
| 8950 | |
| 8951 | endif (gRPC_BUILD_TESTS) |
| 8952 | if (gRPC_BUILD_TESTS) |
| 8953 | |
| 8954 | add_executable(auth_property_iterator_test |
| 8955 | test/cpp/common/auth_property_iterator_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8956 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8957 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8958 | ) |
| 8959 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8960 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8961 | target_include_directories(auth_property_iterator_test |
| 8962 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8963 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8964 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8965 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8966 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8967 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8968 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8969 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8970 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8971 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8972 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8973 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8974 | PRIVATE third_party/googletest/googletest/include |
| 8975 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8976 | PRIVATE third_party/googletest/googlemock/include |
| 8977 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8978 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8979 | ) |
| 8980 | |
| 8981 | target_link_libraries(auth_property_iterator_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8982 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8983 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8984 | grpc++_test_util |
| 8985 | grpc_test_util |
| 8986 | grpc++ |
| 8987 | grpc |
| 8988 | gpr_test_util |
| 8989 | gpr |
| 8990 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8991 | ) |
| 8992 | |
| 8993 | endif (gRPC_BUILD_TESTS) |
| 8994 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8995 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8996 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8997 | add_executable(bm_arena |
| 8998 | test/cpp/microbenchmarks/bm_arena.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8999 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9000 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9001 | ) |
| 9002 | |
| 9003 | |
| 9004 | target_include_directories(bm_arena |
| 9005 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9006 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9007 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9008 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9009 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9010 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9011 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9012 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9013 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9014 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9015 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9016 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9017 | PRIVATE third_party/googletest/googletest/include |
| 9018 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9019 | PRIVATE third_party/googletest/googlemock/include |
| 9020 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9021 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9022 | ) |
| 9023 | |
| 9024 | target_link_libraries(bm_arena |
| 9025 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9026 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9027 | grpc_benchmark |
| 9028 | benchmark |
| 9029 | grpc++_test_util |
| 9030 | grpc_test_util |
| 9031 | grpc++ |
| 9032 | grpc |
| 9033 | gpr_test_util |
| 9034 | gpr |
| 9035 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9036 | ) |
| 9037 | |
| 9038 | endif() |
| 9039 | endif (gRPC_BUILD_TESTS) |
| 9040 | if (gRPC_BUILD_TESTS) |
| 9041 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9042 | |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9043 | add_executable(bm_call_create |
| 9044 | test/cpp/microbenchmarks/bm_call_create.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9045 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9046 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9047 | ) |
| 9048 | |
| 9049 | |
| 9050 | target_include_directories(bm_call_create |
| 9051 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9052 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9053 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9054 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9055 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9056 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9057 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9058 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9059 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9060 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9061 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9062 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9063 | PRIVATE third_party/googletest/googletest/include |
| 9064 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9065 | PRIVATE third_party/googletest/googlemock/include |
| 9066 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9067 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9068 | ) |
| 9069 | |
| 9070 | target_link_libraries(bm_call_create |
| 9071 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9072 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9073 | grpc_benchmark |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9074 | benchmark |
| 9075 | grpc++_test_util |
| 9076 | grpc_test_util |
| 9077 | grpc++ |
| 9078 | grpc |
| 9079 | gpr_test_util |
| 9080 | gpr |
| 9081 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9082 | ) |
| 9083 | |
| 9084 | endif() |
| 9085 | endif (gRPC_BUILD_TESTS) |
| 9086 | if (gRPC_BUILD_TESTS) |
| 9087 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9088 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 9089 | add_executable(bm_chttp2_hpack |
| 9090 | test/cpp/microbenchmarks/bm_chttp2_hpack.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9091 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9092 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9093 | ) |
| 9094 | |
| 9095 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 9096 | target_include_directories(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9097 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9098 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9099 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9100 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9101 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9102 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9103 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9104 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9105 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9106 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9107 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9108 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9109 | PRIVATE third_party/googletest/googletest/include |
| 9110 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9111 | PRIVATE third_party/googletest/googlemock/include |
| 9112 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9113 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9114 | ) |
| 9115 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 9116 | target_link_libraries(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9117 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9118 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9119 | grpc_benchmark |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9120 | benchmark |
| 9121 | grpc++_test_util |
| 9122 | grpc_test_util |
| 9123 | grpc++ |
| 9124 | grpc |
| 9125 | gpr_test_util |
| 9126 | gpr |
| 9127 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9128 | ) |
| 9129 | |
| 9130 | endif() |
| 9131 | endif (gRPC_BUILD_TESTS) |
| 9132 | if (gRPC_BUILD_TESTS) |
| 9133 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9134 | |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9135 | add_executable(bm_chttp2_transport |
| 9136 | test/cpp/microbenchmarks/bm_chttp2_transport.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9137 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9138 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9139 | ) |
| 9140 | |
| 9141 | |
| 9142 | target_include_directories(bm_chttp2_transport |
| 9143 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9144 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9145 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9146 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9147 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9148 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9149 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 937302b | 2017-03-22 10:54:31 -0700 | [diff] [blame] | 9150 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 9151 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9152 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9153 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9154 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9155 | PRIVATE third_party/googletest/googletest/include |
| 9156 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9157 | PRIVATE third_party/googletest/googlemock/include |
| 9158 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9159 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9160 | ) |
| 9161 | |
| 9162 | target_link_libraries(bm_chttp2_transport |
| 9163 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9164 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9165 | grpc_benchmark |
| 9166 | benchmark |
| 9167 | grpc++_test_util |
| 9168 | grpc_test_util |
| 9169 | grpc++ |
| 9170 | grpc |
| 9171 | gpr_test_util |
| 9172 | gpr |
| 9173 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9174 | ) |
| 9175 | |
| 9176 | endif() |
| 9177 | endif (gRPC_BUILD_TESTS) |
| 9178 | if (gRPC_BUILD_TESTS) |
| 9179 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9180 | |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9181 | add_executable(bm_closure |
| 9182 | test/cpp/microbenchmarks/bm_closure.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9183 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9184 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9185 | ) |
| 9186 | |
| 9187 | |
| 9188 | target_include_directories(bm_closure |
| 9189 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9190 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9191 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9192 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9193 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9194 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9195 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9196 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9197 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9198 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9199 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9200 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9201 | PRIVATE third_party/googletest/googletest/include |
| 9202 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9203 | PRIVATE third_party/googletest/googlemock/include |
| 9204 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9205 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9206 | ) |
| 9207 | |
| 9208 | target_link_libraries(bm_closure |
| 9209 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9210 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9211 | grpc_benchmark |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9212 | benchmark |
Craig Tiller | 510f38a | 2017-02-24 17:00:19 -0800 | [diff] [blame] | 9213 | grpc++_test_util |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9214 | grpc_test_util |
Craig Tiller | 510f38a | 2017-02-24 17:00:19 -0800 | [diff] [blame] | 9215 | grpc++ |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9216 | grpc |
| 9217 | gpr_test_util |
| 9218 | gpr |
| 9219 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9220 | ) |
| 9221 | |
| 9222 | endif() |
| 9223 | endif (gRPC_BUILD_TESTS) |
| 9224 | if (gRPC_BUILD_TESTS) |
| 9225 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9226 | |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9227 | add_executable(bm_cq |
| 9228 | test/cpp/microbenchmarks/bm_cq.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9229 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9230 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9231 | ) |
| 9232 | |
| 9233 | |
| 9234 | target_include_directories(bm_cq |
| 9235 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9236 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9237 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9238 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9239 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9240 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9241 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9242 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9243 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9244 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9245 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9246 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9247 | PRIVATE third_party/googletest/googletest/include |
| 9248 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9249 | PRIVATE third_party/googletest/googlemock/include |
| 9250 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9251 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9252 | ) |
| 9253 | |
| 9254 | target_link_libraries(bm_cq |
| 9255 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9256 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9257 | grpc_benchmark |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9258 | benchmark |
| 9259 | grpc++_test_util |
| 9260 | grpc_test_util |
| 9261 | grpc++ |
| 9262 | grpc |
| 9263 | gpr_test_util |
| 9264 | gpr |
| 9265 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9266 | ) |
| 9267 | |
| 9268 | endif() |
| 9269 | endif (gRPC_BUILD_TESTS) |
| 9270 | if (gRPC_BUILD_TESTS) |
| 9271 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9272 | |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9273 | add_executable(bm_cq_multiple_threads |
| 9274 | test/cpp/microbenchmarks/bm_cq_multiple_threads.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 9275 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9276 | third_party/googletest/googlemock/src/gmock-all.cc |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9277 | ) |
| 9278 | |
| 9279 | |
| 9280 | target_include_directories(bm_cq_multiple_threads |
| 9281 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9282 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9283 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9284 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9285 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9286 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9287 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9288 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 9289 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9290 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9291 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9292 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 9293 | PRIVATE third_party/googletest/googletest/include |
| 9294 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9295 | PRIVATE third_party/googletest/googlemock/include |
| 9296 | PRIVATE third_party/googletest/googlemock |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9297 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9298 | ) |
| 9299 | |
| 9300 | target_link_libraries(bm_cq_multiple_threads |
| 9301 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9302 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9303 | grpc_benchmark |
| 9304 | benchmark |
| 9305 | grpc++_test_util |
| 9306 | grpc_test_util |
| 9307 | grpc++ |
| 9308 | grpc |
| 9309 | gpr_test_util |
| 9310 | gpr |
| 9311 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9312 | ) |
| 9313 | |
| 9314 | endif() |
| 9315 | endif (gRPC_BUILD_TESTS) |
| 9316 | if (gRPC_BUILD_TESTS) |
| 9317 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9318 | |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9319 | add_executable(bm_error |
| 9320 | test/cpp/microbenchmarks/bm_error.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9321 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9322 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9323 | ) |
| 9324 | |
| 9325 | |
| 9326 | target_include_directories(bm_error |
| 9327 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9328 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9329 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9330 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9331 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9332 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9333 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9334 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9335 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9336 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9337 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9338 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9339 | PRIVATE third_party/googletest/googletest/include |
| 9340 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9341 | PRIVATE third_party/googletest/googlemock/include |
| 9342 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9343 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9344 | ) |
| 9345 | |
| 9346 | target_link_libraries(bm_error |
| 9347 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9348 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9349 | grpc_benchmark |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9350 | benchmark |
| 9351 | grpc++_test_util |
| 9352 | grpc_test_util |
| 9353 | grpc++ |
| 9354 | grpc |
| 9355 | gpr_test_util |
| 9356 | gpr |
| 9357 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9358 | ) |
| 9359 | |
| 9360 | endif() |
| 9361 | endif (gRPC_BUILD_TESTS) |
| 9362 | if (gRPC_BUILD_TESTS) |
| 9363 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9364 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9365 | add_executable(bm_fullstack_streaming_ping_pong |
| 9366 | test/cpp/microbenchmarks/bm_fullstack_streaming_ping_pong.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 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9372 | target_include_directories(bm_fullstack_streaming_ping_pong |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 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 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9392 | target_link_libraries(bm_fullstack_streaming_ping_pong |
| 9393 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9394 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9395 | grpc_benchmark |
| 9396 | benchmark |
| 9397 | grpc++_test_util |
| 9398 | grpc_test_util |
| 9399 | grpc++ |
| 9400 | grpc |
| 9401 | gpr_test_util |
| 9402 | gpr |
| 9403 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9404 | ) |
| 9405 | |
| 9406 | endif() |
| 9407 | endif (gRPC_BUILD_TESTS) |
| 9408 | if (gRPC_BUILD_TESTS) |
| 9409 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9410 | |
| 9411 | add_executable(bm_fullstack_streaming_pump |
| 9412 | test/cpp/microbenchmarks/bm_fullstack_streaming_pump.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9413 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9414 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9415 | ) |
| 9416 | |
| 9417 | |
| 9418 | target_include_directories(bm_fullstack_streaming_pump |
| 9419 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9420 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9421 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9422 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9423 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9424 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9425 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9426 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9427 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9428 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9429 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9430 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9431 | PRIVATE third_party/googletest/googletest/include |
| 9432 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9433 | PRIVATE third_party/googletest/googlemock/include |
| 9434 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9435 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9436 | ) |
| 9437 | |
| 9438 | target_link_libraries(bm_fullstack_streaming_pump |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9439 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9440 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9441 | grpc_benchmark |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9442 | benchmark |
| 9443 | grpc++_test_util |
| 9444 | grpc_test_util |
| 9445 | grpc++ |
| 9446 | grpc |
| 9447 | gpr_test_util |
| 9448 | gpr |
| 9449 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9450 | ) |
| 9451 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9452 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9453 | endif (gRPC_BUILD_TESTS) |
| 9454 | if (gRPC_BUILD_TESTS) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9455 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9456 | |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9457 | add_executable(bm_fullstack_trickle |
| 9458 | test/cpp/microbenchmarks/bm_fullstack_trickle.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9459 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9460 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9461 | ) |
| 9462 | |
| 9463 | |
| 9464 | target_include_directories(bm_fullstack_trickle |
| 9465 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9466 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9467 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9468 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9469 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9470 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9471 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9472 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9473 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9474 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9475 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9476 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9477 | PRIVATE third_party/googletest/googletest/include |
| 9478 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9479 | PRIVATE third_party/googletest/googlemock/include |
| 9480 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9481 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9482 | ) |
| 9483 | |
| 9484 | target_link_libraries(bm_fullstack_trickle |
| 9485 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9486 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9487 | grpc_benchmark |
| 9488 | benchmark |
| 9489 | grpc++_test_util |
| 9490 | grpc_test_util |
| 9491 | grpc++ |
| 9492 | grpc |
| 9493 | gpr_test_util |
| 9494 | gpr |
| 9495 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9496 | ) |
| 9497 | |
| 9498 | endif() |
| 9499 | endif (gRPC_BUILD_TESTS) |
| 9500 | if (gRPC_BUILD_TESTS) |
| 9501 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9502 | |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9503 | add_executable(bm_fullstack_unary_ping_pong |
| 9504 | test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9505 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9506 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9507 | ) |
| 9508 | |
| 9509 | |
| 9510 | target_include_directories(bm_fullstack_unary_ping_pong |
| 9511 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9512 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9513 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9514 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9515 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9516 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9517 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9518 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9519 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9520 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9521 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9522 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9523 | PRIVATE third_party/googletest/googletest/include |
| 9524 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9525 | PRIVATE third_party/googletest/googlemock/include |
| 9526 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9527 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9528 | ) |
| 9529 | |
| 9530 | target_link_libraries(bm_fullstack_unary_ping_pong |
| 9531 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9532 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9533 | grpc_benchmark |
| 9534 | benchmark |
| 9535 | grpc++_test_util |
| 9536 | grpc_test_util |
| 9537 | grpc++ |
| 9538 | grpc |
| 9539 | gpr_test_util |
| 9540 | gpr |
| 9541 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9542 | ) |
| 9543 | |
| 9544 | endif() |
| 9545 | endif (gRPC_BUILD_TESTS) |
| 9546 | if (gRPC_BUILD_TESTS) |
| 9547 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9548 | |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9549 | add_executable(bm_metadata |
| 9550 | test/cpp/microbenchmarks/bm_metadata.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9551 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9552 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9553 | ) |
| 9554 | |
| 9555 | |
| 9556 | target_include_directories(bm_metadata |
| 9557 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9558 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9559 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9560 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9561 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9562 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9563 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9564 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9565 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9566 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9567 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9568 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9569 | PRIVATE third_party/googletest/googletest/include |
| 9570 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9571 | PRIVATE third_party/googletest/googlemock/include |
| 9572 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9573 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9574 | ) |
| 9575 | |
| 9576 | target_link_libraries(bm_metadata |
| 9577 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9578 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9579 | grpc_benchmark |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9580 | benchmark |
Craig Tiller | ad14bce | 2017-03-09 08:32:01 -0800 | [diff] [blame] | 9581 | grpc++_test_util |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9582 | grpc_test_util |
Craig Tiller | ad14bce | 2017-03-09 08:32:01 -0800 | [diff] [blame] | 9583 | grpc++ |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9584 | grpc |
| 9585 | gpr_test_util |
| 9586 | gpr |
| 9587 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9588 | ) |
| 9589 | |
| 9590 | endif() |
| 9591 | endif (gRPC_BUILD_TESTS) |
| 9592 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9593 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9594 | |
| 9595 | add_executable(bm_pollset |
| 9596 | test/cpp/microbenchmarks/bm_pollset.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9597 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9598 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9599 | ) |
| 9600 | |
| 9601 | |
| 9602 | target_include_directories(bm_pollset |
| 9603 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9604 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9605 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9606 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9607 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9608 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9609 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9610 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9611 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9612 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9613 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9614 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9615 | PRIVATE third_party/googletest/googletest/include |
| 9616 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9617 | PRIVATE third_party/googletest/googlemock/include |
| 9618 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9619 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9620 | ) |
| 9621 | |
| 9622 | target_link_libraries(bm_pollset |
| 9623 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9624 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9625 | grpc_benchmark |
| 9626 | benchmark |
Craig Tiller | 3a35189 | 2017-03-10 07:39:26 -0800 | [diff] [blame] | 9627 | grpc++_test_util |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9628 | grpc_test_util |
Craig Tiller | 3a35189 | 2017-03-10 07:39:26 -0800 | [diff] [blame] | 9629 | grpc++ |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9630 | grpc |
| 9631 | gpr_test_util |
| 9632 | gpr |
| 9633 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9634 | ) |
| 9635 | |
| 9636 | endif() |
| 9637 | endif (gRPC_BUILD_TESTS) |
| 9638 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9639 | |
| 9640 | add_executable(channel_arguments_test |
| 9641 | test/cpp/common/channel_arguments_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9642 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9643 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9644 | ) |
| 9645 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9646 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9647 | target_include_directories(channel_arguments_test |
| 9648 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9649 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9650 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9651 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9652 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9653 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9654 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9655 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9656 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9657 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9658 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9659 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9660 | PRIVATE third_party/googletest/googletest/include |
| 9661 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9662 | PRIVATE third_party/googletest/googlemock/include |
| 9663 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9664 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9665 | ) |
| 9666 | |
| 9667 | target_link_libraries(channel_arguments_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9668 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9669 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9670 | grpc++ |
| 9671 | grpc |
| 9672 | gpr |
| 9673 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9674 | ) |
| 9675 | |
| 9676 | endif (gRPC_BUILD_TESTS) |
| 9677 | if (gRPC_BUILD_TESTS) |
| 9678 | |
| 9679 | add_executable(channel_filter_test |
| 9680 | test/cpp/common/channel_filter_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9681 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9682 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9683 | ) |
| 9684 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9685 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9686 | target_include_directories(channel_filter_test |
| 9687 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9688 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9689 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9690 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9691 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9692 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9693 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9694 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9695 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9696 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9697 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9698 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9699 | PRIVATE third_party/googletest/googletest/include |
| 9700 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9701 | PRIVATE third_party/googletest/googlemock/include |
| 9702 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9703 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9704 | ) |
| 9705 | |
| 9706 | target_link_libraries(channel_filter_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9707 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9708 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9709 | grpc++ |
| 9710 | grpc |
| 9711 | gpr |
| 9712 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9713 | ) |
| 9714 | |
| 9715 | endif (gRPC_BUILD_TESTS) |
| 9716 | if (gRPC_BUILD_TESTS) |
| 9717 | |
| 9718 | add_executable(cli_call_test |
| 9719 | test/cpp/util/cli_call_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9720 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9721 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9722 | ) |
| 9723 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9724 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9725 | target_include_directories(cli_call_test |
| 9726 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9727 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9728 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9729 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9730 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9731 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9732 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9733 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9734 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9735 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9736 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9737 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9738 | PRIVATE third_party/googletest/googletest/include |
| 9739 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9740 | PRIVATE third_party/googletest/googlemock/include |
| 9741 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9742 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9743 | ) |
| 9744 | |
| 9745 | target_link_libraries(cli_call_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9746 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9747 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9748 | grpc_cli_libs |
| 9749 | grpc++_test_util |
| 9750 | grpc_test_util |
| 9751 | grpc++ |
| 9752 | grpc |
| 9753 | gpr_test_util |
| 9754 | gpr |
| 9755 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9756 | ) |
| 9757 | |
| 9758 | endif (gRPC_BUILD_TESTS) |
| 9759 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9760 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9761 | |
| 9762 | add_executable(client_crash_test |
| 9763 | test/cpp/end2end/client_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9764 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9765 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9766 | ) |
| 9767 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9768 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9769 | target_include_directories(client_crash_test |
| 9770 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9771 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9772 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9773 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9774 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9775 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9776 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9777 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9778 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9779 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9780 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9781 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9782 | PRIVATE third_party/googletest/googletest/include |
| 9783 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9784 | PRIVATE third_party/googletest/googlemock/include |
| 9785 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9786 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9787 | ) |
| 9788 | |
| 9789 | target_link_libraries(client_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9790 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9791 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9792 | grpc++_test_util |
| 9793 | grpc_test_util |
| 9794 | grpc++ |
| 9795 | grpc |
| 9796 | gpr_test_util |
| 9797 | gpr |
| 9798 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9799 | ) |
| 9800 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9801 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9802 | endif (gRPC_BUILD_TESTS) |
| 9803 | if (gRPC_BUILD_TESTS) |
| 9804 | |
| 9805 | add_executable(client_crash_test_server |
| 9806 | test/cpp/end2end/client_crash_test_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9807 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9808 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9809 | ) |
| 9810 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9811 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9812 | target_include_directories(client_crash_test_server |
| 9813 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9814 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9815 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9816 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9817 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9818 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9819 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9820 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9821 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9822 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9823 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9824 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9825 | PRIVATE third_party/googletest/googletest/include |
| 9826 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9827 | PRIVATE third_party/googletest/googlemock/include |
| 9828 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9829 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9830 | ) |
| 9831 | |
| 9832 | target_link_libraries(client_crash_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9833 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9834 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9835 | grpc++_test_util |
| 9836 | grpc_test_util |
| 9837 | grpc++ |
| 9838 | grpc |
| 9839 | gpr_test_util |
| 9840 | gpr |
| 9841 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9842 | ) |
| 9843 | |
| 9844 | endif (gRPC_BUILD_TESTS) |
| 9845 | if (gRPC_BUILD_TESTS) |
| 9846 | |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 9847 | add_executable(client_lb_end2end_test |
| 9848 | test/cpp/end2end/client_lb_end2end_test.cc |
| 9849 | third_party/googletest/googletest/src/gtest-all.cc |
| 9850 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9851 | ) |
| 9852 | |
| 9853 | |
| 9854 | target_include_directories(client_lb_end2end_test |
| 9855 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9856 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9857 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9858 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9859 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9860 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9861 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9862 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 9863 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9864 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9865 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9866 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9867 | PRIVATE third_party/googletest/googletest/include |
| 9868 | PRIVATE third_party/googletest/googletest |
| 9869 | PRIVATE third_party/googletest/googlemock/include |
| 9870 | PRIVATE third_party/googletest/googlemock |
| 9871 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9872 | ) |
| 9873 | |
| 9874 | target_link_libraries(client_lb_end2end_test |
| 9875 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9876 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9877 | grpc++_test_util |
| 9878 | grpc_test_util |
| 9879 | grpc++ |
| 9880 | grpc |
| 9881 | gpr_test_util |
| 9882 | gpr |
| 9883 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9884 | ) |
| 9885 | |
| 9886 | endif (gRPC_BUILD_TESTS) |
| 9887 | if (gRPC_BUILD_TESTS) |
| 9888 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9889 | add_executable(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9890 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 9891 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 9892 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 9893 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 9894 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 9895 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 9896 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 9897 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 9898 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 9899 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 9900 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 9901 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 9902 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 9903 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 9904 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 9905 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 9906 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 9907 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 9908 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 9909 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9910 | test/cpp/codegen/codegen_test_full.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9911 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9912 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9913 | ) |
| 9914 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9915 | protobuf_generate_grpc_cpp( |
| 9916 | src/proto/grpc/testing/control.proto |
| 9917 | ) |
| 9918 | protobuf_generate_grpc_cpp( |
| 9919 | src/proto/grpc/testing/messages.proto |
| 9920 | ) |
| 9921 | protobuf_generate_grpc_cpp( |
| 9922 | src/proto/grpc/testing/payloads.proto |
| 9923 | ) |
| 9924 | protobuf_generate_grpc_cpp( |
| 9925 | src/proto/grpc/testing/services.proto |
| 9926 | ) |
| 9927 | protobuf_generate_grpc_cpp( |
| 9928 | src/proto/grpc/testing/stats.proto |
| 9929 | ) |
| 9930 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9931 | target_include_directories(codegen_test_full |
| 9932 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9933 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9934 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9935 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9936 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9937 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9938 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9939 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9940 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9941 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9942 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9943 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9944 | PRIVATE third_party/googletest/googletest/include |
| 9945 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9946 | PRIVATE third_party/googletest/googlemock/include |
| 9947 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9948 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9949 | ) |
| 9950 | |
| 9951 | target_link_libraries(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9952 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9953 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9954 | grpc++ |
| 9955 | grpc |
| 9956 | gpr |
| 9957 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9958 | ) |
| 9959 | |
| 9960 | endif (gRPC_BUILD_TESTS) |
| 9961 | if (gRPC_BUILD_TESTS) |
| 9962 | |
| 9963 | add_executable(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9964 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 9965 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 9966 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 9967 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 9968 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 9969 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 9970 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 9971 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 9972 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 9973 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 9974 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 9975 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 9976 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 9977 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 9978 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 9979 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 9980 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 9981 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 9982 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 9983 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9984 | test/cpp/codegen/codegen_test_minimal.cc |
| 9985 | src/cpp/codegen/codegen_init.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9986 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9987 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9988 | ) |
| 9989 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9990 | protobuf_generate_grpc_cpp( |
| 9991 | src/proto/grpc/testing/control.proto |
| 9992 | ) |
| 9993 | protobuf_generate_grpc_cpp( |
| 9994 | src/proto/grpc/testing/messages.proto |
| 9995 | ) |
| 9996 | protobuf_generate_grpc_cpp( |
| 9997 | src/proto/grpc/testing/payloads.proto |
| 9998 | ) |
| 9999 | protobuf_generate_grpc_cpp( |
| 10000 | src/proto/grpc/testing/services.proto |
| 10001 | ) |
| 10002 | protobuf_generate_grpc_cpp( |
| 10003 | src/proto/grpc/testing/stats.proto |
| 10004 | ) |
| 10005 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10006 | target_include_directories(codegen_test_minimal |
| 10007 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10008 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10009 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10010 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10011 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10012 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10013 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10014 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10015 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10016 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10017 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10018 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10019 | PRIVATE third_party/googletest/googletest/include |
| 10020 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10021 | PRIVATE third_party/googletest/googlemock/include |
| 10022 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10023 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10024 | ) |
| 10025 | |
| 10026 | target_link_libraries(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10027 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10028 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | c0e6701 | 2017-03-17 20:00:55 -0700 | [diff] [blame] | 10029 | grpc |
| 10030 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10031 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10032 | ) |
| 10033 | |
| 10034 | endif (gRPC_BUILD_TESTS) |
| 10035 | if (gRPC_BUILD_TESTS) |
| 10036 | |
| 10037 | add_executable(credentials_test |
| 10038 | test/cpp/client/credentials_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10039 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10040 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10041 | ) |
| 10042 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10043 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10044 | target_include_directories(credentials_test |
| 10045 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10046 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10047 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10048 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10049 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10050 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10051 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10052 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10053 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10054 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10055 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10056 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10057 | PRIVATE third_party/googletest/googletest/include |
| 10058 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10059 | PRIVATE third_party/googletest/googlemock/include |
| 10060 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10061 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10062 | ) |
| 10063 | |
| 10064 | target_link_libraries(credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10065 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10066 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10067 | grpc++ |
| 10068 | grpc |
| 10069 | gpr |
| 10070 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10071 | ) |
| 10072 | |
| 10073 | endif (gRPC_BUILD_TESTS) |
| 10074 | if (gRPC_BUILD_TESTS) |
| 10075 | |
| 10076 | add_executable(cxx_byte_buffer_test |
| 10077 | test/cpp/util/byte_buffer_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10078 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10079 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10080 | ) |
| 10081 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10082 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10083 | target_include_directories(cxx_byte_buffer_test |
| 10084 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10085 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10086 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10087 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10088 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10089 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10090 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10091 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10092 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10093 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10094 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10095 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10096 | PRIVATE third_party/googletest/googletest/include |
| 10097 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10098 | PRIVATE third_party/googletest/googlemock/include |
| 10099 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10100 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10101 | ) |
| 10102 | |
| 10103 | target_link_libraries(cxx_byte_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10104 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10105 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10106 | grpc_test_util |
| 10107 | grpc++ |
| 10108 | grpc |
| 10109 | gpr_test_util |
| 10110 | gpr |
| 10111 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10112 | ) |
| 10113 | |
| 10114 | endif (gRPC_BUILD_TESTS) |
| 10115 | if (gRPC_BUILD_TESTS) |
| 10116 | |
| 10117 | add_executable(cxx_slice_test |
| 10118 | test/cpp/util/slice_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10119 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10120 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10121 | ) |
| 10122 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10123 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10124 | target_include_directories(cxx_slice_test |
| 10125 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10126 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10127 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10128 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10129 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10130 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10131 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10132 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10133 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10134 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10135 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10136 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10137 | PRIVATE third_party/googletest/googletest/include |
| 10138 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10139 | PRIVATE third_party/googletest/googlemock/include |
| 10140 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10141 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10142 | ) |
| 10143 | |
| 10144 | target_link_libraries(cxx_slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10145 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10146 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10147 | grpc_test_util |
| 10148 | grpc++ |
| 10149 | grpc |
| 10150 | gpr_test_util |
| 10151 | gpr |
| 10152 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10153 | ) |
| 10154 | |
| 10155 | endif (gRPC_BUILD_TESTS) |
| 10156 | if (gRPC_BUILD_TESTS) |
| 10157 | |
| 10158 | add_executable(cxx_string_ref_test |
| 10159 | test/cpp/util/string_ref_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10160 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10161 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10162 | ) |
| 10163 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10164 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10165 | target_include_directories(cxx_string_ref_test |
| 10166 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10167 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10168 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10169 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10170 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10171 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10172 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10173 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10174 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10175 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10176 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10177 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10178 | PRIVATE third_party/googletest/googletest/include |
| 10179 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10180 | PRIVATE third_party/googletest/googlemock/include |
| 10181 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10182 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10183 | ) |
| 10184 | |
| 10185 | target_link_libraries(cxx_string_ref_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10186 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10187 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10188 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 10189 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10190 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10191 | ) |
| 10192 | |
| 10193 | endif (gRPC_BUILD_TESTS) |
| 10194 | if (gRPC_BUILD_TESTS) |
| 10195 | |
| 10196 | add_executable(cxx_time_test |
| 10197 | test/cpp/util/time_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10198 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10199 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10200 | ) |
| 10201 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10202 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10203 | target_include_directories(cxx_time_test |
| 10204 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10205 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10206 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10207 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10208 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10209 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10210 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10211 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10212 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10213 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10214 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10215 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10216 | PRIVATE third_party/googletest/googletest/include |
| 10217 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10218 | PRIVATE third_party/googletest/googlemock/include |
| 10219 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10220 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10221 | ) |
| 10222 | |
| 10223 | target_link_libraries(cxx_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10224 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10225 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10226 | grpc_test_util |
| 10227 | grpc++ |
| 10228 | grpc |
| 10229 | gpr_test_util |
| 10230 | gpr |
| 10231 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10232 | ) |
| 10233 | |
| 10234 | endif (gRPC_BUILD_TESTS) |
| 10235 | if (gRPC_BUILD_TESTS) |
| 10236 | |
| 10237 | add_executable(end2end_test |
| 10238 | test/cpp/end2end/end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10239 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10240 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10241 | ) |
| 10242 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10243 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10244 | target_include_directories(end2end_test |
| 10245 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10246 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10247 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10248 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10249 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10250 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10251 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10252 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10253 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10254 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10255 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10256 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10257 | PRIVATE third_party/googletest/googletest/include |
| 10258 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10259 | PRIVATE third_party/googletest/googlemock/include |
| 10260 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10261 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10262 | ) |
| 10263 | |
| 10264 | target_link_libraries(end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10265 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10266 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10267 | grpc++_test_util |
| 10268 | grpc_test_util |
| 10269 | grpc++ |
| 10270 | grpc |
| 10271 | gpr_test_util |
| 10272 | gpr |
| 10273 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10274 | ) |
| 10275 | |
| 10276 | endif (gRPC_BUILD_TESTS) |
| 10277 | if (gRPC_BUILD_TESTS) |
| 10278 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10279 | add_executable(error_details_test |
| 10280 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 10281 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 10282 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 10283 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 10284 | test/cpp/util/error_details_test.cc |
| 10285 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10286 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10287 | ) |
| 10288 | |
| 10289 | protobuf_generate_grpc_cpp( |
| 10290 | src/proto/grpc/testing/echo_messages.proto |
| 10291 | ) |
| 10292 | |
| 10293 | target_include_directories(error_details_test |
| 10294 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10295 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10296 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10297 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10298 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10299 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10300 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10301 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 10302 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10303 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10304 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10305 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10306 | PRIVATE third_party/googletest/googletest/include |
| 10307 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10308 | PRIVATE third_party/googletest/googlemock/include |
| 10309 | PRIVATE third_party/googletest/googlemock |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10310 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10311 | ) |
| 10312 | |
| 10313 | target_link_libraries(error_details_test |
| 10314 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10315 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10316 | grpc++_error_details |
| 10317 | grpc++ |
| 10318 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10319 | ) |
| 10320 | |
| 10321 | endif (gRPC_BUILD_TESTS) |
| 10322 | if (gRPC_BUILD_TESTS) |
| 10323 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10324 | add_executable(filter_end2end_test |
| 10325 | test/cpp/end2end/filter_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10326 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10327 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10328 | ) |
| 10329 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10330 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10331 | target_include_directories(filter_end2end_test |
| 10332 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10333 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10334 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10335 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10336 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10337 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10338 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10339 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10340 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10341 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10342 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10343 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10344 | PRIVATE third_party/googletest/googletest/include |
| 10345 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10346 | PRIVATE third_party/googletest/googlemock/include |
| 10347 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10348 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10349 | ) |
| 10350 | |
| 10351 | target_link_libraries(filter_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10352 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10353 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10354 | grpc++_test_util |
| 10355 | grpc_test_util |
| 10356 | grpc++ |
| 10357 | grpc |
| 10358 | gpr_test_util |
| 10359 | gpr |
| 10360 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10361 | ) |
| 10362 | |
| 10363 | endif (gRPC_BUILD_TESTS) |
| 10364 | if (gRPC_BUILD_TESTS) |
| 10365 | |
| 10366 | add_executable(generic_end2end_test |
| 10367 | test/cpp/end2end/generic_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10368 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10369 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10370 | ) |
| 10371 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10372 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10373 | target_include_directories(generic_end2end_test |
| 10374 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10375 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10376 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10377 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10378 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10379 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10380 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10381 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10382 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10383 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10384 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10385 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10386 | PRIVATE third_party/googletest/googletest/include |
| 10387 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10388 | PRIVATE third_party/googletest/googlemock/include |
| 10389 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10390 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10391 | ) |
| 10392 | |
| 10393 | target_link_libraries(generic_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10394 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10395 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10396 | grpc++_test_util |
| 10397 | grpc_test_util |
| 10398 | grpc++ |
| 10399 | grpc |
| 10400 | gpr_test_util |
| 10401 | gpr |
| 10402 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10403 | ) |
| 10404 | |
| 10405 | endif (gRPC_BUILD_TESTS) |
| 10406 | if (gRPC_BUILD_TESTS) |
| 10407 | |
| 10408 | add_executable(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10409 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.cc |
| 10410 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.grpc.pb.cc |
| 10411 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.h |
| 10412 | ${_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] | 10413 | test/cpp/codegen/golden_file_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10414 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10415 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10416 | ) |
| 10417 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10418 | protobuf_generate_grpc_cpp( |
| 10419 | src/proto/grpc/testing/compiler_test.proto |
| 10420 | ) |
| 10421 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10422 | target_include_directories(golden_file_test |
| 10423 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10424 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10425 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10426 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10427 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10428 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10429 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10430 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10431 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10432 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10433 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10434 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10435 | PRIVATE third_party/googletest/googletest/include |
| 10436 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10437 | PRIVATE third_party/googletest/googlemock/include |
| 10438 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10439 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10440 | ) |
| 10441 | |
| 10442 | target_link_libraries(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10443 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10444 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10445 | grpc++ |
| 10446 | grpc |
| 10447 | gpr |
| 10448 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10449 | ) |
| 10450 | |
| 10451 | endif (gRPC_BUILD_TESTS) |
| 10452 | if (gRPC_BUILD_TESTS) |
| 10453 | |
| 10454 | add_executable(grpc_cli |
| 10455 | test/cpp/util/grpc_cli.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10456 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10457 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10458 | ) |
| 10459 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10460 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10461 | target_include_directories(grpc_cli |
| 10462 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10463 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10464 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10465 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10466 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10467 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10468 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10469 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10470 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10471 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10472 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10473 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10474 | PRIVATE third_party/googletest/googletest/include |
| 10475 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10476 | PRIVATE third_party/googletest/googlemock/include |
| 10477 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10478 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10479 | ) |
| 10480 | |
| 10481 | target_link_libraries(grpc_cli |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10482 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10483 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10484 | grpc_cli_libs |
| 10485 | grpc++_proto_reflection_desc_db |
| 10486 | grpc++ |
| 10487 | grpc |
| 10488 | gpr |
| 10489 | grpc++_test_config |
| 10490 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10491 | ) |
| 10492 | |
| 10493 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10494 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10495 | add_executable(grpc_cpp_plugin |
| 10496 | src/compiler/cpp_plugin.cc |
| 10497 | ) |
| 10498 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10499 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10500 | target_include_directories(grpc_cpp_plugin |
| 10501 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10502 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10503 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10504 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10505 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10506 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10507 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10508 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10509 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10510 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10511 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10512 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10513 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10514 | ) |
| 10515 | |
| 10516 | target_link_libraries(grpc_cpp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10517 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10518 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10519 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10520 | grpc_plugin_support |
| 10521 | ) |
| 10522 | |
| 10523 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10524 | if (gRPC_INSTALL) |
| 10525 | install(TARGETS grpc_cpp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10526 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10527 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10528 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10529 | ) |
| 10530 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10531 | |
| 10532 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10533 | add_executable(grpc_csharp_plugin |
| 10534 | src/compiler/csharp_plugin.cc |
| 10535 | ) |
| 10536 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10537 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10538 | target_include_directories(grpc_csharp_plugin |
| 10539 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10540 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10541 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10542 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10543 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10544 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10545 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10546 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10547 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10548 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10549 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10550 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10551 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10552 | ) |
| 10553 | |
| 10554 | target_link_libraries(grpc_csharp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10555 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10556 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10557 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10558 | grpc_plugin_support |
| 10559 | ) |
| 10560 | |
| 10561 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10562 | if (gRPC_INSTALL) |
| 10563 | install(TARGETS grpc_csharp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10564 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10565 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10566 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10567 | ) |
| 10568 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10569 | |
| 10570 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10571 | add_executable(grpc_node_plugin |
| 10572 | src/compiler/node_plugin.cc |
| 10573 | ) |
| 10574 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10575 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10576 | target_include_directories(grpc_node_plugin |
| 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 |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +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 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10589 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10590 | ) |
| 10591 | |
| 10592 | target_link_libraries(grpc_node_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10593 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10594 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10595 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10596 | grpc_plugin_support |
| 10597 | ) |
| 10598 | |
| 10599 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10600 | if (gRPC_INSTALL) |
| 10601 | install(TARGETS grpc_node_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10602 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10603 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10604 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10605 | ) |
| 10606 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10607 | |
| 10608 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10609 | add_executable(grpc_objective_c_plugin |
| 10610 | src/compiler/objective_c_plugin.cc |
| 10611 | ) |
| 10612 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10613 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10614 | target_include_directories(grpc_objective_c_plugin |
| 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 |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +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 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10627 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10628 | ) |
| 10629 | |
| 10630 | target_link_libraries(grpc_objective_c_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10631 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10632 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10633 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10634 | grpc_plugin_support |
| 10635 | ) |
| 10636 | |
| 10637 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10638 | if (gRPC_INSTALL) |
| 10639 | install(TARGETS grpc_objective_c_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10640 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10641 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10642 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10643 | ) |
| 10644 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10645 | |
| 10646 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10647 | add_executable(grpc_php_plugin |
| 10648 | src/compiler/php_plugin.cc |
| 10649 | ) |
| 10650 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10651 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10652 | target_include_directories(grpc_php_plugin |
| 10653 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10654 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10655 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10656 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10657 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10658 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10659 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10660 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10661 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10662 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10663 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10664 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10665 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10666 | ) |
| 10667 | |
| 10668 | target_link_libraries(grpc_php_plugin |
| 10669 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10670 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10671 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10672 | grpc_plugin_support |
| 10673 | ) |
| 10674 | |
| 10675 | |
| 10676 | if (gRPC_INSTALL) |
| 10677 | install(TARGETS grpc_php_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10678 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10679 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10680 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10681 | ) |
| 10682 | endif() |
| 10683 | |
| 10684 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10685 | add_executable(grpc_python_plugin |
| 10686 | src/compiler/python_plugin.cc |
| 10687 | ) |
| 10688 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10689 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10690 | target_include_directories(grpc_python_plugin |
| 10691 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10692 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10693 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10694 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10695 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10696 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10697 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10698 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10699 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10700 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10701 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10702 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10703 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10704 | ) |
| 10705 | |
| 10706 | target_link_libraries(grpc_python_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10707 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10708 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10709 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10710 | grpc_plugin_support |
| 10711 | ) |
| 10712 | |
| 10713 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10714 | if (gRPC_INSTALL) |
| 10715 | install(TARGETS grpc_python_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10716 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10717 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10718 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10719 | ) |
| 10720 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10721 | |
| 10722 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10723 | add_executable(grpc_ruby_plugin |
| 10724 | src/compiler/ruby_plugin.cc |
| 10725 | ) |
| 10726 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10727 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10728 | target_include_directories(grpc_ruby_plugin |
| 10729 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10730 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10731 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10732 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10733 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10734 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10735 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10736 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10737 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10738 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10739 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10740 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10741 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10742 | ) |
| 10743 | |
| 10744 | target_link_libraries(grpc_ruby_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10745 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10746 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10747 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10748 | grpc_plugin_support |
| 10749 | ) |
| 10750 | |
| 10751 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10752 | if (gRPC_INSTALL) |
| 10753 | install(TARGETS grpc_ruby_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10754 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10755 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10756 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10757 | ) |
| 10758 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10759 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10760 | if (gRPC_BUILD_TESTS) |
| 10761 | |
| 10762 | add_executable(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10763 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 10764 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 10765 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 10766 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 10767 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 10768 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 10769 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 10770 | ${_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] | 10771 | test/cpp/util/grpc_tool_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10772 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10773 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10774 | ) |
| 10775 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10776 | protobuf_generate_grpc_cpp( |
| 10777 | src/proto/grpc/testing/echo.proto |
| 10778 | ) |
| 10779 | protobuf_generate_grpc_cpp( |
| 10780 | src/proto/grpc/testing/echo_messages.proto |
| 10781 | ) |
| 10782 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10783 | target_include_directories(grpc_tool_test |
| 10784 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10785 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10786 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10787 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10788 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10789 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10790 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10791 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10792 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10793 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10794 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10795 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10796 | PRIVATE third_party/googletest/googletest/include |
| 10797 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10798 | PRIVATE third_party/googletest/googlemock/include |
| 10799 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10800 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10801 | ) |
| 10802 | |
| 10803 | target_link_libraries(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10804 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10805 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10806 | grpc_cli_libs |
| 10807 | grpc++_proto_reflection_desc_db |
| 10808 | grpc++_reflection |
| 10809 | grpc++_test_util |
| 10810 | grpc_test_util |
| 10811 | grpc++ |
| 10812 | grpc |
| 10813 | gpr_test_util |
| 10814 | gpr |
| 10815 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10816 | ) |
| 10817 | |
| 10818 | endif (gRPC_BUILD_TESTS) |
| 10819 | if (gRPC_BUILD_TESTS) |
| 10820 | |
| 10821 | add_executable(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10822 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10823 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10824 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10825 | ${_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] | 10826 | test/cpp/grpclb/grpclb_api_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10827 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10828 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10829 | ) |
| 10830 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10831 | protobuf_generate_grpc_cpp( |
| 10832 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10833 | ) |
| 10834 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10835 | target_include_directories(grpclb_api_test |
| 10836 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10837 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10838 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10839 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10840 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10841 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10842 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10843 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10844 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10845 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10846 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10847 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10848 | PRIVATE third_party/googletest/googletest/include |
| 10849 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10850 | PRIVATE third_party/googletest/googlemock/include |
| 10851 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10852 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10853 | ) |
| 10854 | |
| 10855 | target_link_libraries(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10856 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10857 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10858 | grpc++_test_util |
| 10859 | grpc_test_util |
| 10860 | grpc++ |
| 10861 | grpc |
| 10862 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10863 | ) |
| 10864 | |
| 10865 | endif (gRPC_BUILD_TESTS) |
| 10866 | if (gRPC_BUILD_TESTS) |
| 10867 | |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10868 | add_executable(grpclb_end2end_test |
| 10869 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10870 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10871 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10872 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 10873 | test/cpp/end2end/grpclb_end2end_test.cc |
| 10874 | third_party/googletest/googletest/src/gtest-all.cc |
| 10875 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10876 | ) |
| 10877 | |
| 10878 | protobuf_generate_grpc_cpp( |
| 10879 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10880 | ) |
| 10881 | |
| 10882 | target_include_directories(grpclb_end2end_test |
| 10883 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10884 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10885 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10886 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10887 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10888 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10889 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10890 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 10891 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10892 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10893 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10894 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10895 | PRIVATE third_party/googletest/googletest/include |
| 10896 | PRIVATE third_party/googletest/googletest |
| 10897 | PRIVATE third_party/googletest/googlemock/include |
| 10898 | PRIVATE third_party/googletest/googlemock |
| 10899 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10900 | ) |
| 10901 | |
| 10902 | target_link_libraries(grpclb_end2end_test |
| 10903 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10904 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10905 | grpc++_test_util |
| 10906 | grpc_test_util |
| 10907 | grpc++ |
| 10908 | grpc |
| 10909 | gpr_test_util |
| 10910 | gpr |
| 10911 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10912 | ) |
| 10913 | |
| 10914 | endif (gRPC_BUILD_TESTS) |
| 10915 | if (gRPC_BUILD_TESTS) |
| 10916 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10917 | add_executable(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10918 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10919 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10920 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10921 | ${_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] | 10922 | test/cpp/grpclb/grpclb_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10923 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10924 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10925 | ) |
| 10926 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10927 | protobuf_generate_grpc_cpp( |
| 10928 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10929 | ) |
| 10930 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10931 | target_include_directories(grpclb_test |
| 10932 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10933 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10934 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10935 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10936 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10937 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10938 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10939 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10940 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10941 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10942 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10943 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10944 | PRIVATE third_party/googletest/googletest/include |
| 10945 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10946 | PRIVATE third_party/googletest/googlemock/include |
| 10947 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10948 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10949 | ) |
| 10950 | |
| 10951 | target_link_libraries(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10952 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10953 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10954 | grpc++_test_util |
| 10955 | grpc_test_util |
Jan Tattermusch | 1c6a144 | 2017-01-13 14:17:40 +0100 | [diff] [blame] | 10956 | grpc++ |
| 10957 | grpc |
| 10958 | gpr_test_util |
| 10959 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10960 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10961 | ) |
| 10962 | |
| 10963 | endif (gRPC_BUILD_TESTS) |
| 10964 | if (gRPC_BUILD_TESTS) |
| 10965 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10966 | add_executable(health_service_end2end_test |
| 10967 | test/cpp/end2end/health_service_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10968 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10969 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10970 | ) |
| 10971 | |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10972 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10973 | target_include_directories(health_service_end2end_test |
| 10974 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10975 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10976 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10977 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10978 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10979 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10980 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10981 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10982 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10983 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10984 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10985 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10986 | PRIVATE third_party/googletest/googletest/include |
| 10987 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10988 | PRIVATE third_party/googletest/googlemock/include |
| 10989 | PRIVATE third_party/googletest/googlemock |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10990 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10991 | ) |
| 10992 | |
| 10993 | target_link_libraries(health_service_end2end_test |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10994 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10995 | ${_gRPC_ALLTARGETS_LIBRARIES} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10996 | grpc++_test_util |
| 10997 | grpc_test_util |
| 10998 | grpc++ |
| 10999 | grpc |
| 11000 | gpr_test_util |
| 11001 | gpr |
| 11002 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11003 | ) |
| 11004 | |
| 11005 | endif (gRPC_BUILD_TESTS) |
| 11006 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11007 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11008 | |
| 11009 | add_executable(http2_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11010 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11011 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11012 | ) |
| 11013 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11014 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11015 | target_include_directories(http2_client |
| 11016 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11017 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11018 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11019 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11020 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11021 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11022 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11023 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11024 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11025 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11026 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11027 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11028 | PRIVATE third_party/googletest/googletest/include |
| 11029 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11030 | PRIVATE third_party/googletest/googlemock/include |
| 11031 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11032 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11033 | ) |
| 11034 | |
| 11035 | target_link_libraries(http2_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11036 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11037 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11038 | http2_client_main |
| 11039 | grpc++_test_util |
| 11040 | grpc_test_util |
| 11041 | grpc++ |
| 11042 | grpc |
| 11043 | grpc++_test_config |
| 11044 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11045 | ) |
| 11046 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11047 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11048 | endif (gRPC_BUILD_TESTS) |
| 11049 | if (gRPC_BUILD_TESTS) |
| 11050 | |
| 11051 | add_executable(hybrid_end2end_test |
| 11052 | test/cpp/end2end/hybrid_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11053 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11054 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11055 | ) |
| 11056 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11057 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11058 | target_include_directories(hybrid_end2end_test |
| 11059 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11060 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11061 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11062 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11063 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11064 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11065 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11066 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11067 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11068 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11069 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11070 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11071 | PRIVATE third_party/googletest/googletest/include |
| 11072 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11073 | PRIVATE third_party/googletest/googlemock/include |
| 11074 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11075 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11076 | ) |
| 11077 | |
| 11078 | target_link_libraries(hybrid_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11079 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11080 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11081 | grpc++_test_util |
| 11082 | grpc_test_util |
| 11083 | grpc++ |
| 11084 | grpc |
| 11085 | gpr_test_util |
| 11086 | gpr |
| 11087 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11088 | ) |
| 11089 | |
| 11090 | endif (gRPC_BUILD_TESTS) |
| 11091 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11092 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11093 | |
| 11094 | add_executable(interop_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11095 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11096 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11097 | ) |
| 11098 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11099 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11100 | target_include_directories(interop_client |
| 11101 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11102 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11103 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11104 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11105 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11106 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11107 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11108 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11109 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11110 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11111 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11112 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11113 | PRIVATE third_party/googletest/googletest/include |
| 11114 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11115 | PRIVATE third_party/googletest/googlemock/include |
| 11116 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11117 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11118 | ) |
| 11119 | |
| 11120 | target_link_libraries(interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11121 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11122 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11123 | interop_client_main |
| 11124 | interop_client_helper |
| 11125 | grpc++_test_util |
| 11126 | grpc_test_util |
| 11127 | grpc++ |
| 11128 | grpc |
| 11129 | gpr_test_util |
| 11130 | gpr |
| 11131 | grpc++_test_config |
| 11132 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11133 | ) |
| 11134 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11135 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11136 | endif (gRPC_BUILD_TESTS) |
| 11137 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11138 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11139 | |
| 11140 | add_executable(interop_server |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11141 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11142 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11143 | ) |
| 11144 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11145 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11146 | target_include_directories(interop_server |
| 11147 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11148 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11149 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11150 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11151 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11152 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11153 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11154 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11155 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11156 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11157 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11158 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11159 | PRIVATE third_party/googletest/googletest/include |
| 11160 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11161 | PRIVATE third_party/googletest/googlemock/include |
| 11162 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11163 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11164 | ) |
| 11165 | |
| 11166 | target_link_libraries(interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11167 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11168 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11169 | interop_server_main |
| 11170 | interop_server_helper |
| 11171 | interop_server_lib |
| 11172 | grpc++_test_util |
| 11173 | grpc_test_util |
| 11174 | grpc++ |
| 11175 | grpc |
| 11176 | gpr_test_util |
| 11177 | gpr |
| 11178 | grpc++_test_config |
| 11179 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11180 | ) |
| 11181 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11182 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11183 | endif (gRPC_BUILD_TESTS) |
| 11184 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11185 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11186 | |
| 11187 | add_executable(interop_test |
| 11188 | test/cpp/interop/interop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11189 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11190 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11191 | ) |
| 11192 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11193 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11194 | target_include_directories(interop_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(interop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11215 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11216 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11217 | grpc_test_util |
| 11218 | grpc |
| 11219 | gpr_test_util |
| 11220 | gpr |
| 11221 | grpc++_test_config |
| 11222 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11223 | ) |
| 11224 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11225 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11226 | endif (gRPC_BUILD_TESTS) |
| 11227 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11228 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11229 | |
| 11230 | add_executable(json_run_localhost |
| 11231 | test/cpp/qps/json_run_localhost.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11232 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11233 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11234 | ) |
| 11235 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11236 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11237 | target_include_directories(json_run_localhost |
| 11238 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11239 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11240 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11241 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11242 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11243 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11244 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11245 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11246 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11247 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11248 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11249 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11250 | PRIVATE third_party/googletest/googletest/include |
| 11251 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11252 | PRIVATE third_party/googletest/googlemock/include |
| 11253 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11254 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11255 | ) |
| 11256 | |
| 11257 | target_link_libraries(json_run_localhost |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11258 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11259 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11260 | grpc++_test_util |
| 11261 | grpc_test_util |
| 11262 | grpc++ |
| 11263 | grpc |
| 11264 | gpr_test_util |
| 11265 | gpr |
| 11266 | grpc++_test_config |
| 11267 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11268 | ) |
| 11269 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11270 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11271 | endif (gRPC_BUILD_TESTS) |
| 11272 | if (gRPC_BUILD_TESTS) |
| 11273 | |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11274 | add_executable(memory_test |
| 11275 | test/core/support/memory_test.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 11276 | third_party/googletest/googletest/src/gtest-all.cc |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 11277 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11278 | ) |
| 11279 | |
| 11280 | |
| 11281 | target_include_directories(memory_test |
| 11282 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11283 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11284 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11285 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11286 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11287 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11288 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 11289 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 11290 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11291 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11292 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 11293 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 11294 | PRIVATE third_party/googletest/googletest/include |
| 11295 | PRIVATE third_party/googletest/googletest |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 11296 | PRIVATE third_party/googletest/googlemock/include |
| 11297 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11298 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11299 | ) |
| 11300 | |
| 11301 | target_link_libraries(memory_test |
| 11302 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11303 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11304 | grpc_test_util |
| 11305 | grpc++ |
| 11306 | grpc |
| 11307 | gpr_test_util |
| 11308 | gpr |
| 11309 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11310 | ) |
| 11311 | |
| 11312 | endif (gRPC_BUILD_TESTS) |
| 11313 | if (gRPC_BUILD_TESTS) |
| 11314 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11315 | add_executable(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11316 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 11317 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 11318 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 11319 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11320 | test/cpp/interop/metrics_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11321 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11322 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11323 | ) |
| 11324 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11325 | protobuf_generate_grpc_cpp( |
| 11326 | src/proto/grpc/testing/metrics.proto |
| 11327 | ) |
| 11328 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11329 | target_include_directories(metrics_client |
| 11330 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11331 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11332 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11333 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11334 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11335 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11336 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11337 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11338 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11339 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11340 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11341 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11342 | PRIVATE third_party/googletest/googletest/include |
| 11343 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11344 | PRIVATE third_party/googletest/googlemock/include |
| 11345 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11346 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11347 | ) |
| 11348 | |
| 11349 | target_link_libraries(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11350 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11351 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11352 | grpc++ |
| 11353 | grpc |
| 11354 | gpr |
| 11355 | grpc++_test_config |
| 11356 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11357 | ) |
| 11358 | |
| 11359 | endif (gRPC_BUILD_TESTS) |
| 11360 | if (gRPC_BUILD_TESTS) |
| 11361 | |
| 11362 | add_executable(mock_test |
| 11363 | test/cpp/end2end/mock_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11364 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11365 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11366 | ) |
| 11367 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11368 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11369 | target_include_directories(mock_test |
| 11370 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11371 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11372 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11373 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11374 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11375 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11376 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11377 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11378 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11379 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11380 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11381 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11382 | PRIVATE third_party/googletest/googletest/include |
| 11383 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11384 | PRIVATE third_party/googletest/googlemock/include |
| 11385 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11386 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11387 | ) |
| 11388 | |
| 11389 | target_link_libraries(mock_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11390 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11391 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11392 | grpc++_test_util |
| 11393 | grpc_test_util |
| 11394 | grpc++ |
| 11395 | grpc |
| 11396 | gpr_test_util |
| 11397 | gpr |
| 11398 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11399 | ) |
| 11400 | |
| 11401 | endif (gRPC_BUILD_TESTS) |
| 11402 | if (gRPC_BUILD_TESTS) |
| 11403 | |
| 11404 | add_executable(noop-benchmark |
| 11405 | test/cpp/microbenchmarks/noop-benchmark.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11406 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11407 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11408 | ) |
| 11409 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11410 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11411 | target_include_directories(noop-benchmark |
| 11412 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11413 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11414 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11415 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11416 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11417 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11418 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11419 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11420 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11421 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11422 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11423 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11424 | PRIVATE third_party/googletest/googletest/include |
| 11425 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11426 | PRIVATE third_party/googletest/googlemock/include |
| 11427 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11428 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11429 | ) |
| 11430 | |
| 11431 | target_link_libraries(noop-benchmark |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11432 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11433 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11434 | benchmark |
| 11435 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11436 | ) |
| 11437 | |
| 11438 | endif (gRPC_BUILD_TESTS) |
| 11439 | if (gRPC_BUILD_TESTS) |
| 11440 | |
| 11441 | add_executable(proto_server_reflection_test |
| 11442 | test/cpp/end2end/proto_server_reflection_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11443 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11444 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11445 | ) |
| 11446 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11447 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11448 | target_include_directories(proto_server_reflection_test |
| 11449 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11450 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11451 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11452 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11453 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11454 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11455 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11456 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11457 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11458 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11459 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11460 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11461 | PRIVATE third_party/googletest/googletest/include |
| 11462 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11463 | PRIVATE third_party/googletest/googlemock/include |
| 11464 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11465 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11466 | ) |
| 11467 | |
| 11468 | target_link_libraries(proto_server_reflection_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11469 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11470 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11471 | grpc++_proto_reflection_desc_db |
| 11472 | grpc++_reflection |
| 11473 | grpc++_test_util |
| 11474 | grpc_test_util |
| 11475 | grpc++ |
| 11476 | grpc |
| 11477 | gpr_test_util |
| 11478 | gpr |
| 11479 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11480 | ) |
| 11481 | |
| 11482 | endif (gRPC_BUILD_TESTS) |
| 11483 | if (gRPC_BUILD_TESTS) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11484 | |
| 11485 | add_executable(proto_utils_test |
| 11486 | test/cpp/codegen/proto_utils_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11487 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11488 | third_party/googletest/googlemock/src/gmock-all.cc |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11489 | ) |
| 11490 | |
| 11491 | |
| 11492 | target_include_directories(proto_utils_test |
| 11493 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11494 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11495 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11496 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11497 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11498 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11499 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11500 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11501 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11502 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11503 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11504 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11505 | PRIVATE third_party/googletest/googletest/include |
| 11506 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11507 | PRIVATE third_party/googletest/googlemock/include |
| 11508 | PRIVATE third_party/googletest/googlemock |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11509 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11510 | ) |
| 11511 | |
| 11512 | target_link_libraries(proto_utils_test |
| 11513 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11514 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11515 | grpc++ |
| 11516 | grpc |
| 11517 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11518 | ) |
| 11519 | |
| 11520 | endif (gRPC_BUILD_TESTS) |
| 11521 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11522 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11523 | |
| 11524 | add_executable(qps_interarrival_test |
| 11525 | test/cpp/qps/qps_interarrival_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11526 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11527 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11528 | ) |
| 11529 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11530 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11531 | target_include_directories(qps_interarrival_test |
| 11532 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11533 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11534 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11535 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11536 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11537 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11538 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11539 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11540 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11541 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11542 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11543 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11544 | PRIVATE third_party/googletest/googletest/include |
| 11545 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11546 | PRIVATE third_party/googletest/googlemock/include |
| 11547 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11548 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11549 | ) |
| 11550 | |
| 11551 | target_link_libraries(qps_interarrival_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11552 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11553 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11554 | qps |
| 11555 | grpc++_test_util |
| 11556 | grpc_test_util |
| 11557 | grpc++ |
| 11558 | grpc |
| 11559 | gpr_test_util |
| 11560 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 11561 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11562 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11563 | ) |
| 11564 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11565 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11566 | endif (gRPC_BUILD_TESTS) |
| 11567 | if (gRPC_BUILD_TESTS) |
| 11568 | |
| 11569 | add_executable(qps_json_driver |
| 11570 | test/cpp/qps/qps_json_driver.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11571 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11572 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11573 | ) |
| 11574 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11575 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11576 | target_include_directories(qps_json_driver |
| 11577 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11578 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11579 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11580 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11581 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11582 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11583 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11584 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11585 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11586 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11587 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11588 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11589 | PRIVATE third_party/googletest/googletest/include |
| 11590 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11591 | PRIVATE third_party/googletest/googlemock/include |
| 11592 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11593 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11594 | ) |
| 11595 | |
| 11596 | target_link_libraries(qps_json_driver |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11597 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11598 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11599 | qps |
| 11600 | grpc++_test_util |
| 11601 | grpc_test_util |
| 11602 | grpc++ |
| 11603 | grpc |
| 11604 | gpr_test_util |
| 11605 | gpr |
| 11606 | grpc++_test_config |
| 11607 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11608 | ) |
| 11609 | |
| 11610 | endif (gRPC_BUILD_TESTS) |
| 11611 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11612 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11613 | |
| 11614 | add_executable(qps_openloop_test |
| 11615 | test/cpp/qps/qps_openloop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11616 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11617 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11618 | ) |
| 11619 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11620 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11621 | target_include_directories(qps_openloop_test |
| 11622 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11623 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11624 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11625 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11626 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11627 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11628 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11629 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11630 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11631 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11632 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11633 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11634 | PRIVATE third_party/googletest/googletest/include |
| 11635 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11636 | PRIVATE third_party/googletest/googlemock/include |
| 11637 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11638 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11639 | ) |
| 11640 | |
| 11641 | target_link_libraries(qps_openloop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11642 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11643 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11644 | qps |
| 11645 | grpc++_test_util |
| 11646 | grpc_test_util |
| 11647 | grpc++ |
| 11648 | grpc |
| 11649 | gpr_test_util |
| 11650 | gpr |
| 11651 | grpc++_test_config |
| 11652 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11653 | ) |
| 11654 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11655 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11656 | endif (gRPC_BUILD_TESTS) |
| 11657 | if (gRPC_BUILD_TESTS) |
| 11658 | |
| 11659 | add_executable(qps_worker |
| 11660 | test/cpp/qps/worker.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11661 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11662 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11663 | ) |
| 11664 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11665 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11666 | target_include_directories(qps_worker |
| 11667 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11668 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11669 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11670 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11671 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11672 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11673 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11674 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11675 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11676 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11677 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11678 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11679 | PRIVATE third_party/googletest/googletest/include |
| 11680 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11681 | PRIVATE third_party/googletest/googlemock/include |
| 11682 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11683 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11684 | ) |
| 11685 | |
| 11686 | target_link_libraries(qps_worker |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11687 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11688 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11689 | qps |
| 11690 | grpc++_test_util |
| 11691 | grpc_test_util |
| 11692 | grpc++ |
| 11693 | grpc |
| 11694 | gpr_test_util |
| 11695 | gpr |
| 11696 | grpc++_test_config |
| 11697 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11698 | ) |
| 11699 | |
| 11700 | endif (gRPC_BUILD_TESTS) |
| 11701 | if (gRPC_BUILD_TESTS) |
| 11702 | |
| 11703 | add_executable(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11704 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11705 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11706 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11707 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11708 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11709 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11710 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11711 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11712 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11713 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11714 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11715 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11716 | test/cpp/interop/reconnect_interop_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11717 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11718 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11719 | ) |
| 11720 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11721 | protobuf_generate_grpc_cpp( |
| 11722 | src/proto/grpc/testing/empty.proto |
| 11723 | ) |
| 11724 | protobuf_generate_grpc_cpp( |
| 11725 | src/proto/grpc/testing/messages.proto |
| 11726 | ) |
| 11727 | protobuf_generate_grpc_cpp( |
| 11728 | src/proto/grpc/testing/test.proto |
| 11729 | ) |
| 11730 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11731 | target_include_directories(reconnect_interop_client |
| 11732 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11733 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11734 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11735 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11736 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11737 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11738 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11739 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11740 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11741 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11742 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11743 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11744 | PRIVATE third_party/googletest/googletest/include |
| 11745 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11746 | PRIVATE third_party/googletest/googlemock/include |
| 11747 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11748 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11749 | ) |
| 11750 | |
| 11751 | target_link_libraries(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11752 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11753 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11754 | grpc++_test_util |
| 11755 | grpc_test_util |
| 11756 | grpc++ |
| 11757 | grpc |
| 11758 | gpr_test_util |
| 11759 | gpr |
| 11760 | grpc++_test_config |
| 11761 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11762 | ) |
| 11763 | |
| 11764 | endif (gRPC_BUILD_TESTS) |
| 11765 | if (gRPC_BUILD_TESTS) |
| 11766 | |
| 11767 | add_executable(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11768 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11769 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11770 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11771 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11772 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11773 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11774 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11775 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11776 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11777 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11778 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11779 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11780 | test/cpp/interop/reconnect_interop_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11781 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11782 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11783 | ) |
| 11784 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11785 | protobuf_generate_grpc_cpp( |
| 11786 | src/proto/grpc/testing/empty.proto |
| 11787 | ) |
| 11788 | protobuf_generate_grpc_cpp( |
| 11789 | src/proto/grpc/testing/messages.proto |
| 11790 | ) |
| 11791 | protobuf_generate_grpc_cpp( |
| 11792 | src/proto/grpc/testing/test.proto |
| 11793 | ) |
| 11794 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11795 | target_include_directories(reconnect_interop_server |
| 11796 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11797 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11798 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11799 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11800 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11801 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11802 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11803 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11804 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11805 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11806 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11807 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11808 | PRIVATE third_party/googletest/googletest/include |
| 11809 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11810 | PRIVATE third_party/googletest/googlemock/include |
| 11811 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11812 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11813 | ) |
| 11814 | |
| 11815 | target_link_libraries(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11816 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11817 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11818 | reconnect_server |
| 11819 | test_tcp_server |
| 11820 | grpc++_test_util |
| 11821 | grpc_test_util |
| 11822 | grpc++ |
| 11823 | grpc |
| 11824 | gpr_test_util |
| 11825 | gpr |
| 11826 | grpc++_test_config |
| 11827 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11828 | ) |
| 11829 | |
| 11830 | endif (gRPC_BUILD_TESTS) |
| 11831 | if (gRPC_BUILD_TESTS) |
| 11832 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11833 | add_executable(secure_auth_context_test |
| 11834 | test/cpp/common/secure_auth_context_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11835 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11836 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11837 | ) |
| 11838 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11839 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11840 | target_include_directories(secure_auth_context_test |
| 11841 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11842 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11843 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11844 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11845 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11846 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11847 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11848 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11849 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11850 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11851 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11852 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11853 | PRIVATE third_party/googletest/googletest/include |
| 11854 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11855 | PRIVATE third_party/googletest/googlemock/include |
| 11856 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11857 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11858 | ) |
| 11859 | |
| 11860 | target_link_libraries(secure_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11861 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11862 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11863 | grpc++_test_util |
| 11864 | grpc_test_util |
| 11865 | grpc++ |
| 11866 | grpc |
| 11867 | gpr_test_util |
| 11868 | gpr |
| 11869 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11870 | ) |
| 11871 | |
| 11872 | endif (gRPC_BUILD_TESTS) |
| 11873 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11874 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11875 | |
| 11876 | add_executable(secure_sync_unary_ping_pong_test |
| 11877 | test/cpp/qps/secure_sync_unary_ping_pong_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11878 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11879 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11880 | ) |
| 11881 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11882 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11883 | target_include_directories(secure_sync_unary_ping_pong_test |
| 11884 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11885 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11886 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11887 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11888 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11889 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11890 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11891 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11892 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11893 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11894 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11895 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11896 | PRIVATE third_party/googletest/googletest/include |
| 11897 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11898 | PRIVATE third_party/googletest/googlemock/include |
| 11899 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11900 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11901 | ) |
| 11902 | |
| 11903 | target_link_libraries(secure_sync_unary_ping_pong_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11904 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11905 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11906 | qps |
| 11907 | grpc++_test_util |
| 11908 | grpc_test_util |
| 11909 | grpc++ |
| 11910 | grpc |
| 11911 | gpr_test_util |
| 11912 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 11913 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11914 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11915 | ) |
| 11916 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11917 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11918 | endif (gRPC_BUILD_TESTS) |
| 11919 | if (gRPC_BUILD_TESTS) |
| 11920 | |
| 11921 | add_executable(server_builder_plugin_test |
| 11922 | test/cpp/end2end/server_builder_plugin_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11923 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11924 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11925 | ) |
| 11926 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11927 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11928 | target_include_directories(server_builder_plugin_test |
| 11929 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11930 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11931 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11932 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11933 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11934 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11935 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11936 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11937 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11938 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11939 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11940 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11941 | PRIVATE third_party/googletest/googletest/include |
| 11942 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11943 | PRIVATE third_party/googletest/googlemock/include |
| 11944 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11945 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11946 | ) |
| 11947 | |
| 11948 | target_link_libraries(server_builder_plugin_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11949 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11950 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11951 | grpc++_test_util |
| 11952 | grpc_test_util |
| 11953 | grpc++ |
| 11954 | grpc |
| 11955 | gpr_test_util |
| 11956 | gpr |
| 11957 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11958 | ) |
| 11959 | |
| 11960 | endif (gRPC_BUILD_TESTS) |
| 11961 | if (gRPC_BUILD_TESTS) |
| 11962 | |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11963 | add_executable(server_builder_test |
| 11964 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 11965 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 11966 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 11967 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 11968 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 11969 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 11970 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 11971 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 11972 | test/cpp/server/server_builder_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11973 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11974 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11975 | ) |
| 11976 | |
| 11977 | protobuf_generate_grpc_cpp( |
| 11978 | src/proto/grpc/testing/echo_messages.proto |
| 11979 | ) |
| 11980 | protobuf_generate_grpc_cpp( |
| 11981 | src/proto/grpc/testing/echo.proto |
| 11982 | ) |
| 11983 | |
| 11984 | target_include_directories(server_builder_test |
| 11985 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11986 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11987 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11988 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11989 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11990 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11991 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11992 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11993 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11994 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11995 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11996 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11997 | PRIVATE third_party/googletest/googletest/include |
| 11998 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11999 | PRIVATE third_party/googletest/googlemock/include |
| 12000 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12001 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12002 | ) |
| 12003 | |
| 12004 | target_link_libraries(server_builder_test |
| 12005 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12006 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12007 | grpc++_test_util |
| 12008 | grpc_test_util |
| 12009 | gpr_test_util |
| 12010 | grpc++ |
| 12011 | grpc |
| 12012 | gpr |
| 12013 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12014 | ) |
| 12015 | |
| 12016 | endif (gRPC_BUILD_TESTS) |
| 12017 | if (gRPC_BUILD_TESTS) |
| 12018 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12019 | add_executable(server_context_test_spouse_test |
| 12020 | test/cpp/test/server_context_test_spouse_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12021 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12022 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12023 | ) |
| 12024 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12025 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12026 | target_include_directories(server_context_test_spouse_test |
| 12027 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12028 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12029 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12030 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12031 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12032 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12033 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12034 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12035 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12036 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12037 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12038 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12039 | PRIVATE third_party/googletest/googletest/include |
| 12040 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12041 | PRIVATE third_party/googletest/googlemock/include |
| 12042 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12043 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12044 | ) |
| 12045 | |
| 12046 | target_link_libraries(server_context_test_spouse_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12047 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12048 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12049 | grpc_test_util |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12050 | grpc++ |
| 12051 | grpc |
| 12052 | gpr_test_util |
| 12053 | gpr |
| 12054 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12055 | ) |
| 12056 | |
| 12057 | endif (gRPC_BUILD_TESTS) |
| 12058 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12059 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12060 | |
| 12061 | add_executable(server_crash_test |
| 12062 | test/cpp/end2end/server_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12063 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12064 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12065 | ) |
| 12066 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12067 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12068 | target_include_directories(server_crash_test |
| 12069 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12070 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12071 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12072 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12073 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12074 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12075 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12076 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12077 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12078 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12079 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12080 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12081 | PRIVATE third_party/googletest/googletest/include |
| 12082 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12083 | PRIVATE third_party/googletest/googlemock/include |
| 12084 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12085 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12086 | ) |
| 12087 | |
| 12088 | target_link_libraries(server_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12089 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12090 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12091 | grpc++_test_util |
| 12092 | grpc_test_util |
| 12093 | grpc++ |
| 12094 | grpc |
| 12095 | gpr_test_util |
| 12096 | gpr |
| 12097 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12098 | ) |
| 12099 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12100 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12101 | endif (gRPC_BUILD_TESTS) |
| 12102 | if (gRPC_BUILD_TESTS) |
| 12103 | |
| 12104 | add_executable(server_crash_test_client |
| 12105 | test/cpp/end2end/server_crash_test_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12106 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12107 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12108 | ) |
| 12109 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12110 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12111 | target_include_directories(server_crash_test_client |
| 12112 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12113 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12114 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12115 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12116 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12117 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12118 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12119 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12120 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12121 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12122 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12123 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12124 | PRIVATE third_party/googletest/googletest/include |
| 12125 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12126 | PRIVATE third_party/googletest/googlemock/include |
| 12127 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12128 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12129 | ) |
| 12130 | |
| 12131 | target_link_libraries(server_crash_test_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12132 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12133 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12134 | grpc++_test_util |
| 12135 | grpc_test_util |
| 12136 | grpc++ |
| 12137 | grpc |
| 12138 | gpr_test_util |
| 12139 | gpr |
| 12140 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12141 | ) |
| 12142 | |
| 12143 | endif (gRPC_BUILD_TESTS) |
| 12144 | if (gRPC_BUILD_TESTS) |
| 12145 | |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12146 | add_executable(server_request_call_test |
| 12147 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 12148 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 12149 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 12150 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 12151 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 12152 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 12153 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 12154 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 12155 | test/cpp/server/server_request_call_test.cc |
| 12156 | third_party/googletest/googletest/src/gtest-all.cc |
| 12157 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12158 | ) |
| 12159 | |
| 12160 | protobuf_generate_grpc_cpp( |
| 12161 | src/proto/grpc/testing/echo_messages.proto |
| 12162 | ) |
| 12163 | protobuf_generate_grpc_cpp( |
| 12164 | src/proto/grpc/testing/echo.proto |
| 12165 | ) |
| 12166 | |
| 12167 | target_include_directories(server_request_call_test |
| 12168 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12169 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12170 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12171 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12172 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12173 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12174 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 12175 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 12176 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12177 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12178 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12179 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12180 | PRIVATE third_party/googletest/googletest/include |
| 12181 | PRIVATE third_party/googletest/googletest |
| 12182 | PRIVATE third_party/googletest/googlemock/include |
| 12183 | PRIVATE third_party/googletest/googlemock |
| 12184 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12185 | ) |
| 12186 | |
| 12187 | target_link_libraries(server_request_call_test |
| 12188 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12189 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12190 | grpc++_test_util |
| 12191 | grpc_test_util |
| 12192 | gpr_test_util |
| 12193 | grpc++ |
| 12194 | grpc |
| 12195 | gpr |
| 12196 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12197 | ) |
| 12198 | |
| 12199 | endif (gRPC_BUILD_TESTS) |
| 12200 | if (gRPC_BUILD_TESTS) |
| 12201 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12202 | add_executable(shutdown_test |
| 12203 | test/cpp/end2end/shutdown_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12204 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12205 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12206 | ) |
| 12207 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12208 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12209 | target_include_directories(shutdown_test |
| 12210 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12211 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12212 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12213 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12214 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12215 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12216 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12217 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12218 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12219 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12220 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12221 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12222 | PRIVATE third_party/googletest/googletest/include |
| 12223 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12224 | PRIVATE third_party/googletest/googlemock/include |
| 12225 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12226 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12227 | ) |
| 12228 | |
| 12229 | target_link_libraries(shutdown_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12230 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12231 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12232 | grpc++_test_util |
| 12233 | grpc_test_util |
| 12234 | grpc++ |
| 12235 | grpc |
| 12236 | gpr_test_util |
| 12237 | gpr |
| 12238 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12239 | ) |
| 12240 | |
| 12241 | endif (gRPC_BUILD_TESTS) |
| 12242 | if (gRPC_BUILD_TESTS) |
| 12243 | |
| 12244 | add_executable(status_test |
| 12245 | test/cpp/util/status_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(status_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(status_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++ |
| 12276 | grpc |
| 12277 | gpr_test_util |
| 12278 | gpr |
| 12279 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12280 | ) |
| 12281 | |
| 12282 | endif (gRPC_BUILD_TESTS) |
| 12283 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12284 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12285 | |
| 12286 | add_executable(streaming_throughput_test |
| 12287 | test/cpp/end2end/streaming_throughput_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12288 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12289 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12290 | ) |
| 12291 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12292 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12293 | target_include_directories(streaming_throughput_test |
| 12294 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12295 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12296 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12297 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12298 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12299 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12300 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12301 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12302 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12303 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12304 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12305 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12306 | PRIVATE third_party/googletest/googletest/include |
| 12307 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12308 | PRIVATE third_party/googletest/googlemock/include |
| 12309 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12310 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12311 | ) |
| 12312 | |
| 12313 | target_link_libraries(streaming_throughput_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12314 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12315 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12316 | grpc++_test_util |
| 12317 | grpc_test_util |
| 12318 | grpc++ |
| 12319 | grpc |
| 12320 | gpr_test_util |
| 12321 | gpr |
| 12322 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12323 | ) |
| 12324 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12325 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12326 | endif (gRPC_BUILD_TESTS) |
| 12327 | if (gRPC_BUILD_TESTS) |
| 12328 | |
| 12329 | add_executable(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12330 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 12331 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 12332 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 12333 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 12334 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 12335 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 12336 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 12337 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 12338 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 12339 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 12340 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 12341 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
| 12342 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 12343 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 12344 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 12345 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12346 | test/cpp/interop/interop_client.cc |
| 12347 | test/cpp/interop/stress_interop_client.cc |
| 12348 | test/cpp/interop/stress_test.cc |
| 12349 | test/cpp/util/metrics_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12350 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12351 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12352 | ) |
| 12353 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12354 | protobuf_generate_grpc_cpp( |
| 12355 | src/proto/grpc/testing/empty.proto |
| 12356 | ) |
| 12357 | protobuf_generate_grpc_cpp( |
| 12358 | src/proto/grpc/testing/messages.proto |
| 12359 | ) |
| 12360 | protobuf_generate_grpc_cpp( |
| 12361 | src/proto/grpc/testing/metrics.proto |
| 12362 | ) |
| 12363 | protobuf_generate_grpc_cpp( |
| 12364 | src/proto/grpc/testing/test.proto |
| 12365 | ) |
| 12366 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12367 | target_include_directories(stress_test |
| 12368 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12369 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12370 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12371 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12372 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12373 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12374 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12375 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12376 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12377 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12378 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12379 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12380 | PRIVATE third_party/googletest/googletest/include |
| 12381 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12382 | PRIVATE third_party/googletest/googlemock/include |
| 12383 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12384 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12385 | ) |
| 12386 | |
| 12387 | target_link_libraries(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12388 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12389 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12390 | grpc++_test_util |
| 12391 | grpc_test_util |
| 12392 | grpc++ |
| 12393 | grpc |
| 12394 | gpr_test_util |
| 12395 | gpr |
| 12396 | grpc++_test_config |
| 12397 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12398 | ) |
| 12399 | |
| 12400 | endif (gRPC_BUILD_TESTS) |
| 12401 | if (gRPC_BUILD_TESTS) |
| 12402 | |
| 12403 | add_executable(thread_manager_test |
| 12404 | test/cpp/thread_manager/thread_manager_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12405 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12406 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12407 | ) |
| 12408 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12409 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12410 | target_include_directories(thread_manager_test |
| 12411 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12412 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12413 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12414 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12415 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12416 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12417 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12418 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12419 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12420 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12421 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12422 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12423 | PRIVATE third_party/googletest/googletest/include |
| 12424 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12425 | PRIVATE third_party/googletest/googlemock/include |
| 12426 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12427 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12428 | ) |
| 12429 | |
| 12430 | target_link_libraries(thread_manager_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12431 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12432 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12433 | grpc++ |
| 12434 | grpc |
| 12435 | gpr |
| 12436 | grpc++_test_config |
| 12437 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12438 | ) |
| 12439 | |
| 12440 | endif (gRPC_BUILD_TESTS) |
| 12441 | if (gRPC_BUILD_TESTS) |
| 12442 | |
| 12443 | add_executable(thread_stress_test |
| 12444 | test/cpp/end2end/thread_stress_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12445 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12446 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12447 | ) |
| 12448 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12449 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12450 | target_include_directories(thread_stress_test |
| 12451 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12452 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12453 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12454 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12455 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12456 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12457 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12458 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12459 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12460 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12461 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12462 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12463 | PRIVATE third_party/googletest/googletest/include |
| 12464 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12465 | PRIVATE third_party/googletest/googlemock/include |
| 12466 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12467 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12468 | ) |
| 12469 | |
| 12470 | target_link_libraries(thread_stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12471 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12472 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12473 | grpc++_test_util |
| 12474 | grpc_test_util |
| 12475 | grpc++ |
| 12476 | grpc |
| 12477 | gpr_test_util |
| 12478 | gpr |
| 12479 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12480 | ) |
| 12481 | |
| 12482 | endif (gRPC_BUILD_TESTS) |
| 12483 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12484 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12485 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12486 | add_executable(writes_per_rpc_test |
| 12487 | test/cpp/performance/writes_per_rpc_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12488 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12489 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12490 | ) |
| 12491 | |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12492 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12493 | target_include_directories(writes_per_rpc_test |
| 12494 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12495 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12496 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12497 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12498 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12499 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12500 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12501 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12502 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12503 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12504 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12505 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12506 | PRIVATE third_party/googletest/googletest/include |
| 12507 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12508 | PRIVATE third_party/googletest/googlemock/include |
| 12509 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12510 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12511 | ) |
| 12512 | |
| 12513 | target_link_libraries(writes_per_rpc_test |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12514 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12515 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12516 | grpc++_test_util |
| 12517 | grpc_test_util |
| 12518 | grpc++ |
| 12519 | grpc |
| 12520 | gpr_test_util |
| 12521 | gpr |
| 12522 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12523 | ) |
| 12524 | |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12525 | endif() |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12526 | endif (gRPC_BUILD_TESTS) |
| 12527 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12528 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12529 | add_executable(public_headers_must_be_c89 |
| 12530 | test/core/surface/public_headers_must_be_c89.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12531 | ) |
| 12532 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12533 | |
| 12534 | target_include_directories(public_headers_must_be_c89 |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12535 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12536 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12537 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12538 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12539 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12540 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12541 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12542 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12543 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12544 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12545 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12546 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12547 | ) |
| 12548 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12549 | target_link_libraries(public_headers_must_be_c89 |
| 12550 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12551 | grpc |
| 12552 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12553 | ) |
| 12554 | |
| 12555 | endif (gRPC_BUILD_TESTS) |
| 12556 | if (gRPC_BUILD_TESTS) |
| 12557 | |
| 12558 | add_executable(badreq_bad_client_test |
| 12559 | test/core/bad_client/tests/badreq.c |
| 12560 | ) |
| 12561 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12562 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12563 | target_include_directories(badreq_bad_client_test |
| 12564 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12565 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12566 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12567 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12568 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12569 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12570 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12571 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12572 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12573 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12574 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12575 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12576 | ) |
| 12577 | |
| 12578 | target_link_libraries(badreq_bad_client_test |
| 12579 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12580 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12581 | bad_client_test |
| 12582 | grpc_test_util_unsecure |
| 12583 | grpc_unsecure |
| 12584 | gpr_test_util |
| 12585 | gpr |
| 12586 | ) |
| 12587 | |
| 12588 | endif (gRPC_BUILD_TESTS) |
| 12589 | if (gRPC_BUILD_TESTS) |
| 12590 | |
| 12591 | add_executable(connection_prefix_bad_client_test |
| 12592 | test/core/bad_client/tests/connection_prefix.c |
| 12593 | ) |
| 12594 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12595 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12596 | target_include_directories(connection_prefix_bad_client_test |
| 12597 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12598 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12599 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12600 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12601 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12602 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12603 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12604 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12605 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12606 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12607 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12608 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12609 | ) |
| 12610 | |
| 12611 | target_link_libraries(connection_prefix_bad_client_test |
| 12612 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12613 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12614 | bad_client_test |
| 12615 | grpc_test_util_unsecure |
| 12616 | grpc_unsecure |
| 12617 | gpr_test_util |
| 12618 | gpr |
| 12619 | ) |
| 12620 | |
| 12621 | endif (gRPC_BUILD_TESTS) |
| 12622 | if (gRPC_BUILD_TESTS) |
| 12623 | |
| 12624 | add_executable(head_of_line_blocking_bad_client_test |
| 12625 | test/core/bad_client/tests/head_of_line_blocking.c |
| 12626 | ) |
| 12627 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12628 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12629 | target_include_directories(head_of_line_blocking_bad_client_test |
| 12630 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12631 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12632 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12633 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12634 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12635 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12636 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12637 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12638 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12639 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12640 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12641 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12642 | ) |
| 12643 | |
| 12644 | target_link_libraries(head_of_line_blocking_bad_client_test |
| 12645 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12646 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12647 | bad_client_test |
| 12648 | grpc_test_util_unsecure |
| 12649 | grpc_unsecure |
| 12650 | gpr_test_util |
| 12651 | gpr |
| 12652 | ) |
| 12653 | |
| 12654 | endif (gRPC_BUILD_TESTS) |
| 12655 | if (gRPC_BUILD_TESTS) |
| 12656 | |
| 12657 | add_executable(headers_bad_client_test |
| 12658 | test/core/bad_client/tests/headers.c |
| 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(headers_bad_client_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 |
| 12675 | ) |
| 12676 | |
| 12677 | target_link_libraries(headers_bad_client_test |
| 12678 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12679 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12680 | bad_client_test |
| 12681 | grpc_test_util_unsecure |
| 12682 | grpc_unsecure |
| 12683 | gpr_test_util |
| 12684 | gpr |
| 12685 | ) |
| 12686 | |
| 12687 | endif (gRPC_BUILD_TESTS) |
| 12688 | if (gRPC_BUILD_TESTS) |
| 12689 | |
| 12690 | add_executable(initial_settings_frame_bad_client_test |
| 12691 | test/core/bad_client/tests/initial_settings_frame.c |
| 12692 | ) |
| 12693 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12694 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12695 | target_include_directories(initial_settings_frame_bad_client_test |
| 12696 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12697 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12698 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12699 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12700 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12701 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12702 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12703 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12704 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12705 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12706 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12707 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12708 | ) |
| 12709 | |
| 12710 | target_link_libraries(initial_settings_frame_bad_client_test |
| 12711 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12712 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12713 | bad_client_test |
| 12714 | grpc_test_util_unsecure |
| 12715 | grpc_unsecure |
| 12716 | gpr_test_util |
| 12717 | gpr |
| 12718 | ) |
| 12719 | |
| 12720 | endif (gRPC_BUILD_TESTS) |
| 12721 | if (gRPC_BUILD_TESTS) |
| 12722 | |
| 12723 | add_executable(large_metadata_bad_client_test |
| 12724 | test/core/bad_client/tests/large_metadata.c |
| 12725 | ) |
| 12726 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12727 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12728 | target_include_directories(large_metadata_bad_client_test |
| 12729 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12730 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12731 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12732 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12733 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12734 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12735 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12736 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12737 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12738 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12739 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12740 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12741 | ) |
| 12742 | |
| 12743 | target_link_libraries(large_metadata_bad_client_test |
| 12744 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12745 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12746 | bad_client_test |
| 12747 | grpc_test_util_unsecure |
| 12748 | grpc_unsecure |
| 12749 | gpr_test_util |
| 12750 | gpr |
| 12751 | ) |
| 12752 | |
| 12753 | endif (gRPC_BUILD_TESTS) |
| 12754 | if (gRPC_BUILD_TESTS) |
| 12755 | |
| 12756 | add_executable(server_registered_method_bad_client_test |
| 12757 | test/core/bad_client/tests/server_registered_method.c |
| 12758 | ) |
| 12759 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12760 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12761 | target_include_directories(server_registered_method_bad_client_test |
| 12762 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12763 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12764 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12765 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12766 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12767 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12768 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12769 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12770 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12771 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12772 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12773 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12774 | ) |
| 12775 | |
| 12776 | target_link_libraries(server_registered_method_bad_client_test |
| 12777 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12778 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12779 | bad_client_test |
| 12780 | grpc_test_util_unsecure |
| 12781 | grpc_unsecure |
| 12782 | gpr_test_util |
| 12783 | gpr |
| 12784 | ) |
| 12785 | |
| 12786 | endif (gRPC_BUILD_TESTS) |
| 12787 | if (gRPC_BUILD_TESTS) |
| 12788 | |
| 12789 | add_executable(simple_request_bad_client_test |
| 12790 | test/core/bad_client/tests/simple_request.c |
| 12791 | ) |
| 12792 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12793 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12794 | target_include_directories(simple_request_bad_client_test |
| 12795 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12796 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12797 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12798 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12799 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12800 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12801 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12802 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12803 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12804 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12805 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12806 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12807 | ) |
| 12808 | |
| 12809 | target_link_libraries(simple_request_bad_client_test |
| 12810 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12811 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12812 | bad_client_test |
| 12813 | grpc_test_util_unsecure |
| 12814 | grpc_unsecure |
| 12815 | gpr_test_util |
| 12816 | gpr |
| 12817 | ) |
| 12818 | |
| 12819 | endif (gRPC_BUILD_TESTS) |
| 12820 | if (gRPC_BUILD_TESTS) |
| 12821 | |
| 12822 | add_executable(unknown_frame_bad_client_test |
| 12823 | test/core/bad_client/tests/unknown_frame.c |
| 12824 | ) |
| 12825 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12826 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12827 | target_include_directories(unknown_frame_bad_client_test |
| 12828 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12829 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12830 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12831 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12832 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12833 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12834 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12835 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12836 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12837 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12838 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12839 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12840 | ) |
| 12841 | |
| 12842 | target_link_libraries(unknown_frame_bad_client_test |
| 12843 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12844 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12845 | bad_client_test |
| 12846 | grpc_test_util_unsecure |
| 12847 | grpc_unsecure |
| 12848 | gpr_test_util |
| 12849 | gpr |
| 12850 | ) |
| 12851 | |
| 12852 | endif (gRPC_BUILD_TESTS) |
| 12853 | if (gRPC_BUILD_TESTS) |
| 12854 | |
| 12855 | add_executable(window_overflow_bad_client_test |
| 12856 | test/core/bad_client/tests/window_overflow.c |
| 12857 | ) |
| 12858 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12859 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12860 | target_include_directories(window_overflow_bad_client_test |
| 12861 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12862 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12863 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12864 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12865 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12866 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12867 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12868 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12869 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12870 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12871 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12872 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12873 | ) |
| 12874 | |
| 12875 | target_link_libraries(window_overflow_bad_client_test |
| 12876 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12877 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12878 | bad_client_test |
| 12879 | grpc_test_util_unsecure |
| 12880 | grpc_unsecure |
| 12881 | gpr_test_util |
| 12882 | gpr |
| 12883 | ) |
| 12884 | |
| 12885 | endif (gRPC_BUILD_TESTS) |
| 12886 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12887 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12888 | |
| 12889 | add_executable(bad_ssl_cert_server |
| 12890 | test/core/bad_ssl/servers/cert.c |
| 12891 | ) |
| 12892 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12893 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12894 | target_include_directories(bad_ssl_cert_server |
| 12895 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12896 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12897 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12898 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12899 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12900 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12901 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12902 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12903 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12904 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12905 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12906 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12907 | ) |
| 12908 | |
| 12909 | target_link_libraries(bad_ssl_cert_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12910 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12911 | bad_ssl_test_server |
| 12912 | grpc_test_util |
| 12913 | grpc |
| 12914 | gpr_test_util |
| 12915 | gpr |
| 12916 | ) |
| 12917 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12918 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12919 | endif (gRPC_BUILD_TESTS) |
| 12920 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12921 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12922 | |
| 12923 | add_executable(bad_ssl_cert_test |
| 12924 | test/core/bad_ssl/bad_ssl_test.c |
| 12925 | ) |
| 12926 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12927 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12928 | target_include_directories(bad_ssl_cert_test |
| 12929 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12930 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12931 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12932 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12933 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12934 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12935 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12936 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12937 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12938 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12939 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12940 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12941 | ) |
| 12942 | |
| 12943 | target_link_libraries(bad_ssl_cert_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12944 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12945 | grpc_test_util |
| 12946 | grpc |
| 12947 | gpr_test_util |
| 12948 | gpr |
| 12949 | ) |
| 12950 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12951 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12952 | endif (gRPC_BUILD_TESTS) |
| 12953 | if (gRPC_BUILD_TESTS) |
| 12954 | |
| 12955 | add_executable(h2_census_test |
| 12956 | test/core/end2end/fixtures/h2_census.c |
| 12957 | ) |
| 12958 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12959 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12960 | target_include_directories(h2_census_test |
| 12961 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12962 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12963 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12964 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12965 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12966 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12967 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12968 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12969 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12970 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12971 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12972 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12973 | ) |
| 12974 | |
| 12975 | target_link_libraries(h2_census_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12976 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12977 | end2end_tests |
| 12978 | grpc_test_util |
| 12979 | grpc |
| 12980 | gpr_test_util |
| 12981 | gpr |
| 12982 | ) |
| 12983 | |
| 12984 | endif (gRPC_BUILD_TESTS) |
| 12985 | if (gRPC_BUILD_TESTS) |
| 12986 | |
| 12987 | add_executable(h2_compress_test |
| 12988 | test/core/end2end/fixtures/h2_compress.c |
| 12989 | ) |
| 12990 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12991 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12992 | target_include_directories(h2_compress_test |
| 12993 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12994 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12995 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12996 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12997 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12998 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12999 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13000 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13001 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13002 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13003 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13004 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13005 | ) |
| 13006 | |
| 13007 | target_link_libraries(h2_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13008 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13009 | end2end_tests |
| 13010 | grpc_test_util |
| 13011 | grpc |
| 13012 | gpr_test_util |
| 13013 | gpr |
| 13014 | ) |
| 13015 | |
| 13016 | endif (gRPC_BUILD_TESTS) |
| 13017 | if (gRPC_BUILD_TESTS) |
| 13018 | |
| 13019 | add_executable(h2_fakesec_test |
| 13020 | test/core/end2end/fixtures/h2_fakesec.c |
| 13021 | ) |
| 13022 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13023 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13024 | target_include_directories(h2_fakesec_test |
| 13025 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13026 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13027 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13028 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13029 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13030 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13031 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13032 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13033 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13034 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13035 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13036 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13037 | ) |
| 13038 | |
| 13039 | target_link_libraries(h2_fakesec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13040 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13041 | end2end_tests |
| 13042 | grpc_test_util |
| 13043 | grpc |
| 13044 | gpr_test_util |
| 13045 | gpr |
| 13046 | ) |
| 13047 | |
| 13048 | endif (gRPC_BUILD_TESTS) |
| 13049 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13050 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13051 | |
| 13052 | add_executable(h2_fd_test |
| 13053 | test/core/end2end/fixtures/h2_fd.c |
| 13054 | ) |
| 13055 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13056 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13057 | target_include_directories(h2_fd_test |
| 13058 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13059 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13060 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13061 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13062 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13063 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13064 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13065 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13066 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13067 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13068 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13069 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13070 | ) |
| 13071 | |
| 13072 | target_link_libraries(h2_fd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13073 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13074 | end2end_tests |
| 13075 | grpc_test_util |
| 13076 | grpc |
| 13077 | gpr_test_util |
| 13078 | gpr |
| 13079 | ) |
| 13080 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13081 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13082 | endif (gRPC_BUILD_TESTS) |
| 13083 | if (gRPC_BUILD_TESTS) |
| 13084 | |
| 13085 | add_executable(h2_full_test |
| 13086 | test/core/end2end/fixtures/h2_full.c |
| 13087 | ) |
| 13088 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13089 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13090 | target_include_directories(h2_full_test |
| 13091 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13092 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13093 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13094 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13095 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13096 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13097 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13098 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13099 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13100 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13101 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13102 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13103 | ) |
| 13104 | |
| 13105 | target_link_libraries(h2_full_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13106 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13107 | end2end_tests |
| 13108 | grpc_test_util |
| 13109 | grpc |
| 13110 | gpr_test_util |
| 13111 | gpr |
| 13112 | ) |
| 13113 | |
| 13114 | endif (gRPC_BUILD_TESTS) |
| 13115 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13116 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13117 | |
| 13118 | add_executable(h2_full+pipe_test |
| 13119 | test/core/end2end/fixtures/h2_full+pipe.c |
| 13120 | ) |
| 13121 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13122 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13123 | target_include_directories(h2_full+pipe_test |
| 13124 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13125 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13126 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13127 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13128 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13129 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13130 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13131 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13132 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13133 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13134 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13135 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13136 | ) |
| 13137 | |
| 13138 | target_link_libraries(h2_full+pipe_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13139 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13140 | end2end_tests |
| 13141 | grpc_test_util |
| 13142 | grpc |
| 13143 | gpr_test_util |
| 13144 | gpr |
| 13145 | ) |
| 13146 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13147 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13148 | endif (gRPC_BUILD_TESTS) |
| 13149 | if (gRPC_BUILD_TESTS) |
| 13150 | |
| 13151 | add_executable(h2_full+trace_test |
| 13152 | test/core/end2end/fixtures/h2_full+trace.c |
| 13153 | ) |
| 13154 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13155 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13156 | target_include_directories(h2_full+trace_test |
| 13157 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13158 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13159 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13160 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13161 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13162 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13163 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13164 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13165 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13166 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13167 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13168 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13169 | ) |
| 13170 | |
| 13171 | target_link_libraries(h2_full+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13172 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13173 | end2end_tests |
| 13174 | grpc_test_util |
| 13175 | grpc |
| 13176 | gpr_test_util |
| 13177 | gpr |
| 13178 | ) |
| 13179 | |
| 13180 | endif (gRPC_BUILD_TESTS) |
| 13181 | if (gRPC_BUILD_TESTS) |
| 13182 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13183 | add_executable(h2_full+workarounds_test |
| 13184 | test/core/end2end/fixtures/h2_full+workarounds.c |
| 13185 | ) |
| 13186 | |
| 13187 | |
| 13188 | target_include_directories(h2_full+workarounds_test |
| 13189 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13190 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13191 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13192 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13193 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13194 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13195 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 13196 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 13197 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13198 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13199 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13200 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13201 | ) |
| 13202 | |
| 13203 | target_link_libraries(h2_full+workarounds_test |
| 13204 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13205 | end2end_tests |
| 13206 | grpc_test_util |
| 13207 | grpc |
| 13208 | gpr_test_util |
| 13209 | gpr |
| 13210 | ) |
| 13211 | |
| 13212 | endif (gRPC_BUILD_TESTS) |
| 13213 | if (gRPC_BUILD_TESTS) |
| 13214 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13215 | add_executable(h2_http_proxy_test |
| 13216 | test/core/end2end/fixtures/h2_http_proxy.c |
| 13217 | ) |
| 13218 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13219 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13220 | target_include_directories(h2_http_proxy_test |
| 13221 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13222 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13223 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13224 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13225 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13226 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13227 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13228 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13229 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13230 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13231 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13232 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13233 | ) |
| 13234 | |
| 13235 | target_link_libraries(h2_http_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13236 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13237 | end2end_tests |
| 13238 | grpc_test_util |
| 13239 | grpc |
| 13240 | gpr_test_util |
| 13241 | gpr |
| 13242 | ) |
| 13243 | |
| 13244 | endif (gRPC_BUILD_TESTS) |
| 13245 | if (gRPC_BUILD_TESTS) |
| 13246 | |
| 13247 | add_executable(h2_load_reporting_test |
| 13248 | test/core/end2end/fixtures/h2_load_reporting.c |
| 13249 | ) |
| 13250 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13251 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13252 | target_include_directories(h2_load_reporting_test |
| 13253 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13254 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13255 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13256 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13257 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13258 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13259 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13260 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13261 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13262 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13263 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13264 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13265 | ) |
| 13266 | |
| 13267 | target_link_libraries(h2_load_reporting_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13268 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13269 | end2end_tests |
| 13270 | grpc_test_util |
| 13271 | grpc |
| 13272 | gpr_test_util |
| 13273 | gpr |
| 13274 | ) |
| 13275 | |
| 13276 | endif (gRPC_BUILD_TESTS) |
| 13277 | if (gRPC_BUILD_TESTS) |
| 13278 | |
| 13279 | add_executable(h2_oauth2_test |
| 13280 | test/core/end2end/fixtures/h2_oauth2.c |
| 13281 | ) |
| 13282 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13283 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13284 | target_include_directories(h2_oauth2_test |
| 13285 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13286 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13287 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13288 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13289 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13290 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13291 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13292 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13293 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13294 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13295 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13296 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13297 | ) |
| 13298 | |
| 13299 | target_link_libraries(h2_oauth2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13300 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13301 | end2end_tests |
| 13302 | grpc_test_util |
| 13303 | grpc |
| 13304 | gpr_test_util |
| 13305 | gpr |
| 13306 | ) |
| 13307 | |
| 13308 | endif (gRPC_BUILD_TESTS) |
| 13309 | if (gRPC_BUILD_TESTS) |
| 13310 | |
| 13311 | add_executable(h2_proxy_test |
| 13312 | test/core/end2end/fixtures/h2_proxy.c |
| 13313 | ) |
| 13314 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13315 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13316 | target_include_directories(h2_proxy_test |
| 13317 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13318 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13319 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13320 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13321 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13322 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13323 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13324 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13325 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13326 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13327 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13328 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13329 | ) |
| 13330 | |
| 13331 | target_link_libraries(h2_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13332 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13333 | end2end_tests |
| 13334 | grpc_test_util |
| 13335 | grpc |
| 13336 | gpr_test_util |
| 13337 | gpr |
| 13338 | ) |
| 13339 | |
| 13340 | endif (gRPC_BUILD_TESTS) |
| 13341 | if (gRPC_BUILD_TESTS) |
| 13342 | |
| 13343 | add_executable(h2_sockpair_test |
| 13344 | test/core/end2end/fixtures/h2_sockpair.c |
| 13345 | ) |
| 13346 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13347 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13348 | target_include_directories(h2_sockpair_test |
| 13349 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13350 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13351 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13352 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13353 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13354 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13355 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13356 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13357 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13358 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13359 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13360 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13361 | ) |
| 13362 | |
| 13363 | target_link_libraries(h2_sockpair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13364 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13365 | end2end_tests |
| 13366 | grpc_test_util |
| 13367 | grpc |
| 13368 | gpr_test_util |
| 13369 | gpr |
| 13370 | ) |
| 13371 | |
| 13372 | endif (gRPC_BUILD_TESTS) |
| 13373 | if (gRPC_BUILD_TESTS) |
| 13374 | |
| 13375 | add_executable(h2_sockpair+trace_test |
| 13376 | test/core/end2end/fixtures/h2_sockpair+trace.c |
| 13377 | ) |
| 13378 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13379 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13380 | target_include_directories(h2_sockpair+trace_test |
| 13381 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13382 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13383 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13384 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13385 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13386 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13387 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13388 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13389 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13390 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13391 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13392 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13393 | ) |
| 13394 | |
| 13395 | target_link_libraries(h2_sockpair+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13396 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13397 | end2end_tests |
| 13398 | grpc_test_util |
| 13399 | grpc |
| 13400 | gpr_test_util |
| 13401 | gpr |
| 13402 | ) |
| 13403 | |
| 13404 | endif (gRPC_BUILD_TESTS) |
| 13405 | if (gRPC_BUILD_TESTS) |
| 13406 | |
| 13407 | add_executable(h2_sockpair_1byte_test |
| 13408 | test/core/end2end/fixtures/h2_sockpair_1byte.c |
| 13409 | ) |
| 13410 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13411 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13412 | target_include_directories(h2_sockpair_1byte_test |
| 13413 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13414 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13415 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13416 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13417 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13418 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13419 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13420 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13421 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13422 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13423 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13424 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13425 | ) |
| 13426 | |
| 13427 | target_link_libraries(h2_sockpair_1byte_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13428 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13429 | end2end_tests |
| 13430 | grpc_test_util |
| 13431 | grpc |
| 13432 | gpr_test_util |
| 13433 | gpr |
| 13434 | ) |
| 13435 | |
| 13436 | endif (gRPC_BUILD_TESTS) |
| 13437 | if (gRPC_BUILD_TESTS) |
| 13438 | |
| 13439 | add_executable(h2_ssl_test |
| 13440 | test/core/end2end/fixtures/h2_ssl.c |
| 13441 | ) |
| 13442 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13443 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13444 | target_include_directories(h2_ssl_test |
| 13445 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13446 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13447 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13448 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13449 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13450 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13451 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13452 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13453 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13454 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13455 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13456 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13457 | ) |
| 13458 | |
| 13459 | target_link_libraries(h2_ssl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13460 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13461 | end2end_tests |
| 13462 | grpc_test_util |
| 13463 | grpc |
| 13464 | gpr_test_util |
| 13465 | gpr |
| 13466 | ) |
| 13467 | |
| 13468 | endif (gRPC_BUILD_TESTS) |
| 13469 | if (gRPC_BUILD_TESTS) |
| 13470 | |
| 13471 | add_executable(h2_ssl_cert_test |
| 13472 | test/core/end2end/fixtures/h2_ssl_cert.c |
| 13473 | ) |
| 13474 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13475 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13476 | target_include_directories(h2_ssl_cert_test |
| 13477 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13478 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13479 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13480 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13481 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13482 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13483 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13484 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13485 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13486 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13487 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13488 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13489 | ) |
| 13490 | |
| 13491 | target_link_libraries(h2_ssl_cert_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13492 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13493 | end2end_tests |
| 13494 | grpc_test_util |
| 13495 | grpc |
| 13496 | gpr_test_util |
| 13497 | gpr |
| 13498 | ) |
| 13499 | |
| 13500 | endif (gRPC_BUILD_TESTS) |
| 13501 | if (gRPC_BUILD_TESTS) |
| 13502 | |
| 13503 | add_executable(h2_ssl_proxy_test |
| 13504 | test/core/end2end/fixtures/h2_ssl_proxy.c |
| 13505 | ) |
| 13506 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13507 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13508 | target_include_directories(h2_ssl_proxy_test |
| 13509 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13510 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13511 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13512 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13513 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13514 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13515 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13516 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13517 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13518 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13519 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13520 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13521 | ) |
| 13522 | |
| 13523 | target_link_libraries(h2_ssl_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13524 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13525 | end2end_tests |
| 13526 | grpc_test_util |
| 13527 | grpc |
| 13528 | gpr_test_util |
| 13529 | gpr |
| 13530 | ) |
| 13531 | |
| 13532 | endif (gRPC_BUILD_TESTS) |
| 13533 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13534 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13535 | |
| 13536 | add_executable(h2_uds_test |
| 13537 | test/core/end2end/fixtures/h2_uds.c |
| 13538 | ) |
| 13539 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13540 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13541 | target_include_directories(h2_uds_test |
| 13542 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13543 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13544 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13545 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13546 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13547 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13548 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13549 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13550 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13551 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13552 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13553 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13554 | ) |
| 13555 | |
| 13556 | target_link_libraries(h2_uds_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13557 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13558 | end2end_tests |
| 13559 | grpc_test_util |
| 13560 | grpc |
| 13561 | gpr_test_util |
| 13562 | gpr |
| 13563 | ) |
| 13564 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13565 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13566 | endif (gRPC_BUILD_TESTS) |
| 13567 | if (gRPC_BUILD_TESTS) |
| 13568 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13569 | add_executable(inproc_test |
| 13570 | test/core/end2end/fixtures/inproc.c |
| 13571 | ) |
| 13572 | |
| 13573 | |
| 13574 | target_include_directories(inproc_test |
| 13575 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13576 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13577 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13578 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13579 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13580 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13581 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 13582 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 13583 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13584 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13585 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13586 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13587 | ) |
| 13588 | |
| 13589 | target_link_libraries(inproc_test |
| 13590 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13591 | end2end_tests |
| 13592 | grpc_test_util |
| 13593 | grpc |
| 13594 | gpr_test_util |
| 13595 | gpr |
| 13596 | ) |
| 13597 | |
| 13598 | endif (gRPC_BUILD_TESTS) |
| 13599 | if (gRPC_BUILD_TESTS) |
| 13600 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13601 | add_executable(h2_census_nosec_test |
| 13602 | test/core/end2end/fixtures/h2_census.c |
| 13603 | ) |
| 13604 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13605 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13606 | target_include_directories(h2_census_nosec_test |
| 13607 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13608 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13609 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13610 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13611 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13612 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13613 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13614 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13615 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13616 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13617 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13618 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13619 | ) |
| 13620 | |
| 13621 | target_link_libraries(h2_census_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13622 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13623 | end2end_nosec_tests |
| 13624 | grpc_test_util_unsecure |
| 13625 | grpc_unsecure |
| 13626 | gpr_test_util |
| 13627 | gpr |
| 13628 | ) |
| 13629 | |
| 13630 | endif (gRPC_BUILD_TESTS) |
| 13631 | if (gRPC_BUILD_TESTS) |
| 13632 | |
| 13633 | add_executable(h2_compress_nosec_test |
| 13634 | test/core/end2end/fixtures/h2_compress.c |
| 13635 | ) |
| 13636 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13637 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13638 | target_include_directories(h2_compress_nosec_test |
| 13639 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13640 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13641 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13642 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13643 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13644 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13645 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13646 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13647 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13648 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13649 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13650 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13651 | ) |
| 13652 | |
| 13653 | target_link_libraries(h2_compress_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13654 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13655 | end2end_nosec_tests |
| 13656 | grpc_test_util_unsecure |
| 13657 | grpc_unsecure |
| 13658 | gpr_test_util |
| 13659 | gpr |
| 13660 | ) |
| 13661 | |
| 13662 | endif (gRPC_BUILD_TESTS) |
| 13663 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13664 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13665 | |
| 13666 | add_executable(h2_fd_nosec_test |
| 13667 | test/core/end2end/fixtures/h2_fd.c |
| 13668 | ) |
| 13669 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13670 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13671 | target_include_directories(h2_fd_nosec_test |
| 13672 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13673 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13674 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13675 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13676 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13677 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13678 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13679 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13680 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13681 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13682 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13683 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13684 | ) |
| 13685 | |
| 13686 | target_link_libraries(h2_fd_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13687 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13688 | end2end_nosec_tests |
| 13689 | grpc_test_util_unsecure |
| 13690 | grpc_unsecure |
| 13691 | gpr_test_util |
| 13692 | gpr |
| 13693 | ) |
| 13694 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13695 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13696 | endif (gRPC_BUILD_TESTS) |
| 13697 | if (gRPC_BUILD_TESTS) |
| 13698 | |
| 13699 | add_executable(h2_full_nosec_test |
| 13700 | test/core/end2end/fixtures/h2_full.c |
| 13701 | ) |
| 13702 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13703 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13704 | target_include_directories(h2_full_nosec_test |
| 13705 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13706 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13707 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13708 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13709 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13710 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13711 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13712 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13713 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13714 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13715 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13716 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13717 | ) |
| 13718 | |
| 13719 | target_link_libraries(h2_full_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13720 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13721 | end2end_nosec_tests |
| 13722 | grpc_test_util_unsecure |
| 13723 | grpc_unsecure |
| 13724 | gpr_test_util |
| 13725 | gpr |
| 13726 | ) |
| 13727 | |
| 13728 | endif (gRPC_BUILD_TESTS) |
| 13729 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13730 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13731 | |
| 13732 | add_executable(h2_full+pipe_nosec_test |
| 13733 | test/core/end2end/fixtures/h2_full+pipe.c |
| 13734 | ) |
| 13735 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13736 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13737 | target_include_directories(h2_full+pipe_nosec_test |
| 13738 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13739 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13740 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13741 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13742 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13743 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13744 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13745 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13746 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13747 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13748 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13749 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13750 | ) |
| 13751 | |
| 13752 | target_link_libraries(h2_full+pipe_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13753 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13754 | end2end_nosec_tests |
| 13755 | grpc_test_util_unsecure |
| 13756 | grpc_unsecure |
| 13757 | gpr_test_util |
| 13758 | gpr |
| 13759 | ) |
| 13760 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13761 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13762 | endif (gRPC_BUILD_TESTS) |
| 13763 | if (gRPC_BUILD_TESTS) |
| 13764 | |
| 13765 | add_executable(h2_full+trace_nosec_test |
| 13766 | test/core/end2end/fixtures/h2_full+trace.c |
| 13767 | ) |
| 13768 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13769 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13770 | target_include_directories(h2_full+trace_nosec_test |
| 13771 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13772 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13773 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13774 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13775 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13776 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13777 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13778 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13779 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13780 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13781 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13782 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13783 | ) |
| 13784 | |
| 13785 | target_link_libraries(h2_full+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13786 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13787 | end2end_nosec_tests |
| 13788 | grpc_test_util_unsecure |
| 13789 | grpc_unsecure |
| 13790 | gpr_test_util |
| 13791 | gpr |
| 13792 | ) |
| 13793 | |
| 13794 | endif (gRPC_BUILD_TESTS) |
| 13795 | if (gRPC_BUILD_TESTS) |
| 13796 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13797 | add_executable(h2_full+workarounds_nosec_test |
| 13798 | test/core/end2end/fixtures/h2_full+workarounds.c |
| 13799 | ) |
| 13800 | |
| 13801 | |
| 13802 | target_include_directories(h2_full+workarounds_nosec_test |
| 13803 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13804 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13805 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13806 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13807 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13808 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13809 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 13810 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 13811 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13812 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13813 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13814 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13815 | ) |
| 13816 | |
| 13817 | target_link_libraries(h2_full+workarounds_nosec_test |
| 13818 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13819 | end2end_nosec_tests |
| 13820 | grpc_test_util_unsecure |
| 13821 | grpc_unsecure |
| 13822 | gpr_test_util |
| 13823 | gpr |
| 13824 | ) |
| 13825 | |
| 13826 | endif (gRPC_BUILD_TESTS) |
| 13827 | if (gRPC_BUILD_TESTS) |
| 13828 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13829 | add_executable(h2_http_proxy_nosec_test |
| 13830 | test/core/end2end/fixtures/h2_http_proxy.c |
| 13831 | ) |
| 13832 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13833 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13834 | target_include_directories(h2_http_proxy_nosec_test |
| 13835 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13836 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13837 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13838 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13839 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13840 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13841 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13842 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13843 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13844 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13845 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13846 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13847 | ) |
| 13848 | |
| 13849 | target_link_libraries(h2_http_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13850 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13851 | end2end_nosec_tests |
| 13852 | grpc_test_util_unsecure |
| 13853 | grpc_unsecure |
| 13854 | gpr_test_util |
| 13855 | gpr |
| 13856 | ) |
| 13857 | |
| 13858 | endif (gRPC_BUILD_TESTS) |
| 13859 | if (gRPC_BUILD_TESTS) |
| 13860 | |
| 13861 | add_executable(h2_load_reporting_nosec_test |
| 13862 | test/core/end2end/fixtures/h2_load_reporting.c |
| 13863 | ) |
| 13864 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13865 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13866 | target_include_directories(h2_load_reporting_nosec_test |
| 13867 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13868 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13869 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13870 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13871 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13872 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13873 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13874 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13875 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13876 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13877 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13878 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13879 | ) |
| 13880 | |
| 13881 | target_link_libraries(h2_load_reporting_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13882 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13883 | end2end_nosec_tests |
| 13884 | grpc_test_util_unsecure |
| 13885 | grpc_unsecure |
| 13886 | gpr_test_util |
| 13887 | gpr |
| 13888 | ) |
| 13889 | |
| 13890 | endif (gRPC_BUILD_TESTS) |
| 13891 | if (gRPC_BUILD_TESTS) |
| 13892 | |
| 13893 | add_executable(h2_proxy_nosec_test |
| 13894 | test/core/end2end/fixtures/h2_proxy.c |
| 13895 | ) |
| 13896 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13897 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13898 | target_include_directories(h2_proxy_nosec_test |
| 13899 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13900 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13901 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13902 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13903 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13904 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13905 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13906 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13907 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13908 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13909 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13910 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13911 | ) |
| 13912 | |
| 13913 | target_link_libraries(h2_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13914 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13915 | end2end_nosec_tests |
| 13916 | grpc_test_util_unsecure |
| 13917 | grpc_unsecure |
| 13918 | gpr_test_util |
| 13919 | gpr |
| 13920 | ) |
| 13921 | |
| 13922 | endif (gRPC_BUILD_TESTS) |
| 13923 | if (gRPC_BUILD_TESTS) |
| 13924 | |
| 13925 | add_executable(h2_sockpair_nosec_test |
| 13926 | test/core/end2end/fixtures/h2_sockpair.c |
| 13927 | ) |
| 13928 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13929 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13930 | target_include_directories(h2_sockpair_nosec_test |
| 13931 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13932 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13933 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13934 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13935 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13936 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13937 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13938 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13939 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13940 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13941 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13942 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13943 | ) |
| 13944 | |
| 13945 | target_link_libraries(h2_sockpair_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13946 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13947 | end2end_nosec_tests |
| 13948 | grpc_test_util_unsecure |
| 13949 | grpc_unsecure |
| 13950 | gpr_test_util |
| 13951 | gpr |
| 13952 | ) |
| 13953 | |
| 13954 | endif (gRPC_BUILD_TESTS) |
| 13955 | if (gRPC_BUILD_TESTS) |
| 13956 | |
| 13957 | add_executable(h2_sockpair+trace_nosec_test |
| 13958 | test/core/end2end/fixtures/h2_sockpair+trace.c |
| 13959 | ) |
| 13960 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13961 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13962 | target_include_directories(h2_sockpair+trace_nosec_test |
| 13963 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13964 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13965 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13966 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13967 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13968 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13969 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13970 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13971 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13972 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13973 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13974 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13975 | ) |
| 13976 | |
| 13977 | target_link_libraries(h2_sockpair+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13978 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13979 | end2end_nosec_tests |
| 13980 | grpc_test_util_unsecure |
| 13981 | grpc_unsecure |
| 13982 | gpr_test_util |
| 13983 | gpr |
| 13984 | ) |
| 13985 | |
| 13986 | endif (gRPC_BUILD_TESTS) |
| 13987 | if (gRPC_BUILD_TESTS) |
| 13988 | |
| 13989 | add_executable(h2_sockpair_1byte_nosec_test |
| 13990 | test/core/end2end/fixtures/h2_sockpair_1byte.c |
| 13991 | ) |
| 13992 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13993 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13994 | target_include_directories(h2_sockpair_1byte_nosec_test |
| 13995 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13996 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13997 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13998 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13999 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14000 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14001 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14002 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14003 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14004 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14005 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14006 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14007 | ) |
| 14008 | |
| 14009 | target_link_libraries(h2_sockpair_1byte_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14010 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14011 | end2end_nosec_tests |
| 14012 | grpc_test_util_unsecure |
| 14013 | grpc_unsecure |
| 14014 | gpr_test_util |
| 14015 | gpr |
| 14016 | ) |
| 14017 | |
| 14018 | endif (gRPC_BUILD_TESTS) |
| 14019 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14020 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14021 | |
| 14022 | add_executable(h2_uds_nosec_test |
| 14023 | test/core/end2end/fixtures/h2_uds.c |
| 14024 | ) |
| 14025 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14026 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14027 | target_include_directories(h2_uds_nosec_test |
| 14028 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14029 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14030 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14031 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14032 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14033 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14034 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14035 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14036 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14037 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14038 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14039 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14040 | ) |
| 14041 | |
| 14042 | target_link_libraries(h2_uds_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14043 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14044 | end2end_nosec_tests |
| 14045 | grpc_test_util_unsecure |
| 14046 | grpc_unsecure |
| 14047 | gpr_test_util |
| 14048 | gpr |
| 14049 | ) |
| 14050 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14051 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14052 | endif (gRPC_BUILD_TESTS) |
| 14053 | if (gRPC_BUILD_TESTS) |
| 14054 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14055 | add_executable(inproc_nosec_test |
| 14056 | test/core/end2end/fixtures/inproc.c |
| 14057 | ) |
| 14058 | |
| 14059 | |
| 14060 | target_include_directories(inproc_nosec_test |
| 14061 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14062 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14063 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14064 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14065 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14066 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14067 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 14068 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 14069 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14070 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14071 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14072 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14073 | ) |
| 14074 | |
| 14075 | target_link_libraries(inproc_nosec_test |
| 14076 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14077 | end2end_nosec_tests |
| 14078 | grpc_test_util_unsecure |
| 14079 | grpc_unsecure |
| 14080 | gpr_test_util |
| 14081 | gpr |
| 14082 | ) |
| 14083 | |
| 14084 | endif (gRPC_BUILD_TESTS) |
| 14085 | if (gRPC_BUILD_TESTS) |
| 14086 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14087 | add_executable(api_fuzzer_one_entry |
| 14088 | test/core/end2end/fuzzers/api_fuzzer.c |
| 14089 | test/core/util/one_corpus_entry_fuzzer.c |
| 14090 | ) |
| 14091 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14092 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14093 | target_include_directories(api_fuzzer_one_entry |
| 14094 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14095 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14096 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14097 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14098 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14099 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14100 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14101 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14102 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14103 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14104 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14105 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14106 | ) |
| 14107 | |
| 14108 | target_link_libraries(api_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14109 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14110 | grpc_test_util |
| 14111 | grpc |
| 14112 | gpr_test_util |
| 14113 | gpr |
| 14114 | ) |
| 14115 | |
| 14116 | endif (gRPC_BUILD_TESTS) |
| 14117 | if (gRPC_BUILD_TESTS) |
| 14118 | |
| 14119 | add_executable(client_fuzzer_one_entry |
| 14120 | test/core/end2end/fuzzers/client_fuzzer.c |
| 14121 | test/core/util/one_corpus_entry_fuzzer.c |
| 14122 | ) |
| 14123 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14124 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14125 | target_include_directories(client_fuzzer_one_entry |
| 14126 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14127 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14128 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14129 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14130 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14131 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14132 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14133 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14134 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14135 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14136 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14137 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14138 | ) |
| 14139 | |
| 14140 | target_link_libraries(client_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14141 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14142 | grpc_test_util |
| 14143 | grpc |
| 14144 | gpr_test_util |
| 14145 | gpr |
| 14146 | ) |
| 14147 | |
| 14148 | endif (gRPC_BUILD_TESTS) |
| 14149 | if (gRPC_BUILD_TESTS) |
| 14150 | |
| 14151 | add_executable(hpack_parser_fuzzer_test_one_entry |
| 14152 | test/core/transport/chttp2/hpack_parser_fuzzer_test.c |
| 14153 | test/core/util/one_corpus_entry_fuzzer.c |
| 14154 | ) |
| 14155 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14156 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14157 | target_include_directories(hpack_parser_fuzzer_test_one_entry |
| 14158 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14159 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14160 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14161 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14162 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14163 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14164 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14165 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14166 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14167 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14168 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14169 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14170 | ) |
| 14171 | |
| 14172 | target_link_libraries(hpack_parser_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14173 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14174 | grpc_test_util |
| 14175 | grpc |
| 14176 | gpr_test_util |
| 14177 | gpr |
| 14178 | ) |
| 14179 | |
| 14180 | endif (gRPC_BUILD_TESTS) |
| 14181 | if (gRPC_BUILD_TESTS) |
| 14182 | |
| 14183 | add_executable(http_request_fuzzer_test_one_entry |
| 14184 | test/core/http/request_fuzzer.c |
| 14185 | test/core/util/one_corpus_entry_fuzzer.c |
| 14186 | ) |
| 14187 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14188 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14189 | target_include_directories(http_request_fuzzer_test_one_entry |
| 14190 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14191 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14192 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14193 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14194 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14195 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14196 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14197 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14198 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14199 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14200 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14201 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14202 | ) |
| 14203 | |
| 14204 | target_link_libraries(http_request_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14205 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14206 | grpc_test_util |
| 14207 | grpc |
| 14208 | gpr_test_util |
| 14209 | gpr |
| 14210 | ) |
| 14211 | |
| 14212 | endif (gRPC_BUILD_TESTS) |
| 14213 | if (gRPC_BUILD_TESTS) |
| 14214 | |
| 14215 | add_executable(http_response_fuzzer_test_one_entry |
| 14216 | test/core/http/response_fuzzer.c |
| 14217 | test/core/util/one_corpus_entry_fuzzer.c |
| 14218 | ) |
| 14219 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14220 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14221 | target_include_directories(http_response_fuzzer_test_one_entry |
| 14222 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14223 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14224 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14225 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14226 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14227 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14228 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14229 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14230 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14231 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14232 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14233 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14234 | ) |
| 14235 | |
| 14236 | target_link_libraries(http_response_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14237 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14238 | grpc_test_util |
| 14239 | grpc |
| 14240 | gpr_test_util |
| 14241 | gpr |
| 14242 | ) |
| 14243 | |
| 14244 | endif (gRPC_BUILD_TESTS) |
| 14245 | if (gRPC_BUILD_TESTS) |
| 14246 | |
| 14247 | add_executable(json_fuzzer_test_one_entry |
| 14248 | test/core/json/fuzzer.c |
| 14249 | test/core/util/one_corpus_entry_fuzzer.c |
| 14250 | ) |
| 14251 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14252 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14253 | target_include_directories(json_fuzzer_test_one_entry |
| 14254 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14255 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14256 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14257 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14258 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14259 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14260 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14261 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14262 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14263 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14264 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14265 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14266 | ) |
| 14267 | |
| 14268 | target_link_libraries(json_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14269 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14270 | grpc_test_util |
| 14271 | grpc |
| 14272 | gpr_test_util |
| 14273 | gpr |
| 14274 | ) |
| 14275 | |
| 14276 | endif (gRPC_BUILD_TESTS) |
| 14277 | if (gRPC_BUILD_TESTS) |
| 14278 | |
| 14279 | add_executable(nanopb_fuzzer_response_test_one_entry |
| 14280 | test/core/nanopb/fuzzer_response.c |
| 14281 | test/core/util/one_corpus_entry_fuzzer.c |
| 14282 | ) |
| 14283 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14284 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14285 | target_include_directories(nanopb_fuzzer_response_test_one_entry |
| 14286 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14287 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14288 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14289 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14290 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14291 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14292 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14293 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14294 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14295 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14296 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14297 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14298 | ) |
| 14299 | |
| 14300 | target_link_libraries(nanopb_fuzzer_response_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14301 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14302 | grpc_test_util |
| 14303 | grpc |
| 14304 | gpr_test_util |
| 14305 | gpr |
| 14306 | ) |
| 14307 | |
| 14308 | endif (gRPC_BUILD_TESTS) |
| 14309 | if (gRPC_BUILD_TESTS) |
| 14310 | |
| 14311 | add_executable(nanopb_fuzzer_serverlist_test_one_entry |
| 14312 | test/core/nanopb/fuzzer_serverlist.c |
| 14313 | test/core/util/one_corpus_entry_fuzzer.c |
| 14314 | ) |
| 14315 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14316 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14317 | target_include_directories(nanopb_fuzzer_serverlist_test_one_entry |
| 14318 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14319 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14320 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14321 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14322 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14323 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14324 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14325 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14326 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14327 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14328 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14329 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14330 | ) |
| 14331 | |
| 14332 | target_link_libraries(nanopb_fuzzer_serverlist_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14333 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14334 | grpc_test_util |
| 14335 | grpc |
| 14336 | gpr_test_util |
| 14337 | gpr |
| 14338 | ) |
| 14339 | |
| 14340 | endif (gRPC_BUILD_TESTS) |
| 14341 | if (gRPC_BUILD_TESTS) |
| 14342 | |
| 14343 | add_executable(percent_decode_fuzzer_one_entry |
| 14344 | test/core/slice/percent_decode_fuzzer.c |
| 14345 | test/core/util/one_corpus_entry_fuzzer.c |
| 14346 | ) |
| 14347 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14348 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14349 | target_include_directories(percent_decode_fuzzer_one_entry |
| 14350 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14351 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14352 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14353 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14354 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14355 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14356 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14357 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14358 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14359 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14360 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14361 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14362 | ) |
| 14363 | |
| 14364 | target_link_libraries(percent_decode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14365 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14366 | grpc_test_util |
| 14367 | grpc |
| 14368 | gpr_test_util |
| 14369 | gpr |
| 14370 | ) |
| 14371 | |
| 14372 | endif (gRPC_BUILD_TESTS) |
| 14373 | if (gRPC_BUILD_TESTS) |
| 14374 | |
| 14375 | add_executable(percent_encode_fuzzer_one_entry |
| 14376 | test/core/slice/percent_encode_fuzzer.c |
| 14377 | test/core/util/one_corpus_entry_fuzzer.c |
| 14378 | ) |
| 14379 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14380 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14381 | target_include_directories(percent_encode_fuzzer_one_entry |
| 14382 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14383 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14384 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14385 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14386 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14387 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14388 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14389 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14390 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14391 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14392 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14393 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14394 | ) |
| 14395 | |
| 14396 | target_link_libraries(percent_encode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14397 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14398 | grpc_test_util |
| 14399 | grpc |
| 14400 | gpr_test_util |
| 14401 | gpr |
| 14402 | ) |
| 14403 | |
| 14404 | endif (gRPC_BUILD_TESTS) |
| 14405 | if (gRPC_BUILD_TESTS) |
| 14406 | |
| 14407 | add_executable(server_fuzzer_one_entry |
| 14408 | test/core/end2end/fuzzers/server_fuzzer.c |
| 14409 | test/core/util/one_corpus_entry_fuzzer.c |
| 14410 | ) |
| 14411 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14412 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14413 | target_include_directories(server_fuzzer_one_entry |
| 14414 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14415 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14416 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14417 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14418 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14419 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14420 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14421 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14422 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14423 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14424 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14425 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14426 | ) |
| 14427 | |
| 14428 | target_link_libraries(server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14429 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14430 | grpc_test_util |
| 14431 | grpc |
| 14432 | gpr_test_util |
| 14433 | gpr |
| 14434 | ) |
| 14435 | |
| 14436 | endif (gRPC_BUILD_TESTS) |
| 14437 | if (gRPC_BUILD_TESTS) |
| 14438 | |
| 14439 | add_executable(ssl_server_fuzzer_one_entry |
| 14440 | test/core/security/ssl_server_fuzzer.c |
| 14441 | test/core/util/one_corpus_entry_fuzzer.c |
| 14442 | ) |
| 14443 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14444 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14445 | target_include_directories(ssl_server_fuzzer_one_entry |
| 14446 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14447 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14448 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14449 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14450 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14451 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14452 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14453 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14454 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14455 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14456 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14457 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14458 | ) |
| 14459 | |
| 14460 | target_link_libraries(ssl_server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14461 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14462 | grpc_test_util |
| 14463 | grpc |
| 14464 | gpr_test_util |
| 14465 | gpr |
| 14466 | ) |
| 14467 | |
| 14468 | endif (gRPC_BUILD_TESTS) |
| 14469 | if (gRPC_BUILD_TESTS) |
| 14470 | |
| 14471 | add_executable(uri_fuzzer_test_one_entry |
| 14472 | test/core/client_channel/uri_fuzzer_test.c |
| 14473 | test/core/util/one_corpus_entry_fuzzer.c |
| 14474 | ) |
| 14475 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14476 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14477 | target_include_directories(uri_fuzzer_test_one_entry |
| 14478 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14479 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14480 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14481 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14482 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14483 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14484 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 14485 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14486 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14487 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 14488 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14489 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14490 | ) |
| 14491 | |
| 14492 | target_link_libraries(uri_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14493 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14494 | grpc_test_util |
| 14495 | grpc |
| 14496 | gpr_test_util |
| 14497 | gpr |
| 14498 | ) |
| 14499 | |
| 14500 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14501 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14502 | |
| 14503 | |
| 14504 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 14505 | |
| 14506 | |
| 14507 | |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 14508 | if (gRPC_INSTALL) |
| 14509 | install(EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 14510 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 14511 | NAMESPACE gRPC:: |
| 14512 | ) |
| 14513 | endif() |
| 14514 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14515 | foreach(_config gRPCConfig gRPCConfigVersion) |
| 14516 | configure_file(tools/cmake/${_config}.cmake.in |
| 14517 | ${_config}.cmake @ONLY) |
| 14518 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_config}.cmake |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 14519 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14520 | ) |
| 14521 | endforeach() |