• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
7#
8# Copyright 2015 gRPC authors.
9#
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
13#
14#     http://www.apache.org/licenses/LICENSE-2.0
15#
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.
21
22
23
24cmake_minimum_required(VERSION 2.8)
25
26set(PACKAGE_NAME      "grpc")
27set(PACKAGE_VERSION   "1.16.0-dev")
28set(PACKAGE_STRING    "${PACKAGE_NAME} ${PACKAGE_VERSION}")
29set(PACKAGE_TARNAME   "${PACKAGE_NAME}-${PACKAGE_VERSION}")
30set(PACKAGE_BUGREPORT "https://github.com/grpc/grpc/issues/")
31project(${PACKAGE_NAME} C CXX)
32
33set(gRPC_INSTALL_BINDIR "bin" CACHE STRING "Installation directory for executables")
34set(gRPC_INSTALL_LIBDIR "lib" CACHE STRING "Installation directory for libraries")
35set(gRPC_INSTALL_INCLUDEDIR "include" CACHE STRING "Installation directory for headers")
36set(gRPC_INSTALL_CMAKEDIR "lib/cmake/${PACKAGE_NAME}" CACHE STRING "Installation directory for cmake config files")
37set(gRPC_INSTALL_SHAREDIR "share/grpc" CACHE STRING "Installation directory for root certificates")
38
39# Options
40option(gRPC_BUILD_TESTS "Build tests" OFF)
41option(gRPC_BUILD_CODEGEN "Build codegen" ON)
42option(gRPC_BUILD_CSHARP_EXT "Build C# extensions" ON)
43
44set(gRPC_INSTALL_default ON)
45if (NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
46  # Disable gRPC_INSTALL by default if building as a submodule
47  set(gRPC_INSTALL_default OFF)
48endif()
49set(gRPC_INSTALL ${gRPC_INSTALL_default} CACHE BOOL
50    "Generate installation target: gRPC_ZLIB_PROVIDER, gRPC_CARES_PROVIDER, gRPC_SSL_PROVIDER and gRPC_PROTOBUF_PROVIDER must all be \"package\"")
51
52# Providers for third-party dependencies (gRPC_*_PROVIDER properties):
53# "module": build the dependency using sources from git submodule (under third_party)
54# "package": use cmake's find_package functionality to locate a pre-installed dependency
55
56set(gRPC_ZLIB_PROVIDER "module" CACHE STRING "Provider of zlib library")
57set_property(CACHE gRPC_ZLIB_PROVIDER PROPERTY STRINGS "module" "package")
58
59set(gRPC_CARES_PROVIDER "module" CACHE STRING "Provider of c-ares library")
60set_property(CACHE gRPC_CARES_PROVIDER PROPERTY STRINGS "module" "package")
61
62set(gRPC_SSL_PROVIDER "module" CACHE STRING "Provider of ssl library")
63set_property(CACHE gRPC_SSL_PROVIDER PROPERTY STRINGS "module" "package")
64
65set(gRPC_PROTOBUF_PROVIDER "module" CACHE STRING "Provider of protobuf library")
66set_property(CACHE gRPC_PROTOBUF_PROVIDER PROPERTY STRINGS "module" "package")
67
68set(gRPC_PROTOBUF_PACKAGE_TYPE "" CACHE STRING "Algorithm for searching protobuf package")
69set_property(CACHE gRPC_PROTOBUF_PACKAGE_TYPE PROPERTY STRINGS "CONFIG" "MODULE")
70
71set(gRPC_GFLAGS_PROVIDER "module" CACHE STRING "Provider of gflags library")
72set_property(CACHE gRPC_GFLAGS_PROVIDER PROPERTY STRINGS "module" "package")
73
74set(gRPC_BENCHMARK_PROVIDER "module" CACHE STRING "Provider of benchmark library")
75set_property(CACHE gRPC_BENCHMARK_PROVIDER PROPERTY STRINGS "module" "package")
76
77set(gRPC_USE_PROTO_LITE OFF CACHE BOOL "Use the protobuf-lite library")
78
79if(UNIX)
80  if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
81    set(_gRPC_PLATFORM_LINUX ON)
82  elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
83    set(_gRPC_PLATFORM_MAC ON)
84  elseif(${CMAKE_SYSTEM_NAME} MATCHES "Android")
85    set(_gRPC_PLATFORM_ANDROID ON)
86  else()
87    set(_gRPC_PLATFORM_POSIX ON)
88  endif()
89endif()
90if(WIN32)
91  set(_gRPC_PLATFORM_WINDOWS ON)
92endif()
93
94set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
95
96add_definitions(-DPB_FIELD_16BIT)
97
98if (MSVC)
99  include(cmake/msvc_static_runtime.cmake)
100  add_definitions(-D_WIN32_WINNT=0x600 -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS)
101  # needed to compile protobuf
102  add_definitions(/wd4065 /wd4506)
103  # TODO(jtattermusch): revisit warnings that were silenced as part of upgrade to protobuf3.6.0
104  add_definitions(/wd4200 /wd4291 /wd4244)
105  # TODO(jtattermusch): revisit C4267 occurrences throughout the code
106  add_definitions(/wd4267)
107  # TODO(jtattermusch): needed to build boringssl with VS2017, revisit later
108  add_definitions(/wd4987 /wd4774 /wd4819 /wd4996 /wd4619)
109endif()
110
111if (gRPC_USE_PROTO_LITE)
112  set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf-lite")
113  add_definitions("-DGRPC_USE_PROTO_LITE")
114else()
115  set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf")
116endif()
117
118include(cmake/zlib.cmake)
119include(cmake/cares.cmake)
120include(cmake/protobuf.cmake)
121include(cmake/ssl.cmake)
122include(cmake/gflags.cmake)
123include(cmake/benchmark.cmake)
124include(cmake/address_sorting.cmake)
125include(cmake/nanopb.cmake)
126
127if(NOT MSVC)
128  set(CMAKE_C_FLAGS   "${CMAKE_C_FLAGS} -std=c99")
129  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
130endif()
131
132if(_gRPC_PLATFORM_MAC)
133  set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m pthread)
134elseif(_gRPC_PLATFORM_ANDROID)
135  set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m)
136elseif(UNIX)
137  set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} rt m pthread)
138endif()
139
140if(WIN32 AND MSVC)
141  set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32)
142endif()
143
144# Create directory for generated .proto files
145set(_gRPC_PROTO_GENS_DIR ${CMAKE_BINARY_DIR}/gens)
146file(MAKE_DIRECTORY ${_gRPC_PROTO_GENS_DIR})
147
148#  protobuf_generate_grpc_cpp
149#  --------------------------
150#
151#   Add custom commands to process ``.proto`` files to C++ using protoc and
152#   GRPC plugin::
153#
154#     protobuf_generate_grpc_cpp [<ARGN>...]
155#
156#   ``ARGN``
157#     ``.proto`` files
158#
159function(protobuf_generate_grpc_cpp)
160  if(NOT ARGN)
161    message(SEND_ERROR "Error: PROTOBUF_GENERATE_GRPC_CPP() called without any proto files")
162    return()
163  endif()
164
165  set(_protobuf_include_path -I . -I ${_gRPC_PROTOBUF_WELLKNOWN_INCLUDE_DIR})
166  foreach(FIL ${ARGN})
167    get_filename_component(ABS_FIL ${FIL} ABSOLUTE)
168    get_filename_component(FIL_WE ${FIL} NAME_WE)
169    file(RELATIVE_PATH REL_FIL ${CMAKE_CURRENT_SOURCE_DIR} ${ABS_FIL})
170    get_filename_component(REL_DIR ${REL_FIL} DIRECTORY)
171    set(RELFIL_WE "${REL_DIR}/${FIL_WE}")
172
173    add_custom_command(
174      OUTPUT "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.cc"
175             "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.h"
176             "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}_mock.grpc.pb.h"
177             "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc"
178             "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h"
179      COMMAND ${_gRPC_PROTOBUF_PROTOC_EXECUTABLE}
180      ARGS --grpc_out=generate_mock_code=true:${_gRPC_PROTO_GENS_DIR}
181           --cpp_out=${_gRPC_PROTO_GENS_DIR}
182           --plugin=protoc-gen-grpc=$<TARGET_FILE:grpc_cpp_plugin>
183           ${_protobuf_include_path}
184           ${REL_FIL}
185      DEPENDS ${ABS_FIL} ${_gRPC_PROTOBUF_PROTOC} grpc_cpp_plugin
186      WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
187      COMMENT "Running gRPC C++ protocol buffer compiler on ${FIL}"
188      VERBATIM)
189
190      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)
191  endforeach()
192endfunction()
193
194add_custom_target(plugins
195  DEPENDS
196  grpc_cpp_plugin
197  grpc_csharp_plugin
198  grpc_node_plugin
199  grpc_objective_c_plugin
200  grpc_php_plugin
201  grpc_python_plugin
202  grpc_ruby_plugin
203)
204
205add_custom_target(tools_c
206  DEPENDS
207  check_epollexclusive
208  grpc_create_jwt
209  grpc_print_google_default_creds_token
210  grpc_verify_jwt
211  gen_hpack_tables
212  gen_legal_metadata_characters
213  gen_percent_encoding_tables
214)
215
216add_custom_target(tools_cxx
217  DEPENDS
218)
219
220add_custom_target(tools
221  DEPENDS tools_c tools_cxx)
222
223if (gRPC_BUILD_TESTS)
224add_custom_target(buildtests_c)
225add_dependencies(buildtests_c algorithm_test)
226add_dependencies(buildtests_c alloc_test)
227add_dependencies(buildtests_c alpn_test)
228add_dependencies(buildtests_c arena_test)
229add_dependencies(buildtests_c avl_test)
230add_dependencies(buildtests_c bad_server_response_test)
231add_dependencies(buildtests_c bin_decoder_test)
232add_dependencies(buildtests_c bin_encoder_test)
233if(_gRPC_PLATFORM_LINUX)
234add_dependencies(buildtests_c buffer_list_test)
235endif()
236add_dependencies(buildtests_c channel_create_test)
237add_dependencies(buildtests_c chttp2_hpack_encoder_test)
238add_dependencies(buildtests_c chttp2_stream_map_test)
239add_dependencies(buildtests_c chttp2_varint_test)
240add_dependencies(buildtests_c cmdline_test)
241add_dependencies(buildtests_c combiner_test)
242add_dependencies(buildtests_c compression_test)
243add_dependencies(buildtests_c concurrent_connectivity_test)
244add_dependencies(buildtests_c connection_refused_test)
245add_dependencies(buildtests_c dns_resolver_connectivity_test)
246add_dependencies(buildtests_c dns_resolver_cooldown_test)
247add_dependencies(buildtests_c dns_resolver_test)
248if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
249add_dependencies(buildtests_c dualstack_socket_test)
250endif()
251add_dependencies(buildtests_c endpoint_pair_test)
252add_dependencies(buildtests_c error_test)
253if(_gRPC_PLATFORM_LINUX)
254add_dependencies(buildtests_c ev_epollex_linux_test)
255endif()
256if(_gRPC_PLATFORM_LINUX)
257add_dependencies(buildtests_c ev_epollsig_linux_test)
258endif()
259add_dependencies(buildtests_c fake_resolver_test)
260if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
261add_dependencies(buildtests_c fake_transport_security_test)
262endif()
263if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
264add_dependencies(buildtests_c fd_conservation_posix_test)
265endif()
266if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
267add_dependencies(buildtests_c fd_posix_test)
268endif()
269add_dependencies(buildtests_c fling_client)
270add_dependencies(buildtests_c fling_server)
271if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
272add_dependencies(buildtests_c fling_stream_test)
273endif()
274if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
275add_dependencies(buildtests_c fling_test)
276endif()
277if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC)
278add_dependencies(buildtests_c fork_test)
279endif()
280if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
281add_dependencies(buildtests_c goaway_server_test)
282endif()
283add_dependencies(buildtests_c gpr_cpu_test)
284add_dependencies(buildtests_c gpr_env_test)
285add_dependencies(buildtests_c gpr_host_port_test)
286add_dependencies(buildtests_c gpr_log_test)
287add_dependencies(buildtests_c gpr_manual_constructor_test)
288add_dependencies(buildtests_c gpr_mpscq_test)
289add_dependencies(buildtests_c gpr_spinlock_test)
290add_dependencies(buildtests_c gpr_string_test)
291add_dependencies(buildtests_c gpr_sync_test)
292add_dependencies(buildtests_c gpr_thd_test)
293add_dependencies(buildtests_c gpr_time_test)
294add_dependencies(buildtests_c gpr_tls_test)
295add_dependencies(buildtests_c gpr_useful_test)
296add_dependencies(buildtests_c grpc_auth_context_test)
297add_dependencies(buildtests_c grpc_b64_test)
298add_dependencies(buildtests_c grpc_byte_buffer_reader_test)
299add_dependencies(buildtests_c grpc_channel_args_test)
300add_dependencies(buildtests_c grpc_channel_stack_builder_test)
301add_dependencies(buildtests_c grpc_channel_stack_test)
302add_dependencies(buildtests_c grpc_completion_queue_test)
303add_dependencies(buildtests_c grpc_completion_queue_threading_test)
304add_dependencies(buildtests_c grpc_credentials_test)
305add_dependencies(buildtests_c grpc_fetch_oauth2)
306add_dependencies(buildtests_c grpc_ipv6_loopback_available_test)
307if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
308add_dependencies(buildtests_c grpc_json_token_test)
309endif()
310add_dependencies(buildtests_c grpc_jwt_verifier_test)
311add_dependencies(buildtests_c grpc_security_connector_test)
312add_dependencies(buildtests_c grpc_ssl_credentials_test)
313if(_gRPC_PLATFORM_LINUX)
314add_dependencies(buildtests_c handshake_client)
315endif()
316if(_gRPC_PLATFORM_LINUX)
317add_dependencies(buildtests_c handshake_server)
318endif()
319if(_gRPC_PLATFORM_LINUX)
320add_dependencies(buildtests_c handshake_server_with_readahead_handshaker)
321endif()
322if(_gRPC_PLATFORM_LINUX)
323add_dependencies(buildtests_c handshake_verify_peer_options)
324endif()
325add_dependencies(buildtests_c histogram_test)
326add_dependencies(buildtests_c hpack_parser_test)
327add_dependencies(buildtests_c hpack_table_test)
328add_dependencies(buildtests_c http_parser_test)
329add_dependencies(buildtests_c httpcli_format_request_test)
330if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
331add_dependencies(buildtests_c httpcli_test)
332endif()
333if(_gRPC_PLATFORM_LINUX)
334add_dependencies(buildtests_c httpscli_test)
335endif()
336add_dependencies(buildtests_c init_test)
337add_dependencies(buildtests_c inproc_callback_test)
338add_dependencies(buildtests_c invalid_call_argument_test)
339add_dependencies(buildtests_c json_rewrite)
340add_dependencies(buildtests_c json_rewrite_test)
341add_dependencies(buildtests_c json_stream_error_test)
342add_dependencies(buildtests_c json_test)
343add_dependencies(buildtests_c lame_client_test)
344add_dependencies(buildtests_c load_file_test)
345add_dependencies(buildtests_c memory_profile_client)
346add_dependencies(buildtests_c memory_profile_server)
347if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
348add_dependencies(buildtests_c memory_profile_test)
349endif()
350add_dependencies(buildtests_c message_compress_test)
351add_dependencies(buildtests_c minimal_stack_is_minimal_test)
352add_dependencies(buildtests_c multiple_server_queues_test)
353add_dependencies(buildtests_c murmur_hash_test)
354add_dependencies(buildtests_c no_server_test)
355add_dependencies(buildtests_c num_external_connectivity_watchers_test)
356add_dependencies(buildtests_c parse_address_test)
357add_dependencies(buildtests_c percent_encoding_test)
358if(_gRPC_PLATFORM_LINUX)
359add_dependencies(buildtests_c pollset_set_test)
360endif()
361if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
362add_dependencies(buildtests_c resolve_address_posix_test)
363endif()
364add_dependencies(buildtests_c resolve_address_using_ares_resolver_test)
365add_dependencies(buildtests_c resolve_address_using_native_resolver_test)
366add_dependencies(buildtests_c resource_quota_test)
367add_dependencies(buildtests_c secure_channel_create_test)
368add_dependencies(buildtests_c secure_endpoint_test)
369add_dependencies(buildtests_c sequential_connectivity_test)
370add_dependencies(buildtests_c server_chttp2_test)
371add_dependencies(buildtests_c server_test)
372add_dependencies(buildtests_c slice_buffer_test)
373add_dependencies(buildtests_c slice_string_helpers_test)
374add_dependencies(buildtests_c slice_test)
375add_dependencies(buildtests_c sockaddr_resolver_test)
376add_dependencies(buildtests_c sockaddr_utils_test)
377if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
378add_dependencies(buildtests_c socket_utils_test)
379endif()
380if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
381add_dependencies(buildtests_c ssl_transport_security_test)
382endif()
383add_dependencies(buildtests_c status_conversion_test)
384add_dependencies(buildtests_c stream_compression_test)
385add_dependencies(buildtests_c stream_owned_slice_test)
386if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
387add_dependencies(buildtests_c tcp_client_posix_test)
388endif()
389add_dependencies(buildtests_c tcp_client_uv_test)
390if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
391add_dependencies(buildtests_c tcp_posix_test)
392endif()
393if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
394add_dependencies(buildtests_c tcp_server_posix_test)
395endif()
396add_dependencies(buildtests_c tcp_server_uv_test)
397add_dependencies(buildtests_c time_averaged_stats_test)
398add_dependencies(buildtests_c timeout_encoding_test)
399add_dependencies(buildtests_c timer_heap_test)
400add_dependencies(buildtests_c timer_list_test)
401add_dependencies(buildtests_c transport_connectivity_state_test)
402add_dependencies(buildtests_c transport_metadata_test)
403if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
404add_dependencies(buildtests_c transport_security_test)
405endif()
406if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
407add_dependencies(buildtests_c udp_server_test)
408endif()
409add_dependencies(buildtests_c uri_parser_test)
410if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
411add_dependencies(buildtests_c wakeup_fd_cv_test)
412endif()
413add_dependencies(buildtests_c public_headers_must_be_c89)
414add_dependencies(buildtests_c badreq_bad_client_test)
415add_dependencies(buildtests_c connection_prefix_bad_client_test)
416add_dependencies(buildtests_c duplicate_header_bad_client_test)
417add_dependencies(buildtests_c head_of_line_blocking_bad_client_test)
418add_dependencies(buildtests_c headers_bad_client_test)
419add_dependencies(buildtests_c initial_settings_frame_bad_client_test)
420add_dependencies(buildtests_c large_metadata_bad_client_test)
421add_dependencies(buildtests_c server_registered_method_bad_client_test)
422add_dependencies(buildtests_c simple_request_bad_client_test)
423add_dependencies(buildtests_c unknown_frame_bad_client_test)
424add_dependencies(buildtests_c window_overflow_bad_client_test)
425if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
426add_dependencies(buildtests_c bad_ssl_cert_server)
427endif()
428if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
429add_dependencies(buildtests_c bad_ssl_cert_test)
430endif()
431add_dependencies(buildtests_c h2_census_test)
432add_dependencies(buildtests_c h2_compress_test)
433add_dependencies(buildtests_c h2_fakesec_test)
434if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
435add_dependencies(buildtests_c h2_fd_test)
436endif()
437add_dependencies(buildtests_c h2_full_test)
438if(_gRPC_PLATFORM_LINUX)
439add_dependencies(buildtests_c h2_full+pipe_test)
440endif()
441add_dependencies(buildtests_c h2_full+trace_test)
442add_dependencies(buildtests_c h2_full+workarounds_test)
443add_dependencies(buildtests_c h2_http_proxy_test)
444if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
445add_dependencies(buildtests_c h2_local_test)
446endif()
447add_dependencies(buildtests_c h2_oauth2_test)
448add_dependencies(buildtests_c h2_proxy_test)
449add_dependencies(buildtests_c h2_sockpair_test)
450add_dependencies(buildtests_c h2_sockpair+trace_test)
451add_dependencies(buildtests_c h2_sockpair_1byte_test)
452add_dependencies(buildtests_c h2_ssl_test)
453add_dependencies(buildtests_c h2_ssl_proxy_test)
454if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
455add_dependencies(buildtests_c h2_uds_test)
456endif()
457add_dependencies(buildtests_c inproc_test)
458add_dependencies(buildtests_c h2_census_nosec_test)
459add_dependencies(buildtests_c h2_compress_nosec_test)
460if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
461add_dependencies(buildtests_c h2_fd_nosec_test)
462endif()
463add_dependencies(buildtests_c h2_full_nosec_test)
464if(_gRPC_PLATFORM_LINUX)
465add_dependencies(buildtests_c h2_full+pipe_nosec_test)
466endif()
467add_dependencies(buildtests_c h2_full+trace_nosec_test)
468add_dependencies(buildtests_c h2_full+workarounds_nosec_test)
469add_dependencies(buildtests_c h2_http_proxy_nosec_test)
470add_dependencies(buildtests_c h2_proxy_nosec_test)
471add_dependencies(buildtests_c h2_sockpair_nosec_test)
472add_dependencies(buildtests_c h2_sockpair+trace_nosec_test)
473add_dependencies(buildtests_c h2_sockpair_1byte_nosec_test)
474if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
475add_dependencies(buildtests_c h2_uds_nosec_test)
476endif()
477add_dependencies(buildtests_c inproc_nosec_test)
478add_dependencies(buildtests_c alts_credentials_fuzzer_one_entry)
479add_dependencies(buildtests_c api_fuzzer_one_entry)
480add_dependencies(buildtests_c client_fuzzer_one_entry)
481add_dependencies(buildtests_c hpack_parser_fuzzer_test_one_entry)
482add_dependencies(buildtests_c http_request_fuzzer_test_one_entry)
483add_dependencies(buildtests_c http_response_fuzzer_test_one_entry)
484add_dependencies(buildtests_c json_fuzzer_test_one_entry)
485add_dependencies(buildtests_c nanopb_fuzzer_response_test_one_entry)
486add_dependencies(buildtests_c nanopb_fuzzer_serverlist_test_one_entry)
487add_dependencies(buildtests_c percent_decode_fuzzer_one_entry)
488add_dependencies(buildtests_c percent_encode_fuzzer_one_entry)
489add_dependencies(buildtests_c server_fuzzer_one_entry)
490add_dependencies(buildtests_c ssl_server_fuzzer_one_entry)
491add_dependencies(buildtests_c uri_fuzzer_test_one_entry)
492
493add_custom_target(buildtests_cxx)
494add_dependencies(buildtests_cxx alarm_test)
495add_dependencies(buildtests_cxx alts_counter_test)
496add_dependencies(buildtests_cxx alts_crypt_test)
497add_dependencies(buildtests_cxx alts_crypter_test)
498add_dependencies(buildtests_cxx alts_frame_handler_test)
499add_dependencies(buildtests_cxx alts_frame_protector_test)
500add_dependencies(buildtests_cxx alts_grpc_record_protocol_test)
501add_dependencies(buildtests_cxx alts_handshaker_client_test)
502add_dependencies(buildtests_cxx alts_handshaker_service_api_test)
503add_dependencies(buildtests_cxx alts_iovec_record_protocol_test)
504add_dependencies(buildtests_cxx alts_security_connector_test)
505add_dependencies(buildtests_cxx alts_tsi_handshaker_test)
506add_dependencies(buildtests_cxx alts_tsi_utils_test)
507add_dependencies(buildtests_cxx alts_zero_copy_grpc_protector_test)
508add_dependencies(buildtests_cxx async_end2end_test)
509add_dependencies(buildtests_cxx auth_property_iterator_test)
510add_dependencies(buildtests_cxx backoff_test)
511add_dependencies(buildtests_cxx bdp_estimator_test)
512if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
513add_dependencies(buildtests_cxx bm_arena)
514endif()
515if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
516add_dependencies(buildtests_cxx bm_call_create)
517endif()
518if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
519add_dependencies(buildtests_cxx bm_channel)
520endif()
521if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
522add_dependencies(buildtests_cxx bm_chttp2_hpack)
523endif()
524if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
525add_dependencies(buildtests_cxx bm_chttp2_transport)
526endif()
527if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
528add_dependencies(buildtests_cxx bm_closure)
529endif()
530if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
531add_dependencies(buildtests_cxx bm_cq)
532endif()
533if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
534add_dependencies(buildtests_cxx bm_cq_multiple_threads)
535endif()
536if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
537add_dependencies(buildtests_cxx bm_error)
538endif()
539if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
540add_dependencies(buildtests_cxx bm_fullstack_streaming_ping_pong)
541endif()
542if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
543add_dependencies(buildtests_cxx bm_fullstack_streaming_pump)
544endif()
545if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
546add_dependencies(buildtests_cxx bm_fullstack_trickle)
547endif()
548if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
549add_dependencies(buildtests_cxx bm_fullstack_unary_ping_pong)
550endif()
551if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
552add_dependencies(buildtests_cxx bm_metadata)
553endif()
554if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
555add_dependencies(buildtests_cxx bm_pollset)
556endif()
557add_dependencies(buildtests_cxx byte_stream_test)
558add_dependencies(buildtests_cxx channel_arguments_test)
559add_dependencies(buildtests_cxx channel_filter_test)
560add_dependencies(buildtests_cxx channel_trace_test)
561add_dependencies(buildtests_cxx channelz_registry_test)
562add_dependencies(buildtests_cxx channelz_service_test)
563add_dependencies(buildtests_cxx channelz_test)
564add_dependencies(buildtests_cxx check_gcp_environment_linux_test)
565add_dependencies(buildtests_cxx check_gcp_environment_windows_test)
566add_dependencies(buildtests_cxx chttp2_settings_timeout_test)
567add_dependencies(buildtests_cxx cli_call_test)
568add_dependencies(buildtests_cxx client_callback_end2end_test)
569add_dependencies(buildtests_cxx client_channel_stress_test)
570if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
571add_dependencies(buildtests_cxx client_crash_test)
572endif()
573add_dependencies(buildtests_cxx client_crash_test_server)
574add_dependencies(buildtests_cxx client_lb_end2end_test)
575add_dependencies(buildtests_cxx codegen_test_full)
576add_dependencies(buildtests_cxx codegen_test_minimal)
577add_dependencies(buildtests_cxx credentials_test)
578add_dependencies(buildtests_cxx cxx_byte_buffer_test)
579add_dependencies(buildtests_cxx cxx_slice_test)
580add_dependencies(buildtests_cxx cxx_string_ref_test)
581add_dependencies(buildtests_cxx cxx_time_test)
582add_dependencies(buildtests_cxx end2end_test)
583add_dependencies(buildtests_cxx error_details_test)
584add_dependencies(buildtests_cxx exception_test)
585add_dependencies(buildtests_cxx filter_end2end_test)
586add_dependencies(buildtests_cxx generic_end2end_test)
587add_dependencies(buildtests_cxx golden_file_test)
588add_dependencies(buildtests_cxx grpc_alts_credentials_options_test)
589add_dependencies(buildtests_cxx grpc_cli)
590add_dependencies(buildtests_cxx grpc_linux_system_roots_test)
591add_dependencies(buildtests_cxx grpc_tool_test)
592add_dependencies(buildtests_cxx grpclb_api_test)
593add_dependencies(buildtests_cxx grpclb_end2end_test)
594add_dependencies(buildtests_cxx h2_ssl_cert_test)
595add_dependencies(buildtests_cxx h2_ssl_session_reuse_test)
596add_dependencies(buildtests_cxx health_service_end2end_test)
597if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
598add_dependencies(buildtests_cxx http2_client)
599endif()
600add_dependencies(buildtests_cxx hybrid_end2end_test)
601add_dependencies(buildtests_cxx inlined_vector_test)
602if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
603add_dependencies(buildtests_cxx inproc_sync_unary_ping_pong_test)
604endif()
605if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
606add_dependencies(buildtests_cxx interop_client)
607endif()
608if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
609add_dependencies(buildtests_cxx interop_server)
610endif()
611if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
612add_dependencies(buildtests_cxx interop_test)
613endif()
614if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
615add_dependencies(buildtests_cxx json_run_localhost)
616endif()
617add_dependencies(buildtests_cxx memory_test)
618add_dependencies(buildtests_cxx metrics_client)
619add_dependencies(buildtests_cxx mock_test)
620add_dependencies(buildtests_cxx nonblocking_test)
621add_dependencies(buildtests_cxx noop-benchmark)
622add_dependencies(buildtests_cxx orphanable_test)
623add_dependencies(buildtests_cxx proto_server_reflection_test)
624add_dependencies(buildtests_cxx proto_utils_test)
625if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
626add_dependencies(buildtests_cxx qps_interarrival_test)
627endif()
628add_dependencies(buildtests_cxx qps_json_driver)
629if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
630add_dependencies(buildtests_cxx qps_openloop_test)
631endif()
632add_dependencies(buildtests_cxx qps_worker)
633add_dependencies(buildtests_cxx raw_end2end_test)
634add_dependencies(buildtests_cxx reconnect_interop_client)
635add_dependencies(buildtests_cxx reconnect_interop_server)
636add_dependencies(buildtests_cxx ref_counted_ptr_test)
637add_dependencies(buildtests_cxx ref_counted_test)
638add_dependencies(buildtests_cxx retry_throttle_test)
639add_dependencies(buildtests_cxx secure_auth_context_test)
640if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
641add_dependencies(buildtests_cxx secure_sync_unary_ping_pong_test)
642endif()
643add_dependencies(buildtests_cxx server_builder_plugin_test)
644add_dependencies(buildtests_cxx server_builder_test)
645if(_gRPC_PLATFORM_POSIX)
646add_dependencies(buildtests_cxx server_builder_with_socket_mutator_test)
647endif()
648add_dependencies(buildtests_cxx server_context_test_spouse_test)
649if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
650add_dependencies(buildtests_cxx server_crash_test)
651endif()
652add_dependencies(buildtests_cxx server_crash_test_client)
653add_dependencies(buildtests_cxx server_early_return_test)
654add_dependencies(buildtests_cxx server_request_call_test)
655add_dependencies(buildtests_cxx shutdown_test)
656add_dependencies(buildtests_cxx slice_hash_table_test)
657add_dependencies(buildtests_cxx slice_weak_hash_table_test)
658add_dependencies(buildtests_cxx stats_test)
659add_dependencies(buildtests_cxx status_metadata_test)
660add_dependencies(buildtests_cxx status_util_test)
661if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
662add_dependencies(buildtests_cxx streaming_throughput_test)
663endif()
664add_dependencies(buildtests_cxx stress_test)
665add_dependencies(buildtests_cxx thread_manager_test)
666add_dependencies(buildtests_cxx thread_stress_test)
667add_dependencies(buildtests_cxx transport_pid_controller_test)
668add_dependencies(buildtests_cxx transport_security_common_api_test)
669if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
670add_dependencies(buildtests_cxx writes_per_rpc_test)
671endif()
672add_dependencies(buildtests_cxx resolver_component_test_unsecure)
673add_dependencies(buildtests_cxx resolver_component_test)
674if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
675add_dependencies(buildtests_cxx resolver_component_tests_runner_invoker_unsecure)
676endif()
677if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
678add_dependencies(buildtests_cxx resolver_component_tests_runner_invoker)
679endif()
680add_dependencies(buildtests_cxx address_sorting_test_unsecure)
681add_dependencies(buildtests_cxx address_sorting_test)
682add_dependencies(buildtests_cxx cancel_ares_query_test)
683
684add_custom_target(buildtests
685  DEPENDS buildtests_c buildtests_cxx)
686endif (gRPC_BUILD_TESTS)
687
688
689add_library(address_sorting
690  third_party/address_sorting/address_sorting.c
691  third_party/address_sorting/address_sorting_posix.c
692  third_party/address_sorting/address_sorting_windows.c
693)
694
695if(WIN32 AND MSVC)
696  set_target_properties(address_sorting PROPERTIES COMPILE_PDB_NAME "address_sorting"
697    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
698  )
699  if (gRPC_INSTALL)
700    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/address_sorting.pdb
701      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
702    )
703  endif()
704endif()
705
706
707target_include_directories(address_sorting
708  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
709  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
710  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
711  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
712  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
713  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
714  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
715  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
716  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
717  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
718)
719
720target_link_libraries(address_sorting
721  ${_gRPC_BASELIB_LIBRARIES}
722  ${_gRPC_ALLTARGETS_LIBRARIES}
723)
724
725
726
727if (gRPC_INSTALL)
728  install(TARGETS address_sorting EXPORT gRPCTargets
729    RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR}
730    LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR}
731    ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
732  )
733endif()
734
735if (gRPC_BUILD_TESTS)
736
737add_library(alts_test_util
738  test/core/tsi/alts/crypt/gsec_test_util.cc
739  test/core/tsi/alts/handshaker/alts_handshaker_service_api_test_lib.cc
740)
741
742if(WIN32 AND MSVC)
743  set_target_properties(alts_test_util PROPERTIES COMPILE_PDB_NAME "alts_test_util"
744    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
745  )
746  if (gRPC_INSTALL)
747    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/alts_test_util.pdb
748      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
749    )
750  endif()
751endif()
752
753
754target_include_directories(alts_test_util
755  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
756  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
757  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
758  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
759  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
760  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
761  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
762  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
763  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
764  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
765)
766
767target_link_libraries(alts_test_util
768  ${_gRPC_SSL_LIBRARIES}
769  ${_gRPC_ALLTARGETS_LIBRARIES}
770  grpc
771)
772
773
774endif (gRPC_BUILD_TESTS)
775
776add_library(gpr
777  src/core/lib/gpr/alloc.cc
778  src/core/lib/gpr/arena.cc
779  src/core/lib/gpr/atm.cc
780  src/core/lib/gpr/cpu_iphone.cc
781  src/core/lib/gpr/cpu_linux.cc
782  src/core/lib/gpr/cpu_posix.cc
783  src/core/lib/gpr/cpu_windows.cc
784  src/core/lib/gpr/env_linux.cc
785  src/core/lib/gpr/env_posix.cc
786  src/core/lib/gpr/env_windows.cc
787  src/core/lib/gpr/host_port.cc
788  src/core/lib/gpr/log.cc
789  src/core/lib/gpr/log_android.cc
790  src/core/lib/gpr/log_linux.cc
791  src/core/lib/gpr/log_posix.cc
792  src/core/lib/gpr/log_windows.cc
793  src/core/lib/gpr/mpscq.cc
794  src/core/lib/gpr/murmur_hash.cc
795  src/core/lib/gpr/string.cc
796  src/core/lib/gpr/string_posix.cc
797  src/core/lib/gpr/string_util_windows.cc
798  src/core/lib/gpr/string_windows.cc
799  src/core/lib/gpr/sync.cc
800  src/core/lib/gpr/sync_posix.cc
801  src/core/lib/gpr/sync_windows.cc
802  src/core/lib/gpr/time.cc
803  src/core/lib/gpr/time_posix.cc
804  src/core/lib/gpr/time_precise.cc
805  src/core/lib/gpr/time_windows.cc
806  src/core/lib/gpr/tls_pthread.cc
807  src/core/lib/gpr/tmpfile_msys.cc
808  src/core/lib/gpr/tmpfile_posix.cc
809  src/core/lib/gpr/tmpfile_windows.cc
810  src/core/lib/gpr/wrap_memcpy.cc
811  src/core/lib/gprpp/fork.cc
812  src/core/lib/gprpp/thd_posix.cc
813  src/core/lib/gprpp/thd_windows.cc
814  src/core/lib/profiling/basic_timers.cc
815  src/core/lib/profiling/stap_timers.cc
816)
817
818if(WIN32 AND MSVC)
819  set_target_properties(gpr PROPERTIES COMPILE_PDB_NAME "gpr"
820    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
821  )
822  if (gRPC_INSTALL)
823    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr.pdb
824      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
825    )
826  endif()
827endif()
828
829
830target_include_directories(gpr
831  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
832  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
833  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
834  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
835  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
836  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
837  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
838  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
839  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
840  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
841)
842
843target_link_libraries(gpr
844  ${_gRPC_ALLTARGETS_LIBRARIES}
845)
846if (_gRPC_PLATFORM_ANDROID)
847  target_link_libraries(gpr
848    android
849    log
850  )
851endif (_gRPC_PLATFORM_ANDROID)
852
853foreach(_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/cpu.h
860  include/grpc/support/log.h
861  include/grpc/support/log_windows.h
862  include/grpc/support/port_platform.h
863  include/grpc/support/string_util.h
864  include/grpc/support/sync.h
865  include/grpc/support/sync_custom.h
866  include/grpc/support/sync_generic.h
867  include/grpc/support/sync_posix.h
868  include/grpc/support/sync_windows.h
869  include/grpc/support/thd_id.h
870  include/grpc/support/time.h
871  include/grpc/impl/codegen/atm.h
872  include/grpc/impl/codegen/atm_gcc_atomic.h
873  include/grpc/impl/codegen/atm_gcc_sync.h
874  include/grpc/impl/codegen/atm_windows.h
875  include/grpc/impl/codegen/fork.h
876  include/grpc/impl/codegen/gpr_slice.h
877  include/grpc/impl/codegen/gpr_types.h
878  include/grpc/impl/codegen/log.h
879  include/grpc/impl/codegen/port_platform.h
880  include/grpc/impl/codegen/sync.h
881  include/grpc/impl/codegen/sync_custom.h
882  include/grpc/impl/codegen/sync_generic.h
883  include/grpc/impl/codegen/sync_posix.h
884  include/grpc/impl/codegen/sync_windows.h
885)
886  string(REPLACE "include/" "" _path ${_hdr})
887  get_filename_component(_path ${_path} PATH)
888  install(FILES ${_hdr}
889    DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}"
890  )
891endforeach()
892
893
894if (gRPC_INSTALL)
895  install(TARGETS gpr EXPORT gRPCTargets
896    RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR}
897    LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR}
898    ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
899  )
900endif()
901
902if (gRPC_BUILD_TESTS)
903
904add_library(gpr_test_util
905  test/core/util/test_config.cc
906)
907
908if(WIN32 AND MSVC)
909  set_target_properties(gpr_test_util PROPERTIES COMPILE_PDB_NAME "gpr_test_util"
910    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
911  )
912  if (gRPC_INSTALL)
913    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr_test_util.pdb
914      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
915    )
916  endif()
917endif()
918
919
920target_include_directories(gpr_test_util
921  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
922  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
923  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
924  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
925  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
926  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
927  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
928  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
929  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
930  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
931)
932
933target_link_libraries(gpr_test_util
934  ${_gRPC_ALLTARGETS_LIBRARIES}
935  gpr
936)
937
938
939endif (gRPC_BUILD_TESTS)
940
941add_library(grpc
942  src/core/lib/surface/init.cc
943  src/core/lib/avl/avl.cc
944  src/core/lib/backoff/backoff.cc
945  src/core/lib/channel/channel_args.cc
946  src/core/lib/channel/channel_stack.cc
947  src/core/lib/channel/channel_stack_builder.cc
948  src/core/lib/channel/channel_trace.cc
949  src/core/lib/channel/channelz.cc
950  src/core/lib/channel/channelz_registry.cc
951  src/core/lib/channel/connected_channel.cc
952  src/core/lib/channel/handshaker.cc
953  src/core/lib/channel/handshaker_factory.cc
954  src/core/lib/channel/handshaker_registry.cc
955  src/core/lib/channel/status_util.cc
956  src/core/lib/compression/compression.cc
957  src/core/lib/compression/compression_internal.cc
958  src/core/lib/compression/message_compress.cc
959  src/core/lib/compression/stream_compression.cc
960  src/core/lib/compression/stream_compression_gzip.cc
961  src/core/lib/compression/stream_compression_identity.cc
962  src/core/lib/debug/stats.cc
963  src/core/lib/debug/stats_data.cc
964  src/core/lib/http/format_request.cc
965  src/core/lib/http/httpcli.cc
966  src/core/lib/http/parser.cc
967  src/core/lib/iomgr/buffer_list.cc
968  src/core/lib/iomgr/call_combiner.cc
969  src/core/lib/iomgr/combiner.cc
970  src/core/lib/iomgr/endpoint.cc
971  src/core/lib/iomgr/endpoint_pair_posix.cc
972  src/core/lib/iomgr/endpoint_pair_uv.cc
973  src/core/lib/iomgr/endpoint_pair_windows.cc
974  src/core/lib/iomgr/error.cc
975  src/core/lib/iomgr/ev_epoll1_linux.cc
976  src/core/lib/iomgr/ev_epollex_linux.cc
977  src/core/lib/iomgr/ev_epollsig_linux.cc
978  src/core/lib/iomgr/ev_poll_posix.cc
979  src/core/lib/iomgr/ev_posix.cc
980  src/core/lib/iomgr/ev_windows.cc
981  src/core/lib/iomgr/exec_ctx.cc
982  src/core/lib/iomgr/executor.cc
983  src/core/lib/iomgr/fork_posix.cc
984  src/core/lib/iomgr/fork_windows.cc
985  src/core/lib/iomgr/gethostname_fallback.cc
986  src/core/lib/iomgr/gethostname_host_name_max.cc
987  src/core/lib/iomgr/gethostname_sysconf.cc
988  src/core/lib/iomgr/internal_errqueue.cc
989  src/core/lib/iomgr/iocp_windows.cc
990  src/core/lib/iomgr/iomgr.cc
991  src/core/lib/iomgr/iomgr_custom.cc
992  src/core/lib/iomgr/iomgr_internal.cc
993  src/core/lib/iomgr/iomgr_posix.cc
994  src/core/lib/iomgr/iomgr_uv.cc
995  src/core/lib/iomgr/iomgr_windows.cc
996  src/core/lib/iomgr/is_epollexclusive_available.cc
997  src/core/lib/iomgr/load_file.cc
998  src/core/lib/iomgr/lockfree_event.cc
999  src/core/lib/iomgr/network_status_tracker.cc
1000  src/core/lib/iomgr/polling_entity.cc
1001  src/core/lib/iomgr/pollset.cc
1002  src/core/lib/iomgr/pollset_custom.cc
1003  src/core/lib/iomgr/pollset_set.cc
1004  src/core/lib/iomgr/pollset_set_custom.cc
1005  src/core/lib/iomgr/pollset_set_windows.cc
1006  src/core/lib/iomgr/pollset_uv.cc
1007  src/core/lib/iomgr/pollset_windows.cc
1008  src/core/lib/iomgr/resolve_address.cc
1009  src/core/lib/iomgr/resolve_address_custom.cc
1010  src/core/lib/iomgr/resolve_address_posix.cc
1011  src/core/lib/iomgr/resolve_address_windows.cc
1012  src/core/lib/iomgr/resource_quota.cc
1013  src/core/lib/iomgr/sockaddr_utils.cc
1014  src/core/lib/iomgr/socket_factory_posix.cc
1015  src/core/lib/iomgr/socket_mutator.cc
1016  src/core/lib/iomgr/socket_utils_common_posix.cc
1017  src/core/lib/iomgr/socket_utils_linux.cc
1018  src/core/lib/iomgr/socket_utils_posix.cc
1019  src/core/lib/iomgr/socket_utils_uv.cc
1020  src/core/lib/iomgr/socket_utils_windows.cc
1021  src/core/lib/iomgr/socket_windows.cc
1022  src/core/lib/iomgr/tcp_client.cc
1023  src/core/lib/iomgr/tcp_client_custom.cc
1024  src/core/lib/iomgr/tcp_client_posix.cc
1025  src/core/lib/iomgr/tcp_client_windows.cc
1026  src/core/lib/iomgr/tcp_custom.cc
1027  src/core/lib/iomgr/tcp_posix.cc
1028  src/core/lib/iomgr/tcp_server.cc
1029  src/core/lib/iomgr/tcp_server_custom.cc
1030  src/core/lib/iomgr/tcp_server_posix.cc
1031  src/core/lib/iomgr/tcp_server_utils_posix_common.cc
1032  src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc
1033  src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc
1034  src/core/lib/iomgr/tcp_server_windows.cc
1035  src/core/lib/iomgr/tcp_uv.cc
1036  src/core/lib/iomgr/tcp_windows.cc
1037  src/core/lib/iomgr/time_averaged_stats.cc
1038  src/core/lib/iomgr/timer.cc
1039  src/core/lib/iomgr/timer_custom.cc
1040  src/core/lib/iomgr/timer_generic.cc
1041  src/core/lib/iomgr/timer_heap.cc
1042  src/core/lib/iomgr/timer_manager.cc
1043  src/core/lib/iomgr/timer_uv.cc
1044  src/core/lib/iomgr/udp_server.cc
1045  src/core/lib/iomgr/unix_sockets_posix.cc
1046  src/core/lib/iomgr/unix_sockets_posix_noop.cc
1047  src/core/lib/iomgr/wakeup_fd_cv.cc
1048  src/core/lib/iomgr/wakeup_fd_eventfd.cc
1049  src/core/lib/iomgr/wakeup_fd_nospecial.cc
1050  src/core/lib/iomgr/wakeup_fd_pipe.cc
1051  src/core/lib/iomgr/wakeup_fd_posix.cc
1052  src/core/lib/json/json.cc
1053  src/core/lib/json/json_reader.cc
1054  src/core/lib/json/json_string.cc
1055  src/core/lib/json/json_writer.cc
1056  src/core/lib/slice/b64.cc
1057  src/core/lib/slice/percent_encoding.cc
1058  src/core/lib/slice/slice.cc
1059  src/core/lib/slice/slice_buffer.cc
1060  src/core/lib/slice/slice_intern.cc
1061  src/core/lib/slice/slice_string_helpers.cc
1062  src/core/lib/surface/api_trace.cc
1063  src/core/lib/surface/byte_buffer.cc
1064  src/core/lib/surface/byte_buffer_reader.cc
1065  src/core/lib/surface/call.cc
1066  src/core/lib/surface/call_details.cc
1067  src/core/lib/surface/call_log_batch.cc
1068  src/core/lib/surface/channel.cc
1069  src/core/lib/surface/channel_init.cc
1070  src/core/lib/surface/channel_ping.cc
1071  src/core/lib/surface/channel_stack_type.cc
1072  src/core/lib/surface/completion_queue.cc
1073  src/core/lib/surface/completion_queue_factory.cc
1074  src/core/lib/surface/event_string.cc
1075  src/core/lib/surface/lame_client.cc
1076  src/core/lib/surface/metadata_array.cc
1077  src/core/lib/surface/server.cc
1078  src/core/lib/surface/validate_metadata.cc
1079  src/core/lib/surface/version.cc
1080  src/core/lib/transport/bdp_estimator.cc
1081  src/core/lib/transport/byte_stream.cc
1082  src/core/lib/transport/connectivity_state.cc
1083  src/core/lib/transport/error_utils.cc
1084  src/core/lib/transport/metadata.cc
1085  src/core/lib/transport/metadata_batch.cc
1086  src/core/lib/transport/pid_controller.cc
1087  src/core/lib/transport/service_config.cc
1088  src/core/lib/transport/static_metadata.cc
1089  src/core/lib/transport/status_conversion.cc
1090  src/core/lib/transport/status_metadata.cc
1091  src/core/lib/transport/timeout_encoding.cc
1092  src/core/lib/transport/transport.cc
1093  src/core/lib/transport/transport_op_string.cc
1094  src/core/lib/debug/trace.cc
1095  src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc
1096  src/core/ext/transport/chttp2/transport/bin_decoder.cc
1097  src/core/ext/transport/chttp2/transport/bin_encoder.cc
1098  src/core/ext/transport/chttp2/transport/chttp2_plugin.cc
1099  src/core/ext/transport/chttp2/transport/chttp2_transport.cc
1100  src/core/ext/transport/chttp2/transport/flow_control.cc
1101  src/core/ext/transport/chttp2/transport/frame_data.cc
1102  src/core/ext/transport/chttp2/transport/frame_goaway.cc
1103  src/core/ext/transport/chttp2/transport/frame_ping.cc
1104  src/core/ext/transport/chttp2/transport/frame_rst_stream.cc
1105  src/core/ext/transport/chttp2/transport/frame_settings.cc
1106  src/core/ext/transport/chttp2/transport/frame_window_update.cc
1107  src/core/ext/transport/chttp2/transport/hpack_encoder.cc
1108  src/core/ext/transport/chttp2/transport/hpack_mapping.cc
1109  src/core/ext/transport/chttp2/transport/hpack_parser.cc
1110  src/core/ext/transport/chttp2/transport/hpack_table.cc
1111  src/core/ext/transport/chttp2/transport/http2_settings.cc
1112  src/core/ext/transport/chttp2/transport/huffsyms.cc
1113  src/core/ext/transport/chttp2/transport/incoming_metadata.cc
1114  src/core/ext/transport/chttp2/transport/parsing.cc
1115  src/core/ext/transport/chttp2/transport/stream_lists.cc
1116  src/core/ext/transport/chttp2/transport/stream_map.cc
1117  src/core/ext/transport/chttp2/transport/varint.cc
1118  src/core/ext/transport/chttp2/transport/writing.cc
1119  src/core/ext/transport/chttp2/alpn/alpn.cc
1120  src/core/ext/filters/http/client/http_client_filter.cc
1121  src/core/ext/filters/http/http_filters_plugin.cc
1122  src/core/ext/filters/http/message_compress/message_compress_filter.cc
1123  src/core/ext/filters/http/server/http_server_filter.cc
1124  src/core/lib/http/httpcli_security_connector.cc
1125  src/core/lib/security/context/security_context.cc
1126  src/core/lib/security/credentials/alts/alts_credentials.cc
1127  src/core/lib/security/credentials/composite/composite_credentials.cc
1128  src/core/lib/security/credentials/credentials.cc
1129  src/core/lib/security/credentials/credentials_metadata.cc
1130  src/core/lib/security/credentials/fake/fake_credentials.cc
1131  src/core/lib/security/credentials/google_default/credentials_generic.cc
1132  src/core/lib/security/credentials/google_default/google_default_credentials.cc
1133  src/core/lib/security/credentials/iam/iam_credentials.cc
1134  src/core/lib/security/credentials/jwt/json_token.cc
1135  src/core/lib/security/credentials/jwt/jwt_credentials.cc
1136  src/core/lib/security/credentials/jwt/jwt_verifier.cc
1137  src/core/lib/security/credentials/local/local_credentials.cc
1138  src/core/lib/security/credentials/oauth2/oauth2_credentials.cc
1139  src/core/lib/security/credentials/plugin/plugin_credentials.cc
1140  src/core/lib/security/credentials/ssl/ssl_credentials.cc
1141  src/core/lib/security/security_connector/alts_security_connector.cc
1142  src/core/lib/security/security_connector/load_system_roots_fallback.cc
1143  src/core/lib/security/security_connector/load_system_roots_linux.cc
1144  src/core/lib/security/security_connector/local_security_connector.cc
1145  src/core/lib/security/security_connector/security_connector.cc
1146  src/core/lib/security/transport/client_auth_filter.cc
1147  src/core/lib/security/transport/secure_endpoint.cc
1148  src/core/lib/security/transport/security_handshaker.cc
1149  src/core/lib/security/transport/server_auth_filter.cc
1150  src/core/lib/security/transport/target_authority_table.cc
1151  src/core/lib/security/transport/tsi_error.cc
1152  src/core/lib/security/util/json_util.cc
1153  src/core/lib/surface/init_secure.cc
1154  src/core/tsi/alts/crypt/aes_gcm.cc
1155  src/core/tsi/alts/crypt/gsec.cc
1156  src/core/tsi/alts/frame_protector/alts_counter.cc
1157  src/core/tsi/alts/frame_protector/alts_crypter.cc
1158  src/core/tsi/alts/frame_protector/alts_frame_protector.cc
1159  src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.cc
1160  src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc
1161  src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc
1162  src/core/tsi/alts/frame_protector/frame_handler.cc
1163  src/core/tsi/alts/handshaker/alts_handshaker_client.cc
1164  src/core/tsi/alts/handshaker/alts_tsi_event.cc
1165  src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc
1166  src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc
1167  src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc
1168  src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc
1169  src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc
1170  src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc
1171  src/core/lib/security/credentials/alts/check_gcp_environment.cc
1172  src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc
1173  src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc
1174  src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc
1175  src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc
1176  src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc
1177  src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc
1178  src/core/tsi/alts/handshaker/alts_handshaker_service_api.cc
1179  src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.cc
1180  src/core/tsi/alts/handshaker/alts_tsi_utils.cc
1181  src/core/tsi/alts/handshaker/transport_security_common_api.cc
1182  src/core/tsi/alts/handshaker/altscontext.pb.c
1183  src/core/tsi/alts/handshaker/handshaker.pb.c
1184  src/core/tsi/alts/handshaker/transport_security_common.pb.c
1185  third_party/nanopb/pb_common.c
1186  third_party/nanopb/pb_decode.c
1187  third_party/nanopb/pb_encode.c
1188  src/core/tsi/transport_security.cc
1189  src/core/ext/transport/chttp2/client/insecure/channel_create.cc
1190  src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc
1191  src/core/ext/transport/chttp2/client/authority.cc
1192  src/core/ext/transport/chttp2/client/chttp2_connector.cc
1193  src/core/ext/filters/client_channel/backup_poller.cc
1194  src/core/ext/filters/client_channel/channel_connectivity.cc
1195  src/core/ext/filters/client_channel/client_channel.cc
1196  src/core/ext/filters/client_channel/client_channel_channelz.cc
1197  src/core/ext/filters/client_channel/client_channel_factory.cc
1198  src/core/ext/filters/client_channel/client_channel_plugin.cc
1199  src/core/ext/filters/client_channel/connector.cc
1200  src/core/ext/filters/client_channel/http_connect_handshaker.cc
1201  src/core/ext/filters/client_channel/http_proxy.cc
1202  src/core/ext/filters/client_channel/lb_policy.cc
1203  src/core/ext/filters/client_channel/lb_policy_factory.cc
1204  src/core/ext/filters/client_channel/lb_policy_registry.cc
1205  src/core/ext/filters/client_channel/method_params.cc
1206  src/core/ext/filters/client_channel/parse_address.cc
1207  src/core/ext/filters/client_channel/proxy_mapper.cc
1208  src/core/ext/filters/client_channel/proxy_mapper_registry.cc
1209  src/core/ext/filters/client_channel/resolver.cc
1210  src/core/ext/filters/client_channel/resolver_registry.cc
1211  src/core/ext/filters/client_channel/retry_throttle.cc
1212  src/core/ext/filters/client_channel/subchannel.cc
1213  src/core/ext/filters/client_channel/subchannel_index.cc
1214  src/core/ext/filters/client_channel/uri_parser.cc
1215  src/core/ext/filters/deadline/deadline_filter.cc
1216  src/core/tsi/alts_transport_security.cc
1217  src/core/tsi/fake_transport_security.cc
1218  src/core/tsi/local_transport_security.cc
1219  src/core/tsi/ssl/session_cache/ssl_session_boringssl.cc
1220  src/core/tsi/ssl/session_cache/ssl_session_cache.cc
1221  src/core/tsi/ssl/session_cache/ssl_session_openssl.cc
1222  src/core/tsi/ssl_transport_security.cc
1223  src/core/tsi/transport_security_grpc.cc
1224  src/core/ext/transport/chttp2/server/chttp2_server.cc
1225  src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc
1226  src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc
1227  src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc
1228  src/core/ext/transport/inproc/inproc_plugin.cc
1229  src/core/ext/transport/inproc/inproc_transport.cc
1230  src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc
1231  src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc
1232  src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc
1233  src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc
1234  src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc
1235  src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.c
1236  src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.c
1237  src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c
1238  src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc
1239  src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc
1240  src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc
1241  src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc
1242  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.cc
1243  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc
1244  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc
1245  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc
1246  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc
1247  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc
1248  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc
1249  src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc
1250  src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc
1251  src/core/ext/filters/census/grpc_context.cc
1252  src/core/ext/filters/max_age/max_age_filter.cc
1253  src/core/ext/filters/message_size/message_size_filter.cc
1254  src/core/ext/filters/http/client_authority_filter.cc
1255  src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc
1256  src/core/ext/filters/workarounds/workaround_utils.cc
1257  src/core/plugin_registry/grpc_plugin_registry.cc
1258)
1259
1260if(WIN32 AND MSVC)
1261  set_target_properties(grpc PROPERTIES COMPILE_PDB_NAME "grpc"
1262    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
1263  )
1264  if (gRPC_INSTALL)
1265    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc.pdb
1266      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
1267    )
1268  endif()
1269endif()
1270
1271
1272target_include_directories(grpc
1273  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
1274  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
1275  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
1276  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
1277  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
1278  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
1279  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
1280  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
1281  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
1282  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
1283)
1284
1285target_link_libraries(grpc
1286  ${_gRPC_BASELIB_LIBRARIES}
1287  ${_gRPC_SSL_LIBRARIES}
1288  ${_gRPC_ZLIB_LIBRARIES}
1289  ${_gRPC_CARES_LIBRARIES}
1290  ${_gRPC_ADDRESS_SORTING_LIBRARIES}
1291  ${_gRPC_ALLTARGETS_LIBRARIES}
1292  gpr
1293)
1294
1295foreach(_hdr
1296  include/grpc/impl/codegen/byte_buffer.h
1297  include/grpc/impl/codegen/byte_buffer_reader.h
1298  include/grpc/impl/codegen/compression_types.h
1299  include/grpc/impl/codegen/connectivity_state.h
1300  include/grpc/impl/codegen/grpc_types.h
1301  include/grpc/impl/codegen/propagation_bits.h
1302  include/grpc/impl/codegen/slice.h
1303  include/grpc/impl/codegen/status.h
1304  include/grpc/impl/codegen/atm.h
1305  include/grpc/impl/codegen/atm_gcc_atomic.h
1306  include/grpc/impl/codegen/atm_gcc_sync.h
1307  include/grpc/impl/codegen/atm_windows.h
1308  include/grpc/impl/codegen/fork.h
1309  include/grpc/impl/codegen/gpr_slice.h
1310  include/grpc/impl/codegen/gpr_types.h
1311  include/grpc/impl/codegen/log.h
1312  include/grpc/impl/codegen/port_platform.h
1313  include/grpc/impl/codegen/sync.h
1314  include/grpc/impl/codegen/sync_custom.h
1315  include/grpc/impl/codegen/sync_generic.h
1316  include/grpc/impl/codegen/sync_posix.h
1317  include/grpc/impl/codegen/sync_windows.h
1318  include/grpc/grpc_security.h
1319  include/grpc/byte_buffer.h
1320  include/grpc/byte_buffer_reader.h
1321  include/grpc/compression.h
1322  include/grpc/fork.h
1323  include/grpc/grpc.h
1324  include/grpc/grpc_posix.h
1325  include/grpc/grpc_security_constants.h
1326  include/grpc/load_reporting.h
1327  include/grpc/slice.h
1328  include/grpc/slice_buffer.h
1329  include/grpc/status.h
1330  include/grpc/support/workaround_list.h
1331  include/grpc/census.h
1332)
1333  string(REPLACE "include/" "" _path ${_hdr})
1334  get_filename_component(_path ${_path} PATH)
1335  install(FILES ${_hdr}
1336    DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}"
1337  )
1338endforeach()
1339
1340
1341if (gRPC_INSTALL)
1342  install(TARGETS grpc EXPORT gRPCTargets
1343    RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR}
1344    LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR}
1345    ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
1346  )
1347endif()
1348
1349
1350add_library(grpc_cronet
1351  src/core/lib/surface/init.cc
1352  src/core/lib/avl/avl.cc
1353  src/core/lib/backoff/backoff.cc
1354  src/core/lib/channel/channel_args.cc
1355  src/core/lib/channel/channel_stack.cc
1356  src/core/lib/channel/channel_stack_builder.cc
1357  src/core/lib/channel/channel_trace.cc
1358  src/core/lib/channel/channelz.cc
1359  src/core/lib/channel/channelz_registry.cc
1360  src/core/lib/channel/connected_channel.cc
1361  src/core/lib/channel/handshaker.cc
1362  src/core/lib/channel/handshaker_factory.cc
1363  src/core/lib/channel/handshaker_registry.cc
1364  src/core/lib/channel/status_util.cc
1365  src/core/lib/compression/compression.cc
1366  src/core/lib/compression/compression_internal.cc
1367  src/core/lib/compression/message_compress.cc
1368  src/core/lib/compression/stream_compression.cc
1369  src/core/lib/compression/stream_compression_gzip.cc
1370  src/core/lib/compression/stream_compression_identity.cc
1371  src/core/lib/debug/stats.cc
1372  src/core/lib/debug/stats_data.cc
1373  src/core/lib/http/format_request.cc
1374  src/core/lib/http/httpcli.cc
1375  src/core/lib/http/parser.cc
1376  src/core/lib/iomgr/buffer_list.cc
1377  src/core/lib/iomgr/call_combiner.cc
1378  src/core/lib/iomgr/combiner.cc
1379  src/core/lib/iomgr/endpoint.cc
1380  src/core/lib/iomgr/endpoint_pair_posix.cc
1381  src/core/lib/iomgr/endpoint_pair_uv.cc
1382  src/core/lib/iomgr/endpoint_pair_windows.cc
1383  src/core/lib/iomgr/error.cc
1384  src/core/lib/iomgr/ev_epoll1_linux.cc
1385  src/core/lib/iomgr/ev_epollex_linux.cc
1386  src/core/lib/iomgr/ev_epollsig_linux.cc
1387  src/core/lib/iomgr/ev_poll_posix.cc
1388  src/core/lib/iomgr/ev_posix.cc
1389  src/core/lib/iomgr/ev_windows.cc
1390  src/core/lib/iomgr/exec_ctx.cc
1391  src/core/lib/iomgr/executor.cc
1392  src/core/lib/iomgr/fork_posix.cc
1393  src/core/lib/iomgr/fork_windows.cc
1394  src/core/lib/iomgr/gethostname_fallback.cc
1395  src/core/lib/iomgr/gethostname_host_name_max.cc
1396  src/core/lib/iomgr/gethostname_sysconf.cc
1397  src/core/lib/iomgr/internal_errqueue.cc
1398  src/core/lib/iomgr/iocp_windows.cc
1399  src/core/lib/iomgr/iomgr.cc
1400  src/core/lib/iomgr/iomgr_custom.cc
1401  src/core/lib/iomgr/iomgr_internal.cc
1402  src/core/lib/iomgr/iomgr_posix.cc
1403  src/core/lib/iomgr/iomgr_uv.cc
1404  src/core/lib/iomgr/iomgr_windows.cc
1405  src/core/lib/iomgr/is_epollexclusive_available.cc
1406  src/core/lib/iomgr/load_file.cc
1407  src/core/lib/iomgr/lockfree_event.cc
1408  src/core/lib/iomgr/network_status_tracker.cc
1409  src/core/lib/iomgr/polling_entity.cc
1410  src/core/lib/iomgr/pollset.cc
1411  src/core/lib/iomgr/pollset_custom.cc
1412  src/core/lib/iomgr/pollset_set.cc
1413  src/core/lib/iomgr/pollset_set_custom.cc
1414  src/core/lib/iomgr/pollset_set_windows.cc
1415  src/core/lib/iomgr/pollset_uv.cc
1416  src/core/lib/iomgr/pollset_windows.cc
1417  src/core/lib/iomgr/resolve_address.cc
1418  src/core/lib/iomgr/resolve_address_custom.cc
1419  src/core/lib/iomgr/resolve_address_posix.cc
1420  src/core/lib/iomgr/resolve_address_windows.cc
1421  src/core/lib/iomgr/resource_quota.cc
1422  src/core/lib/iomgr/sockaddr_utils.cc
1423  src/core/lib/iomgr/socket_factory_posix.cc
1424  src/core/lib/iomgr/socket_mutator.cc
1425  src/core/lib/iomgr/socket_utils_common_posix.cc
1426  src/core/lib/iomgr/socket_utils_linux.cc
1427  src/core/lib/iomgr/socket_utils_posix.cc
1428  src/core/lib/iomgr/socket_utils_uv.cc
1429  src/core/lib/iomgr/socket_utils_windows.cc
1430  src/core/lib/iomgr/socket_windows.cc
1431  src/core/lib/iomgr/tcp_client.cc
1432  src/core/lib/iomgr/tcp_client_custom.cc
1433  src/core/lib/iomgr/tcp_client_posix.cc
1434  src/core/lib/iomgr/tcp_client_windows.cc
1435  src/core/lib/iomgr/tcp_custom.cc
1436  src/core/lib/iomgr/tcp_posix.cc
1437  src/core/lib/iomgr/tcp_server.cc
1438  src/core/lib/iomgr/tcp_server_custom.cc
1439  src/core/lib/iomgr/tcp_server_posix.cc
1440  src/core/lib/iomgr/tcp_server_utils_posix_common.cc
1441  src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc
1442  src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc
1443  src/core/lib/iomgr/tcp_server_windows.cc
1444  src/core/lib/iomgr/tcp_uv.cc
1445  src/core/lib/iomgr/tcp_windows.cc
1446  src/core/lib/iomgr/time_averaged_stats.cc
1447  src/core/lib/iomgr/timer.cc
1448  src/core/lib/iomgr/timer_custom.cc
1449  src/core/lib/iomgr/timer_generic.cc
1450  src/core/lib/iomgr/timer_heap.cc
1451  src/core/lib/iomgr/timer_manager.cc
1452  src/core/lib/iomgr/timer_uv.cc
1453  src/core/lib/iomgr/udp_server.cc
1454  src/core/lib/iomgr/unix_sockets_posix.cc
1455  src/core/lib/iomgr/unix_sockets_posix_noop.cc
1456  src/core/lib/iomgr/wakeup_fd_cv.cc
1457  src/core/lib/iomgr/wakeup_fd_eventfd.cc
1458  src/core/lib/iomgr/wakeup_fd_nospecial.cc
1459  src/core/lib/iomgr/wakeup_fd_pipe.cc
1460  src/core/lib/iomgr/wakeup_fd_posix.cc
1461  src/core/lib/json/json.cc
1462  src/core/lib/json/json_reader.cc
1463  src/core/lib/json/json_string.cc
1464  src/core/lib/json/json_writer.cc
1465  src/core/lib/slice/b64.cc
1466  src/core/lib/slice/percent_encoding.cc
1467  src/core/lib/slice/slice.cc
1468  src/core/lib/slice/slice_buffer.cc
1469  src/core/lib/slice/slice_intern.cc
1470  src/core/lib/slice/slice_string_helpers.cc
1471  src/core/lib/surface/api_trace.cc
1472  src/core/lib/surface/byte_buffer.cc
1473  src/core/lib/surface/byte_buffer_reader.cc
1474  src/core/lib/surface/call.cc
1475  src/core/lib/surface/call_details.cc
1476  src/core/lib/surface/call_log_batch.cc
1477  src/core/lib/surface/channel.cc
1478  src/core/lib/surface/channel_init.cc
1479  src/core/lib/surface/channel_ping.cc
1480  src/core/lib/surface/channel_stack_type.cc
1481  src/core/lib/surface/completion_queue.cc
1482  src/core/lib/surface/completion_queue_factory.cc
1483  src/core/lib/surface/event_string.cc
1484  src/core/lib/surface/lame_client.cc
1485  src/core/lib/surface/metadata_array.cc
1486  src/core/lib/surface/server.cc
1487  src/core/lib/surface/validate_metadata.cc
1488  src/core/lib/surface/version.cc
1489  src/core/lib/transport/bdp_estimator.cc
1490  src/core/lib/transport/byte_stream.cc
1491  src/core/lib/transport/connectivity_state.cc
1492  src/core/lib/transport/error_utils.cc
1493  src/core/lib/transport/metadata.cc
1494  src/core/lib/transport/metadata_batch.cc
1495  src/core/lib/transport/pid_controller.cc
1496  src/core/lib/transport/service_config.cc
1497  src/core/lib/transport/static_metadata.cc
1498  src/core/lib/transport/status_conversion.cc
1499  src/core/lib/transport/status_metadata.cc
1500  src/core/lib/transport/timeout_encoding.cc
1501  src/core/lib/transport/transport.cc
1502  src/core/lib/transport/transport_op_string.cc
1503  src/core/lib/debug/trace.cc
1504  src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc
1505  src/core/ext/transport/cronet/transport/cronet_api_dummy.cc
1506  src/core/ext/transport/cronet/transport/cronet_transport.cc
1507  src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc
1508  src/core/ext/transport/chttp2/transport/bin_decoder.cc
1509  src/core/ext/transport/chttp2/transport/bin_encoder.cc
1510  src/core/ext/transport/chttp2/transport/chttp2_plugin.cc
1511  src/core/ext/transport/chttp2/transport/chttp2_transport.cc
1512  src/core/ext/transport/chttp2/transport/flow_control.cc
1513  src/core/ext/transport/chttp2/transport/frame_data.cc
1514  src/core/ext/transport/chttp2/transport/frame_goaway.cc
1515  src/core/ext/transport/chttp2/transport/frame_ping.cc
1516  src/core/ext/transport/chttp2/transport/frame_rst_stream.cc
1517  src/core/ext/transport/chttp2/transport/frame_settings.cc
1518  src/core/ext/transport/chttp2/transport/frame_window_update.cc
1519  src/core/ext/transport/chttp2/transport/hpack_encoder.cc
1520  src/core/ext/transport/chttp2/transport/hpack_mapping.cc
1521  src/core/ext/transport/chttp2/transport/hpack_parser.cc
1522  src/core/ext/transport/chttp2/transport/hpack_table.cc
1523  src/core/ext/transport/chttp2/transport/http2_settings.cc
1524  src/core/ext/transport/chttp2/transport/huffsyms.cc
1525  src/core/ext/transport/chttp2/transport/incoming_metadata.cc
1526  src/core/ext/transport/chttp2/transport/parsing.cc
1527  src/core/ext/transport/chttp2/transport/stream_lists.cc
1528  src/core/ext/transport/chttp2/transport/stream_map.cc
1529  src/core/ext/transport/chttp2/transport/varint.cc
1530  src/core/ext/transport/chttp2/transport/writing.cc
1531  src/core/ext/transport/chttp2/alpn/alpn.cc
1532  src/core/ext/filters/http/client/http_client_filter.cc
1533  src/core/ext/filters/http/http_filters_plugin.cc
1534  src/core/ext/filters/http/message_compress/message_compress_filter.cc
1535  src/core/ext/filters/http/server/http_server_filter.cc
1536  src/core/ext/filters/client_channel/backup_poller.cc
1537  src/core/ext/filters/client_channel/channel_connectivity.cc
1538  src/core/ext/filters/client_channel/client_channel.cc
1539  src/core/ext/filters/client_channel/client_channel_channelz.cc
1540  src/core/ext/filters/client_channel/client_channel_factory.cc
1541  src/core/ext/filters/client_channel/client_channel_plugin.cc
1542  src/core/ext/filters/client_channel/connector.cc
1543  src/core/ext/filters/client_channel/http_connect_handshaker.cc
1544  src/core/ext/filters/client_channel/http_proxy.cc
1545  src/core/ext/filters/client_channel/lb_policy.cc
1546  src/core/ext/filters/client_channel/lb_policy_factory.cc
1547  src/core/ext/filters/client_channel/lb_policy_registry.cc
1548  src/core/ext/filters/client_channel/method_params.cc
1549  src/core/ext/filters/client_channel/parse_address.cc
1550  src/core/ext/filters/client_channel/proxy_mapper.cc
1551  src/core/ext/filters/client_channel/proxy_mapper_registry.cc
1552  src/core/ext/filters/client_channel/resolver.cc
1553  src/core/ext/filters/client_channel/resolver_registry.cc
1554  src/core/ext/filters/client_channel/retry_throttle.cc
1555  src/core/ext/filters/client_channel/subchannel.cc
1556  src/core/ext/filters/client_channel/subchannel_index.cc
1557  src/core/ext/filters/client_channel/uri_parser.cc
1558  src/core/ext/filters/deadline/deadline_filter.cc
1559  src/core/lib/http/httpcli_security_connector.cc
1560  src/core/lib/security/context/security_context.cc
1561  src/core/lib/security/credentials/alts/alts_credentials.cc
1562  src/core/lib/security/credentials/composite/composite_credentials.cc
1563  src/core/lib/security/credentials/credentials.cc
1564  src/core/lib/security/credentials/credentials_metadata.cc
1565  src/core/lib/security/credentials/fake/fake_credentials.cc
1566  src/core/lib/security/credentials/google_default/credentials_generic.cc
1567  src/core/lib/security/credentials/google_default/google_default_credentials.cc
1568  src/core/lib/security/credentials/iam/iam_credentials.cc
1569  src/core/lib/security/credentials/jwt/json_token.cc
1570  src/core/lib/security/credentials/jwt/jwt_credentials.cc
1571  src/core/lib/security/credentials/jwt/jwt_verifier.cc
1572  src/core/lib/security/credentials/local/local_credentials.cc
1573  src/core/lib/security/credentials/oauth2/oauth2_credentials.cc
1574  src/core/lib/security/credentials/plugin/plugin_credentials.cc
1575  src/core/lib/security/credentials/ssl/ssl_credentials.cc
1576  src/core/lib/security/security_connector/alts_security_connector.cc
1577  src/core/lib/security/security_connector/load_system_roots_fallback.cc
1578  src/core/lib/security/security_connector/load_system_roots_linux.cc
1579  src/core/lib/security/security_connector/local_security_connector.cc
1580  src/core/lib/security/security_connector/security_connector.cc
1581  src/core/lib/security/transport/client_auth_filter.cc
1582  src/core/lib/security/transport/secure_endpoint.cc
1583  src/core/lib/security/transport/security_handshaker.cc
1584  src/core/lib/security/transport/server_auth_filter.cc
1585  src/core/lib/security/transport/target_authority_table.cc
1586  src/core/lib/security/transport/tsi_error.cc
1587  src/core/lib/security/util/json_util.cc
1588  src/core/lib/surface/init_secure.cc
1589  src/core/tsi/alts/crypt/aes_gcm.cc
1590  src/core/tsi/alts/crypt/gsec.cc
1591  src/core/tsi/alts/frame_protector/alts_counter.cc
1592  src/core/tsi/alts/frame_protector/alts_crypter.cc
1593  src/core/tsi/alts/frame_protector/alts_frame_protector.cc
1594  src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.cc
1595  src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc
1596  src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc
1597  src/core/tsi/alts/frame_protector/frame_handler.cc
1598  src/core/tsi/alts/handshaker/alts_handshaker_client.cc
1599  src/core/tsi/alts/handshaker/alts_tsi_event.cc
1600  src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc
1601  src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc
1602  src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc
1603  src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc
1604  src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc
1605  src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc
1606  src/core/lib/security/credentials/alts/check_gcp_environment.cc
1607  src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc
1608  src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc
1609  src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc
1610  src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc
1611  src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc
1612  src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc
1613  src/core/tsi/alts/handshaker/alts_handshaker_service_api.cc
1614  src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.cc
1615  src/core/tsi/alts/handshaker/alts_tsi_utils.cc
1616  src/core/tsi/alts/handshaker/transport_security_common_api.cc
1617  src/core/tsi/alts/handshaker/altscontext.pb.c
1618  src/core/tsi/alts/handshaker/handshaker.pb.c
1619  src/core/tsi/alts/handshaker/transport_security_common.pb.c
1620  third_party/nanopb/pb_common.c
1621  third_party/nanopb/pb_decode.c
1622  third_party/nanopb/pb_encode.c
1623  src/core/tsi/transport_security.cc
1624  src/core/ext/transport/chttp2/client/insecure/channel_create.cc
1625  src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc
1626  src/core/ext/transport/chttp2/client/authority.cc
1627  src/core/ext/transport/chttp2/client/chttp2_connector.cc
1628  src/core/tsi/alts_transport_security.cc
1629  src/core/tsi/fake_transport_security.cc
1630  src/core/tsi/local_transport_security.cc
1631  src/core/tsi/ssl/session_cache/ssl_session_boringssl.cc
1632  src/core/tsi/ssl/session_cache/ssl_session_cache.cc
1633  src/core/tsi/ssl/session_cache/ssl_session_openssl.cc
1634  src/core/tsi/ssl_transport_security.cc
1635  src/core/tsi/transport_security_grpc.cc
1636  src/core/plugin_registry/grpc_cronet_plugin_registry.cc
1637)
1638
1639if(WIN32 AND MSVC)
1640  set_target_properties(grpc_cronet PROPERTIES COMPILE_PDB_NAME "grpc_cronet"
1641    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
1642  )
1643  if (gRPC_INSTALL)
1644    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cronet.pdb
1645      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
1646    )
1647  endif()
1648endif()
1649
1650
1651target_include_directories(grpc_cronet
1652  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
1653  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
1654  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
1655  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
1656  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
1657  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
1658  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
1659  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
1660  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
1661  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
1662)
1663
1664target_link_libraries(grpc_cronet
1665  ${_gRPC_BASELIB_LIBRARIES}
1666  ${_gRPC_SSL_LIBRARIES}
1667  ${_gRPC_ZLIB_LIBRARIES}
1668  ${_gRPC_CARES_LIBRARIES}
1669  ${_gRPC_ADDRESS_SORTING_LIBRARIES}
1670  ${_gRPC_ALLTARGETS_LIBRARIES}
1671  gpr
1672)
1673
1674foreach(_hdr
1675  include/grpc/impl/codegen/byte_buffer.h
1676  include/grpc/impl/codegen/byte_buffer_reader.h
1677  include/grpc/impl/codegen/compression_types.h
1678  include/grpc/impl/codegen/connectivity_state.h
1679  include/grpc/impl/codegen/grpc_types.h
1680  include/grpc/impl/codegen/propagation_bits.h
1681  include/grpc/impl/codegen/slice.h
1682  include/grpc/impl/codegen/status.h
1683  include/grpc/impl/codegen/atm.h
1684  include/grpc/impl/codegen/atm_gcc_atomic.h
1685  include/grpc/impl/codegen/atm_gcc_sync.h
1686  include/grpc/impl/codegen/atm_windows.h
1687  include/grpc/impl/codegen/fork.h
1688  include/grpc/impl/codegen/gpr_slice.h
1689  include/grpc/impl/codegen/gpr_types.h
1690  include/grpc/impl/codegen/log.h
1691  include/grpc/impl/codegen/port_platform.h
1692  include/grpc/impl/codegen/sync.h
1693  include/grpc/impl/codegen/sync_custom.h
1694  include/grpc/impl/codegen/sync_generic.h
1695  include/grpc/impl/codegen/sync_posix.h
1696  include/grpc/impl/codegen/sync_windows.h
1697  include/grpc/grpc_cronet.h
1698  include/grpc/grpc_security.h
1699  include/grpc/grpc_security_constants.h
1700)
1701  string(REPLACE "include/" "" _path ${_hdr})
1702  get_filename_component(_path ${_path} PATH)
1703  install(FILES ${_hdr}
1704    DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}"
1705  )
1706endforeach()
1707
1708
1709if (gRPC_INSTALL)
1710  install(TARGETS grpc_cronet EXPORT gRPCTargets
1711    RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR}
1712    LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR}
1713    ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
1714  )
1715endif()
1716
1717if (gRPC_BUILD_TESTS)
1718
1719add_library(grpc_test_util
1720  test/core/end2end/data/client_certs.cc
1721  test/core/end2end/data/server1_cert.cc
1722  test/core/end2end/data/server1_key.cc
1723  test/core/end2end/data/test_root_cert.cc
1724  test/core/security/oauth2_utils.cc
1725  src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc
1726  test/core/end2end/cq_verifier.cc
1727  test/core/end2end/fixtures/http_proxy_fixture.cc
1728  test/core/end2end/fixtures/proxy.cc
1729  test/core/iomgr/endpoint_tests.cc
1730  test/core/util/debugger_macros.cc
1731  test/core/util/fuzzer_util.cc
1732  test/core/util/grpc_profiler.cc
1733  test/core/util/histogram.cc
1734  test/core/util/memory_counters.cc
1735  test/core/util/mock_endpoint.cc
1736  test/core/util/parse_hexstring.cc
1737  test/core/util/passthru_endpoint.cc
1738  test/core/util/port.cc
1739  test/core/util/port_isolated_runtime_environment.cc
1740  test/core/util/port_server_client.cc
1741  test/core/util/slice_splitter.cc
1742  test/core/util/subprocess_posix.cc
1743  test/core/util/subprocess_windows.cc
1744  test/core/util/tracer_util.cc
1745  test/core/util/trickle_endpoint.cc
1746  test/core/util/cmdline.cc
1747  src/core/lib/avl/avl.cc
1748  src/core/lib/backoff/backoff.cc
1749  src/core/lib/channel/channel_args.cc
1750  src/core/lib/channel/channel_stack.cc
1751  src/core/lib/channel/channel_stack_builder.cc
1752  src/core/lib/channel/channel_trace.cc
1753  src/core/lib/channel/channelz.cc
1754  src/core/lib/channel/channelz_registry.cc
1755  src/core/lib/channel/connected_channel.cc
1756  src/core/lib/channel/handshaker.cc
1757  src/core/lib/channel/handshaker_factory.cc
1758  src/core/lib/channel/handshaker_registry.cc
1759  src/core/lib/channel/status_util.cc
1760  src/core/lib/compression/compression.cc
1761  src/core/lib/compression/compression_internal.cc
1762  src/core/lib/compression/message_compress.cc
1763  src/core/lib/compression/stream_compression.cc
1764  src/core/lib/compression/stream_compression_gzip.cc
1765  src/core/lib/compression/stream_compression_identity.cc
1766  src/core/lib/debug/stats.cc
1767  src/core/lib/debug/stats_data.cc
1768  src/core/lib/http/format_request.cc
1769  src/core/lib/http/httpcli.cc
1770  src/core/lib/http/parser.cc
1771  src/core/lib/iomgr/buffer_list.cc
1772  src/core/lib/iomgr/call_combiner.cc
1773  src/core/lib/iomgr/combiner.cc
1774  src/core/lib/iomgr/endpoint.cc
1775  src/core/lib/iomgr/endpoint_pair_posix.cc
1776  src/core/lib/iomgr/endpoint_pair_uv.cc
1777  src/core/lib/iomgr/endpoint_pair_windows.cc
1778  src/core/lib/iomgr/error.cc
1779  src/core/lib/iomgr/ev_epoll1_linux.cc
1780  src/core/lib/iomgr/ev_epollex_linux.cc
1781  src/core/lib/iomgr/ev_epollsig_linux.cc
1782  src/core/lib/iomgr/ev_poll_posix.cc
1783  src/core/lib/iomgr/ev_posix.cc
1784  src/core/lib/iomgr/ev_windows.cc
1785  src/core/lib/iomgr/exec_ctx.cc
1786  src/core/lib/iomgr/executor.cc
1787  src/core/lib/iomgr/fork_posix.cc
1788  src/core/lib/iomgr/fork_windows.cc
1789  src/core/lib/iomgr/gethostname_fallback.cc
1790  src/core/lib/iomgr/gethostname_host_name_max.cc
1791  src/core/lib/iomgr/gethostname_sysconf.cc
1792  src/core/lib/iomgr/internal_errqueue.cc
1793  src/core/lib/iomgr/iocp_windows.cc
1794  src/core/lib/iomgr/iomgr.cc
1795  src/core/lib/iomgr/iomgr_custom.cc
1796  src/core/lib/iomgr/iomgr_internal.cc
1797  src/core/lib/iomgr/iomgr_posix.cc
1798  src/core/lib/iomgr/iomgr_uv.cc
1799  src/core/lib/iomgr/iomgr_windows.cc
1800  src/core/lib/iomgr/is_epollexclusive_available.cc
1801  src/core/lib/iomgr/load_file.cc
1802  src/core/lib/iomgr/lockfree_event.cc
1803  src/core/lib/iomgr/network_status_tracker.cc
1804  src/core/lib/iomgr/polling_entity.cc
1805  src/core/lib/iomgr/pollset.cc
1806  src/core/lib/iomgr/pollset_custom.cc
1807  src/core/lib/iomgr/pollset_set.cc
1808  src/core/lib/iomgr/pollset_set_custom.cc
1809  src/core/lib/iomgr/pollset_set_windows.cc
1810  src/core/lib/iomgr/pollset_uv.cc
1811  src/core/lib/iomgr/pollset_windows.cc
1812  src/core/lib/iomgr/resolve_address.cc
1813  src/core/lib/iomgr/resolve_address_custom.cc
1814  src/core/lib/iomgr/resolve_address_posix.cc
1815  src/core/lib/iomgr/resolve_address_windows.cc
1816  src/core/lib/iomgr/resource_quota.cc
1817  src/core/lib/iomgr/sockaddr_utils.cc
1818  src/core/lib/iomgr/socket_factory_posix.cc
1819  src/core/lib/iomgr/socket_mutator.cc
1820  src/core/lib/iomgr/socket_utils_common_posix.cc
1821  src/core/lib/iomgr/socket_utils_linux.cc
1822  src/core/lib/iomgr/socket_utils_posix.cc
1823  src/core/lib/iomgr/socket_utils_uv.cc
1824  src/core/lib/iomgr/socket_utils_windows.cc
1825  src/core/lib/iomgr/socket_windows.cc
1826  src/core/lib/iomgr/tcp_client.cc
1827  src/core/lib/iomgr/tcp_client_custom.cc
1828  src/core/lib/iomgr/tcp_client_posix.cc
1829  src/core/lib/iomgr/tcp_client_windows.cc
1830  src/core/lib/iomgr/tcp_custom.cc
1831  src/core/lib/iomgr/tcp_posix.cc
1832  src/core/lib/iomgr/tcp_server.cc
1833  src/core/lib/iomgr/tcp_server_custom.cc
1834  src/core/lib/iomgr/tcp_server_posix.cc
1835  src/core/lib/iomgr/tcp_server_utils_posix_common.cc
1836  src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc
1837  src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc
1838  src/core/lib/iomgr/tcp_server_windows.cc
1839  src/core/lib/iomgr/tcp_uv.cc
1840  src/core/lib/iomgr/tcp_windows.cc
1841  src/core/lib/iomgr/time_averaged_stats.cc
1842  src/core/lib/iomgr/timer.cc
1843  src/core/lib/iomgr/timer_custom.cc
1844  src/core/lib/iomgr/timer_generic.cc
1845  src/core/lib/iomgr/timer_heap.cc
1846  src/core/lib/iomgr/timer_manager.cc
1847  src/core/lib/iomgr/timer_uv.cc
1848  src/core/lib/iomgr/udp_server.cc
1849  src/core/lib/iomgr/unix_sockets_posix.cc
1850  src/core/lib/iomgr/unix_sockets_posix_noop.cc
1851  src/core/lib/iomgr/wakeup_fd_cv.cc
1852  src/core/lib/iomgr/wakeup_fd_eventfd.cc
1853  src/core/lib/iomgr/wakeup_fd_nospecial.cc
1854  src/core/lib/iomgr/wakeup_fd_pipe.cc
1855  src/core/lib/iomgr/wakeup_fd_posix.cc
1856  src/core/lib/json/json.cc
1857  src/core/lib/json/json_reader.cc
1858  src/core/lib/json/json_string.cc
1859  src/core/lib/json/json_writer.cc
1860  src/core/lib/slice/b64.cc
1861  src/core/lib/slice/percent_encoding.cc
1862  src/core/lib/slice/slice.cc
1863  src/core/lib/slice/slice_buffer.cc
1864  src/core/lib/slice/slice_intern.cc
1865  src/core/lib/slice/slice_string_helpers.cc
1866  src/core/lib/surface/api_trace.cc
1867  src/core/lib/surface/byte_buffer.cc
1868  src/core/lib/surface/byte_buffer_reader.cc
1869  src/core/lib/surface/call.cc
1870  src/core/lib/surface/call_details.cc
1871  src/core/lib/surface/call_log_batch.cc
1872  src/core/lib/surface/channel.cc
1873  src/core/lib/surface/channel_init.cc
1874  src/core/lib/surface/channel_ping.cc
1875  src/core/lib/surface/channel_stack_type.cc
1876  src/core/lib/surface/completion_queue.cc
1877  src/core/lib/surface/completion_queue_factory.cc
1878  src/core/lib/surface/event_string.cc
1879  src/core/lib/surface/lame_client.cc
1880  src/core/lib/surface/metadata_array.cc
1881  src/core/lib/surface/server.cc
1882  src/core/lib/surface/validate_metadata.cc
1883  src/core/lib/surface/version.cc
1884  src/core/lib/transport/bdp_estimator.cc
1885  src/core/lib/transport/byte_stream.cc
1886  src/core/lib/transport/connectivity_state.cc
1887  src/core/lib/transport/error_utils.cc
1888  src/core/lib/transport/metadata.cc
1889  src/core/lib/transport/metadata_batch.cc
1890  src/core/lib/transport/pid_controller.cc
1891  src/core/lib/transport/service_config.cc
1892  src/core/lib/transport/static_metadata.cc
1893  src/core/lib/transport/status_conversion.cc
1894  src/core/lib/transport/status_metadata.cc
1895  src/core/lib/transport/timeout_encoding.cc
1896  src/core/lib/transport/transport.cc
1897  src/core/lib/transport/transport_op_string.cc
1898  src/core/lib/debug/trace.cc
1899  src/core/ext/filters/client_channel/backup_poller.cc
1900  src/core/ext/filters/client_channel/channel_connectivity.cc
1901  src/core/ext/filters/client_channel/client_channel.cc
1902  src/core/ext/filters/client_channel/client_channel_channelz.cc
1903  src/core/ext/filters/client_channel/client_channel_factory.cc
1904  src/core/ext/filters/client_channel/client_channel_plugin.cc
1905  src/core/ext/filters/client_channel/connector.cc
1906  src/core/ext/filters/client_channel/http_connect_handshaker.cc
1907  src/core/ext/filters/client_channel/http_proxy.cc
1908  src/core/ext/filters/client_channel/lb_policy.cc
1909  src/core/ext/filters/client_channel/lb_policy_factory.cc
1910  src/core/ext/filters/client_channel/lb_policy_registry.cc
1911  src/core/ext/filters/client_channel/method_params.cc
1912  src/core/ext/filters/client_channel/parse_address.cc
1913  src/core/ext/filters/client_channel/proxy_mapper.cc
1914  src/core/ext/filters/client_channel/proxy_mapper_registry.cc
1915  src/core/ext/filters/client_channel/resolver.cc
1916  src/core/ext/filters/client_channel/resolver_registry.cc
1917  src/core/ext/filters/client_channel/retry_throttle.cc
1918  src/core/ext/filters/client_channel/subchannel.cc
1919  src/core/ext/filters/client_channel/subchannel_index.cc
1920  src/core/ext/filters/client_channel/uri_parser.cc
1921  src/core/ext/filters/deadline/deadline_filter.cc
1922  src/core/ext/transport/chttp2/transport/bin_decoder.cc
1923  src/core/ext/transport/chttp2/transport/bin_encoder.cc
1924  src/core/ext/transport/chttp2/transport/chttp2_plugin.cc
1925  src/core/ext/transport/chttp2/transport/chttp2_transport.cc
1926  src/core/ext/transport/chttp2/transport/flow_control.cc
1927  src/core/ext/transport/chttp2/transport/frame_data.cc
1928  src/core/ext/transport/chttp2/transport/frame_goaway.cc
1929  src/core/ext/transport/chttp2/transport/frame_ping.cc
1930  src/core/ext/transport/chttp2/transport/frame_rst_stream.cc
1931  src/core/ext/transport/chttp2/transport/frame_settings.cc
1932  src/core/ext/transport/chttp2/transport/frame_window_update.cc
1933  src/core/ext/transport/chttp2/transport/hpack_encoder.cc
1934  src/core/ext/transport/chttp2/transport/hpack_mapping.cc
1935  src/core/ext/transport/chttp2/transport/hpack_parser.cc
1936  src/core/ext/transport/chttp2/transport/hpack_table.cc
1937  src/core/ext/transport/chttp2/transport/http2_settings.cc
1938  src/core/ext/transport/chttp2/transport/huffsyms.cc
1939  src/core/ext/transport/chttp2/transport/incoming_metadata.cc
1940  src/core/ext/transport/chttp2/transport/parsing.cc
1941  src/core/ext/transport/chttp2/transport/stream_lists.cc
1942  src/core/ext/transport/chttp2/transport/stream_map.cc
1943  src/core/ext/transport/chttp2/transport/varint.cc
1944  src/core/ext/transport/chttp2/transport/writing.cc
1945  src/core/ext/transport/chttp2/alpn/alpn.cc
1946  src/core/ext/filters/http/client/http_client_filter.cc
1947  src/core/ext/filters/http/http_filters_plugin.cc
1948  src/core/ext/filters/http/message_compress/message_compress_filter.cc
1949  src/core/ext/filters/http/server/http_server_filter.cc
1950)
1951
1952if(WIN32 AND MSVC)
1953  set_target_properties(grpc_test_util PROPERTIES COMPILE_PDB_NAME "grpc_test_util"
1954    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
1955  )
1956  if (gRPC_INSTALL)
1957    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util.pdb
1958      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
1959    )
1960  endif()
1961endif()
1962
1963
1964target_include_directories(grpc_test_util
1965  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
1966  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
1967  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
1968  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
1969  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
1970  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
1971  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
1972  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
1973  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
1974  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
1975)
1976
1977target_link_libraries(grpc_test_util
1978  ${_gRPC_ALLTARGETS_LIBRARIES}
1979  gpr_test_util
1980  gpr
1981  grpc
1982)
1983
1984foreach(_hdr
1985  include/grpc/support/alloc.h
1986  include/grpc/support/atm.h
1987  include/grpc/support/atm_gcc_atomic.h
1988  include/grpc/support/atm_gcc_sync.h
1989  include/grpc/support/atm_windows.h
1990  include/grpc/support/cpu.h
1991  include/grpc/support/log.h
1992  include/grpc/support/log_windows.h
1993  include/grpc/support/port_platform.h
1994  include/grpc/support/string_util.h
1995  include/grpc/support/sync.h
1996  include/grpc/support/sync_custom.h
1997  include/grpc/support/sync_generic.h
1998  include/grpc/support/sync_posix.h
1999  include/grpc/support/sync_windows.h
2000  include/grpc/support/thd_id.h
2001  include/grpc/support/time.h
2002  include/grpc/impl/codegen/atm.h
2003  include/grpc/impl/codegen/atm_gcc_atomic.h
2004  include/grpc/impl/codegen/atm_gcc_sync.h
2005  include/grpc/impl/codegen/atm_windows.h
2006  include/grpc/impl/codegen/fork.h
2007  include/grpc/impl/codegen/gpr_slice.h
2008  include/grpc/impl/codegen/gpr_types.h
2009  include/grpc/impl/codegen/log.h
2010  include/grpc/impl/codegen/port_platform.h
2011  include/grpc/impl/codegen/sync.h
2012  include/grpc/impl/codegen/sync_custom.h
2013  include/grpc/impl/codegen/sync_generic.h
2014  include/grpc/impl/codegen/sync_posix.h
2015  include/grpc/impl/codegen/sync_windows.h
2016  include/grpc/impl/codegen/byte_buffer.h
2017  include/grpc/impl/codegen/byte_buffer_reader.h
2018  include/grpc/impl/codegen/compression_types.h
2019  include/grpc/impl/codegen/connectivity_state.h
2020  include/grpc/impl/codegen/grpc_types.h
2021  include/grpc/impl/codegen/propagation_bits.h
2022  include/grpc/impl/codegen/slice.h
2023  include/grpc/impl/codegen/status.h
2024)
2025  string(REPLACE "include/" "" _path ${_hdr})
2026  get_filename_component(_path ${_path} PATH)
2027  install(FILES ${_hdr}
2028    DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}"
2029  )
2030endforeach()
2031
2032endif (gRPC_BUILD_TESTS)
2033if (gRPC_BUILD_TESTS)
2034
2035add_library(grpc_test_util_unsecure
2036  src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc
2037  test/core/end2end/cq_verifier.cc
2038  test/core/end2end/fixtures/http_proxy_fixture.cc
2039  test/core/end2end/fixtures/proxy.cc
2040  test/core/iomgr/endpoint_tests.cc
2041  test/core/util/debugger_macros.cc
2042  test/core/util/fuzzer_util.cc
2043  test/core/util/grpc_profiler.cc
2044  test/core/util/histogram.cc
2045  test/core/util/memory_counters.cc
2046  test/core/util/mock_endpoint.cc
2047  test/core/util/parse_hexstring.cc
2048  test/core/util/passthru_endpoint.cc
2049  test/core/util/port.cc
2050  test/core/util/port_isolated_runtime_environment.cc
2051  test/core/util/port_server_client.cc
2052  test/core/util/slice_splitter.cc
2053  test/core/util/subprocess_posix.cc
2054  test/core/util/subprocess_windows.cc
2055  test/core/util/tracer_util.cc
2056  test/core/util/trickle_endpoint.cc
2057  test/core/util/cmdline.cc
2058  src/core/lib/avl/avl.cc
2059  src/core/lib/backoff/backoff.cc
2060  src/core/lib/channel/channel_args.cc
2061  src/core/lib/channel/channel_stack.cc
2062  src/core/lib/channel/channel_stack_builder.cc
2063  src/core/lib/channel/channel_trace.cc
2064  src/core/lib/channel/channelz.cc
2065  src/core/lib/channel/channelz_registry.cc
2066  src/core/lib/channel/connected_channel.cc
2067  src/core/lib/channel/handshaker.cc
2068  src/core/lib/channel/handshaker_factory.cc
2069  src/core/lib/channel/handshaker_registry.cc
2070  src/core/lib/channel/status_util.cc
2071  src/core/lib/compression/compression.cc
2072  src/core/lib/compression/compression_internal.cc
2073  src/core/lib/compression/message_compress.cc
2074  src/core/lib/compression/stream_compression.cc
2075  src/core/lib/compression/stream_compression_gzip.cc
2076  src/core/lib/compression/stream_compression_identity.cc
2077  src/core/lib/debug/stats.cc
2078  src/core/lib/debug/stats_data.cc
2079  src/core/lib/http/format_request.cc
2080  src/core/lib/http/httpcli.cc
2081  src/core/lib/http/parser.cc
2082  src/core/lib/iomgr/buffer_list.cc
2083  src/core/lib/iomgr/call_combiner.cc
2084  src/core/lib/iomgr/combiner.cc
2085  src/core/lib/iomgr/endpoint.cc
2086  src/core/lib/iomgr/endpoint_pair_posix.cc
2087  src/core/lib/iomgr/endpoint_pair_uv.cc
2088  src/core/lib/iomgr/endpoint_pair_windows.cc
2089  src/core/lib/iomgr/error.cc
2090  src/core/lib/iomgr/ev_epoll1_linux.cc
2091  src/core/lib/iomgr/ev_epollex_linux.cc
2092  src/core/lib/iomgr/ev_epollsig_linux.cc
2093  src/core/lib/iomgr/ev_poll_posix.cc
2094  src/core/lib/iomgr/ev_posix.cc
2095  src/core/lib/iomgr/ev_windows.cc
2096  src/core/lib/iomgr/exec_ctx.cc
2097  src/core/lib/iomgr/executor.cc
2098  src/core/lib/iomgr/fork_posix.cc
2099  src/core/lib/iomgr/fork_windows.cc
2100  src/core/lib/iomgr/gethostname_fallback.cc
2101  src/core/lib/iomgr/gethostname_host_name_max.cc
2102  src/core/lib/iomgr/gethostname_sysconf.cc
2103  src/core/lib/iomgr/internal_errqueue.cc
2104  src/core/lib/iomgr/iocp_windows.cc
2105  src/core/lib/iomgr/iomgr.cc
2106  src/core/lib/iomgr/iomgr_custom.cc
2107  src/core/lib/iomgr/iomgr_internal.cc
2108  src/core/lib/iomgr/iomgr_posix.cc
2109  src/core/lib/iomgr/iomgr_uv.cc
2110  src/core/lib/iomgr/iomgr_windows.cc
2111  src/core/lib/iomgr/is_epollexclusive_available.cc
2112  src/core/lib/iomgr/load_file.cc
2113  src/core/lib/iomgr/lockfree_event.cc
2114  src/core/lib/iomgr/network_status_tracker.cc
2115  src/core/lib/iomgr/polling_entity.cc
2116  src/core/lib/iomgr/pollset.cc
2117  src/core/lib/iomgr/pollset_custom.cc
2118  src/core/lib/iomgr/pollset_set.cc
2119  src/core/lib/iomgr/pollset_set_custom.cc
2120  src/core/lib/iomgr/pollset_set_windows.cc
2121  src/core/lib/iomgr/pollset_uv.cc
2122  src/core/lib/iomgr/pollset_windows.cc
2123  src/core/lib/iomgr/resolve_address.cc
2124  src/core/lib/iomgr/resolve_address_custom.cc
2125  src/core/lib/iomgr/resolve_address_posix.cc
2126  src/core/lib/iomgr/resolve_address_windows.cc
2127  src/core/lib/iomgr/resource_quota.cc
2128  src/core/lib/iomgr/sockaddr_utils.cc
2129  src/core/lib/iomgr/socket_factory_posix.cc
2130  src/core/lib/iomgr/socket_mutator.cc
2131  src/core/lib/iomgr/socket_utils_common_posix.cc
2132  src/core/lib/iomgr/socket_utils_linux.cc
2133  src/core/lib/iomgr/socket_utils_posix.cc
2134  src/core/lib/iomgr/socket_utils_uv.cc
2135  src/core/lib/iomgr/socket_utils_windows.cc
2136  src/core/lib/iomgr/socket_windows.cc
2137  src/core/lib/iomgr/tcp_client.cc
2138  src/core/lib/iomgr/tcp_client_custom.cc
2139  src/core/lib/iomgr/tcp_client_posix.cc
2140  src/core/lib/iomgr/tcp_client_windows.cc
2141  src/core/lib/iomgr/tcp_custom.cc
2142  src/core/lib/iomgr/tcp_posix.cc
2143  src/core/lib/iomgr/tcp_server.cc
2144  src/core/lib/iomgr/tcp_server_custom.cc
2145  src/core/lib/iomgr/tcp_server_posix.cc
2146  src/core/lib/iomgr/tcp_server_utils_posix_common.cc
2147  src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc
2148  src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc
2149  src/core/lib/iomgr/tcp_server_windows.cc
2150  src/core/lib/iomgr/tcp_uv.cc
2151  src/core/lib/iomgr/tcp_windows.cc
2152  src/core/lib/iomgr/time_averaged_stats.cc
2153  src/core/lib/iomgr/timer.cc
2154  src/core/lib/iomgr/timer_custom.cc
2155  src/core/lib/iomgr/timer_generic.cc
2156  src/core/lib/iomgr/timer_heap.cc
2157  src/core/lib/iomgr/timer_manager.cc
2158  src/core/lib/iomgr/timer_uv.cc
2159  src/core/lib/iomgr/udp_server.cc
2160  src/core/lib/iomgr/unix_sockets_posix.cc
2161  src/core/lib/iomgr/unix_sockets_posix_noop.cc
2162  src/core/lib/iomgr/wakeup_fd_cv.cc
2163  src/core/lib/iomgr/wakeup_fd_eventfd.cc
2164  src/core/lib/iomgr/wakeup_fd_nospecial.cc
2165  src/core/lib/iomgr/wakeup_fd_pipe.cc
2166  src/core/lib/iomgr/wakeup_fd_posix.cc
2167  src/core/lib/json/json.cc
2168  src/core/lib/json/json_reader.cc
2169  src/core/lib/json/json_string.cc
2170  src/core/lib/json/json_writer.cc
2171  src/core/lib/slice/b64.cc
2172  src/core/lib/slice/percent_encoding.cc
2173  src/core/lib/slice/slice.cc
2174  src/core/lib/slice/slice_buffer.cc
2175  src/core/lib/slice/slice_intern.cc
2176  src/core/lib/slice/slice_string_helpers.cc
2177  src/core/lib/surface/api_trace.cc
2178  src/core/lib/surface/byte_buffer.cc
2179  src/core/lib/surface/byte_buffer_reader.cc
2180  src/core/lib/surface/call.cc
2181  src/core/lib/surface/call_details.cc
2182  src/core/lib/surface/call_log_batch.cc
2183  src/core/lib/surface/channel.cc
2184  src/core/lib/surface/channel_init.cc
2185  src/core/lib/surface/channel_ping.cc
2186  src/core/lib/surface/channel_stack_type.cc
2187  src/core/lib/surface/completion_queue.cc
2188  src/core/lib/surface/completion_queue_factory.cc
2189  src/core/lib/surface/event_string.cc
2190  src/core/lib/surface/lame_client.cc
2191  src/core/lib/surface/metadata_array.cc
2192  src/core/lib/surface/server.cc
2193  src/core/lib/surface/validate_metadata.cc
2194  src/core/lib/surface/version.cc
2195  src/core/lib/transport/bdp_estimator.cc
2196  src/core/lib/transport/byte_stream.cc
2197  src/core/lib/transport/connectivity_state.cc
2198  src/core/lib/transport/error_utils.cc
2199  src/core/lib/transport/metadata.cc
2200  src/core/lib/transport/metadata_batch.cc
2201  src/core/lib/transport/pid_controller.cc
2202  src/core/lib/transport/service_config.cc
2203  src/core/lib/transport/static_metadata.cc
2204  src/core/lib/transport/status_conversion.cc
2205  src/core/lib/transport/status_metadata.cc
2206  src/core/lib/transport/timeout_encoding.cc
2207  src/core/lib/transport/transport.cc
2208  src/core/lib/transport/transport_op_string.cc
2209  src/core/lib/debug/trace.cc
2210  src/core/ext/filters/client_channel/backup_poller.cc
2211  src/core/ext/filters/client_channel/channel_connectivity.cc
2212  src/core/ext/filters/client_channel/client_channel.cc
2213  src/core/ext/filters/client_channel/client_channel_channelz.cc
2214  src/core/ext/filters/client_channel/client_channel_factory.cc
2215  src/core/ext/filters/client_channel/client_channel_plugin.cc
2216  src/core/ext/filters/client_channel/connector.cc
2217  src/core/ext/filters/client_channel/http_connect_handshaker.cc
2218  src/core/ext/filters/client_channel/http_proxy.cc
2219  src/core/ext/filters/client_channel/lb_policy.cc
2220  src/core/ext/filters/client_channel/lb_policy_factory.cc
2221  src/core/ext/filters/client_channel/lb_policy_registry.cc
2222  src/core/ext/filters/client_channel/method_params.cc
2223  src/core/ext/filters/client_channel/parse_address.cc
2224  src/core/ext/filters/client_channel/proxy_mapper.cc
2225  src/core/ext/filters/client_channel/proxy_mapper_registry.cc
2226  src/core/ext/filters/client_channel/resolver.cc
2227  src/core/ext/filters/client_channel/resolver_registry.cc
2228  src/core/ext/filters/client_channel/retry_throttle.cc
2229  src/core/ext/filters/client_channel/subchannel.cc
2230  src/core/ext/filters/client_channel/subchannel_index.cc
2231  src/core/ext/filters/client_channel/uri_parser.cc
2232  src/core/ext/filters/deadline/deadline_filter.cc
2233  src/core/ext/transport/chttp2/transport/bin_decoder.cc
2234  src/core/ext/transport/chttp2/transport/bin_encoder.cc
2235  src/core/ext/transport/chttp2/transport/chttp2_plugin.cc
2236  src/core/ext/transport/chttp2/transport/chttp2_transport.cc
2237  src/core/ext/transport/chttp2/transport/flow_control.cc
2238  src/core/ext/transport/chttp2/transport/frame_data.cc
2239  src/core/ext/transport/chttp2/transport/frame_goaway.cc
2240  src/core/ext/transport/chttp2/transport/frame_ping.cc
2241  src/core/ext/transport/chttp2/transport/frame_rst_stream.cc
2242  src/core/ext/transport/chttp2/transport/frame_settings.cc
2243  src/core/ext/transport/chttp2/transport/frame_window_update.cc
2244  src/core/ext/transport/chttp2/transport/hpack_encoder.cc
2245  src/core/ext/transport/chttp2/transport/hpack_mapping.cc
2246  src/core/ext/transport/chttp2/transport/hpack_parser.cc
2247  src/core/ext/transport/chttp2/transport/hpack_table.cc
2248  src/core/ext/transport/chttp2/transport/http2_settings.cc
2249  src/core/ext/transport/chttp2/transport/huffsyms.cc
2250  src/core/ext/transport/chttp2/transport/incoming_metadata.cc
2251  src/core/ext/transport/chttp2/transport/parsing.cc
2252  src/core/ext/transport/chttp2/transport/stream_lists.cc
2253  src/core/ext/transport/chttp2/transport/stream_map.cc
2254  src/core/ext/transport/chttp2/transport/varint.cc
2255  src/core/ext/transport/chttp2/transport/writing.cc
2256  src/core/ext/transport/chttp2/alpn/alpn.cc
2257  src/core/ext/filters/http/client/http_client_filter.cc
2258  src/core/ext/filters/http/http_filters_plugin.cc
2259  src/core/ext/filters/http/message_compress/message_compress_filter.cc
2260  src/core/ext/filters/http/server/http_server_filter.cc
2261)
2262
2263if(WIN32 AND MSVC)
2264  set_target_properties(grpc_test_util_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_test_util_unsecure"
2265    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
2266  )
2267  if (gRPC_INSTALL)
2268    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util_unsecure.pdb
2269      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
2270    )
2271  endif()
2272endif()
2273
2274
2275target_include_directories(grpc_test_util_unsecure
2276  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
2277  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
2278  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
2279  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
2280  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
2281  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
2282  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
2283  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
2284  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
2285  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
2286)
2287
2288target_link_libraries(grpc_test_util_unsecure
2289  ${_gRPC_ALLTARGETS_LIBRARIES}
2290  gpr
2291  gpr_test_util
2292  grpc_unsecure
2293)
2294
2295foreach(_hdr
2296  include/grpc/support/alloc.h
2297  include/grpc/support/atm.h
2298  include/grpc/support/atm_gcc_atomic.h
2299  include/grpc/support/atm_gcc_sync.h
2300  include/grpc/support/atm_windows.h
2301  include/grpc/support/cpu.h
2302  include/grpc/support/log.h
2303  include/grpc/support/log_windows.h
2304  include/grpc/support/port_platform.h
2305  include/grpc/support/string_util.h
2306  include/grpc/support/sync.h
2307  include/grpc/support/sync_custom.h
2308  include/grpc/support/sync_generic.h
2309  include/grpc/support/sync_posix.h
2310  include/grpc/support/sync_windows.h
2311  include/grpc/support/thd_id.h
2312  include/grpc/support/time.h
2313  include/grpc/impl/codegen/atm.h
2314  include/grpc/impl/codegen/atm_gcc_atomic.h
2315  include/grpc/impl/codegen/atm_gcc_sync.h
2316  include/grpc/impl/codegen/atm_windows.h
2317  include/grpc/impl/codegen/fork.h
2318  include/grpc/impl/codegen/gpr_slice.h
2319  include/grpc/impl/codegen/gpr_types.h
2320  include/grpc/impl/codegen/log.h
2321  include/grpc/impl/codegen/port_platform.h
2322  include/grpc/impl/codegen/sync.h
2323  include/grpc/impl/codegen/sync_custom.h
2324  include/grpc/impl/codegen/sync_generic.h
2325  include/grpc/impl/codegen/sync_posix.h
2326  include/grpc/impl/codegen/sync_windows.h
2327  include/grpc/impl/codegen/byte_buffer.h
2328  include/grpc/impl/codegen/byte_buffer_reader.h
2329  include/grpc/impl/codegen/compression_types.h
2330  include/grpc/impl/codegen/connectivity_state.h
2331  include/grpc/impl/codegen/grpc_types.h
2332  include/grpc/impl/codegen/propagation_bits.h
2333  include/grpc/impl/codegen/slice.h
2334  include/grpc/impl/codegen/status.h
2335)
2336  string(REPLACE "include/" "" _path ${_hdr})
2337  get_filename_component(_path ${_path} PATH)
2338  install(FILES ${_hdr}
2339    DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}"
2340  )
2341endforeach()
2342
2343endif (gRPC_BUILD_TESTS)
2344
2345add_library(grpc_unsecure
2346  src/core/lib/surface/init.cc
2347  src/core/lib/surface/init_unsecure.cc
2348  src/core/lib/avl/avl.cc
2349  src/core/lib/backoff/backoff.cc
2350  src/core/lib/channel/channel_args.cc
2351  src/core/lib/channel/channel_stack.cc
2352  src/core/lib/channel/channel_stack_builder.cc
2353  src/core/lib/channel/channel_trace.cc
2354  src/core/lib/channel/channelz.cc
2355  src/core/lib/channel/channelz_registry.cc
2356  src/core/lib/channel/connected_channel.cc
2357  src/core/lib/channel/handshaker.cc
2358  src/core/lib/channel/handshaker_factory.cc
2359  src/core/lib/channel/handshaker_registry.cc
2360  src/core/lib/channel/status_util.cc
2361  src/core/lib/compression/compression.cc
2362  src/core/lib/compression/compression_internal.cc
2363  src/core/lib/compression/message_compress.cc
2364  src/core/lib/compression/stream_compression.cc
2365  src/core/lib/compression/stream_compression_gzip.cc
2366  src/core/lib/compression/stream_compression_identity.cc
2367  src/core/lib/debug/stats.cc
2368  src/core/lib/debug/stats_data.cc
2369  src/core/lib/http/format_request.cc
2370  src/core/lib/http/httpcli.cc
2371  src/core/lib/http/parser.cc
2372  src/core/lib/iomgr/buffer_list.cc
2373  src/core/lib/iomgr/call_combiner.cc
2374  src/core/lib/iomgr/combiner.cc
2375  src/core/lib/iomgr/endpoint.cc
2376  src/core/lib/iomgr/endpoint_pair_posix.cc
2377  src/core/lib/iomgr/endpoint_pair_uv.cc
2378  src/core/lib/iomgr/endpoint_pair_windows.cc
2379  src/core/lib/iomgr/error.cc
2380  src/core/lib/iomgr/ev_epoll1_linux.cc
2381  src/core/lib/iomgr/ev_epollex_linux.cc
2382  src/core/lib/iomgr/ev_epollsig_linux.cc
2383  src/core/lib/iomgr/ev_poll_posix.cc
2384  src/core/lib/iomgr/ev_posix.cc
2385  src/core/lib/iomgr/ev_windows.cc
2386  src/core/lib/iomgr/exec_ctx.cc
2387  src/core/lib/iomgr/executor.cc
2388  src/core/lib/iomgr/fork_posix.cc
2389  src/core/lib/iomgr/fork_windows.cc
2390  src/core/lib/iomgr/gethostname_fallback.cc
2391  src/core/lib/iomgr/gethostname_host_name_max.cc
2392  src/core/lib/iomgr/gethostname_sysconf.cc
2393  src/core/lib/iomgr/internal_errqueue.cc
2394  src/core/lib/iomgr/iocp_windows.cc
2395  src/core/lib/iomgr/iomgr.cc
2396  src/core/lib/iomgr/iomgr_custom.cc
2397  src/core/lib/iomgr/iomgr_internal.cc
2398  src/core/lib/iomgr/iomgr_posix.cc
2399  src/core/lib/iomgr/iomgr_uv.cc
2400  src/core/lib/iomgr/iomgr_windows.cc
2401  src/core/lib/iomgr/is_epollexclusive_available.cc
2402  src/core/lib/iomgr/load_file.cc
2403  src/core/lib/iomgr/lockfree_event.cc
2404  src/core/lib/iomgr/network_status_tracker.cc
2405  src/core/lib/iomgr/polling_entity.cc
2406  src/core/lib/iomgr/pollset.cc
2407  src/core/lib/iomgr/pollset_custom.cc
2408  src/core/lib/iomgr/pollset_set.cc
2409  src/core/lib/iomgr/pollset_set_custom.cc
2410  src/core/lib/iomgr/pollset_set_windows.cc
2411  src/core/lib/iomgr/pollset_uv.cc
2412  src/core/lib/iomgr/pollset_windows.cc
2413  src/core/lib/iomgr/resolve_address.cc
2414  src/core/lib/iomgr/resolve_address_custom.cc
2415  src/core/lib/iomgr/resolve_address_posix.cc
2416  src/core/lib/iomgr/resolve_address_windows.cc
2417  src/core/lib/iomgr/resource_quota.cc
2418  src/core/lib/iomgr/sockaddr_utils.cc
2419  src/core/lib/iomgr/socket_factory_posix.cc
2420  src/core/lib/iomgr/socket_mutator.cc
2421  src/core/lib/iomgr/socket_utils_common_posix.cc
2422  src/core/lib/iomgr/socket_utils_linux.cc
2423  src/core/lib/iomgr/socket_utils_posix.cc
2424  src/core/lib/iomgr/socket_utils_uv.cc
2425  src/core/lib/iomgr/socket_utils_windows.cc
2426  src/core/lib/iomgr/socket_windows.cc
2427  src/core/lib/iomgr/tcp_client.cc
2428  src/core/lib/iomgr/tcp_client_custom.cc
2429  src/core/lib/iomgr/tcp_client_posix.cc
2430  src/core/lib/iomgr/tcp_client_windows.cc
2431  src/core/lib/iomgr/tcp_custom.cc
2432  src/core/lib/iomgr/tcp_posix.cc
2433  src/core/lib/iomgr/tcp_server.cc
2434  src/core/lib/iomgr/tcp_server_custom.cc
2435  src/core/lib/iomgr/tcp_server_posix.cc
2436  src/core/lib/iomgr/tcp_server_utils_posix_common.cc
2437  src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc
2438  src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc
2439  src/core/lib/iomgr/tcp_server_windows.cc
2440  src/core/lib/iomgr/tcp_uv.cc
2441  src/core/lib/iomgr/tcp_windows.cc
2442  src/core/lib/iomgr/time_averaged_stats.cc
2443  src/core/lib/iomgr/timer.cc
2444  src/core/lib/iomgr/timer_custom.cc
2445  src/core/lib/iomgr/timer_generic.cc
2446  src/core/lib/iomgr/timer_heap.cc
2447  src/core/lib/iomgr/timer_manager.cc
2448  src/core/lib/iomgr/timer_uv.cc
2449  src/core/lib/iomgr/udp_server.cc
2450  src/core/lib/iomgr/unix_sockets_posix.cc
2451  src/core/lib/iomgr/unix_sockets_posix_noop.cc
2452  src/core/lib/iomgr/wakeup_fd_cv.cc
2453  src/core/lib/iomgr/wakeup_fd_eventfd.cc
2454  src/core/lib/iomgr/wakeup_fd_nospecial.cc
2455  src/core/lib/iomgr/wakeup_fd_pipe.cc
2456  src/core/lib/iomgr/wakeup_fd_posix.cc
2457  src/core/lib/json/json.cc
2458  src/core/lib/json/json_reader.cc
2459  src/core/lib/json/json_string.cc
2460  src/core/lib/json/json_writer.cc
2461  src/core/lib/slice/b64.cc
2462  src/core/lib/slice/percent_encoding.cc
2463  src/core/lib/slice/slice.cc
2464  src/core/lib/slice/slice_buffer.cc
2465  src/core/lib/slice/slice_intern.cc
2466  src/core/lib/slice/slice_string_helpers.cc
2467  src/core/lib/surface/api_trace.cc
2468  src/core/lib/surface/byte_buffer.cc
2469  src/core/lib/surface/byte_buffer_reader.cc
2470  src/core/lib/surface/call.cc
2471  src/core/lib/surface/call_details.cc
2472  src/core/lib/surface/call_log_batch.cc
2473  src/core/lib/surface/channel.cc
2474  src/core/lib/surface/channel_init.cc
2475  src/core/lib/surface/channel_ping.cc
2476  src/core/lib/surface/channel_stack_type.cc
2477  src/core/lib/surface/completion_queue.cc
2478  src/core/lib/surface/completion_queue_factory.cc
2479  src/core/lib/surface/event_string.cc
2480  src/core/lib/surface/lame_client.cc
2481  src/core/lib/surface/metadata_array.cc
2482  src/core/lib/surface/server.cc
2483  src/core/lib/surface/validate_metadata.cc
2484  src/core/lib/surface/version.cc
2485  src/core/lib/transport/bdp_estimator.cc
2486  src/core/lib/transport/byte_stream.cc
2487  src/core/lib/transport/connectivity_state.cc
2488  src/core/lib/transport/error_utils.cc
2489  src/core/lib/transport/metadata.cc
2490  src/core/lib/transport/metadata_batch.cc
2491  src/core/lib/transport/pid_controller.cc
2492  src/core/lib/transport/service_config.cc
2493  src/core/lib/transport/static_metadata.cc
2494  src/core/lib/transport/status_conversion.cc
2495  src/core/lib/transport/status_metadata.cc
2496  src/core/lib/transport/timeout_encoding.cc
2497  src/core/lib/transport/transport.cc
2498  src/core/lib/transport/transport_op_string.cc
2499  src/core/lib/debug/trace.cc
2500  src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc
2501  src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc
2502  src/core/ext/transport/chttp2/transport/bin_decoder.cc
2503  src/core/ext/transport/chttp2/transport/bin_encoder.cc
2504  src/core/ext/transport/chttp2/transport/chttp2_plugin.cc
2505  src/core/ext/transport/chttp2/transport/chttp2_transport.cc
2506  src/core/ext/transport/chttp2/transport/flow_control.cc
2507  src/core/ext/transport/chttp2/transport/frame_data.cc
2508  src/core/ext/transport/chttp2/transport/frame_goaway.cc
2509  src/core/ext/transport/chttp2/transport/frame_ping.cc
2510  src/core/ext/transport/chttp2/transport/frame_rst_stream.cc
2511  src/core/ext/transport/chttp2/transport/frame_settings.cc
2512  src/core/ext/transport/chttp2/transport/frame_window_update.cc
2513  src/core/ext/transport/chttp2/transport/hpack_encoder.cc
2514  src/core/ext/transport/chttp2/transport/hpack_mapping.cc
2515  src/core/ext/transport/chttp2/transport/hpack_parser.cc
2516  src/core/ext/transport/chttp2/transport/hpack_table.cc
2517  src/core/ext/transport/chttp2/transport/http2_settings.cc
2518  src/core/ext/transport/chttp2/transport/huffsyms.cc
2519  src/core/ext/transport/chttp2/transport/incoming_metadata.cc
2520  src/core/ext/transport/chttp2/transport/parsing.cc
2521  src/core/ext/transport/chttp2/transport/stream_lists.cc
2522  src/core/ext/transport/chttp2/transport/stream_map.cc
2523  src/core/ext/transport/chttp2/transport/varint.cc
2524  src/core/ext/transport/chttp2/transport/writing.cc
2525  src/core/ext/transport/chttp2/alpn/alpn.cc
2526  src/core/ext/filters/http/client/http_client_filter.cc
2527  src/core/ext/filters/http/http_filters_plugin.cc
2528  src/core/ext/filters/http/message_compress/message_compress_filter.cc
2529  src/core/ext/filters/http/server/http_server_filter.cc
2530  src/core/ext/transport/chttp2/server/chttp2_server.cc
2531  src/core/ext/transport/chttp2/client/insecure/channel_create.cc
2532  src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc
2533  src/core/ext/transport/chttp2/client/authority.cc
2534  src/core/ext/transport/chttp2/client/chttp2_connector.cc
2535  src/core/ext/filters/client_channel/backup_poller.cc
2536  src/core/ext/filters/client_channel/channel_connectivity.cc
2537  src/core/ext/filters/client_channel/client_channel.cc
2538  src/core/ext/filters/client_channel/client_channel_channelz.cc
2539  src/core/ext/filters/client_channel/client_channel_factory.cc
2540  src/core/ext/filters/client_channel/client_channel_plugin.cc
2541  src/core/ext/filters/client_channel/connector.cc
2542  src/core/ext/filters/client_channel/http_connect_handshaker.cc
2543  src/core/ext/filters/client_channel/http_proxy.cc
2544  src/core/ext/filters/client_channel/lb_policy.cc
2545  src/core/ext/filters/client_channel/lb_policy_factory.cc
2546  src/core/ext/filters/client_channel/lb_policy_registry.cc
2547  src/core/ext/filters/client_channel/method_params.cc
2548  src/core/ext/filters/client_channel/parse_address.cc
2549  src/core/ext/filters/client_channel/proxy_mapper.cc
2550  src/core/ext/filters/client_channel/proxy_mapper_registry.cc
2551  src/core/ext/filters/client_channel/resolver.cc
2552  src/core/ext/filters/client_channel/resolver_registry.cc
2553  src/core/ext/filters/client_channel/retry_throttle.cc
2554  src/core/ext/filters/client_channel/subchannel.cc
2555  src/core/ext/filters/client_channel/subchannel_index.cc
2556  src/core/ext/filters/client_channel/uri_parser.cc
2557  src/core/ext/filters/deadline/deadline_filter.cc
2558  src/core/ext/transport/inproc/inproc_plugin.cc
2559  src/core/ext/transport/inproc/inproc_transport.cc
2560  src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc
2561  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.cc
2562  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc
2563  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc
2564  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc
2565  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc
2566  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc
2567  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc
2568  src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc
2569  src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc
2570  src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc
2571  src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc
2572  src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc
2573  src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc
2574  src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc
2575  src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc
2576  src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.c
2577  src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.c
2578  src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c
2579  third_party/nanopb/pb_common.c
2580  third_party/nanopb/pb_decode.c
2581  third_party/nanopb/pb_encode.c
2582  src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc
2583  src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc
2584  src/core/ext/filters/census/grpc_context.cc
2585  src/core/ext/filters/max_age/max_age_filter.cc
2586  src/core/ext/filters/message_size/message_size_filter.cc
2587  src/core/ext/filters/http/client_authority_filter.cc
2588  src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc
2589  src/core/ext/filters/workarounds/workaround_utils.cc
2590  src/core/plugin_registry/grpc_unsecure_plugin_registry.cc
2591)
2592
2593if(WIN32 AND MSVC)
2594  set_target_properties(grpc_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_unsecure"
2595    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
2596  )
2597  if (gRPC_INSTALL)
2598    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_unsecure.pdb
2599      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
2600    )
2601  endif()
2602endif()
2603
2604
2605target_include_directories(grpc_unsecure
2606  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
2607  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
2608  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
2609  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
2610  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
2611  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
2612  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
2613  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
2614  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
2615  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
2616)
2617
2618target_link_libraries(grpc_unsecure
2619  ${_gRPC_BASELIB_LIBRARIES}
2620  ${_gRPC_ZLIB_LIBRARIES}
2621  ${_gRPC_CARES_LIBRARIES}
2622  ${_gRPC_ADDRESS_SORTING_LIBRARIES}
2623  ${_gRPC_ALLTARGETS_LIBRARIES}
2624  gpr
2625)
2626
2627foreach(_hdr
2628  include/grpc/impl/codegen/byte_buffer.h
2629  include/grpc/impl/codegen/byte_buffer_reader.h
2630  include/grpc/impl/codegen/compression_types.h
2631  include/grpc/impl/codegen/connectivity_state.h
2632  include/grpc/impl/codegen/grpc_types.h
2633  include/grpc/impl/codegen/propagation_bits.h
2634  include/grpc/impl/codegen/slice.h
2635  include/grpc/impl/codegen/status.h
2636  include/grpc/impl/codegen/atm.h
2637  include/grpc/impl/codegen/atm_gcc_atomic.h
2638  include/grpc/impl/codegen/atm_gcc_sync.h
2639  include/grpc/impl/codegen/atm_windows.h
2640  include/grpc/impl/codegen/fork.h
2641  include/grpc/impl/codegen/gpr_slice.h
2642  include/grpc/impl/codegen/gpr_types.h
2643  include/grpc/impl/codegen/log.h
2644  include/grpc/impl/codegen/port_platform.h
2645  include/grpc/impl/codegen/sync.h
2646  include/grpc/impl/codegen/sync_custom.h
2647  include/grpc/impl/codegen/sync_generic.h
2648  include/grpc/impl/codegen/sync_posix.h
2649  include/grpc/impl/codegen/sync_windows.h
2650  include/grpc/byte_buffer.h
2651  include/grpc/byte_buffer_reader.h
2652  include/grpc/compression.h
2653  include/grpc/fork.h
2654  include/grpc/grpc.h
2655  include/grpc/grpc_posix.h
2656  include/grpc/grpc_security_constants.h
2657  include/grpc/load_reporting.h
2658  include/grpc/slice.h
2659  include/grpc/slice_buffer.h
2660  include/grpc/status.h
2661  include/grpc/support/workaround_list.h
2662  include/grpc/census.h
2663)
2664  string(REPLACE "include/" "" _path ${_hdr})
2665  get_filename_component(_path ${_path} PATH)
2666  install(FILES ${_hdr}
2667    DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}"
2668  )
2669endforeach()
2670
2671
2672if (gRPC_INSTALL)
2673  install(TARGETS grpc_unsecure EXPORT gRPCTargets
2674    RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR}
2675    LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR}
2676    ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
2677  )
2678endif()
2679
2680if (gRPC_BUILD_TESTS)
2681
2682add_library(reconnect_server
2683  test/core/util/reconnect_server.cc
2684)
2685
2686if(WIN32 AND MSVC)
2687  set_target_properties(reconnect_server PROPERTIES COMPILE_PDB_NAME "reconnect_server"
2688    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
2689  )
2690  if (gRPC_INSTALL)
2691    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/reconnect_server.pdb
2692      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
2693    )
2694  endif()
2695endif()
2696
2697
2698target_include_directories(reconnect_server
2699  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
2700  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
2701  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
2702  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
2703  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
2704  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
2705  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
2706  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
2707  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
2708  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
2709)
2710
2711target_link_libraries(reconnect_server
2712  ${_gRPC_ALLTARGETS_LIBRARIES}
2713  test_tcp_server
2714  grpc_test_util
2715  grpc
2716  gpr_test_util
2717  gpr
2718)
2719
2720
2721endif (gRPC_BUILD_TESTS)
2722if (gRPC_BUILD_TESTS)
2723
2724add_library(test_tcp_server
2725  test/core/util/test_tcp_server.cc
2726)
2727
2728if(WIN32 AND MSVC)
2729  set_target_properties(test_tcp_server PROPERTIES COMPILE_PDB_NAME "test_tcp_server"
2730    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
2731  )
2732  if (gRPC_INSTALL)
2733    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/test_tcp_server.pdb
2734      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
2735    )
2736  endif()
2737endif()
2738
2739
2740target_include_directories(test_tcp_server
2741  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
2742  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
2743  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
2744  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
2745  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
2746  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
2747  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
2748  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
2749  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
2750  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
2751)
2752
2753target_link_libraries(test_tcp_server
2754  ${_gRPC_ALLTARGETS_LIBRARIES}
2755  grpc_test_util
2756  grpc
2757  gpr_test_util
2758  gpr
2759)
2760
2761
2762endif (gRPC_BUILD_TESTS)
2763
2764add_library(grpc++
2765  src/cpp/client/insecure_credentials.cc
2766  src/cpp/client/secure_credentials.cc
2767  src/cpp/common/auth_property_iterator.cc
2768  src/cpp/common/secure_auth_context.cc
2769  src/cpp/common/secure_channel_arguments.cc
2770  src/cpp/common/secure_create_auth_context.cc
2771  src/cpp/server/insecure_server_credentials.cc
2772  src/cpp/server/secure_server_credentials.cc
2773  src/cpp/client/channel_cc.cc
2774  src/cpp/client/client_context.cc
2775  src/cpp/client/create_channel.cc
2776  src/cpp/client/create_channel_internal.cc
2777  src/cpp/client/create_channel_posix.cc
2778  src/cpp/client/credentials_cc.cc
2779  src/cpp/client/generic_stub.cc
2780  src/cpp/common/alarm.cc
2781  src/cpp/common/channel_arguments.cc
2782  src/cpp/common/channel_filter.cc
2783  src/cpp/common/completion_queue_cc.cc
2784  src/cpp/common/core_codegen.cc
2785  src/cpp/common/resource_quota_cc.cc
2786  src/cpp/common/rpc_method.cc
2787  src/cpp/common/version_cc.cc
2788  src/cpp/server/async_generic_service.cc
2789  src/cpp/server/channel_argument_option.cc
2790  src/cpp/server/create_default_thread_pool.cc
2791  src/cpp/server/dynamic_thread_pool.cc
2792  src/cpp/server/health/default_health_check_service.cc
2793  src/cpp/server/health/health.pb.c
2794  src/cpp/server/health/health_check_service.cc
2795  src/cpp/server/health/health_check_service_server_builder_option.cc
2796  src/cpp/server/server_builder.cc
2797  src/cpp/server/server_cc.cc
2798  src/cpp/server/server_context.cc
2799  src/cpp/server/server_credentials.cc
2800  src/cpp/server/server_posix.cc
2801  src/cpp/thread_manager/thread_manager.cc
2802  src/cpp/util/byte_buffer_cc.cc
2803  src/cpp/util/status.cc
2804  src/cpp/util/string_ref.cc
2805  src/cpp/util/time_cc.cc
2806  src/cpp/codegen/codegen_init.cc
2807)
2808
2809if(WIN32 AND MSVC)
2810  set_target_properties(grpc++ PROPERTIES COMPILE_PDB_NAME "grpc++"
2811    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
2812  )
2813  if (gRPC_INSTALL)
2814    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++.pdb
2815      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
2816    )
2817  endif()
2818endif()
2819
2820
2821target_include_directories(grpc++
2822  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
2823  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
2824  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
2825  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
2826  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
2827  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
2828  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
2829  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
2830  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
2831  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
2832  PRIVATE ${_gRPC_PROTO_GENS_DIR}
2833)
2834
2835target_link_libraries(grpc++
2836  ${_gRPC_BASELIB_LIBRARIES}
2837  ${_gRPC_SSL_LIBRARIES}
2838  ${_gRPC_PROTOBUF_LIBRARIES}
2839  ${_gRPC_ALLTARGETS_LIBRARIES}
2840  grpc
2841  gpr
2842)
2843
2844foreach(_hdr
2845  include/grpc++/alarm.h
2846  include/grpc++/channel.h
2847  include/grpc++/client_context.h
2848  include/grpc++/completion_queue.h
2849  include/grpc++/create_channel.h
2850  include/grpc++/create_channel_posix.h
2851  include/grpc++/ext/health_check_service_server_builder_option.h
2852  include/grpc++/generic/async_generic_service.h
2853  include/grpc++/generic/generic_stub.h
2854  include/grpc++/grpc++.h
2855  include/grpc++/health_check_service_interface.h
2856  include/grpc++/impl/call.h
2857  include/grpc++/impl/channel_argument_option.h
2858  include/grpc++/impl/client_unary_call.h
2859  include/grpc++/impl/codegen/core_codegen.h
2860  include/grpc++/impl/grpc_library.h
2861  include/grpc++/impl/method_handler_impl.h
2862  include/grpc++/impl/rpc_method.h
2863  include/grpc++/impl/rpc_service_method.h
2864  include/grpc++/impl/serialization_traits.h
2865  include/grpc++/impl/server_builder_option.h
2866  include/grpc++/impl/server_builder_plugin.h
2867  include/grpc++/impl/server_initializer.h
2868  include/grpc++/impl/service_type.h
2869  include/grpc++/resource_quota.h
2870  include/grpc++/security/auth_context.h
2871  include/grpc++/security/auth_metadata_processor.h
2872  include/grpc++/security/credentials.h
2873  include/grpc++/security/server_credentials.h
2874  include/grpc++/server.h
2875  include/grpc++/server_builder.h
2876  include/grpc++/server_context.h
2877  include/grpc++/server_posix.h
2878  include/grpc++/support/async_stream.h
2879  include/grpc++/support/async_unary_call.h
2880  include/grpc++/support/byte_buffer.h
2881  include/grpc++/support/channel_arguments.h
2882  include/grpc++/support/config.h
2883  include/grpc++/support/slice.h
2884  include/grpc++/support/status.h
2885  include/grpc++/support/status_code_enum.h
2886  include/grpc++/support/string_ref.h
2887  include/grpc++/support/stub_options.h
2888  include/grpc++/support/sync_stream.h
2889  include/grpc++/support/time.h
2890  include/grpcpp/alarm.h
2891  include/grpcpp/channel.h
2892  include/grpcpp/client_context.h
2893  include/grpcpp/completion_queue.h
2894  include/grpcpp/create_channel.h
2895  include/grpcpp/create_channel_posix.h
2896  include/grpcpp/ext/health_check_service_server_builder_option.h
2897  include/grpcpp/generic/async_generic_service.h
2898  include/grpcpp/generic/generic_stub.h
2899  include/grpcpp/grpcpp.h
2900  include/grpcpp/health_check_service_interface.h
2901  include/grpcpp/impl/call.h
2902  include/grpcpp/impl/channel_argument_option.h
2903  include/grpcpp/impl/client_unary_call.h
2904  include/grpcpp/impl/codegen/core_codegen.h
2905  include/grpcpp/impl/grpc_library.h
2906  include/grpcpp/impl/method_handler_impl.h
2907  include/grpcpp/impl/rpc_method.h
2908  include/grpcpp/impl/rpc_service_method.h
2909  include/grpcpp/impl/serialization_traits.h
2910  include/grpcpp/impl/server_builder_option.h
2911  include/grpcpp/impl/server_builder_plugin.h
2912  include/grpcpp/impl/server_initializer.h
2913  include/grpcpp/impl/service_type.h
2914  include/grpcpp/resource_quota.h
2915  include/grpcpp/security/auth_context.h
2916  include/grpcpp/security/auth_metadata_processor.h
2917  include/grpcpp/security/credentials.h
2918  include/grpcpp/security/server_credentials.h
2919  include/grpcpp/server.h
2920  include/grpcpp/server_builder.h
2921  include/grpcpp/server_context.h
2922  include/grpcpp/server_posix.h
2923  include/grpcpp/support/async_stream.h
2924  include/grpcpp/support/async_unary_call.h
2925  include/grpcpp/support/byte_buffer.h
2926  include/grpcpp/support/channel_arguments.h
2927  include/grpcpp/support/client_callback.h
2928  include/grpcpp/support/config.h
2929  include/grpcpp/support/proto_buffer_reader.h
2930  include/grpcpp/support/proto_buffer_writer.h
2931  include/grpcpp/support/slice.h
2932  include/grpcpp/support/status.h
2933  include/grpcpp/support/status_code_enum.h
2934  include/grpcpp/support/string_ref.h
2935  include/grpcpp/support/stub_options.h
2936  include/grpcpp/support/sync_stream.h
2937  include/grpcpp/support/time.h
2938  include/grpc/support/alloc.h
2939  include/grpc/support/atm.h
2940  include/grpc/support/atm_gcc_atomic.h
2941  include/grpc/support/atm_gcc_sync.h
2942  include/grpc/support/atm_windows.h
2943  include/grpc/support/cpu.h
2944  include/grpc/support/log.h
2945  include/grpc/support/log_windows.h
2946  include/grpc/support/port_platform.h
2947  include/grpc/support/string_util.h
2948  include/grpc/support/sync.h
2949  include/grpc/support/sync_custom.h
2950  include/grpc/support/sync_generic.h
2951  include/grpc/support/sync_posix.h
2952  include/grpc/support/sync_windows.h
2953  include/grpc/support/thd_id.h
2954  include/grpc/support/time.h
2955  include/grpc/impl/codegen/atm.h
2956  include/grpc/impl/codegen/atm_gcc_atomic.h
2957  include/grpc/impl/codegen/atm_gcc_sync.h
2958  include/grpc/impl/codegen/atm_windows.h
2959  include/grpc/impl/codegen/fork.h
2960  include/grpc/impl/codegen/gpr_slice.h
2961  include/grpc/impl/codegen/gpr_types.h
2962  include/grpc/impl/codegen/log.h
2963  include/grpc/impl/codegen/port_platform.h
2964  include/grpc/impl/codegen/sync.h
2965  include/grpc/impl/codegen/sync_custom.h
2966  include/grpc/impl/codegen/sync_generic.h
2967  include/grpc/impl/codegen/sync_posix.h
2968  include/grpc/impl/codegen/sync_windows.h
2969  include/grpc/byte_buffer.h
2970  include/grpc/byte_buffer_reader.h
2971  include/grpc/compression.h
2972  include/grpc/fork.h
2973  include/grpc/grpc.h
2974  include/grpc/grpc_posix.h
2975  include/grpc/grpc_security_constants.h
2976  include/grpc/load_reporting.h
2977  include/grpc/slice.h
2978  include/grpc/slice_buffer.h
2979  include/grpc/status.h
2980  include/grpc/support/workaround_list.h
2981  include/grpc/impl/codegen/byte_buffer.h
2982  include/grpc/impl/codegen/byte_buffer_reader.h
2983  include/grpc/impl/codegen/compression_types.h
2984  include/grpc/impl/codegen/connectivity_state.h
2985  include/grpc/impl/codegen/grpc_types.h
2986  include/grpc/impl/codegen/propagation_bits.h
2987  include/grpc/impl/codegen/slice.h
2988  include/grpc/impl/codegen/status.h
2989  include/grpc++/impl/codegen/async_stream.h
2990  include/grpc++/impl/codegen/async_unary_call.h
2991  include/grpc++/impl/codegen/byte_buffer.h
2992  include/grpc++/impl/codegen/call.h
2993  include/grpc++/impl/codegen/call_hook.h
2994  include/grpc++/impl/codegen/channel_interface.h
2995  include/grpc++/impl/codegen/client_context.h
2996  include/grpc++/impl/codegen/client_unary_call.h
2997  include/grpc++/impl/codegen/completion_queue.h
2998  include/grpc++/impl/codegen/completion_queue_tag.h
2999  include/grpc++/impl/codegen/config.h
3000  include/grpc++/impl/codegen/core_codegen_interface.h
3001  include/grpc++/impl/codegen/create_auth_context.h
3002  include/grpc++/impl/codegen/grpc_library.h
3003  include/grpc++/impl/codegen/metadata_map.h
3004  include/grpc++/impl/codegen/method_handler_impl.h
3005  include/grpc++/impl/codegen/rpc_method.h
3006  include/grpc++/impl/codegen/rpc_service_method.h
3007  include/grpc++/impl/codegen/security/auth_context.h
3008  include/grpc++/impl/codegen/serialization_traits.h
3009  include/grpc++/impl/codegen/server_context.h
3010  include/grpc++/impl/codegen/server_interface.h
3011  include/grpc++/impl/codegen/service_type.h
3012  include/grpc++/impl/codegen/slice.h
3013  include/grpc++/impl/codegen/status.h
3014  include/grpc++/impl/codegen/status_code_enum.h
3015  include/grpc++/impl/codegen/string_ref.h
3016  include/grpc++/impl/codegen/stub_options.h
3017  include/grpc++/impl/codegen/sync_stream.h
3018  include/grpc++/impl/codegen/time.h
3019  include/grpcpp/impl/codegen/async_generic_service.h
3020  include/grpcpp/impl/codegen/async_stream.h
3021  include/grpcpp/impl/codegen/async_unary_call.h
3022  include/grpcpp/impl/codegen/byte_buffer.h
3023  include/grpcpp/impl/codegen/call.h
3024  include/grpcpp/impl/codegen/call_hook.h
3025  include/grpcpp/impl/codegen/callback_common.h
3026  include/grpcpp/impl/codegen/channel_interface.h
3027  include/grpcpp/impl/codegen/client_callback.h
3028  include/grpcpp/impl/codegen/client_context.h
3029  include/grpcpp/impl/codegen/client_unary_call.h
3030  include/grpcpp/impl/codegen/completion_queue.h
3031  include/grpcpp/impl/codegen/completion_queue_tag.h
3032  include/grpcpp/impl/codegen/config.h
3033  include/grpcpp/impl/codegen/core_codegen_interface.h
3034  include/grpcpp/impl/codegen/create_auth_context.h
3035  include/grpcpp/impl/codegen/grpc_library.h
3036  include/grpcpp/impl/codegen/metadata_map.h
3037  include/grpcpp/impl/codegen/method_handler_impl.h
3038  include/grpcpp/impl/codegen/rpc_method.h
3039  include/grpcpp/impl/codegen/rpc_service_method.h
3040  include/grpcpp/impl/codegen/security/auth_context.h
3041  include/grpcpp/impl/codegen/serialization_traits.h
3042  include/grpcpp/impl/codegen/server_context.h
3043  include/grpcpp/impl/codegen/server_interface.h
3044  include/grpcpp/impl/codegen/service_type.h
3045  include/grpcpp/impl/codegen/slice.h
3046  include/grpcpp/impl/codegen/status.h
3047  include/grpcpp/impl/codegen/status_code_enum.h
3048  include/grpcpp/impl/codegen/string_ref.h
3049  include/grpcpp/impl/codegen/stub_options.h
3050  include/grpcpp/impl/codegen/sync_stream.h
3051  include/grpcpp/impl/codegen/time.h
3052  include/grpc++/impl/codegen/proto_utils.h
3053  include/grpcpp/impl/codegen/proto_buffer_reader.h
3054  include/grpcpp/impl/codegen/proto_buffer_writer.h
3055  include/grpcpp/impl/codegen/proto_utils.h
3056  include/grpc++/impl/codegen/config_protobuf.h
3057  include/grpcpp/impl/codegen/config_protobuf.h
3058)
3059  string(REPLACE "include/" "" _path ${_hdr})
3060  get_filename_component(_path ${_path} PATH)
3061  install(FILES ${_hdr}
3062    DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}"
3063  )
3064endforeach()
3065
3066
3067if (gRPC_INSTALL)
3068  install(TARGETS grpc++ EXPORT gRPCTargets
3069    RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR}
3070    LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR}
3071    ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
3072  )
3073endif()
3074
3075if (gRPC_BUILD_TESTS)
3076
3077if (gRPC_BUILD_CODEGEN)
3078add_library(grpc++_core_stats
3079  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.pb.cc
3080  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.grpc.pb.cc
3081  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.pb.h
3082  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.grpc.pb.h
3083  src/cpp/util/core_stats.cc
3084)
3085
3086if(WIN32 AND MSVC)
3087  set_target_properties(grpc++_core_stats PROPERTIES COMPILE_PDB_NAME "grpc++_core_stats"
3088    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
3089  )
3090  if (gRPC_INSTALL)
3091    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_core_stats.pdb
3092      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
3093    )
3094  endif()
3095endif()
3096
3097protobuf_generate_grpc_cpp(
3098  src/proto/grpc/core/stats.proto
3099)
3100
3101target_include_directories(grpc++_core_stats
3102  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
3103  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
3104  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
3105  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
3106  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
3107  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
3108  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
3109  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
3110  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
3111  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
3112  PRIVATE third_party/googletest/googletest/include
3113  PRIVATE third_party/googletest/googletest
3114  PRIVATE third_party/googletest/googlemock/include
3115  PRIVATE third_party/googletest/googlemock
3116  PRIVATE ${_gRPC_PROTO_GENS_DIR}
3117)
3118
3119target_link_libraries(grpc++_core_stats
3120  ${_gRPC_PROTOBUF_LIBRARIES}
3121  ${_gRPC_ALLTARGETS_LIBRARIES}
3122  grpc++
3123)
3124
3125endif (gRPC_BUILD_CODEGEN)
3126
3127endif (gRPC_BUILD_TESTS)
3128
3129add_library(grpc++_cronet
3130  src/cpp/client/cronet_credentials.cc
3131  src/cpp/client/insecure_credentials.cc
3132  src/cpp/common/insecure_create_auth_context.cc
3133  src/cpp/server/insecure_server_credentials.cc
3134  src/cpp/client/channel_cc.cc
3135  src/cpp/client/client_context.cc
3136  src/cpp/client/create_channel.cc
3137  src/cpp/client/create_channel_internal.cc
3138  src/cpp/client/create_channel_posix.cc
3139  src/cpp/client/credentials_cc.cc
3140  src/cpp/client/generic_stub.cc
3141  src/cpp/common/alarm.cc
3142  src/cpp/common/channel_arguments.cc
3143  src/cpp/common/channel_filter.cc
3144  src/cpp/common/completion_queue_cc.cc
3145  src/cpp/common/core_codegen.cc
3146  src/cpp/common/resource_quota_cc.cc
3147  src/cpp/common/rpc_method.cc
3148  src/cpp/common/version_cc.cc
3149  src/cpp/server/async_generic_service.cc
3150  src/cpp/server/channel_argument_option.cc
3151  src/cpp/server/create_default_thread_pool.cc
3152  src/cpp/server/dynamic_thread_pool.cc
3153  src/cpp/server/health/default_health_check_service.cc
3154  src/cpp/server/health/health.pb.c
3155  src/cpp/server/health/health_check_service.cc
3156  src/cpp/server/health/health_check_service_server_builder_option.cc
3157  src/cpp/server/server_builder.cc
3158  src/cpp/server/server_cc.cc
3159  src/cpp/server/server_context.cc
3160  src/cpp/server/server_credentials.cc
3161  src/cpp/server/server_posix.cc
3162  src/cpp/thread_manager/thread_manager.cc
3163  src/cpp/util/byte_buffer_cc.cc
3164  src/cpp/util/status.cc
3165  src/cpp/util/string_ref.cc
3166  src/cpp/util/time_cc.cc
3167  src/cpp/codegen/codegen_init.cc
3168  src/core/ext/transport/chttp2/client/insecure/channel_create.cc
3169  src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc
3170  src/core/ext/transport/chttp2/client/authority.cc
3171  src/core/ext/transport/chttp2/client/chttp2_connector.cc
3172  src/core/ext/transport/chttp2/transport/bin_decoder.cc
3173  src/core/ext/transport/chttp2/transport/bin_encoder.cc
3174  src/core/ext/transport/chttp2/transport/chttp2_plugin.cc
3175  src/core/ext/transport/chttp2/transport/chttp2_transport.cc
3176  src/core/ext/transport/chttp2/transport/flow_control.cc
3177  src/core/ext/transport/chttp2/transport/frame_data.cc
3178  src/core/ext/transport/chttp2/transport/frame_goaway.cc
3179  src/core/ext/transport/chttp2/transport/frame_ping.cc
3180  src/core/ext/transport/chttp2/transport/frame_rst_stream.cc
3181  src/core/ext/transport/chttp2/transport/frame_settings.cc
3182  src/core/ext/transport/chttp2/transport/frame_window_update.cc
3183  src/core/ext/transport/chttp2/transport/hpack_encoder.cc
3184  src/core/ext/transport/chttp2/transport/hpack_mapping.cc
3185  src/core/ext/transport/chttp2/transport/hpack_parser.cc
3186  src/core/ext/transport/chttp2/transport/hpack_table.cc
3187  src/core/ext/transport/chttp2/transport/http2_settings.cc
3188  src/core/ext/transport/chttp2/transport/huffsyms.cc
3189  src/core/ext/transport/chttp2/transport/incoming_metadata.cc
3190  src/core/ext/transport/chttp2/transport/parsing.cc
3191  src/core/ext/transport/chttp2/transport/stream_lists.cc
3192  src/core/ext/transport/chttp2/transport/stream_map.cc
3193  src/core/ext/transport/chttp2/transport/varint.cc
3194  src/core/ext/transport/chttp2/transport/writing.cc
3195  src/core/lib/avl/avl.cc
3196  src/core/lib/backoff/backoff.cc
3197  src/core/lib/channel/channel_args.cc
3198  src/core/lib/channel/channel_stack.cc
3199  src/core/lib/channel/channel_stack_builder.cc
3200  src/core/lib/channel/channel_trace.cc
3201  src/core/lib/channel/channelz.cc
3202  src/core/lib/channel/channelz_registry.cc
3203  src/core/lib/channel/connected_channel.cc
3204  src/core/lib/channel/handshaker.cc
3205  src/core/lib/channel/handshaker_factory.cc
3206  src/core/lib/channel/handshaker_registry.cc
3207  src/core/lib/channel/status_util.cc
3208  src/core/lib/compression/compression.cc
3209  src/core/lib/compression/compression_internal.cc
3210  src/core/lib/compression/message_compress.cc
3211  src/core/lib/compression/stream_compression.cc
3212  src/core/lib/compression/stream_compression_gzip.cc
3213  src/core/lib/compression/stream_compression_identity.cc
3214  src/core/lib/debug/stats.cc
3215  src/core/lib/debug/stats_data.cc
3216  src/core/lib/http/format_request.cc
3217  src/core/lib/http/httpcli.cc
3218  src/core/lib/http/parser.cc
3219  src/core/lib/iomgr/buffer_list.cc
3220  src/core/lib/iomgr/call_combiner.cc
3221  src/core/lib/iomgr/combiner.cc
3222  src/core/lib/iomgr/endpoint.cc
3223  src/core/lib/iomgr/endpoint_pair_posix.cc
3224  src/core/lib/iomgr/endpoint_pair_uv.cc
3225  src/core/lib/iomgr/endpoint_pair_windows.cc
3226  src/core/lib/iomgr/error.cc
3227  src/core/lib/iomgr/ev_epoll1_linux.cc
3228  src/core/lib/iomgr/ev_epollex_linux.cc
3229  src/core/lib/iomgr/ev_epollsig_linux.cc
3230  src/core/lib/iomgr/ev_poll_posix.cc
3231  src/core/lib/iomgr/ev_posix.cc
3232  src/core/lib/iomgr/ev_windows.cc
3233  src/core/lib/iomgr/exec_ctx.cc
3234  src/core/lib/iomgr/executor.cc
3235  src/core/lib/iomgr/fork_posix.cc
3236  src/core/lib/iomgr/fork_windows.cc
3237  src/core/lib/iomgr/gethostname_fallback.cc
3238  src/core/lib/iomgr/gethostname_host_name_max.cc
3239  src/core/lib/iomgr/gethostname_sysconf.cc
3240  src/core/lib/iomgr/internal_errqueue.cc
3241  src/core/lib/iomgr/iocp_windows.cc
3242  src/core/lib/iomgr/iomgr.cc
3243  src/core/lib/iomgr/iomgr_custom.cc
3244  src/core/lib/iomgr/iomgr_internal.cc
3245  src/core/lib/iomgr/iomgr_posix.cc
3246  src/core/lib/iomgr/iomgr_uv.cc
3247  src/core/lib/iomgr/iomgr_windows.cc
3248  src/core/lib/iomgr/is_epollexclusive_available.cc
3249  src/core/lib/iomgr/load_file.cc
3250  src/core/lib/iomgr/lockfree_event.cc
3251  src/core/lib/iomgr/network_status_tracker.cc
3252  src/core/lib/iomgr/polling_entity.cc
3253  src/core/lib/iomgr/pollset.cc
3254  src/core/lib/iomgr/pollset_custom.cc
3255  src/core/lib/iomgr/pollset_set.cc
3256  src/core/lib/iomgr/pollset_set_custom.cc
3257  src/core/lib/iomgr/pollset_set_windows.cc
3258  src/core/lib/iomgr/pollset_uv.cc
3259  src/core/lib/iomgr/pollset_windows.cc
3260  src/core/lib/iomgr/resolve_address.cc
3261  src/core/lib/iomgr/resolve_address_custom.cc
3262  src/core/lib/iomgr/resolve_address_posix.cc
3263  src/core/lib/iomgr/resolve_address_windows.cc
3264  src/core/lib/iomgr/resource_quota.cc
3265  src/core/lib/iomgr/sockaddr_utils.cc
3266  src/core/lib/iomgr/socket_factory_posix.cc
3267  src/core/lib/iomgr/socket_mutator.cc
3268  src/core/lib/iomgr/socket_utils_common_posix.cc
3269  src/core/lib/iomgr/socket_utils_linux.cc
3270  src/core/lib/iomgr/socket_utils_posix.cc
3271  src/core/lib/iomgr/socket_utils_uv.cc
3272  src/core/lib/iomgr/socket_utils_windows.cc
3273  src/core/lib/iomgr/socket_windows.cc
3274  src/core/lib/iomgr/tcp_client.cc
3275  src/core/lib/iomgr/tcp_client_custom.cc
3276  src/core/lib/iomgr/tcp_client_posix.cc
3277  src/core/lib/iomgr/tcp_client_windows.cc
3278  src/core/lib/iomgr/tcp_custom.cc
3279  src/core/lib/iomgr/tcp_posix.cc
3280  src/core/lib/iomgr/tcp_server.cc
3281  src/core/lib/iomgr/tcp_server_custom.cc
3282  src/core/lib/iomgr/tcp_server_posix.cc
3283  src/core/lib/iomgr/tcp_server_utils_posix_common.cc
3284  src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc
3285  src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc
3286  src/core/lib/iomgr/tcp_server_windows.cc
3287  src/core/lib/iomgr/tcp_uv.cc
3288  src/core/lib/iomgr/tcp_windows.cc
3289  src/core/lib/iomgr/time_averaged_stats.cc
3290  src/core/lib/iomgr/timer.cc
3291  src/core/lib/iomgr/timer_custom.cc
3292  src/core/lib/iomgr/timer_generic.cc
3293  src/core/lib/iomgr/timer_heap.cc
3294  src/core/lib/iomgr/timer_manager.cc
3295  src/core/lib/iomgr/timer_uv.cc
3296  src/core/lib/iomgr/udp_server.cc
3297  src/core/lib/iomgr/unix_sockets_posix.cc
3298  src/core/lib/iomgr/unix_sockets_posix_noop.cc
3299  src/core/lib/iomgr/wakeup_fd_cv.cc
3300  src/core/lib/iomgr/wakeup_fd_eventfd.cc
3301  src/core/lib/iomgr/wakeup_fd_nospecial.cc
3302  src/core/lib/iomgr/wakeup_fd_pipe.cc
3303  src/core/lib/iomgr/wakeup_fd_posix.cc
3304  src/core/lib/json/json.cc
3305  src/core/lib/json/json_reader.cc
3306  src/core/lib/json/json_string.cc
3307  src/core/lib/json/json_writer.cc
3308  src/core/lib/slice/b64.cc
3309  src/core/lib/slice/percent_encoding.cc
3310  src/core/lib/slice/slice.cc
3311  src/core/lib/slice/slice_buffer.cc
3312  src/core/lib/slice/slice_intern.cc
3313  src/core/lib/slice/slice_string_helpers.cc
3314  src/core/lib/surface/api_trace.cc
3315  src/core/lib/surface/byte_buffer.cc
3316  src/core/lib/surface/byte_buffer_reader.cc
3317  src/core/lib/surface/call.cc
3318  src/core/lib/surface/call_details.cc
3319  src/core/lib/surface/call_log_batch.cc
3320  src/core/lib/surface/channel.cc
3321  src/core/lib/surface/channel_init.cc
3322  src/core/lib/surface/channel_ping.cc
3323  src/core/lib/surface/channel_stack_type.cc
3324  src/core/lib/surface/completion_queue.cc
3325  src/core/lib/surface/completion_queue_factory.cc
3326  src/core/lib/surface/event_string.cc
3327  src/core/lib/surface/lame_client.cc
3328  src/core/lib/surface/metadata_array.cc
3329  src/core/lib/surface/server.cc
3330  src/core/lib/surface/validate_metadata.cc
3331  src/core/lib/surface/version.cc
3332  src/core/lib/transport/bdp_estimator.cc
3333  src/core/lib/transport/byte_stream.cc
3334  src/core/lib/transport/connectivity_state.cc
3335  src/core/lib/transport/error_utils.cc
3336  src/core/lib/transport/metadata.cc
3337  src/core/lib/transport/metadata_batch.cc
3338  src/core/lib/transport/pid_controller.cc
3339  src/core/lib/transport/service_config.cc
3340  src/core/lib/transport/static_metadata.cc
3341  src/core/lib/transport/status_conversion.cc
3342  src/core/lib/transport/status_metadata.cc
3343  src/core/lib/transport/timeout_encoding.cc
3344  src/core/lib/transport/transport.cc
3345  src/core/lib/transport/transport_op_string.cc
3346  src/core/lib/debug/trace.cc
3347  src/core/ext/transport/chttp2/alpn/alpn.cc
3348  src/core/ext/filters/http/client/http_client_filter.cc
3349  src/core/ext/filters/http/http_filters_plugin.cc
3350  src/core/ext/filters/http/message_compress/message_compress_filter.cc
3351  src/core/ext/filters/http/server/http_server_filter.cc
3352  src/core/ext/filters/client_channel/backup_poller.cc
3353  src/core/ext/filters/client_channel/channel_connectivity.cc
3354  src/core/ext/filters/client_channel/client_channel.cc
3355  src/core/ext/filters/client_channel/client_channel_channelz.cc
3356  src/core/ext/filters/client_channel/client_channel_factory.cc
3357  src/core/ext/filters/client_channel/client_channel_plugin.cc
3358  src/core/ext/filters/client_channel/connector.cc
3359  src/core/ext/filters/client_channel/http_connect_handshaker.cc
3360  src/core/ext/filters/client_channel/http_proxy.cc
3361  src/core/ext/filters/client_channel/lb_policy.cc
3362  src/core/ext/filters/client_channel/lb_policy_factory.cc
3363  src/core/ext/filters/client_channel/lb_policy_registry.cc
3364  src/core/ext/filters/client_channel/method_params.cc
3365  src/core/ext/filters/client_channel/parse_address.cc
3366  src/core/ext/filters/client_channel/proxy_mapper.cc
3367  src/core/ext/filters/client_channel/proxy_mapper_registry.cc
3368  src/core/ext/filters/client_channel/resolver.cc
3369  src/core/ext/filters/client_channel/resolver_registry.cc
3370  src/core/ext/filters/client_channel/retry_throttle.cc
3371  src/core/ext/filters/client_channel/subchannel.cc
3372  src/core/ext/filters/client_channel/subchannel_index.cc
3373  src/core/ext/filters/client_channel/uri_parser.cc
3374  src/core/ext/filters/deadline/deadline_filter.cc
3375  src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc
3376  src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc
3377  src/core/ext/transport/chttp2/server/chttp2_server.cc
3378  src/core/ext/filters/census/grpc_context.cc
3379)
3380
3381if(WIN32 AND MSVC)
3382  set_target_properties(grpc++_cronet PROPERTIES COMPILE_PDB_NAME "grpc++_cronet"
3383    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
3384  )
3385  if (gRPC_INSTALL)
3386    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_cronet.pdb
3387      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
3388    )
3389  endif()
3390endif()
3391
3392
3393target_include_directories(grpc++_cronet
3394  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
3395  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
3396  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
3397  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
3398  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
3399  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
3400  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
3401  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
3402  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
3403  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
3404  PRIVATE ${_gRPC_PROTO_GENS_DIR}
3405)
3406
3407target_link_libraries(grpc++_cronet
3408  ${_gRPC_BASELIB_LIBRARIES}
3409  ${_gRPC_SSL_LIBRARIES}
3410  ${_gRPC_PROTOBUF_LIBRARIES}
3411  ${_gRPC_ALLTARGETS_LIBRARIES}
3412  gpr
3413  grpc_cronet
3414  grpc
3415)
3416
3417foreach(_hdr
3418  include/grpc++/alarm.h
3419  include/grpc++/channel.h
3420  include/grpc++/client_context.h
3421  include/grpc++/completion_queue.h
3422  include/grpc++/create_channel.h
3423  include/grpc++/create_channel_posix.h
3424  include/grpc++/ext/health_check_service_server_builder_option.h
3425  include/grpc++/generic/async_generic_service.h
3426  include/grpc++/generic/generic_stub.h
3427  include/grpc++/grpc++.h
3428  include/grpc++/health_check_service_interface.h
3429  include/grpc++/impl/call.h
3430  include/grpc++/impl/channel_argument_option.h
3431  include/grpc++/impl/client_unary_call.h
3432  include/grpc++/impl/codegen/core_codegen.h
3433  include/grpc++/impl/grpc_library.h
3434  include/grpc++/impl/method_handler_impl.h
3435  include/grpc++/impl/rpc_method.h
3436  include/grpc++/impl/rpc_service_method.h
3437  include/grpc++/impl/serialization_traits.h
3438  include/grpc++/impl/server_builder_option.h
3439  include/grpc++/impl/server_builder_plugin.h
3440  include/grpc++/impl/server_initializer.h
3441  include/grpc++/impl/service_type.h
3442  include/grpc++/resource_quota.h
3443  include/grpc++/security/auth_context.h
3444  include/grpc++/security/auth_metadata_processor.h
3445  include/grpc++/security/credentials.h
3446  include/grpc++/security/server_credentials.h
3447  include/grpc++/server.h
3448  include/grpc++/server_builder.h
3449  include/grpc++/server_context.h
3450  include/grpc++/server_posix.h
3451  include/grpc++/support/async_stream.h
3452  include/grpc++/support/async_unary_call.h
3453  include/grpc++/support/byte_buffer.h
3454  include/grpc++/support/channel_arguments.h
3455  include/grpc++/support/config.h
3456  include/grpc++/support/slice.h
3457  include/grpc++/support/status.h
3458  include/grpc++/support/status_code_enum.h
3459  include/grpc++/support/string_ref.h
3460  include/grpc++/support/stub_options.h
3461  include/grpc++/support/sync_stream.h
3462  include/grpc++/support/time.h
3463  include/grpcpp/alarm.h
3464  include/grpcpp/channel.h
3465  include/grpcpp/client_context.h
3466  include/grpcpp/completion_queue.h
3467  include/grpcpp/create_channel.h
3468  include/grpcpp/create_channel_posix.h
3469  include/grpcpp/ext/health_check_service_server_builder_option.h
3470  include/grpcpp/generic/async_generic_service.h
3471  include/grpcpp/generic/generic_stub.h
3472  include/grpcpp/grpcpp.h
3473  include/grpcpp/health_check_service_interface.h
3474  include/grpcpp/impl/call.h
3475  include/grpcpp/impl/channel_argument_option.h
3476  include/grpcpp/impl/client_unary_call.h
3477  include/grpcpp/impl/codegen/core_codegen.h
3478  include/grpcpp/impl/grpc_library.h
3479  include/grpcpp/impl/method_handler_impl.h
3480  include/grpcpp/impl/rpc_method.h
3481  include/grpcpp/impl/rpc_service_method.h
3482  include/grpcpp/impl/serialization_traits.h
3483  include/grpcpp/impl/server_builder_option.h
3484  include/grpcpp/impl/server_builder_plugin.h
3485  include/grpcpp/impl/server_initializer.h
3486  include/grpcpp/impl/service_type.h
3487  include/grpcpp/resource_quota.h
3488  include/grpcpp/security/auth_context.h
3489  include/grpcpp/security/auth_metadata_processor.h
3490  include/grpcpp/security/credentials.h
3491  include/grpcpp/security/server_credentials.h
3492  include/grpcpp/server.h
3493  include/grpcpp/server_builder.h
3494  include/grpcpp/server_context.h
3495  include/grpcpp/server_posix.h
3496  include/grpcpp/support/async_stream.h
3497  include/grpcpp/support/async_unary_call.h
3498  include/grpcpp/support/byte_buffer.h
3499  include/grpcpp/support/channel_arguments.h
3500  include/grpcpp/support/client_callback.h
3501  include/grpcpp/support/config.h
3502  include/grpcpp/support/proto_buffer_reader.h
3503  include/grpcpp/support/proto_buffer_writer.h
3504  include/grpcpp/support/slice.h
3505  include/grpcpp/support/status.h
3506  include/grpcpp/support/status_code_enum.h
3507  include/grpcpp/support/string_ref.h
3508  include/grpcpp/support/stub_options.h
3509  include/grpcpp/support/sync_stream.h
3510  include/grpcpp/support/time.h
3511  include/grpc/support/alloc.h
3512  include/grpc/support/atm.h
3513  include/grpc/support/atm_gcc_atomic.h
3514  include/grpc/support/atm_gcc_sync.h
3515  include/grpc/support/atm_windows.h
3516  include/grpc/support/cpu.h
3517  include/grpc/support/log.h
3518  include/grpc/support/log_windows.h
3519  include/grpc/support/port_platform.h
3520  include/grpc/support/string_util.h
3521  include/grpc/support/sync.h
3522  include/grpc/support/sync_custom.h
3523  include/grpc/support/sync_generic.h
3524  include/grpc/support/sync_posix.h
3525  include/grpc/support/sync_windows.h
3526  include/grpc/support/thd_id.h
3527  include/grpc/support/time.h
3528  include/grpc/impl/codegen/atm.h
3529  include/grpc/impl/codegen/atm_gcc_atomic.h
3530  include/grpc/impl/codegen/atm_gcc_sync.h
3531  include/grpc/impl/codegen/atm_windows.h
3532  include/grpc/impl/codegen/fork.h
3533  include/grpc/impl/codegen/gpr_slice.h
3534  include/grpc/impl/codegen/gpr_types.h
3535  include/grpc/impl/codegen/log.h
3536  include/grpc/impl/codegen/port_platform.h
3537  include/grpc/impl/codegen/sync.h
3538  include/grpc/impl/codegen/sync_custom.h
3539  include/grpc/impl/codegen/sync_generic.h
3540  include/grpc/impl/codegen/sync_posix.h
3541  include/grpc/impl/codegen/sync_windows.h
3542  include/grpc/byte_buffer.h
3543  include/grpc/byte_buffer_reader.h
3544  include/grpc/compression.h
3545  include/grpc/fork.h
3546  include/grpc/grpc.h
3547  include/grpc/grpc_posix.h
3548  include/grpc/grpc_security_constants.h
3549  include/grpc/load_reporting.h
3550  include/grpc/slice.h
3551  include/grpc/slice_buffer.h
3552  include/grpc/status.h
3553  include/grpc/support/workaround_list.h
3554  include/grpc/impl/codegen/byte_buffer.h
3555  include/grpc/impl/codegen/byte_buffer_reader.h
3556  include/grpc/impl/codegen/compression_types.h
3557  include/grpc/impl/codegen/connectivity_state.h
3558  include/grpc/impl/codegen/grpc_types.h
3559  include/grpc/impl/codegen/propagation_bits.h
3560  include/grpc/impl/codegen/slice.h
3561  include/grpc/impl/codegen/status.h
3562  include/grpc++/impl/codegen/async_stream.h
3563  include/grpc++/impl/codegen/async_unary_call.h
3564  include/grpc++/impl/codegen/byte_buffer.h
3565  include/grpc++/impl/codegen/call.h
3566  include/grpc++/impl/codegen/call_hook.h
3567  include/grpc++/impl/codegen/channel_interface.h
3568  include/grpc++/impl/codegen/client_context.h
3569  include/grpc++/impl/codegen/client_unary_call.h
3570  include/grpc++/impl/codegen/completion_queue.h
3571  include/grpc++/impl/codegen/completion_queue_tag.h
3572  include/grpc++/impl/codegen/config.h
3573  include/grpc++/impl/codegen/core_codegen_interface.h
3574  include/grpc++/impl/codegen/create_auth_context.h
3575  include/grpc++/impl/codegen/grpc_library.h
3576  include/grpc++/impl/codegen/metadata_map.h
3577  include/grpc++/impl/codegen/method_handler_impl.h
3578  include/grpc++/impl/codegen/rpc_method.h
3579  include/grpc++/impl/codegen/rpc_service_method.h
3580  include/grpc++/impl/codegen/security/auth_context.h
3581  include/grpc++/impl/codegen/serialization_traits.h
3582  include/grpc++/impl/codegen/server_context.h
3583  include/grpc++/impl/codegen/server_interface.h
3584  include/grpc++/impl/codegen/service_type.h
3585  include/grpc++/impl/codegen/slice.h
3586  include/grpc++/impl/codegen/status.h
3587  include/grpc++/impl/codegen/status_code_enum.h
3588  include/grpc++/impl/codegen/string_ref.h
3589  include/grpc++/impl/codegen/stub_options.h
3590  include/grpc++/impl/codegen/sync_stream.h
3591  include/grpc++/impl/codegen/time.h
3592  include/grpcpp/impl/codegen/async_generic_service.h
3593  include/grpcpp/impl/codegen/async_stream.h
3594  include/grpcpp/impl/codegen/async_unary_call.h
3595  include/grpcpp/impl/codegen/byte_buffer.h
3596  include/grpcpp/impl/codegen/call.h
3597  include/grpcpp/impl/codegen/call_hook.h
3598  include/grpcpp/impl/codegen/callback_common.h
3599  include/grpcpp/impl/codegen/channel_interface.h
3600  include/grpcpp/impl/codegen/client_callback.h
3601  include/grpcpp/impl/codegen/client_context.h
3602  include/grpcpp/impl/codegen/client_unary_call.h
3603  include/grpcpp/impl/codegen/completion_queue.h
3604  include/grpcpp/impl/codegen/completion_queue_tag.h
3605  include/grpcpp/impl/codegen/config.h
3606  include/grpcpp/impl/codegen/core_codegen_interface.h
3607  include/grpcpp/impl/codegen/create_auth_context.h
3608  include/grpcpp/impl/codegen/grpc_library.h
3609  include/grpcpp/impl/codegen/metadata_map.h
3610  include/grpcpp/impl/codegen/method_handler_impl.h
3611  include/grpcpp/impl/codegen/rpc_method.h
3612  include/grpcpp/impl/codegen/rpc_service_method.h
3613  include/grpcpp/impl/codegen/security/auth_context.h
3614  include/grpcpp/impl/codegen/serialization_traits.h
3615  include/grpcpp/impl/codegen/server_context.h
3616  include/grpcpp/impl/codegen/server_interface.h
3617  include/grpcpp/impl/codegen/service_type.h
3618  include/grpcpp/impl/codegen/slice.h
3619  include/grpcpp/impl/codegen/status.h
3620  include/grpcpp/impl/codegen/status_code_enum.h
3621  include/grpcpp/impl/codegen/string_ref.h
3622  include/grpcpp/impl/codegen/stub_options.h
3623  include/grpcpp/impl/codegen/sync_stream.h
3624  include/grpcpp/impl/codegen/time.h
3625  include/grpc/census.h
3626)
3627  string(REPLACE "include/" "" _path ${_hdr})
3628  get_filename_component(_path ${_path} PATH)
3629  install(FILES ${_hdr}
3630    DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}"
3631  )
3632endforeach()
3633
3634
3635if (gRPC_INSTALL)
3636  install(TARGETS grpc++_cronet EXPORT gRPCTargets
3637    RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR}
3638    LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR}
3639    ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
3640  )
3641endif()
3642
3643
3644if (gRPC_BUILD_CODEGEN)
3645add_library(grpc++_error_details
3646  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.cc
3647  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.cc
3648  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.h
3649  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.h
3650  src/cpp/util/error_details.cc
3651)
3652
3653if(WIN32 AND MSVC)
3654  set_target_properties(grpc++_error_details PROPERTIES COMPILE_PDB_NAME "grpc++_error_details"
3655    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
3656  )
3657  if (gRPC_INSTALL)
3658    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_error_details.pdb
3659      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
3660    )
3661  endif()
3662endif()
3663
3664protobuf_generate_grpc_cpp(
3665  src/proto/grpc/status/status.proto
3666)
3667
3668target_include_directories(grpc++_error_details
3669  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
3670  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
3671  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
3672  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
3673  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
3674  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
3675  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
3676  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
3677  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
3678  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
3679  PRIVATE ${_gRPC_PROTO_GENS_DIR}
3680)
3681
3682target_link_libraries(grpc++_error_details
3683  ${_gRPC_BASELIB_LIBRARIES}
3684  ${_gRPC_PROTOBUF_LIBRARIES}
3685  ${_gRPC_ALLTARGETS_LIBRARIES}
3686  grpc++
3687)
3688
3689foreach(_hdr
3690  include/grpc++/support/error_details.h
3691  include/grpcpp/support/error_details.h
3692)
3693  string(REPLACE "include/" "" _path ${_hdr})
3694  get_filename_component(_path ${_path} PATH)
3695  install(FILES ${_hdr}
3696    DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}"
3697  )
3698endforeach()
3699endif (gRPC_BUILD_CODEGEN)
3700
3701
3702if (gRPC_INSTALL)
3703  install(TARGETS grpc++_error_details EXPORT gRPCTargets
3704    RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR}
3705    LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR}
3706    ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
3707  )
3708endif()
3709
3710if (gRPC_BUILD_TESTS)
3711
3712if (gRPC_BUILD_CODEGEN)
3713add_library(grpc++_proto_reflection_desc_db
3714  test/cpp/util/proto_reflection_descriptor_database.cc
3715  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc
3716  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc
3717  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h
3718  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h
3719)
3720
3721if(WIN32 AND MSVC)
3722  set_target_properties(grpc++_proto_reflection_desc_db PROPERTIES COMPILE_PDB_NAME "grpc++_proto_reflection_desc_db"
3723    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
3724  )
3725  if (gRPC_INSTALL)
3726    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_proto_reflection_desc_db.pdb
3727      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
3728    )
3729  endif()
3730endif()
3731
3732protobuf_generate_grpc_cpp(
3733  src/proto/grpc/reflection/v1alpha/reflection.proto
3734)
3735
3736target_include_directories(grpc++_proto_reflection_desc_db
3737  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
3738  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
3739  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
3740  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
3741  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
3742  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
3743  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
3744  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
3745  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
3746  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
3747  PRIVATE third_party/googletest/googletest/include
3748  PRIVATE third_party/googletest/googletest
3749  PRIVATE third_party/googletest/googlemock/include
3750  PRIVATE third_party/googletest/googlemock
3751  PRIVATE ${_gRPC_PROTO_GENS_DIR}
3752)
3753
3754target_link_libraries(grpc++_proto_reflection_desc_db
3755  ${_gRPC_PROTOBUF_LIBRARIES}
3756  ${_gRPC_ALLTARGETS_LIBRARIES}
3757  grpc++
3758  grpc
3759)
3760
3761foreach(_hdr
3762  include/grpc++/impl/codegen/config_protobuf.h
3763  include/grpcpp/impl/codegen/config_protobuf.h
3764)
3765  string(REPLACE "include/" "" _path ${_hdr})
3766  get_filename_component(_path ${_path} PATH)
3767  install(FILES ${_hdr}
3768    DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}"
3769  )
3770endforeach()
3771endif (gRPC_BUILD_CODEGEN)
3772
3773endif (gRPC_BUILD_TESTS)
3774
3775if (gRPC_BUILD_CODEGEN)
3776add_library(grpc++_reflection
3777  src/cpp/ext/proto_server_reflection.cc
3778  src/cpp/ext/proto_server_reflection_plugin.cc
3779  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc
3780  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc
3781  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h
3782  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h
3783)
3784
3785if(WIN32 AND MSVC)
3786  set_target_properties(grpc++_reflection PROPERTIES COMPILE_PDB_NAME "grpc++_reflection"
3787    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
3788  )
3789  if (gRPC_INSTALL)
3790    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_reflection.pdb
3791      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
3792    )
3793  endif()
3794endif()
3795
3796protobuf_generate_grpc_cpp(
3797  src/proto/grpc/reflection/v1alpha/reflection.proto
3798)
3799
3800target_include_directories(grpc++_reflection
3801  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
3802  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
3803  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
3804  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
3805  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
3806  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
3807  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
3808  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
3809  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
3810  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
3811  PRIVATE ${_gRPC_PROTO_GENS_DIR}
3812)
3813
3814target_link_libraries(grpc++_reflection
3815  ${_gRPC_PROTOBUF_LIBRARIES}
3816  ${_gRPC_ALLTARGETS_LIBRARIES}
3817  grpc++
3818  grpc
3819)
3820
3821foreach(_hdr
3822  include/grpc++/ext/proto_server_reflection_plugin.h
3823  include/grpcpp/ext/proto_server_reflection_plugin.h
3824)
3825  string(REPLACE "include/" "" _path ${_hdr})
3826  get_filename_component(_path ${_path} PATH)
3827  install(FILES ${_hdr}
3828    DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}"
3829  )
3830endforeach()
3831endif (gRPC_BUILD_CODEGEN)
3832
3833
3834if (gRPC_INSTALL)
3835  install(TARGETS grpc++_reflection EXPORT gRPCTargets
3836    RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR}
3837    LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR}
3838    ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
3839  )
3840endif()
3841
3842if (gRPC_BUILD_TESTS)
3843
3844add_library(grpc++_test_config
3845  test/cpp/util/test_config_cc.cc
3846)
3847
3848if(WIN32 AND MSVC)
3849  set_target_properties(grpc++_test_config PROPERTIES COMPILE_PDB_NAME "grpc++_test_config"
3850    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
3851  )
3852  if (gRPC_INSTALL)
3853    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_config.pdb
3854      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
3855    )
3856  endif()
3857endif()
3858
3859
3860target_include_directories(grpc++_test_config
3861  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
3862  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
3863  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
3864  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
3865  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
3866  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
3867  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
3868  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
3869  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
3870  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
3871  PRIVATE third_party/googletest/googletest/include
3872  PRIVATE third_party/googletest/googletest
3873  PRIVATE third_party/googletest/googlemock/include
3874  PRIVATE third_party/googletest/googlemock
3875  PRIVATE ${_gRPC_PROTO_GENS_DIR}
3876)
3877
3878target_link_libraries(grpc++_test_config
3879  ${_gRPC_PROTOBUF_LIBRARIES}
3880  ${_gRPC_ALLTARGETS_LIBRARIES}
3881)
3882
3883
3884endif (gRPC_BUILD_TESTS)
3885if (gRPC_BUILD_TESTS)
3886
3887if (gRPC_BUILD_CODEGEN)
3888add_library(grpc++_test_util
3889  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.cc
3890  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.cc
3891  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.h
3892  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.h
3893  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc
3894  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc
3895  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h
3896  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.h
3897  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc
3898  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc
3899  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h
3900  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h
3901  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc
3902  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc
3903  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h
3904  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h
3905  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_mock.grpc.pb.h
3906  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc
3907  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc
3908  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h
3909  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h
3910  test/cpp/end2end/test_service_impl.cc
3911  test/cpp/util/byte_buffer_proto_helper.cc
3912  test/cpp/util/channel_trace_proto_helper.cc
3913  test/cpp/util/create_test_channel.cc
3914  test/cpp/util/string_ref_helper.cc
3915  test/cpp/util/subprocess.cc
3916  test/cpp/util/test_credentials_provider.cc
3917  src/cpp/codegen/codegen_init.cc
3918)
3919
3920if(WIN32 AND MSVC)
3921  set_target_properties(grpc++_test_util PROPERTIES COMPILE_PDB_NAME "grpc++_test_util"
3922    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
3923  )
3924  if (gRPC_INSTALL)
3925    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util.pdb
3926      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
3927    )
3928  endif()
3929endif()
3930
3931protobuf_generate_grpc_cpp(
3932  src/proto/grpc/channelz/channelz.proto
3933)
3934protobuf_generate_grpc_cpp(
3935  src/proto/grpc/health/v1/health.proto
3936)
3937protobuf_generate_grpc_cpp(
3938  src/proto/grpc/testing/echo_messages.proto
3939)
3940protobuf_generate_grpc_cpp(
3941  src/proto/grpc/testing/echo.proto
3942)
3943protobuf_generate_grpc_cpp(
3944  src/proto/grpc/testing/duplicate/echo_duplicate.proto
3945)
3946
3947target_include_directories(grpc++_test_util
3948  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
3949  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
3950  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
3951  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
3952  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
3953  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
3954  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
3955  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
3956  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
3957  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
3958  PRIVATE third_party/googletest/googletest/include
3959  PRIVATE third_party/googletest/googletest
3960  PRIVATE third_party/googletest/googlemock/include
3961  PRIVATE third_party/googletest/googlemock
3962  PRIVATE ${_gRPC_PROTO_GENS_DIR}
3963)
3964
3965target_link_libraries(grpc++_test_util
3966  ${_gRPC_PROTOBUF_LIBRARIES}
3967  ${_gRPC_ALLTARGETS_LIBRARIES}
3968  grpc++
3969  grpc_test_util
3970  grpc
3971)
3972
3973foreach(_hdr
3974  include/grpc++/impl/codegen/async_stream.h
3975  include/grpc++/impl/codegen/async_unary_call.h
3976  include/grpc++/impl/codegen/byte_buffer.h
3977  include/grpc++/impl/codegen/call.h
3978  include/grpc++/impl/codegen/call_hook.h
3979  include/grpc++/impl/codegen/channel_interface.h
3980  include/grpc++/impl/codegen/client_context.h
3981  include/grpc++/impl/codegen/client_unary_call.h
3982  include/grpc++/impl/codegen/completion_queue.h
3983  include/grpc++/impl/codegen/completion_queue_tag.h
3984  include/grpc++/impl/codegen/config.h
3985  include/grpc++/impl/codegen/core_codegen_interface.h
3986  include/grpc++/impl/codegen/create_auth_context.h
3987  include/grpc++/impl/codegen/grpc_library.h
3988  include/grpc++/impl/codegen/metadata_map.h
3989  include/grpc++/impl/codegen/method_handler_impl.h
3990  include/grpc++/impl/codegen/rpc_method.h
3991  include/grpc++/impl/codegen/rpc_service_method.h
3992  include/grpc++/impl/codegen/security/auth_context.h
3993  include/grpc++/impl/codegen/serialization_traits.h
3994  include/grpc++/impl/codegen/server_context.h
3995  include/grpc++/impl/codegen/server_interface.h
3996  include/grpc++/impl/codegen/service_type.h
3997  include/grpc++/impl/codegen/slice.h
3998  include/grpc++/impl/codegen/status.h
3999  include/grpc++/impl/codegen/status_code_enum.h
4000  include/grpc++/impl/codegen/string_ref.h
4001  include/grpc++/impl/codegen/stub_options.h
4002  include/grpc++/impl/codegen/sync_stream.h
4003  include/grpc++/impl/codegen/time.h
4004  include/grpcpp/impl/codegen/async_generic_service.h
4005  include/grpcpp/impl/codegen/async_stream.h
4006  include/grpcpp/impl/codegen/async_unary_call.h
4007  include/grpcpp/impl/codegen/byte_buffer.h
4008  include/grpcpp/impl/codegen/call.h
4009  include/grpcpp/impl/codegen/call_hook.h
4010  include/grpcpp/impl/codegen/callback_common.h
4011  include/grpcpp/impl/codegen/channel_interface.h
4012  include/grpcpp/impl/codegen/client_callback.h
4013  include/grpcpp/impl/codegen/client_context.h
4014  include/grpcpp/impl/codegen/client_unary_call.h
4015  include/grpcpp/impl/codegen/completion_queue.h
4016  include/grpcpp/impl/codegen/completion_queue_tag.h
4017  include/grpcpp/impl/codegen/config.h
4018  include/grpcpp/impl/codegen/core_codegen_interface.h
4019  include/grpcpp/impl/codegen/create_auth_context.h
4020  include/grpcpp/impl/codegen/grpc_library.h
4021  include/grpcpp/impl/codegen/metadata_map.h
4022  include/grpcpp/impl/codegen/method_handler_impl.h
4023  include/grpcpp/impl/codegen/rpc_method.h
4024  include/grpcpp/impl/codegen/rpc_service_method.h
4025  include/grpcpp/impl/codegen/security/auth_context.h
4026  include/grpcpp/impl/codegen/serialization_traits.h
4027  include/grpcpp/impl/codegen/server_context.h
4028  include/grpcpp/impl/codegen/server_interface.h
4029  include/grpcpp/impl/codegen/service_type.h
4030  include/grpcpp/impl/codegen/slice.h
4031  include/grpcpp/impl/codegen/status.h
4032  include/grpcpp/impl/codegen/status_code_enum.h
4033  include/grpcpp/impl/codegen/string_ref.h
4034  include/grpcpp/impl/codegen/stub_options.h
4035  include/grpcpp/impl/codegen/sync_stream.h
4036  include/grpcpp/impl/codegen/time.h
4037  include/grpc/impl/codegen/byte_buffer.h
4038  include/grpc/impl/codegen/byte_buffer_reader.h
4039  include/grpc/impl/codegen/compression_types.h
4040  include/grpc/impl/codegen/connectivity_state.h
4041  include/grpc/impl/codegen/grpc_types.h
4042  include/grpc/impl/codegen/propagation_bits.h
4043  include/grpc/impl/codegen/slice.h
4044  include/grpc/impl/codegen/status.h
4045  include/grpc/impl/codegen/atm.h
4046  include/grpc/impl/codegen/atm_gcc_atomic.h
4047  include/grpc/impl/codegen/atm_gcc_sync.h
4048  include/grpc/impl/codegen/atm_windows.h
4049  include/grpc/impl/codegen/fork.h
4050  include/grpc/impl/codegen/gpr_slice.h
4051  include/grpc/impl/codegen/gpr_types.h
4052  include/grpc/impl/codegen/log.h
4053  include/grpc/impl/codegen/port_platform.h
4054  include/grpc/impl/codegen/sync.h
4055  include/grpc/impl/codegen/sync_custom.h
4056  include/grpc/impl/codegen/sync_generic.h
4057  include/grpc/impl/codegen/sync_posix.h
4058  include/grpc/impl/codegen/sync_windows.h
4059  include/grpc++/impl/codegen/proto_utils.h
4060  include/grpcpp/impl/codegen/proto_buffer_reader.h
4061  include/grpcpp/impl/codegen/proto_buffer_writer.h
4062  include/grpcpp/impl/codegen/proto_utils.h
4063  include/grpc++/impl/codegen/config_protobuf.h
4064  include/grpcpp/impl/codegen/config_protobuf.h
4065)
4066  string(REPLACE "include/" "" _path ${_hdr})
4067  get_filename_component(_path ${_path} PATH)
4068  install(FILES ${_hdr}
4069    DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}"
4070  )
4071endforeach()
4072endif (gRPC_BUILD_CODEGEN)
4073
4074endif (gRPC_BUILD_TESTS)
4075if (gRPC_BUILD_TESTS)
4076
4077if (gRPC_BUILD_CODEGEN)
4078add_library(grpc++_test_util_unsecure
4079  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc
4080  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc
4081  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h
4082  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.h
4083  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc
4084  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc
4085  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h
4086  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h
4087  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc
4088  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc
4089  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h
4090  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h
4091  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_mock.grpc.pb.h
4092  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc
4093  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc
4094  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h
4095  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h
4096  test/cpp/end2end/test_service_impl.cc
4097  test/cpp/util/byte_buffer_proto_helper.cc
4098  test/cpp/util/string_ref_helper.cc
4099  test/cpp/util/subprocess.cc
4100  src/cpp/codegen/codegen_init.cc
4101)
4102
4103if(WIN32 AND MSVC)
4104  set_target_properties(grpc++_test_util_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_test_util_unsecure"
4105    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
4106  )
4107  if (gRPC_INSTALL)
4108    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util_unsecure.pdb
4109      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
4110    )
4111  endif()
4112endif()
4113
4114protobuf_generate_grpc_cpp(
4115  src/proto/grpc/health/v1/health.proto
4116)
4117protobuf_generate_grpc_cpp(
4118  src/proto/grpc/testing/echo_messages.proto
4119)
4120protobuf_generate_grpc_cpp(
4121  src/proto/grpc/testing/echo.proto
4122)
4123protobuf_generate_grpc_cpp(
4124  src/proto/grpc/testing/duplicate/echo_duplicate.proto
4125)
4126
4127target_include_directories(grpc++_test_util_unsecure
4128  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
4129  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
4130  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
4131  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
4132  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
4133  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
4134  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
4135  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
4136  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
4137  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
4138  PRIVATE third_party/googletest/googletest/include
4139  PRIVATE third_party/googletest/googletest
4140  PRIVATE third_party/googletest/googlemock/include
4141  PRIVATE third_party/googletest/googlemock
4142  PRIVATE ${_gRPC_PROTO_GENS_DIR}
4143)
4144
4145target_link_libraries(grpc++_test_util_unsecure
4146  ${_gRPC_PROTOBUF_LIBRARIES}
4147  ${_gRPC_ALLTARGETS_LIBRARIES}
4148  grpc++_unsecure
4149  grpc_test_util_unsecure
4150  grpc_unsecure
4151)
4152
4153foreach(_hdr
4154  include/grpc++/impl/codegen/async_stream.h
4155  include/grpc++/impl/codegen/async_unary_call.h
4156  include/grpc++/impl/codegen/byte_buffer.h
4157  include/grpc++/impl/codegen/call.h
4158  include/grpc++/impl/codegen/call_hook.h
4159  include/grpc++/impl/codegen/channel_interface.h
4160  include/grpc++/impl/codegen/client_context.h
4161  include/grpc++/impl/codegen/client_unary_call.h
4162  include/grpc++/impl/codegen/completion_queue.h
4163  include/grpc++/impl/codegen/completion_queue_tag.h
4164  include/grpc++/impl/codegen/config.h
4165  include/grpc++/impl/codegen/core_codegen_interface.h
4166  include/grpc++/impl/codegen/create_auth_context.h
4167  include/grpc++/impl/codegen/grpc_library.h
4168  include/grpc++/impl/codegen/metadata_map.h
4169  include/grpc++/impl/codegen/method_handler_impl.h
4170  include/grpc++/impl/codegen/rpc_method.h
4171  include/grpc++/impl/codegen/rpc_service_method.h
4172  include/grpc++/impl/codegen/security/auth_context.h
4173  include/grpc++/impl/codegen/serialization_traits.h
4174  include/grpc++/impl/codegen/server_context.h
4175  include/grpc++/impl/codegen/server_interface.h
4176  include/grpc++/impl/codegen/service_type.h
4177  include/grpc++/impl/codegen/slice.h
4178  include/grpc++/impl/codegen/status.h
4179  include/grpc++/impl/codegen/status_code_enum.h
4180  include/grpc++/impl/codegen/string_ref.h
4181  include/grpc++/impl/codegen/stub_options.h
4182  include/grpc++/impl/codegen/sync_stream.h
4183  include/grpc++/impl/codegen/time.h
4184  include/grpcpp/impl/codegen/async_generic_service.h
4185  include/grpcpp/impl/codegen/async_stream.h
4186  include/grpcpp/impl/codegen/async_unary_call.h
4187  include/grpcpp/impl/codegen/byte_buffer.h
4188  include/grpcpp/impl/codegen/call.h
4189  include/grpcpp/impl/codegen/call_hook.h
4190  include/grpcpp/impl/codegen/callback_common.h
4191  include/grpcpp/impl/codegen/channel_interface.h
4192  include/grpcpp/impl/codegen/client_callback.h
4193  include/grpcpp/impl/codegen/client_context.h
4194  include/grpcpp/impl/codegen/client_unary_call.h
4195  include/grpcpp/impl/codegen/completion_queue.h
4196  include/grpcpp/impl/codegen/completion_queue_tag.h
4197  include/grpcpp/impl/codegen/config.h
4198  include/grpcpp/impl/codegen/core_codegen_interface.h
4199  include/grpcpp/impl/codegen/create_auth_context.h
4200  include/grpcpp/impl/codegen/grpc_library.h
4201  include/grpcpp/impl/codegen/metadata_map.h
4202  include/grpcpp/impl/codegen/method_handler_impl.h
4203  include/grpcpp/impl/codegen/rpc_method.h
4204  include/grpcpp/impl/codegen/rpc_service_method.h
4205  include/grpcpp/impl/codegen/security/auth_context.h
4206  include/grpcpp/impl/codegen/serialization_traits.h
4207  include/grpcpp/impl/codegen/server_context.h
4208  include/grpcpp/impl/codegen/server_interface.h
4209  include/grpcpp/impl/codegen/service_type.h
4210  include/grpcpp/impl/codegen/slice.h
4211  include/grpcpp/impl/codegen/status.h
4212  include/grpcpp/impl/codegen/status_code_enum.h
4213  include/grpcpp/impl/codegen/string_ref.h
4214  include/grpcpp/impl/codegen/stub_options.h
4215  include/grpcpp/impl/codegen/sync_stream.h
4216  include/grpcpp/impl/codegen/time.h
4217  include/grpc/impl/codegen/byte_buffer.h
4218  include/grpc/impl/codegen/byte_buffer_reader.h
4219  include/grpc/impl/codegen/compression_types.h
4220  include/grpc/impl/codegen/connectivity_state.h
4221  include/grpc/impl/codegen/grpc_types.h
4222  include/grpc/impl/codegen/propagation_bits.h
4223  include/grpc/impl/codegen/slice.h
4224  include/grpc/impl/codegen/status.h
4225  include/grpc/impl/codegen/atm.h
4226  include/grpc/impl/codegen/atm_gcc_atomic.h
4227  include/grpc/impl/codegen/atm_gcc_sync.h
4228  include/grpc/impl/codegen/atm_windows.h
4229  include/grpc/impl/codegen/fork.h
4230  include/grpc/impl/codegen/gpr_slice.h
4231  include/grpc/impl/codegen/gpr_types.h
4232  include/grpc/impl/codegen/log.h
4233  include/grpc/impl/codegen/port_platform.h
4234  include/grpc/impl/codegen/sync.h
4235  include/grpc/impl/codegen/sync_custom.h
4236  include/grpc/impl/codegen/sync_generic.h
4237  include/grpc/impl/codegen/sync_posix.h
4238  include/grpc/impl/codegen/sync_windows.h
4239  include/grpc++/impl/codegen/proto_utils.h
4240  include/grpcpp/impl/codegen/proto_buffer_reader.h
4241  include/grpcpp/impl/codegen/proto_buffer_writer.h
4242  include/grpcpp/impl/codegen/proto_utils.h
4243  include/grpc++/impl/codegen/config_protobuf.h
4244  include/grpcpp/impl/codegen/config_protobuf.h
4245)
4246  string(REPLACE "include/" "" _path ${_hdr})
4247  get_filename_component(_path ${_path} PATH)
4248  install(FILES ${_hdr}
4249    DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}"
4250  )
4251endforeach()
4252endif (gRPC_BUILD_CODEGEN)
4253
4254endif (gRPC_BUILD_TESTS)
4255
4256add_library(grpc++_unsecure
4257  src/cpp/client/insecure_credentials.cc
4258  src/cpp/common/insecure_create_auth_context.cc
4259  src/cpp/server/insecure_server_credentials.cc
4260  src/cpp/client/channel_cc.cc
4261  src/cpp/client/client_context.cc
4262  src/cpp/client/create_channel.cc
4263  src/cpp/client/create_channel_internal.cc
4264  src/cpp/client/create_channel_posix.cc
4265  src/cpp/client/credentials_cc.cc
4266  src/cpp/client/generic_stub.cc
4267  src/cpp/common/alarm.cc
4268  src/cpp/common/channel_arguments.cc
4269  src/cpp/common/channel_filter.cc
4270  src/cpp/common/completion_queue_cc.cc
4271  src/cpp/common/core_codegen.cc
4272  src/cpp/common/resource_quota_cc.cc
4273  src/cpp/common/rpc_method.cc
4274  src/cpp/common/version_cc.cc
4275  src/cpp/server/async_generic_service.cc
4276  src/cpp/server/channel_argument_option.cc
4277  src/cpp/server/create_default_thread_pool.cc
4278  src/cpp/server/dynamic_thread_pool.cc
4279  src/cpp/server/health/default_health_check_service.cc
4280  src/cpp/server/health/health.pb.c
4281  src/cpp/server/health/health_check_service.cc
4282  src/cpp/server/health/health_check_service_server_builder_option.cc
4283  src/cpp/server/server_builder.cc
4284  src/cpp/server/server_cc.cc
4285  src/cpp/server/server_context.cc
4286  src/cpp/server/server_credentials.cc
4287  src/cpp/server/server_posix.cc
4288  src/cpp/thread_manager/thread_manager.cc
4289  src/cpp/util/byte_buffer_cc.cc
4290  src/cpp/util/status.cc
4291  src/cpp/util/string_ref.cc
4292  src/cpp/util/time_cc.cc
4293  src/cpp/codegen/codegen_init.cc
4294)
4295
4296if(WIN32 AND MSVC)
4297  set_target_properties(grpc++_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_unsecure"
4298    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
4299  )
4300  if (gRPC_INSTALL)
4301    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_unsecure.pdb
4302      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
4303    )
4304  endif()
4305endif()
4306
4307
4308target_include_directories(grpc++_unsecure
4309  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
4310  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
4311  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
4312  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
4313  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
4314  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
4315  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
4316  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
4317  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
4318  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
4319  PRIVATE ${_gRPC_PROTO_GENS_DIR}
4320)
4321
4322target_link_libraries(grpc++_unsecure
4323  ${_gRPC_BASELIB_LIBRARIES}
4324  ${_gRPC_PROTOBUF_LIBRARIES}
4325  ${_gRPC_ALLTARGETS_LIBRARIES}
4326  gpr
4327  grpc_unsecure
4328)
4329
4330foreach(_hdr
4331  include/grpc++/alarm.h
4332  include/grpc++/channel.h
4333  include/grpc++/client_context.h
4334  include/grpc++/completion_queue.h
4335  include/grpc++/create_channel.h
4336  include/grpc++/create_channel_posix.h
4337  include/grpc++/ext/health_check_service_server_builder_option.h
4338  include/grpc++/generic/async_generic_service.h
4339  include/grpc++/generic/generic_stub.h
4340  include/grpc++/grpc++.h
4341  include/grpc++/health_check_service_interface.h
4342  include/grpc++/impl/call.h
4343  include/grpc++/impl/channel_argument_option.h
4344  include/grpc++/impl/client_unary_call.h
4345  include/grpc++/impl/codegen/core_codegen.h
4346  include/grpc++/impl/grpc_library.h
4347  include/grpc++/impl/method_handler_impl.h
4348  include/grpc++/impl/rpc_method.h
4349  include/grpc++/impl/rpc_service_method.h
4350  include/grpc++/impl/serialization_traits.h
4351  include/grpc++/impl/server_builder_option.h
4352  include/grpc++/impl/server_builder_plugin.h
4353  include/grpc++/impl/server_initializer.h
4354  include/grpc++/impl/service_type.h
4355  include/grpc++/resource_quota.h
4356  include/grpc++/security/auth_context.h
4357  include/grpc++/security/auth_metadata_processor.h
4358  include/grpc++/security/credentials.h
4359  include/grpc++/security/server_credentials.h
4360  include/grpc++/server.h
4361  include/grpc++/server_builder.h
4362  include/grpc++/server_context.h
4363  include/grpc++/server_posix.h
4364  include/grpc++/support/async_stream.h
4365  include/grpc++/support/async_unary_call.h
4366  include/grpc++/support/byte_buffer.h
4367  include/grpc++/support/channel_arguments.h
4368  include/grpc++/support/config.h
4369  include/grpc++/support/slice.h
4370  include/grpc++/support/status.h
4371  include/grpc++/support/status_code_enum.h
4372  include/grpc++/support/string_ref.h
4373  include/grpc++/support/stub_options.h
4374  include/grpc++/support/sync_stream.h
4375  include/grpc++/support/time.h
4376  include/grpcpp/alarm.h
4377  include/grpcpp/channel.h
4378  include/grpcpp/client_context.h
4379  include/grpcpp/completion_queue.h
4380  include/grpcpp/create_channel.h
4381  include/grpcpp/create_channel_posix.h
4382  include/grpcpp/ext/health_check_service_server_builder_option.h
4383  include/grpcpp/generic/async_generic_service.h
4384  include/grpcpp/generic/generic_stub.h
4385  include/grpcpp/grpcpp.h
4386  include/grpcpp/health_check_service_interface.h
4387  include/grpcpp/impl/call.h
4388  include/grpcpp/impl/channel_argument_option.h
4389  include/grpcpp/impl/client_unary_call.h
4390  include/grpcpp/impl/codegen/core_codegen.h
4391  include/grpcpp/impl/grpc_library.h
4392  include/grpcpp/impl/method_handler_impl.h
4393  include/grpcpp/impl/rpc_method.h
4394  include/grpcpp/impl/rpc_service_method.h
4395  include/grpcpp/impl/serialization_traits.h
4396  include/grpcpp/impl/server_builder_option.h
4397  include/grpcpp/impl/server_builder_plugin.h
4398  include/grpcpp/impl/server_initializer.h
4399  include/grpcpp/impl/service_type.h
4400  include/grpcpp/resource_quota.h
4401  include/grpcpp/security/auth_context.h
4402  include/grpcpp/security/auth_metadata_processor.h
4403  include/grpcpp/security/credentials.h
4404  include/grpcpp/security/server_credentials.h
4405  include/grpcpp/server.h
4406  include/grpcpp/server_builder.h
4407  include/grpcpp/server_context.h
4408  include/grpcpp/server_posix.h
4409  include/grpcpp/support/async_stream.h
4410  include/grpcpp/support/async_unary_call.h
4411  include/grpcpp/support/byte_buffer.h
4412  include/grpcpp/support/channel_arguments.h
4413  include/grpcpp/support/client_callback.h
4414  include/grpcpp/support/config.h
4415  include/grpcpp/support/proto_buffer_reader.h
4416  include/grpcpp/support/proto_buffer_writer.h
4417  include/grpcpp/support/slice.h
4418  include/grpcpp/support/status.h
4419  include/grpcpp/support/status_code_enum.h
4420  include/grpcpp/support/string_ref.h
4421  include/grpcpp/support/stub_options.h
4422  include/grpcpp/support/sync_stream.h
4423  include/grpcpp/support/time.h
4424  include/grpc/support/alloc.h
4425  include/grpc/support/atm.h
4426  include/grpc/support/atm_gcc_atomic.h
4427  include/grpc/support/atm_gcc_sync.h
4428  include/grpc/support/atm_windows.h
4429  include/grpc/support/cpu.h
4430  include/grpc/support/log.h
4431  include/grpc/support/log_windows.h
4432  include/grpc/support/port_platform.h
4433  include/grpc/support/string_util.h
4434  include/grpc/support/sync.h
4435  include/grpc/support/sync_custom.h
4436  include/grpc/support/sync_generic.h
4437  include/grpc/support/sync_posix.h
4438  include/grpc/support/sync_windows.h
4439  include/grpc/support/thd_id.h
4440  include/grpc/support/time.h
4441  include/grpc/impl/codegen/atm.h
4442  include/grpc/impl/codegen/atm_gcc_atomic.h
4443  include/grpc/impl/codegen/atm_gcc_sync.h
4444  include/grpc/impl/codegen/atm_windows.h
4445  include/grpc/impl/codegen/fork.h
4446  include/grpc/impl/codegen/gpr_slice.h
4447  include/grpc/impl/codegen/gpr_types.h
4448  include/grpc/impl/codegen/log.h
4449  include/grpc/impl/codegen/port_platform.h
4450  include/grpc/impl/codegen/sync.h
4451  include/grpc/impl/codegen/sync_custom.h
4452  include/grpc/impl/codegen/sync_generic.h
4453  include/grpc/impl/codegen/sync_posix.h
4454  include/grpc/impl/codegen/sync_windows.h
4455  include/grpc/byte_buffer.h
4456  include/grpc/byte_buffer_reader.h
4457  include/grpc/compression.h
4458  include/grpc/fork.h
4459  include/grpc/grpc.h
4460  include/grpc/grpc_posix.h
4461  include/grpc/grpc_security_constants.h
4462  include/grpc/load_reporting.h
4463  include/grpc/slice.h
4464  include/grpc/slice_buffer.h
4465  include/grpc/status.h
4466  include/grpc/support/workaround_list.h
4467  include/grpc/impl/codegen/byte_buffer.h
4468  include/grpc/impl/codegen/byte_buffer_reader.h
4469  include/grpc/impl/codegen/compression_types.h
4470  include/grpc/impl/codegen/connectivity_state.h
4471  include/grpc/impl/codegen/grpc_types.h
4472  include/grpc/impl/codegen/propagation_bits.h
4473  include/grpc/impl/codegen/slice.h
4474  include/grpc/impl/codegen/status.h
4475  include/grpc++/impl/codegen/async_stream.h
4476  include/grpc++/impl/codegen/async_unary_call.h
4477  include/grpc++/impl/codegen/byte_buffer.h
4478  include/grpc++/impl/codegen/call.h
4479  include/grpc++/impl/codegen/call_hook.h
4480  include/grpc++/impl/codegen/channel_interface.h
4481  include/grpc++/impl/codegen/client_context.h
4482  include/grpc++/impl/codegen/client_unary_call.h
4483  include/grpc++/impl/codegen/completion_queue.h
4484  include/grpc++/impl/codegen/completion_queue_tag.h
4485  include/grpc++/impl/codegen/config.h
4486  include/grpc++/impl/codegen/core_codegen_interface.h
4487  include/grpc++/impl/codegen/create_auth_context.h
4488  include/grpc++/impl/codegen/grpc_library.h
4489  include/grpc++/impl/codegen/metadata_map.h
4490  include/grpc++/impl/codegen/method_handler_impl.h
4491  include/grpc++/impl/codegen/rpc_method.h
4492  include/grpc++/impl/codegen/rpc_service_method.h
4493  include/grpc++/impl/codegen/security/auth_context.h
4494  include/grpc++/impl/codegen/serialization_traits.h
4495  include/grpc++/impl/codegen/server_context.h
4496  include/grpc++/impl/codegen/server_interface.h
4497  include/grpc++/impl/codegen/service_type.h
4498  include/grpc++/impl/codegen/slice.h
4499  include/grpc++/impl/codegen/status.h
4500  include/grpc++/impl/codegen/status_code_enum.h
4501  include/grpc++/impl/codegen/string_ref.h
4502  include/grpc++/impl/codegen/stub_options.h
4503  include/grpc++/impl/codegen/sync_stream.h
4504  include/grpc++/impl/codegen/time.h
4505  include/grpcpp/impl/codegen/async_generic_service.h
4506  include/grpcpp/impl/codegen/async_stream.h
4507  include/grpcpp/impl/codegen/async_unary_call.h
4508  include/grpcpp/impl/codegen/byte_buffer.h
4509  include/grpcpp/impl/codegen/call.h
4510  include/grpcpp/impl/codegen/call_hook.h
4511  include/grpcpp/impl/codegen/callback_common.h
4512  include/grpcpp/impl/codegen/channel_interface.h
4513  include/grpcpp/impl/codegen/client_callback.h
4514  include/grpcpp/impl/codegen/client_context.h
4515  include/grpcpp/impl/codegen/client_unary_call.h
4516  include/grpcpp/impl/codegen/completion_queue.h
4517  include/grpcpp/impl/codegen/completion_queue_tag.h
4518  include/grpcpp/impl/codegen/config.h
4519  include/grpcpp/impl/codegen/core_codegen_interface.h
4520  include/grpcpp/impl/codegen/create_auth_context.h
4521  include/grpcpp/impl/codegen/grpc_library.h
4522  include/grpcpp/impl/codegen/metadata_map.h
4523  include/grpcpp/impl/codegen/method_handler_impl.h
4524  include/grpcpp/impl/codegen/rpc_method.h
4525  include/grpcpp/impl/codegen/rpc_service_method.h
4526  include/grpcpp/impl/codegen/security/auth_context.h
4527  include/grpcpp/impl/codegen/serialization_traits.h
4528  include/grpcpp/impl/codegen/server_context.h
4529  include/grpcpp/impl/codegen/server_interface.h
4530  include/grpcpp/impl/codegen/service_type.h
4531  include/grpcpp/impl/codegen/slice.h
4532  include/grpcpp/impl/codegen/status.h
4533  include/grpcpp/impl/codegen/status_code_enum.h
4534  include/grpcpp/impl/codegen/string_ref.h
4535  include/grpcpp/impl/codegen/stub_options.h
4536  include/grpcpp/impl/codegen/sync_stream.h
4537  include/grpcpp/impl/codegen/time.h
4538)
4539  string(REPLACE "include/" "" _path ${_hdr})
4540  get_filename_component(_path ${_path} PATH)
4541  install(FILES ${_hdr}
4542    DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}"
4543  )
4544endforeach()
4545
4546
4547if (gRPC_INSTALL)
4548  install(TARGETS grpc++_unsecure EXPORT gRPCTargets
4549    RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR}
4550    LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR}
4551    ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
4552  )
4553endif()
4554
4555if (gRPC_BUILD_TESTS)
4556
4557add_library(grpc_benchmark
4558  test/cpp/microbenchmarks/helpers.cc
4559)
4560
4561if(WIN32 AND MSVC)
4562  set_target_properties(grpc_benchmark PROPERTIES COMPILE_PDB_NAME "grpc_benchmark"
4563    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
4564  )
4565  if (gRPC_INSTALL)
4566    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_benchmark.pdb
4567      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
4568    )
4569  endif()
4570endif()
4571
4572
4573target_include_directories(grpc_benchmark
4574  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
4575  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
4576  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
4577  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
4578  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
4579  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
4580  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
4581  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
4582  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
4583  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
4584  PRIVATE third_party/googletest/googletest/include
4585  PRIVATE third_party/googletest/googletest
4586  PRIVATE third_party/googletest/googlemock/include
4587  PRIVATE third_party/googletest/googlemock
4588  PRIVATE ${_gRPC_PROTO_GENS_DIR}
4589)
4590
4591target_link_libraries(grpc_benchmark
4592  ${_gRPC_PROTOBUF_LIBRARIES}
4593  ${_gRPC_ALLTARGETS_LIBRARIES}
4594  ${_gRPC_BENCHMARK_LIBRARIES}
4595  grpc++_unsecure
4596  grpc_test_util_unsecure
4597  grpc_unsecure
4598  ${_gRPC_GFLAGS_LIBRARIES}
4599)
4600
4601
4602endif (gRPC_BUILD_TESTS)
4603if (gRPC_BUILD_TESTS)
4604
4605if (gRPC_BUILD_CODEGEN)
4606add_library(grpc_cli_libs
4607  test/cpp/util/cli_call.cc
4608  test/cpp/util/cli_credentials.cc
4609  test/cpp/util/grpc_tool.cc
4610  test/cpp/util/proto_file_parser.cc
4611  test/cpp/util/service_describer.cc
4612  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc
4613  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc
4614  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h
4615  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h
4616)
4617
4618if(WIN32 AND MSVC)
4619  set_target_properties(grpc_cli_libs PROPERTIES COMPILE_PDB_NAME "grpc_cli_libs"
4620    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
4621  )
4622  if (gRPC_INSTALL)
4623    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cli_libs.pdb
4624      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
4625    )
4626  endif()
4627endif()
4628
4629protobuf_generate_grpc_cpp(
4630  src/proto/grpc/reflection/v1alpha/reflection.proto
4631)
4632
4633target_include_directories(grpc_cli_libs
4634  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
4635  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
4636  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
4637  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
4638  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
4639  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
4640  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
4641  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
4642  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
4643  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
4644  PRIVATE third_party/googletest/googletest/include
4645  PRIVATE third_party/googletest/googletest
4646  PRIVATE third_party/googletest/googlemock/include
4647  PRIVATE third_party/googletest/googlemock
4648  PRIVATE ${_gRPC_PROTO_GENS_DIR}
4649)
4650
4651target_link_libraries(grpc_cli_libs
4652  ${_gRPC_PROTOBUF_LIBRARIES}
4653  ${_gRPC_ALLTARGETS_LIBRARIES}
4654  grpc++_proto_reflection_desc_db
4655  grpc++
4656  grpc
4657)
4658
4659foreach(_hdr
4660  include/grpc++/impl/codegen/config_protobuf.h
4661  include/grpcpp/impl/codegen/config_protobuf.h
4662)
4663  string(REPLACE "include/" "" _path ${_hdr})
4664  get_filename_component(_path ${_path} PATH)
4665  install(FILES ${_hdr}
4666    DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}"
4667  )
4668endforeach()
4669endif (gRPC_BUILD_CODEGEN)
4670
4671endif (gRPC_BUILD_TESTS)
4672
4673add_library(grpc_plugin_support
4674  src/compiler/cpp_generator.cc
4675  src/compiler/csharp_generator.cc
4676  src/compiler/node_generator.cc
4677  src/compiler/objective_c_generator.cc
4678  src/compiler/php_generator.cc
4679  src/compiler/python_generator.cc
4680  src/compiler/ruby_generator.cc
4681)
4682
4683if(WIN32 AND MSVC)
4684  set_target_properties(grpc_plugin_support PROPERTIES COMPILE_PDB_NAME "grpc_plugin_support"
4685    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
4686  )
4687  if (gRPC_INSTALL)
4688    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_plugin_support.pdb
4689      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
4690    )
4691  endif()
4692endif()
4693
4694
4695target_include_directories(grpc_plugin_support
4696  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
4697  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
4698  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
4699  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
4700  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
4701  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
4702  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
4703  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
4704  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
4705  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
4706  PRIVATE ${_gRPC_PROTO_GENS_DIR}
4707)
4708
4709target_link_libraries(grpc_plugin_support
4710  ${_gRPC_PROTOBUF_PROTOC_LIBRARIES}
4711  ${_gRPC_PROTOBUF_LIBRARIES}
4712  ${_gRPC_ALLTARGETS_LIBRARIES}
4713)
4714
4715foreach(_hdr
4716  include/grpc++/impl/codegen/config_protobuf.h
4717  include/grpcpp/impl/codegen/config_protobuf.h
4718)
4719  string(REPLACE "include/" "" _path ${_hdr})
4720  get_filename_component(_path ${_path} PATH)
4721  install(FILES ${_hdr}
4722    DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}"
4723  )
4724endforeach()
4725
4726
4727if (gRPC_INSTALL)
4728  install(TARGETS grpc_plugin_support EXPORT gRPCTargets
4729    RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR}
4730    LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR}
4731    ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
4732  )
4733endif()
4734
4735
4736if (gRPC_BUILD_CODEGEN)
4737add_library(grpcpp_channelz
4738  src/cpp/server/channelz/channelz_service.cc
4739  src/cpp/server/channelz/channelz_service_plugin.cc
4740  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.cc
4741  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.cc
4742  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.h
4743  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.h
4744)
4745
4746if(WIN32 AND MSVC)
4747  set_target_properties(grpcpp_channelz PROPERTIES COMPILE_PDB_NAME "grpcpp_channelz"
4748    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
4749  )
4750  if (gRPC_INSTALL)
4751    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpcpp_channelz.pdb
4752      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
4753    )
4754  endif()
4755endif()
4756
4757protobuf_generate_grpc_cpp(
4758  src/proto/grpc/channelz/channelz.proto
4759)
4760
4761target_include_directories(grpcpp_channelz
4762  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
4763  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
4764  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
4765  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
4766  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
4767  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
4768  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
4769  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
4770  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
4771  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
4772  PRIVATE ${_gRPC_PROTO_GENS_DIR}
4773)
4774
4775target_link_libraries(grpcpp_channelz
4776  ${_gRPC_PROTOBUF_LIBRARIES}
4777  ${_gRPC_ALLTARGETS_LIBRARIES}
4778  grpc++
4779  grpc
4780)
4781
4782foreach(_hdr
4783  include/grpcpp/ext/channelz_service_plugin.h
4784)
4785  string(REPLACE "include/" "" _path ${_hdr})
4786  get_filename_component(_path ${_path} PATH)
4787  install(FILES ${_hdr}
4788    DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}"
4789  )
4790endforeach()
4791endif (gRPC_BUILD_CODEGEN)
4792
4793
4794if (gRPC_INSTALL)
4795  install(TARGETS grpcpp_channelz EXPORT gRPCTargets
4796    RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR}
4797    LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR}
4798    ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
4799  )
4800endif()
4801
4802if (gRPC_BUILD_TESTS)
4803
4804if (gRPC_BUILD_CODEGEN)
4805add_library(http2_client_main
4806  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc
4807  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc
4808  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h
4809  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h
4810  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc
4811  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc
4812  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h
4813  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h
4814  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc
4815  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc
4816  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h
4817  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h
4818  test/cpp/interop/http2_client.cc
4819)
4820
4821if(WIN32 AND MSVC)
4822  set_target_properties(http2_client_main PROPERTIES COMPILE_PDB_NAME "http2_client_main"
4823    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
4824  )
4825  if (gRPC_INSTALL)
4826    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/http2_client_main.pdb
4827      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
4828    )
4829  endif()
4830endif()
4831
4832protobuf_generate_grpc_cpp(
4833  src/proto/grpc/testing/empty.proto
4834)
4835protobuf_generate_grpc_cpp(
4836  src/proto/grpc/testing/messages.proto
4837)
4838protobuf_generate_grpc_cpp(
4839  src/proto/grpc/testing/test.proto
4840)
4841
4842target_include_directories(http2_client_main
4843  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
4844  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
4845  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
4846  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
4847  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
4848  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
4849  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
4850  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
4851  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
4852  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
4853  PRIVATE third_party/googletest/googletest/include
4854  PRIVATE third_party/googletest/googletest
4855  PRIVATE third_party/googletest/googlemock/include
4856  PRIVATE third_party/googletest/googlemock
4857  PRIVATE ${_gRPC_PROTO_GENS_DIR}
4858)
4859
4860target_link_libraries(http2_client_main
4861  ${_gRPC_PROTOBUF_LIBRARIES}
4862  ${_gRPC_ALLTARGETS_LIBRARIES}
4863  grpc++_test_util
4864  grpc_test_util
4865  grpc++
4866  grpc
4867  grpc++_test_config
4868)
4869
4870endif (gRPC_BUILD_CODEGEN)
4871
4872endif (gRPC_BUILD_TESTS)
4873if (gRPC_BUILD_TESTS)
4874
4875if (gRPC_BUILD_CODEGEN)
4876add_library(interop_client_helper
4877  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc
4878  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc
4879  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h
4880  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h
4881  test/cpp/interop/client_helper.cc
4882)
4883
4884if(WIN32 AND MSVC)
4885  set_target_properties(interop_client_helper PROPERTIES COMPILE_PDB_NAME "interop_client_helper"
4886    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
4887  )
4888  if (gRPC_INSTALL)
4889    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_helper.pdb
4890      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
4891    )
4892  endif()
4893endif()
4894
4895protobuf_generate_grpc_cpp(
4896  src/proto/grpc/testing/messages.proto
4897)
4898
4899target_include_directories(interop_client_helper
4900  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
4901  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
4902  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
4903  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
4904  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
4905  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
4906  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
4907  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
4908  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
4909  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
4910  PRIVATE third_party/googletest/googletest/include
4911  PRIVATE third_party/googletest/googletest
4912  PRIVATE third_party/googletest/googlemock/include
4913  PRIVATE third_party/googletest/googlemock
4914  PRIVATE ${_gRPC_PROTO_GENS_DIR}
4915)
4916
4917target_link_libraries(interop_client_helper
4918  ${_gRPC_PROTOBUF_LIBRARIES}
4919  ${_gRPC_ALLTARGETS_LIBRARIES}
4920  grpc++_test_util
4921  grpc_test_util
4922  grpc++
4923  grpc
4924  gpr
4925)
4926
4927endif (gRPC_BUILD_CODEGEN)
4928
4929endif (gRPC_BUILD_TESTS)
4930if (gRPC_BUILD_TESTS)
4931
4932if (gRPC_BUILD_CODEGEN)
4933add_library(interop_client_main
4934  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc
4935  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc
4936  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h
4937  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h
4938  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc
4939  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc
4940  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h
4941  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h
4942  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc
4943  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc
4944  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h
4945  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h
4946  test/cpp/interop/client.cc
4947  test/cpp/interop/interop_client.cc
4948)
4949
4950if(WIN32 AND MSVC)
4951  set_target_properties(interop_client_main PROPERTIES COMPILE_PDB_NAME "interop_client_main"
4952    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
4953  )
4954  if (gRPC_INSTALL)
4955    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_main.pdb
4956      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
4957    )
4958  endif()
4959endif()
4960
4961protobuf_generate_grpc_cpp(
4962  src/proto/grpc/testing/empty.proto
4963)
4964protobuf_generate_grpc_cpp(
4965  src/proto/grpc/testing/messages.proto
4966)
4967protobuf_generate_grpc_cpp(
4968  src/proto/grpc/testing/test.proto
4969)
4970
4971target_include_directories(interop_client_main
4972  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
4973  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
4974  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
4975  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
4976  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
4977  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
4978  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
4979  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
4980  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
4981  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
4982  PRIVATE third_party/googletest/googletest/include
4983  PRIVATE third_party/googletest/googletest
4984  PRIVATE third_party/googletest/googlemock/include
4985  PRIVATE third_party/googletest/googlemock
4986  PRIVATE ${_gRPC_PROTO_GENS_DIR}
4987)
4988
4989target_link_libraries(interop_client_main
4990  ${_gRPC_PROTOBUF_LIBRARIES}
4991  ${_gRPC_ALLTARGETS_LIBRARIES}
4992  interop_client_helper
4993  grpc++_test_util
4994  grpc_test_util
4995  grpc++
4996  grpc
4997  gpr_test_util
4998  gpr
4999  grpc++_test_config
5000)
5001
5002endif (gRPC_BUILD_CODEGEN)
5003
5004endif (gRPC_BUILD_TESTS)
5005if (gRPC_BUILD_TESTS)
5006
5007add_library(interop_server_helper
5008  test/cpp/interop/server_helper.cc
5009)
5010
5011if(WIN32 AND MSVC)
5012  set_target_properties(interop_server_helper PROPERTIES COMPILE_PDB_NAME "interop_server_helper"
5013    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
5014  )
5015  if (gRPC_INSTALL)
5016    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_helper.pdb
5017      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
5018    )
5019  endif()
5020endif()
5021
5022
5023target_include_directories(interop_server_helper
5024  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
5025  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5026  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5027  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5028  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5029  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5030  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5031  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5032  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5033  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5034  PRIVATE third_party/googletest/googletest/include
5035  PRIVATE third_party/googletest/googletest
5036  PRIVATE third_party/googletest/googlemock/include
5037  PRIVATE third_party/googletest/googlemock
5038  PRIVATE ${_gRPC_PROTO_GENS_DIR}
5039)
5040
5041target_link_libraries(interop_server_helper
5042  ${_gRPC_PROTOBUF_LIBRARIES}
5043  ${_gRPC_ALLTARGETS_LIBRARIES}
5044  grpc++_test_util
5045  grpc_test_util
5046  grpc++
5047  grpc
5048  gpr
5049)
5050
5051
5052endif (gRPC_BUILD_TESTS)
5053if (gRPC_BUILD_TESTS)
5054
5055if (gRPC_BUILD_CODEGEN)
5056add_library(interop_server_lib
5057  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc
5058  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc
5059  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h
5060  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h
5061  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc
5062  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc
5063  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h
5064  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h
5065  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc
5066  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc
5067  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h
5068  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h
5069  test/cpp/interop/interop_server.cc
5070)
5071
5072if(WIN32 AND MSVC)
5073  set_target_properties(interop_server_lib PROPERTIES COMPILE_PDB_NAME "interop_server_lib"
5074    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
5075  )
5076  if (gRPC_INSTALL)
5077    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_lib.pdb
5078      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
5079    )
5080  endif()
5081endif()
5082
5083protobuf_generate_grpc_cpp(
5084  src/proto/grpc/testing/empty.proto
5085)
5086protobuf_generate_grpc_cpp(
5087  src/proto/grpc/testing/messages.proto
5088)
5089protobuf_generate_grpc_cpp(
5090  src/proto/grpc/testing/test.proto
5091)
5092
5093target_include_directories(interop_server_lib
5094  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
5095  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5096  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5097  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5098  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5099  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5100  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5101  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5102  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5103  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5104  PRIVATE third_party/googletest/googletest/include
5105  PRIVATE third_party/googletest/googletest
5106  PRIVATE third_party/googletest/googlemock/include
5107  PRIVATE third_party/googletest/googlemock
5108  PRIVATE ${_gRPC_PROTO_GENS_DIR}
5109)
5110
5111target_link_libraries(interop_server_lib
5112  ${_gRPC_PROTOBUF_LIBRARIES}
5113  ${_gRPC_ALLTARGETS_LIBRARIES}
5114  interop_server_helper
5115  grpc++_test_util
5116  grpc_test_util
5117  grpc++
5118  grpc
5119  gpr_test_util
5120  gpr
5121  grpc++_test_config
5122)
5123
5124endif (gRPC_BUILD_CODEGEN)
5125
5126endif (gRPC_BUILD_TESTS)
5127if (gRPC_BUILD_TESTS)
5128
5129add_library(interop_server_main
5130  test/cpp/interop/interop_server_bootstrap.cc
5131)
5132
5133if(WIN32 AND MSVC)
5134  set_target_properties(interop_server_main PROPERTIES COMPILE_PDB_NAME "interop_server_main"
5135    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
5136  )
5137  if (gRPC_INSTALL)
5138    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_main.pdb
5139      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
5140    )
5141  endif()
5142endif()
5143
5144
5145target_include_directories(interop_server_main
5146  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
5147  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5148  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5149  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5150  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5151  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5152  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5153  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5154  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5155  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5156  PRIVATE third_party/googletest/googletest/include
5157  PRIVATE third_party/googletest/googletest
5158  PRIVATE third_party/googletest/googlemock/include
5159  PRIVATE third_party/googletest/googlemock
5160  PRIVATE ${_gRPC_PROTO_GENS_DIR}
5161)
5162
5163target_link_libraries(interop_server_main
5164  ${_gRPC_PROTOBUF_LIBRARIES}
5165  ${_gRPC_ALLTARGETS_LIBRARIES}
5166  interop_server_lib
5167)
5168
5169
5170endif (gRPC_BUILD_TESTS)
5171if (gRPC_BUILD_TESTS)
5172
5173if (gRPC_BUILD_CODEGEN)
5174add_library(qps
5175  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc
5176  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc
5177  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h
5178  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h
5179  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc
5180  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc
5181  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h
5182  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h
5183  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc
5184  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc
5185  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h
5186  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h
5187  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc
5188  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc
5189  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h
5190  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h
5191  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.pb.cc
5192  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.grpc.pb.cc
5193  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.pb.h
5194  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.grpc.pb.h
5195  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.pb.cc
5196  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.cc
5197  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.pb.h
5198  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.h
5199  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.pb.cc
5200  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.grpc.pb.cc
5201  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.pb.h
5202  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.grpc.pb.h
5203  test/cpp/qps/benchmark_config.cc
5204  test/cpp/qps/client_async.cc
5205  test/cpp/qps/client_sync.cc
5206  test/cpp/qps/driver.cc
5207  test/cpp/qps/parse_json.cc
5208  test/cpp/qps/qps_server_builder.cc
5209  test/cpp/qps/qps_worker.cc
5210  test/cpp/qps/report.cc
5211  test/cpp/qps/server_async.cc
5212  test/cpp/qps/server_sync.cc
5213  test/cpp/qps/usage_timer.cc
5214)
5215
5216if(WIN32 AND MSVC)
5217  set_target_properties(qps PROPERTIES COMPILE_PDB_NAME "qps"
5218    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
5219  )
5220  if (gRPC_INSTALL)
5221    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qps.pdb
5222      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
5223    )
5224  endif()
5225endif()
5226
5227protobuf_generate_grpc_cpp(
5228  src/proto/grpc/testing/messages.proto
5229)
5230protobuf_generate_grpc_cpp(
5231  src/proto/grpc/testing/payloads.proto
5232)
5233protobuf_generate_grpc_cpp(
5234  src/proto/grpc/testing/stats.proto
5235)
5236protobuf_generate_grpc_cpp(
5237  src/proto/grpc/testing/control.proto
5238)
5239protobuf_generate_grpc_cpp(
5240  src/proto/grpc/testing/benchmark_service.proto
5241)
5242protobuf_generate_grpc_cpp(
5243  src/proto/grpc/testing/report_qps_scenario_service.proto
5244)
5245protobuf_generate_grpc_cpp(
5246  src/proto/grpc/testing/worker_service.proto
5247)
5248
5249target_include_directories(qps
5250  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
5251  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5252  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5253  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5254  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5255  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5256  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5257  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5258  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5259  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5260  PRIVATE third_party/googletest/googletest/include
5261  PRIVATE third_party/googletest/googletest
5262  PRIVATE third_party/googletest/googlemock/include
5263  PRIVATE third_party/googletest/googlemock
5264  PRIVATE ${_gRPC_PROTO_GENS_DIR}
5265)
5266
5267target_link_libraries(qps
5268  ${_gRPC_PROTOBUF_LIBRARIES}
5269  ${_gRPC_ALLTARGETS_LIBRARIES}
5270  grpc_test_util
5271  grpc++_test_util
5272  grpc++_core_stats
5273  grpc++
5274  grpc
5275)
5276
5277endif (gRPC_BUILD_CODEGEN)
5278
5279endif (gRPC_BUILD_TESTS)
5280if (gRPC_BUILD_CSHARP_EXT)
5281
5282add_library(grpc_csharp_ext SHARED
5283  src/csharp/ext/grpc_csharp_ext.c
5284)
5285
5286if(WIN32 AND MSVC)
5287  set_target_properties(grpc_csharp_ext PROPERTIES COMPILE_PDB_NAME "grpc_csharp_ext"
5288    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
5289  )
5290  if (gRPC_INSTALL)
5291    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_csharp_ext.pdb
5292      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
5293    )
5294  endif()
5295endif()
5296
5297
5298target_include_directories(grpc_csharp_ext
5299  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
5300  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5301  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5302  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5303  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5304  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5305  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5306  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5307  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5308  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5309)
5310
5311target_link_libraries(grpc_csharp_ext
5312  ${_gRPC_ALLTARGETS_LIBRARIES}
5313  grpc
5314  gpr
5315)
5316
5317
5318
5319if (gRPC_INSTALL)
5320  install(TARGETS grpc_csharp_ext EXPORT gRPCTargets
5321    RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR}
5322    LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR}
5323    ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
5324  )
5325endif()
5326
5327endif (gRPC_BUILD_CSHARP_EXT)
5328if (gRPC_BUILD_TESTS)
5329
5330add_library(bad_client_test
5331  test/core/bad_client/bad_client.cc
5332)
5333
5334if(WIN32 AND MSVC)
5335  set_target_properties(bad_client_test PROPERTIES COMPILE_PDB_NAME "bad_client_test"
5336    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
5337  )
5338  if (gRPC_INSTALL)
5339    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_client_test.pdb
5340      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
5341    )
5342  endif()
5343endif()
5344
5345
5346target_include_directories(bad_client_test
5347  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
5348  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5349  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5350  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5351  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5352  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5353  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5354  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5355  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5356  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5357)
5358
5359target_link_libraries(bad_client_test
5360  ${_gRPC_ALLTARGETS_LIBRARIES}
5361  grpc_test_util_unsecure
5362  grpc_unsecure
5363  gpr_test_util
5364  gpr
5365)
5366
5367
5368endif (gRPC_BUILD_TESTS)
5369if (gRPC_BUILD_TESTS)
5370
5371add_library(bad_ssl_test_server
5372  test/core/bad_ssl/server_common.cc
5373)
5374
5375if(WIN32 AND MSVC)
5376  set_target_properties(bad_ssl_test_server PROPERTIES COMPILE_PDB_NAME "bad_ssl_test_server"
5377    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
5378  )
5379  if (gRPC_INSTALL)
5380    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_ssl_test_server.pdb
5381      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
5382    )
5383  endif()
5384endif()
5385
5386
5387target_include_directories(bad_ssl_test_server
5388  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
5389  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5390  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5391  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5392  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5393  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5394  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5395  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5396  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5397  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5398)
5399
5400target_link_libraries(bad_ssl_test_server
5401  ${_gRPC_ALLTARGETS_LIBRARIES}
5402  grpc_test_util
5403  grpc
5404  gpr_test_util
5405  gpr
5406)
5407
5408
5409endif (gRPC_BUILD_TESTS)
5410if (gRPC_BUILD_TESTS)
5411
5412add_library(end2end_tests
5413  test/core/end2end/end2end_tests.cc
5414  test/core/end2end/end2end_test_utils.cc
5415  test/core/end2end/tests/authority_not_supported.cc
5416  test/core/end2end/tests/bad_hostname.cc
5417  test/core/end2end/tests/bad_ping.cc
5418  test/core/end2end/tests/binary_metadata.cc
5419  test/core/end2end/tests/call_creds.cc
5420  test/core/end2end/tests/call_host_override.cc
5421  test/core/end2end/tests/cancel_after_accept.cc
5422  test/core/end2end/tests/cancel_after_client_done.cc
5423  test/core/end2end/tests/cancel_after_invoke.cc
5424  test/core/end2end/tests/cancel_after_round_trip.cc
5425  test/core/end2end/tests/cancel_before_invoke.cc
5426  test/core/end2end/tests/cancel_in_a_vacuum.cc
5427  test/core/end2end/tests/cancel_with_status.cc
5428  test/core/end2end/tests/channelz.cc
5429  test/core/end2end/tests/compressed_payload.cc
5430  test/core/end2end/tests/connectivity.cc
5431  test/core/end2end/tests/default_host.cc
5432  test/core/end2end/tests/disappearing_server.cc
5433  test/core/end2end/tests/empty_batch.cc
5434  test/core/end2end/tests/filter_call_init_fails.cc
5435  test/core/end2end/tests/filter_causes_close.cc
5436  test/core/end2end/tests/filter_latency.cc
5437  test/core/end2end/tests/filter_status_code.cc
5438  test/core/end2end/tests/graceful_server_shutdown.cc
5439  test/core/end2end/tests/high_initial_seqno.cc
5440  test/core/end2end/tests/hpack_size.cc
5441  test/core/end2end/tests/idempotent_request.cc
5442  test/core/end2end/tests/invoke_large_request.cc
5443  test/core/end2end/tests/keepalive_timeout.cc
5444  test/core/end2end/tests/large_metadata.cc
5445  test/core/end2end/tests/max_concurrent_streams.cc
5446  test/core/end2end/tests/max_connection_age.cc
5447  test/core/end2end/tests/max_connection_idle.cc
5448  test/core/end2end/tests/max_message_length.cc
5449  test/core/end2end/tests/negative_deadline.cc
5450  test/core/end2end/tests/network_status_change.cc
5451  test/core/end2end/tests/no_error_on_hotpath.cc
5452  test/core/end2end/tests/no_logging.cc
5453  test/core/end2end/tests/no_op.cc
5454  test/core/end2end/tests/payload.cc
5455  test/core/end2end/tests/ping.cc
5456  test/core/end2end/tests/ping_pong_streaming.cc
5457  test/core/end2end/tests/proxy_auth.cc
5458  test/core/end2end/tests/registered_call.cc
5459  test/core/end2end/tests/request_with_flags.cc
5460  test/core/end2end/tests/request_with_payload.cc
5461  test/core/end2end/tests/resource_quota_server.cc
5462  test/core/end2end/tests/retry.cc
5463  test/core/end2end/tests/retry_cancellation.cc
5464  test/core/end2end/tests/retry_disabled.cc
5465  test/core/end2end/tests/retry_exceeds_buffer_size_in_initial_batch.cc
5466  test/core/end2end/tests/retry_exceeds_buffer_size_in_subsequent_batch.cc
5467  test/core/end2end/tests/retry_non_retriable_status.cc
5468  test/core/end2end/tests/retry_non_retriable_status_before_recv_trailing_metadata_started.cc
5469  test/core/end2end/tests/retry_recv_initial_metadata.cc
5470  test/core/end2end/tests/retry_recv_message.cc
5471  test/core/end2end/tests/retry_server_pushback_delay.cc
5472  test/core/end2end/tests/retry_server_pushback_disabled.cc
5473  test/core/end2end/tests/retry_streaming.cc
5474  test/core/end2end/tests/retry_streaming_after_commit.cc
5475  test/core/end2end/tests/retry_streaming_succeeds_before_replay_finished.cc
5476  test/core/end2end/tests/retry_throttled.cc
5477  test/core/end2end/tests/retry_too_many_attempts.cc
5478  test/core/end2end/tests/server_finishes_request.cc
5479  test/core/end2end/tests/shutdown_finishes_calls.cc
5480  test/core/end2end/tests/shutdown_finishes_tags.cc
5481  test/core/end2end/tests/simple_cacheable_request.cc
5482  test/core/end2end/tests/simple_delayed_request.cc
5483  test/core/end2end/tests/simple_metadata.cc
5484  test/core/end2end/tests/simple_request.cc
5485  test/core/end2end/tests/stream_compression_compressed_payload.cc
5486  test/core/end2end/tests/stream_compression_payload.cc
5487  test/core/end2end/tests/stream_compression_ping_pong_streaming.cc
5488  test/core/end2end/tests/streaming_error_response.cc
5489  test/core/end2end/tests/trailing_metadata.cc
5490  test/core/end2end/tests/workaround_cronet_compression.cc
5491  test/core/end2end/tests/write_buffering.cc
5492  test/core/end2end/tests/write_buffering_at_end.cc
5493)
5494
5495if(WIN32 AND MSVC)
5496  set_target_properties(end2end_tests PROPERTIES COMPILE_PDB_NAME "end2end_tests"
5497    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
5498  )
5499  if (gRPC_INSTALL)
5500    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_tests.pdb
5501      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
5502    )
5503  endif()
5504endif()
5505
5506
5507target_include_directories(end2end_tests
5508  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
5509  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5510  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5511  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5512  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5513  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5514  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5515  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5516  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5517  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5518)
5519
5520target_link_libraries(end2end_tests
5521  ${_gRPC_SSL_LIBRARIES}
5522  ${_gRPC_ALLTARGETS_LIBRARIES}
5523  grpc_test_util
5524  grpc
5525  gpr_test_util
5526  gpr
5527)
5528
5529
5530endif (gRPC_BUILD_TESTS)
5531if (gRPC_BUILD_TESTS)
5532
5533add_library(end2end_nosec_tests
5534  test/core/end2end/end2end_nosec_tests.cc
5535  test/core/end2end/end2end_test_utils.cc
5536  test/core/end2end/tests/authority_not_supported.cc
5537  test/core/end2end/tests/bad_hostname.cc
5538  test/core/end2end/tests/bad_ping.cc
5539  test/core/end2end/tests/binary_metadata.cc
5540  test/core/end2end/tests/call_host_override.cc
5541  test/core/end2end/tests/cancel_after_accept.cc
5542  test/core/end2end/tests/cancel_after_client_done.cc
5543  test/core/end2end/tests/cancel_after_invoke.cc
5544  test/core/end2end/tests/cancel_after_round_trip.cc
5545  test/core/end2end/tests/cancel_before_invoke.cc
5546  test/core/end2end/tests/cancel_in_a_vacuum.cc
5547  test/core/end2end/tests/cancel_with_status.cc
5548  test/core/end2end/tests/channelz.cc
5549  test/core/end2end/tests/compressed_payload.cc
5550  test/core/end2end/tests/connectivity.cc
5551  test/core/end2end/tests/default_host.cc
5552  test/core/end2end/tests/disappearing_server.cc
5553  test/core/end2end/tests/empty_batch.cc
5554  test/core/end2end/tests/filter_call_init_fails.cc
5555  test/core/end2end/tests/filter_causes_close.cc
5556  test/core/end2end/tests/filter_latency.cc
5557  test/core/end2end/tests/filter_status_code.cc
5558  test/core/end2end/tests/graceful_server_shutdown.cc
5559  test/core/end2end/tests/high_initial_seqno.cc
5560  test/core/end2end/tests/hpack_size.cc
5561  test/core/end2end/tests/idempotent_request.cc
5562  test/core/end2end/tests/invoke_large_request.cc
5563  test/core/end2end/tests/keepalive_timeout.cc
5564  test/core/end2end/tests/large_metadata.cc
5565  test/core/end2end/tests/max_concurrent_streams.cc
5566  test/core/end2end/tests/max_connection_age.cc
5567  test/core/end2end/tests/max_connection_idle.cc
5568  test/core/end2end/tests/max_message_length.cc
5569  test/core/end2end/tests/negative_deadline.cc
5570  test/core/end2end/tests/network_status_change.cc
5571  test/core/end2end/tests/no_error_on_hotpath.cc
5572  test/core/end2end/tests/no_logging.cc
5573  test/core/end2end/tests/no_op.cc
5574  test/core/end2end/tests/payload.cc
5575  test/core/end2end/tests/ping.cc
5576  test/core/end2end/tests/ping_pong_streaming.cc
5577  test/core/end2end/tests/proxy_auth.cc
5578  test/core/end2end/tests/registered_call.cc
5579  test/core/end2end/tests/request_with_flags.cc
5580  test/core/end2end/tests/request_with_payload.cc
5581  test/core/end2end/tests/resource_quota_server.cc
5582  test/core/end2end/tests/retry.cc
5583  test/core/end2end/tests/retry_cancellation.cc
5584  test/core/end2end/tests/retry_disabled.cc
5585  test/core/end2end/tests/retry_exceeds_buffer_size_in_initial_batch.cc
5586  test/core/end2end/tests/retry_exceeds_buffer_size_in_subsequent_batch.cc
5587  test/core/end2end/tests/retry_non_retriable_status.cc
5588  test/core/end2end/tests/retry_non_retriable_status_before_recv_trailing_metadata_started.cc
5589  test/core/end2end/tests/retry_recv_initial_metadata.cc
5590  test/core/end2end/tests/retry_recv_message.cc
5591  test/core/end2end/tests/retry_server_pushback_delay.cc
5592  test/core/end2end/tests/retry_server_pushback_disabled.cc
5593  test/core/end2end/tests/retry_streaming.cc
5594  test/core/end2end/tests/retry_streaming_after_commit.cc
5595  test/core/end2end/tests/retry_streaming_succeeds_before_replay_finished.cc
5596  test/core/end2end/tests/retry_throttled.cc
5597  test/core/end2end/tests/retry_too_many_attempts.cc
5598  test/core/end2end/tests/server_finishes_request.cc
5599  test/core/end2end/tests/shutdown_finishes_calls.cc
5600  test/core/end2end/tests/shutdown_finishes_tags.cc
5601  test/core/end2end/tests/simple_cacheable_request.cc
5602  test/core/end2end/tests/simple_delayed_request.cc
5603  test/core/end2end/tests/simple_metadata.cc
5604  test/core/end2end/tests/simple_request.cc
5605  test/core/end2end/tests/stream_compression_compressed_payload.cc
5606  test/core/end2end/tests/stream_compression_payload.cc
5607  test/core/end2end/tests/stream_compression_ping_pong_streaming.cc
5608  test/core/end2end/tests/streaming_error_response.cc
5609  test/core/end2end/tests/trailing_metadata.cc
5610  test/core/end2end/tests/workaround_cronet_compression.cc
5611  test/core/end2end/tests/write_buffering.cc
5612  test/core/end2end/tests/write_buffering_at_end.cc
5613)
5614
5615if(WIN32 AND MSVC)
5616  set_target_properties(end2end_nosec_tests PROPERTIES COMPILE_PDB_NAME "end2end_nosec_tests"
5617    COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
5618  )
5619  if (gRPC_INSTALL)
5620    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_nosec_tests.pdb
5621      DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL
5622    )
5623  endif()
5624endif()
5625
5626
5627target_include_directories(end2end_nosec_tests
5628  PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
5629  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5630  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5631  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5632  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5633  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5634  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5635  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5636  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5637  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5638)
5639
5640target_link_libraries(end2end_nosec_tests
5641  ${_gRPC_ALLTARGETS_LIBRARIES}
5642  grpc_test_util_unsecure
5643  grpc_unsecure
5644  gpr_test_util
5645  gpr
5646)
5647
5648
5649endif (gRPC_BUILD_TESTS)
5650
5651if (gRPC_BUILD_TESTS)
5652
5653add_executable(algorithm_test
5654  test/core/compression/algorithm_test.cc
5655)
5656
5657
5658target_include_directories(algorithm_test
5659  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5660  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
5661  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5662  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5663  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5664  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5665  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5666  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5667  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5668  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5669)
5670
5671target_link_libraries(algorithm_test
5672  ${_gRPC_ALLTARGETS_LIBRARIES}
5673  grpc_test_util
5674  grpc
5675  gpr_test_util
5676  gpr
5677)
5678
5679endif (gRPC_BUILD_TESTS)
5680if (gRPC_BUILD_TESTS)
5681
5682add_executable(alloc_test
5683  test/core/gpr/alloc_test.cc
5684)
5685
5686
5687target_include_directories(alloc_test
5688  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5689  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
5690  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5691  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5692  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5693  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5694  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5695  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5696  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5697  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5698)
5699
5700target_link_libraries(alloc_test
5701  ${_gRPC_ALLTARGETS_LIBRARIES}
5702  gpr_test_util
5703  gpr
5704)
5705
5706endif (gRPC_BUILD_TESTS)
5707if (gRPC_BUILD_TESTS)
5708
5709add_executable(alpn_test
5710  test/core/transport/chttp2/alpn_test.cc
5711)
5712
5713
5714target_include_directories(alpn_test
5715  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5716  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
5717  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5718  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5719  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5720  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5721  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5722  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5723  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5724  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5725)
5726
5727target_link_libraries(alpn_test
5728  ${_gRPC_ALLTARGETS_LIBRARIES}
5729  grpc_test_util
5730  grpc
5731  gpr_test_util
5732  gpr
5733)
5734
5735endif (gRPC_BUILD_TESTS)
5736if (gRPC_BUILD_TESTS)
5737
5738add_executable(arena_test
5739  test/core/gpr/arena_test.cc
5740)
5741
5742
5743target_include_directories(arena_test
5744  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5745  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
5746  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5747  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5748  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5749  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5750  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5751  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5752  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5753  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5754)
5755
5756target_link_libraries(arena_test
5757  ${_gRPC_ALLTARGETS_LIBRARIES}
5758  gpr_test_util
5759  gpr
5760)
5761
5762endif (gRPC_BUILD_TESTS)
5763if (gRPC_BUILD_TESTS)
5764
5765add_executable(avl_test
5766  test/core/avl/avl_test.cc
5767)
5768
5769
5770target_include_directories(avl_test
5771  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5772  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
5773  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5774  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5775  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5776  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5777  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5778  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5779  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5780  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5781)
5782
5783target_link_libraries(avl_test
5784  ${_gRPC_ALLTARGETS_LIBRARIES}
5785  gpr_test_util
5786  gpr
5787  grpc
5788)
5789
5790endif (gRPC_BUILD_TESTS)
5791if (gRPC_BUILD_TESTS)
5792
5793add_executable(bad_server_response_test
5794  test/core/end2end/bad_server_response_test.cc
5795)
5796
5797
5798target_include_directories(bad_server_response_test
5799  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5800  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
5801  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5802  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5803  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5804  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5805  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5806  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5807  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5808  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5809)
5810
5811target_link_libraries(bad_server_response_test
5812  ${_gRPC_ALLTARGETS_LIBRARIES}
5813  test_tcp_server
5814  grpc_test_util
5815  grpc
5816  gpr_test_util
5817  gpr
5818)
5819
5820endif (gRPC_BUILD_TESTS)
5821if (gRPC_BUILD_TESTS)
5822
5823add_executable(bin_decoder_test
5824  test/core/transport/chttp2/bin_decoder_test.cc
5825)
5826
5827
5828target_include_directories(bin_decoder_test
5829  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5830  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
5831  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5832  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5833  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5834  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5835  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5836  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5837  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5838  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5839)
5840
5841target_link_libraries(bin_decoder_test
5842  ${_gRPC_ALLTARGETS_LIBRARIES}
5843  grpc_test_util
5844  grpc
5845)
5846
5847endif (gRPC_BUILD_TESTS)
5848if (gRPC_BUILD_TESTS)
5849
5850add_executable(bin_encoder_test
5851  test/core/transport/chttp2/bin_encoder_test.cc
5852)
5853
5854
5855target_include_directories(bin_encoder_test
5856  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5857  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
5858  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5859  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5860  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5861  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5862  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5863  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5864  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5865  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5866)
5867
5868target_link_libraries(bin_encoder_test
5869  ${_gRPC_ALLTARGETS_LIBRARIES}
5870  grpc_test_util
5871  grpc
5872)
5873
5874endif (gRPC_BUILD_TESTS)
5875if (gRPC_BUILD_TESTS)
5876if(_gRPC_PLATFORM_LINUX)
5877
5878add_executable(buffer_list_test
5879  test/core/iomgr/buffer_list_test.cc
5880)
5881
5882
5883target_include_directories(buffer_list_test
5884  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5885  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
5886  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5887  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5888  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5889  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5890  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5891  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5892  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5893  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5894)
5895
5896target_link_libraries(buffer_list_test
5897  ${_gRPC_ALLTARGETS_LIBRARIES}
5898  grpc_test_util
5899  grpc
5900  gpr_test_util
5901  gpr
5902)
5903
5904endif()
5905endif (gRPC_BUILD_TESTS)
5906if (gRPC_BUILD_TESTS)
5907
5908add_executable(channel_create_test
5909  test/core/surface/channel_create_test.cc
5910)
5911
5912
5913target_include_directories(channel_create_test
5914  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5915  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
5916  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5917  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5918  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5919  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5920  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5921  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5922  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5923  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5924)
5925
5926target_link_libraries(channel_create_test
5927  ${_gRPC_ALLTARGETS_LIBRARIES}
5928  grpc_test_util
5929  grpc
5930  gpr_test_util
5931  gpr
5932)
5933
5934endif (gRPC_BUILD_TESTS)
5935
5936add_executable(check_epollexclusive
5937  test/build/check_epollexclusive.c
5938)
5939
5940
5941target_include_directories(check_epollexclusive
5942  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5943  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
5944  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5945  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5946  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5947  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5948  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5949  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5950  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5951  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5952)
5953
5954target_link_libraries(check_epollexclusive
5955  ${_gRPC_ALLTARGETS_LIBRARIES}
5956  grpc
5957  gpr
5958)
5959
5960if (gRPC_BUILD_TESTS)
5961
5962add_executable(chttp2_hpack_encoder_test
5963  test/core/transport/chttp2/hpack_encoder_test.cc
5964)
5965
5966
5967target_include_directories(chttp2_hpack_encoder_test
5968  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5969  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
5970  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
5971  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
5972  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
5973  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
5974  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
5975  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
5976  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
5977  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
5978)
5979
5980target_link_libraries(chttp2_hpack_encoder_test
5981  ${_gRPC_ALLTARGETS_LIBRARIES}
5982  grpc_test_util
5983  grpc
5984  gpr_test_util
5985  gpr
5986)
5987
5988endif (gRPC_BUILD_TESTS)
5989if (gRPC_BUILD_TESTS)
5990
5991add_executable(chttp2_stream_map_test
5992  test/core/transport/chttp2/stream_map_test.cc
5993)
5994
5995
5996target_include_directories(chttp2_stream_map_test
5997  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
5998  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
5999  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6000  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6001  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6002  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6003  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6004  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6005  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6006  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6007)
6008
6009target_link_libraries(chttp2_stream_map_test
6010  ${_gRPC_ALLTARGETS_LIBRARIES}
6011  grpc_test_util
6012  grpc
6013  gpr_test_util
6014  gpr
6015)
6016
6017endif (gRPC_BUILD_TESTS)
6018if (gRPC_BUILD_TESTS)
6019
6020add_executable(chttp2_varint_test
6021  test/core/transport/chttp2/varint_test.cc
6022)
6023
6024
6025target_include_directories(chttp2_varint_test
6026  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6027  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6028  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6029  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6030  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6031  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6032  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6033  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6034  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6035  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6036)
6037
6038target_link_libraries(chttp2_varint_test
6039  ${_gRPC_ALLTARGETS_LIBRARIES}
6040  grpc_test_util
6041  grpc
6042  gpr_test_util
6043  gpr
6044)
6045
6046endif (gRPC_BUILD_TESTS)
6047if (gRPC_BUILD_TESTS)
6048
6049add_executable(cmdline_test
6050  test/core/util/cmdline_test.cc
6051)
6052
6053
6054target_include_directories(cmdline_test
6055  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6056  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6057  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6058  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6059  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6060  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6061  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6062  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6063  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6064  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6065)
6066
6067target_link_libraries(cmdline_test
6068  ${_gRPC_ALLTARGETS_LIBRARIES}
6069  gpr
6070  gpr_test_util
6071  grpc_test_util
6072)
6073
6074endif (gRPC_BUILD_TESTS)
6075if (gRPC_BUILD_TESTS)
6076
6077add_executable(combiner_test
6078  test/core/iomgr/combiner_test.cc
6079)
6080
6081
6082target_include_directories(combiner_test
6083  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6084  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6085  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6086  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6087  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6088  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6089  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6090  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6091  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6092  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6093)
6094
6095target_link_libraries(combiner_test
6096  ${_gRPC_ALLTARGETS_LIBRARIES}
6097  grpc_test_util
6098  grpc
6099  gpr_test_util
6100  gpr
6101)
6102
6103endif (gRPC_BUILD_TESTS)
6104if (gRPC_BUILD_TESTS)
6105
6106add_executable(compression_test
6107  test/core/compression/compression_test.cc
6108)
6109
6110
6111target_include_directories(compression_test
6112  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6113  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6114  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6115  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6116  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6117  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6118  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6119  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6120  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6121  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6122)
6123
6124target_link_libraries(compression_test
6125  ${_gRPC_ALLTARGETS_LIBRARIES}
6126  grpc_test_util
6127  grpc
6128  gpr_test_util
6129  gpr
6130)
6131
6132endif (gRPC_BUILD_TESTS)
6133if (gRPC_BUILD_TESTS)
6134
6135add_executable(concurrent_connectivity_test
6136  test/core/surface/concurrent_connectivity_test.cc
6137)
6138
6139
6140target_include_directories(concurrent_connectivity_test
6141  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6142  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6143  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6144  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6145  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6146  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6147  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6148  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6149  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6150  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6151)
6152
6153target_link_libraries(concurrent_connectivity_test
6154  ${_gRPC_ALLTARGETS_LIBRARIES}
6155  grpc_test_util
6156  grpc
6157  gpr_test_util
6158  gpr
6159)
6160
6161endif (gRPC_BUILD_TESTS)
6162if (gRPC_BUILD_TESTS)
6163
6164add_executable(connection_refused_test
6165  test/core/end2end/connection_refused_test.cc
6166)
6167
6168
6169target_include_directories(connection_refused_test
6170  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6171  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6172  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6173  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6174  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6175  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6176  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6177  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6178  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6179  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6180)
6181
6182target_link_libraries(connection_refused_test
6183  ${_gRPC_ALLTARGETS_LIBRARIES}
6184  grpc_test_util
6185  grpc
6186  gpr_test_util
6187  gpr
6188)
6189
6190endif (gRPC_BUILD_TESTS)
6191if (gRPC_BUILD_TESTS)
6192
6193add_executable(dns_resolver_connectivity_test
6194  test/core/client_channel/resolvers/dns_resolver_connectivity_test.cc
6195)
6196
6197
6198target_include_directories(dns_resolver_connectivity_test
6199  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6200  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6201  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6202  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6203  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6204  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6205  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6206  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6207  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6208  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6209)
6210
6211target_link_libraries(dns_resolver_connectivity_test
6212  ${_gRPC_ALLTARGETS_LIBRARIES}
6213  grpc_test_util
6214  grpc
6215  gpr_test_util
6216  gpr
6217)
6218
6219endif (gRPC_BUILD_TESTS)
6220if (gRPC_BUILD_TESTS)
6221
6222add_executable(dns_resolver_cooldown_test
6223  test/core/client_channel/resolvers/dns_resolver_cooldown_test.cc
6224)
6225
6226
6227target_include_directories(dns_resolver_cooldown_test
6228  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6229  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6230  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6231  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6232  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6233  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6234  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6235  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6236  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6237  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6238)
6239
6240target_link_libraries(dns_resolver_cooldown_test
6241  ${_gRPC_ALLTARGETS_LIBRARIES}
6242  grpc_test_util
6243  grpc
6244  gpr_test_util
6245  gpr
6246)
6247
6248endif (gRPC_BUILD_TESTS)
6249if (gRPC_BUILD_TESTS)
6250
6251add_executable(dns_resolver_test
6252  test/core/client_channel/resolvers/dns_resolver_test.cc
6253)
6254
6255
6256target_include_directories(dns_resolver_test
6257  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6258  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6259  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6260  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6261  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6262  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6263  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6264  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6265  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6266  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6267)
6268
6269target_link_libraries(dns_resolver_test
6270  ${_gRPC_ALLTARGETS_LIBRARIES}
6271  grpc_test_util
6272  grpc
6273  gpr_test_util
6274  gpr
6275)
6276
6277endif (gRPC_BUILD_TESTS)
6278if (gRPC_BUILD_TESTS)
6279if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
6280
6281add_executable(dualstack_socket_test
6282  test/core/end2end/dualstack_socket_test.cc
6283)
6284
6285
6286target_include_directories(dualstack_socket_test
6287  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6288  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6289  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6290  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6291  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6292  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6293  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6294  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6295  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6296  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6297)
6298
6299target_link_libraries(dualstack_socket_test
6300  ${_gRPC_ALLTARGETS_LIBRARIES}
6301  grpc_test_util
6302  grpc
6303  gpr_test_util
6304  gpr
6305)
6306
6307endif()
6308endif (gRPC_BUILD_TESTS)
6309if (gRPC_BUILD_TESTS)
6310
6311add_executable(endpoint_pair_test
6312  test/core/iomgr/endpoint_pair_test.cc
6313)
6314
6315
6316target_include_directories(endpoint_pair_test
6317  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6318  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6319  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6320  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6321  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6322  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6323  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6324  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6325  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6326  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6327)
6328
6329target_link_libraries(endpoint_pair_test
6330  ${_gRPC_ALLTARGETS_LIBRARIES}
6331  grpc_test_util
6332  grpc
6333  gpr_test_util
6334  gpr
6335)
6336
6337endif (gRPC_BUILD_TESTS)
6338if (gRPC_BUILD_TESTS)
6339
6340add_executable(error_test
6341  test/core/iomgr/error_test.cc
6342)
6343
6344
6345target_include_directories(error_test
6346  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6347  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6348  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6349  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6350  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6351  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6352  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6353  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6354  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6355  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6356)
6357
6358target_link_libraries(error_test
6359  ${_gRPC_ALLTARGETS_LIBRARIES}
6360  grpc_test_util
6361  grpc
6362  gpr_test_util
6363  gpr
6364)
6365
6366endif (gRPC_BUILD_TESTS)
6367if (gRPC_BUILD_TESTS)
6368if(_gRPC_PLATFORM_LINUX)
6369
6370add_executable(ev_epollex_linux_test
6371  test/core/iomgr/ev_epollex_linux_test.cc
6372)
6373
6374
6375target_include_directories(ev_epollex_linux_test
6376  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6377  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6378  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6379  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6380  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6381  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6382  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6383  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6384  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6385  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6386)
6387
6388target_link_libraries(ev_epollex_linux_test
6389  ${_gRPC_ALLTARGETS_LIBRARIES}
6390  grpc_test_util
6391  grpc
6392  gpr_test_util
6393  gpr
6394)
6395
6396endif()
6397endif (gRPC_BUILD_TESTS)
6398if (gRPC_BUILD_TESTS)
6399if(_gRPC_PLATFORM_LINUX)
6400
6401add_executable(ev_epollsig_linux_test
6402  test/core/iomgr/ev_epollsig_linux_test.cc
6403)
6404
6405
6406target_include_directories(ev_epollsig_linux_test
6407  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6408  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6409  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6410  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6411  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6412  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6413  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6414  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6415  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6416  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6417)
6418
6419target_link_libraries(ev_epollsig_linux_test
6420  ${_gRPC_ALLTARGETS_LIBRARIES}
6421  grpc_test_util
6422  grpc
6423  gpr_test_util
6424  gpr
6425)
6426
6427endif()
6428endif (gRPC_BUILD_TESTS)
6429if (gRPC_BUILD_TESTS)
6430
6431add_executable(fake_resolver_test
6432  test/core/client_channel/resolvers/fake_resolver_test.cc
6433)
6434
6435
6436target_include_directories(fake_resolver_test
6437  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6438  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6439  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6440  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6441  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6442  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6443  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6444  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6445  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6446  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6447)
6448
6449target_link_libraries(fake_resolver_test
6450  ${_gRPC_ALLTARGETS_LIBRARIES}
6451  grpc_test_util
6452  grpc
6453  gpr_test_util
6454  gpr
6455)
6456
6457endif (gRPC_BUILD_TESTS)
6458if (gRPC_BUILD_TESTS)
6459if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
6460
6461add_executable(fake_transport_security_test
6462  test/core/tsi/fake_transport_security_test.cc
6463  test/core/tsi/transport_security_test_lib.cc
6464)
6465
6466
6467target_include_directories(fake_transport_security_test
6468  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6469  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6470  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6471  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6472  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6473  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6474  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6475  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6476  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6477  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6478)
6479
6480target_link_libraries(fake_transport_security_test
6481  ${_gRPC_ALLTARGETS_LIBRARIES}
6482  gpr_test_util
6483  gpr
6484  grpc
6485)
6486
6487endif()
6488endif (gRPC_BUILD_TESTS)
6489if (gRPC_BUILD_TESTS)
6490if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
6491
6492add_executable(fd_conservation_posix_test
6493  test/core/iomgr/fd_conservation_posix_test.cc
6494)
6495
6496
6497target_include_directories(fd_conservation_posix_test
6498  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6499  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6500  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6501  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6502  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6503  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6504  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6505  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6506  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6507  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6508)
6509
6510target_link_libraries(fd_conservation_posix_test
6511  ${_gRPC_ALLTARGETS_LIBRARIES}
6512  grpc_test_util
6513  grpc
6514  gpr_test_util
6515  gpr
6516)
6517
6518endif()
6519endif (gRPC_BUILD_TESTS)
6520if (gRPC_BUILD_TESTS)
6521if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
6522
6523add_executable(fd_posix_test
6524  test/core/iomgr/fd_posix_test.cc
6525)
6526
6527
6528target_include_directories(fd_posix_test
6529  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6530  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6531  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6532  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6533  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6534  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6535  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6536  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6537  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6538  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6539)
6540
6541target_link_libraries(fd_posix_test
6542  ${_gRPC_ALLTARGETS_LIBRARIES}
6543  grpc_test_util
6544  grpc
6545  gpr_test_util
6546  gpr
6547)
6548
6549endif()
6550endif (gRPC_BUILD_TESTS)
6551if (gRPC_BUILD_TESTS)
6552
6553add_executable(fling_client
6554  test/core/fling/client.cc
6555)
6556
6557
6558target_include_directories(fling_client
6559  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6560  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6561  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6562  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6563  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6564  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6565  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6566  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6567  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6568  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6569)
6570
6571target_link_libraries(fling_client
6572  ${_gRPC_ALLTARGETS_LIBRARIES}
6573  grpc_test_util
6574  grpc
6575  gpr_test_util
6576  gpr
6577)
6578
6579endif (gRPC_BUILD_TESTS)
6580if (gRPC_BUILD_TESTS)
6581
6582add_executable(fling_server
6583  test/core/fling/server.cc
6584)
6585
6586
6587target_include_directories(fling_server
6588  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6589  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6590  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6591  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6592  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6593  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6594  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6595  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6596  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6597  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6598)
6599
6600target_link_libraries(fling_server
6601  ${_gRPC_ALLTARGETS_LIBRARIES}
6602  grpc_test_util
6603  grpc
6604  gpr_test_util
6605  gpr
6606)
6607
6608endif (gRPC_BUILD_TESTS)
6609if (gRPC_BUILD_TESTS)
6610if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
6611
6612add_executable(fling_stream_test
6613  test/core/fling/fling_stream_test.cc
6614)
6615
6616
6617target_include_directories(fling_stream_test
6618  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6619  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6620  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6621  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6622  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6623  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6624  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6625  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6626  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6627  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6628)
6629
6630target_link_libraries(fling_stream_test
6631  ${_gRPC_ALLTARGETS_LIBRARIES}
6632  grpc_test_util
6633  grpc
6634  gpr_test_util
6635  gpr
6636)
6637
6638endif()
6639endif (gRPC_BUILD_TESTS)
6640if (gRPC_BUILD_TESTS)
6641if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
6642
6643add_executable(fling_test
6644  test/core/fling/fling_test.cc
6645)
6646
6647
6648target_include_directories(fling_test
6649  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6650  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6651  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6652  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6653  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6654  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6655  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6656  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6657  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6658  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6659)
6660
6661target_link_libraries(fling_test
6662  ${_gRPC_ALLTARGETS_LIBRARIES}
6663  grpc_test_util
6664  grpc
6665  gpr_test_util
6666  gpr
6667)
6668
6669endif()
6670endif (gRPC_BUILD_TESTS)
6671if (gRPC_BUILD_TESTS)
6672if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC)
6673
6674add_executable(fork_test
6675  test/core/gprpp/fork_test.cc
6676)
6677
6678
6679target_include_directories(fork_test
6680  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6681  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6682  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6683  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6684  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6685  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6686  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6687  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6688  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6689  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6690)
6691
6692target_link_libraries(fork_test
6693  ${_gRPC_ALLTARGETS_LIBRARIES}
6694  gpr_test_util
6695  gpr
6696)
6697
6698endif()
6699endif (gRPC_BUILD_TESTS)
6700if (gRPC_BUILD_TESTS)
6701if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
6702
6703add_executable(goaway_server_test
6704  test/core/end2end/goaway_server_test.cc
6705)
6706
6707
6708target_include_directories(goaway_server_test
6709  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6710  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6711  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6712  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6713  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6714  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6715  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6716  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6717  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6718  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6719)
6720
6721target_link_libraries(goaway_server_test
6722  ${_gRPC_ALLTARGETS_LIBRARIES}
6723  grpc_test_util
6724  grpc
6725  gpr_test_util
6726  gpr
6727)
6728
6729endif()
6730endif (gRPC_BUILD_TESTS)
6731if (gRPC_BUILD_TESTS)
6732
6733add_executable(gpr_cpu_test
6734  test/core/gpr/cpu_test.cc
6735)
6736
6737
6738target_include_directories(gpr_cpu_test
6739  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6740  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6741  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6742  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6743  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6744  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6745  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6746  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6747  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6748  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6749)
6750
6751target_link_libraries(gpr_cpu_test
6752  ${_gRPC_ALLTARGETS_LIBRARIES}
6753  gpr_test_util
6754  gpr
6755)
6756
6757endif (gRPC_BUILD_TESTS)
6758if (gRPC_BUILD_TESTS)
6759
6760add_executable(gpr_env_test
6761  test/core/gpr/env_test.cc
6762)
6763
6764
6765target_include_directories(gpr_env_test
6766  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6767  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6768  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6769  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6770  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6771  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6772  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6773  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6774  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6775  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6776)
6777
6778target_link_libraries(gpr_env_test
6779  ${_gRPC_ALLTARGETS_LIBRARIES}
6780  gpr_test_util
6781  gpr
6782)
6783
6784endif (gRPC_BUILD_TESTS)
6785if (gRPC_BUILD_TESTS)
6786
6787add_executable(gpr_host_port_test
6788  test/core/gpr/host_port_test.cc
6789)
6790
6791
6792target_include_directories(gpr_host_port_test
6793  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6794  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6795  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6796  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6797  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6798  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6799  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6800  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6801  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6802  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6803)
6804
6805target_link_libraries(gpr_host_port_test
6806  ${_gRPC_ALLTARGETS_LIBRARIES}
6807  gpr_test_util
6808  gpr
6809)
6810
6811endif (gRPC_BUILD_TESTS)
6812if (gRPC_BUILD_TESTS)
6813
6814add_executable(gpr_log_test
6815  test/core/gpr/log_test.cc
6816)
6817
6818
6819target_include_directories(gpr_log_test
6820  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6821  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6822  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6823  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6824  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6825  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6826  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6827  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6828  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6829  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6830)
6831
6832target_link_libraries(gpr_log_test
6833  ${_gRPC_ALLTARGETS_LIBRARIES}
6834  gpr_test_util
6835  gpr
6836)
6837
6838endif (gRPC_BUILD_TESTS)
6839if (gRPC_BUILD_TESTS)
6840
6841add_executable(gpr_manual_constructor_test
6842  test/core/gprpp/manual_constructor_test.cc
6843)
6844
6845
6846target_include_directories(gpr_manual_constructor_test
6847  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6848  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6849  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6850  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6851  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6852  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6853  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6854  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6855  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6856  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6857)
6858
6859target_link_libraries(gpr_manual_constructor_test
6860  ${_gRPC_ALLTARGETS_LIBRARIES}
6861  gpr_test_util
6862  gpr
6863)
6864
6865endif (gRPC_BUILD_TESTS)
6866if (gRPC_BUILD_TESTS)
6867
6868add_executable(gpr_mpscq_test
6869  test/core/gpr/mpscq_test.cc
6870)
6871
6872
6873target_include_directories(gpr_mpscq_test
6874  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6875  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6876  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6877  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6878  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6879  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6880  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6881  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6882  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6883  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6884)
6885
6886target_link_libraries(gpr_mpscq_test
6887  ${_gRPC_ALLTARGETS_LIBRARIES}
6888  gpr_test_util
6889  gpr
6890)
6891
6892endif (gRPC_BUILD_TESTS)
6893if (gRPC_BUILD_TESTS)
6894
6895add_executable(gpr_spinlock_test
6896  test/core/gpr/spinlock_test.cc
6897)
6898
6899
6900target_include_directories(gpr_spinlock_test
6901  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6902  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6903  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6904  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6905  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6906  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6907  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6908  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6909  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6910  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6911)
6912
6913target_link_libraries(gpr_spinlock_test
6914  ${_gRPC_ALLTARGETS_LIBRARIES}
6915  gpr_test_util
6916  gpr
6917)
6918
6919endif (gRPC_BUILD_TESTS)
6920if (gRPC_BUILD_TESTS)
6921
6922add_executable(gpr_string_test
6923  test/core/gpr/string_test.cc
6924)
6925
6926
6927target_include_directories(gpr_string_test
6928  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6929  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6930  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6931  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6932  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6933  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6934  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6935  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6936  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6937  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6938)
6939
6940target_link_libraries(gpr_string_test
6941  ${_gRPC_ALLTARGETS_LIBRARIES}
6942  gpr_test_util
6943  gpr
6944)
6945
6946endif (gRPC_BUILD_TESTS)
6947if (gRPC_BUILD_TESTS)
6948
6949add_executable(gpr_sync_test
6950  test/core/gpr/sync_test.cc
6951)
6952
6953
6954target_include_directories(gpr_sync_test
6955  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6956  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6957  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6958  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6959  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6960  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6961  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6962  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6963  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6964  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6965)
6966
6967target_link_libraries(gpr_sync_test
6968  ${_gRPC_ALLTARGETS_LIBRARIES}
6969  gpr_test_util
6970  gpr
6971)
6972
6973endif (gRPC_BUILD_TESTS)
6974if (gRPC_BUILD_TESTS)
6975
6976add_executable(gpr_thd_test
6977  test/core/gprpp/thd_test.cc
6978)
6979
6980
6981target_include_directories(gpr_thd_test
6982  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
6983  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
6984  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
6985  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
6986  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
6987  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
6988  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
6989  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
6990  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
6991  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
6992)
6993
6994target_link_libraries(gpr_thd_test
6995  ${_gRPC_ALLTARGETS_LIBRARIES}
6996  gpr_test_util
6997  gpr
6998)
6999
7000endif (gRPC_BUILD_TESTS)
7001if (gRPC_BUILD_TESTS)
7002
7003add_executable(gpr_time_test
7004  test/core/gpr/time_test.cc
7005)
7006
7007
7008target_include_directories(gpr_time_test
7009  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7010  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7011  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7012  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7013  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7014  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7015  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7016  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7017  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7018  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7019)
7020
7021target_link_libraries(gpr_time_test
7022  ${_gRPC_ALLTARGETS_LIBRARIES}
7023  gpr_test_util
7024  gpr
7025)
7026
7027endif (gRPC_BUILD_TESTS)
7028if (gRPC_BUILD_TESTS)
7029
7030add_executable(gpr_tls_test
7031  test/core/gpr/tls_test.cc
7032)
7033
7034
7035target_include_directories(gpr_tls_test
7036  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7037  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7038  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7039  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7040  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7041  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7042  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7043  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7044  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7045  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7046)
7047
7048target_link_libraries(gpr_tls_test
7049  ${_gRPC_ALLTARGETS_LIBRARIES}
7050  gpr_test_util
7051  gpr
7052)
7053
7054endif (gRPC_BUILD_TESTS)
7055if (gRPC_BUILD_TESTS)
7056
7057add_executable(gpr_useful_test
7058  test/core/gpr/useful_test.cc
7059)
7060
7061
7062target_include_directories(gpr_useful_test
7063  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7064  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7065  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7066  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7067  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7068  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7069  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7070  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7071  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7072  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7073)
7074
7075target_link_libraries(gpr_useful_test
7076  ${_gRPC_ALLTARGETS_LIBRARIES}
7077  gpr_test_util
7078  gpr
7079)
7080
7081endif (gRPC_BUILD_TESTS)
7082if (gRPC_BUILD_TESTS)
7083
7084add_executable(grpc_auth_context_test
7085  test/core/security/auth_context_test.cc
7086)
7087
7088
7089target_include_directories(grpc_auth_context_test
7090  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7091  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7092  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7093  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7094  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7095  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7096  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7097  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7098  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7099  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7100)
7101
7102target_link_libraries(grpc_auth_context_test
7103  ${_gRPC_ALLTARGETS_LIBRARIES}
7104  grpc_test_util
7105  grpc
7106  gpr_test_util
7107  gpr
7108)
7109
7110endif (gRPC_BUILD_TESTS)
7111if (gRPC_BUILD_TESTS)
7112
7113add_executable(grpc_b64_test
7114  test/core/slice/b64_test.cc
7115)
7116
7117
7118target_include_directories(grpc_b64_test
7119  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7120  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7121  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7122  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7123  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7124  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7125  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7126  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7127  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7128  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7129)
7130
7131target_link_libraries(grpc_b64_test
7132  ${_gRPC_ALLTARGETS_LIBRARIES}
7133  grpc_test_util
7134  grpc
7135  gpr_test_util
7136  gpr
7137)
7138
7139endif (gRPC_BUILD_TESTS)
7140if (gRPC_BUILD_TESTS)
7141
7142add_executable(grpc_byte_buffer_reader_test
7143  test/core/surface/byte_buffer_reader_test.cc
7144)
7145
7146
7147target_include_directories(grpc_byte_buffer_reader_test
7148  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7149  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7150  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7151  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7152  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7153  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7154  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7155  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7156  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7157  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7158)
7159
7160target_link_libraries(grpc_byte_buffer_reader_test
7161  ${_gRPC_ALLTARGETS_LIBRARIES}
7162  grpc_test_util
7163  grpc
7164  gpr_test_util
7165  gpr
7166)
7167
7168endif (gRPC_BUILD_TESTS)
7169if (gRPC_BUILD_TESTS)
7170
7171add_executable(grpc_channel_args_test
7172  test/core/channel/channel_args_test.cc
7173)
7174
7175
7176target_include_directories(grpc_channel_args_test
7177  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7178  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7179  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7180  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7181  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7182  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7183  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7184  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7185  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7186  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7187)
7188
7189target_link_libraries(grpc_channel_args_test
7190  ${_gRPC_ALLTARGETS_LIBRARIES}
7191  grpc_test_util
7192  grpc
7193  gpr_test_util
7194  gpr
7195)
7196
7197endif (gRPC_BUILD_TESTS)
7198if (gRPC_BUILD_TESTS)
7199
7200add_executable(grpc_channel_stack_builder_test
7201  test/core/channel/channel_stack_builder_test.cc
7202)
7203
7204
7205target_include_directories(grpc_channel_stack_builder_test
7206  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7207  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7208  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7209  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7210  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7211  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7212  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7213  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7214  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7215  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7216)
7217
7218target_link_libraries(grpc_channel_stack_builder_test
7219  ${_gRPC_ALLTARGETS_LIBRARIES}
7220  grpc_test_util
7221  grpc
7222  gpr_test_util
7223  gpr
7224)
7225
7226endif (gRPC_BUILD_TESTS)
7227if (gRPC_BUILD_TESTS)
7228
7229add_executable(grpc_channel_stack_test
7230  test/core/channel/channel_stack_test.cc
7231)
7232
7233
7234target_include_directories(grpc_channel_stack_test
7235  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7236  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7237  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7238  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7239  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7240  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7241  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7242  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7243  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7244  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7245)
7246
7247target_link_libraries(grpc_channel_stack_test
7248  ${_gRPC_ALLTARGETS_LIBRARIES}
7249  grpc_test_util
7250  grpc
7251  gpr_test_util
7252  gpr
7253)
7254
7255endif (gRPC_BUILD_TESTS)
7256if (gRPC_BUILD_TESTS)
7257
7258add_executable(grpc_completion_queue_test
7259  test/core/surface/completion_queue_test.cc
7260)
7261
7262
7263target_include_directories(grpc_completion_queue_test
7264  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7265  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7266  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7267  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7268  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7269  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7270  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7271  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7272  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7273  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7274)
7275
7276target_link_libraries(grpc_completion_queue_test
7277  ${_gRPC_ALLTARGETS_LIBRARIES}
7278  grpc_test_util
7279  grpc
7280  gpr_test_util
7281  gpr
7282)
7283
7284endif (gRPC_BUILD_TESTS)
7285if (gRPC_BUILD_TESTS)
7286
7287add_executable(grpc_completion_queue_threading_test
7288  test/core/surface/completion_queue_threading_test.cc
7289)
7290
7291
7292target_include_directories(grpc_completion_queue_threading_test
7293  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7294  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7295  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7296  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7297  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7298  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7299  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7300  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7301  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7302  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7303)
7304
7305target_link_libraries(grpc_completion_queue_threading_test
7306  ${_gRPC_ALLTARGETS_LIBRARIES}
7307  grpc_test_util
7308  grpc
7309  gpr_test_util
7310  gpr
7311)
7312
7313endif (gRPC_BUILD_TESTS)
7314
7315add_executable(grpc_create_jwt
7316  test/core/security/create_jwt.cc
7317  test/core/util/cmdline.cc
7318)
7319
7320
7321target_include_directories(grpc_create_jwt
7322  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7323  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7324  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7325  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7326  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7327  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7328  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7329  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7330  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7331  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7332)
7333
7334target_link_libraries(grpc_create_jwt
7335  ${_gRPC_SSL_LIBRARIES}
7336  ${_gRPC_ALLTARGETS_LIBRARIES}
7337  grpc
7338  gpr
7339)
7340
7341if (gRPC_BUILD_TESTS)
7342
7343add_executable(grpc_credentials_test
7344  test/core/security/credentials_test.cc
7345)
7346
7347
7348target_include_directories(grpc_credentials_test
7349  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7350  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7351  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7352  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7353  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7354  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7355  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7356  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7357  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7358  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7359)
7360
7361target_link_libraries(grpc_credentials_test
7362  ${_gRPC_ALLTARGETS_LIBRARIES}
7363  grpc_test_util
7364  grpc
7365  gpr_test_util
7366  gpr
7367)
7368
7369endif (gRPC_BUILD_TESTS)
7370if (gRPC_BUILD_TESTS)
7371
7372add_executable(grpc_fetch_oauth2
7373  test/core/security/fetch_oauth2.cc
7374)
7375
7376
7377target_include_directories(grpc_fetch_oauth2
7378  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7379  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7380  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7381  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7382  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7383  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7384  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7385  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7386  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7387  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7388)
7389
7390target_link_libraries(grpc_fetch_oauth2
7391  ${_gRPC_ALLTARGETS_LIBRARIES}
7392  grpc_test_util
7393  grpc
7394  gpr_test_util
7395  gpr
7396)
7397
7398endif (gRPC_BUILD_TESTS)
7399if (gRPC_BUILD_TESTS)
7400
7401add_executable(grpc_ipv6_loopback_available_test
7402  test/core/iomgr/grpc_ipv6_loopback_available_test.cc
7403)
7404
7405
7406target_include_directories(grpc_ipv6_loopback_available_test
7407  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7408  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7409  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7410  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7411  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7412  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7413  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7414  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7415  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7416  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7417)
7418
7419target_link_libraries(grpc_ipv6_loopback_available_test
7420  ${_gRPC_ALLTARGETS_LIBRARIES}
7421  grpc_test_util
7422  grpc
7423  gpr_test_util
7424  gpr
7425)
7426
7427endif (gRPC_BUILD_TESTS)
7428if (gRPC_BUILD_TESTS)
7429if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
7430
7431add_executable(grpc_json_token_test
7432  test/core/security/json_token_test.cc
7433)
7434
7435
7436target_include_directories(grpc_json_token_test
7437  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7438  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7439  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7440  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7441  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7442  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7443  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7444  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7445  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7446  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7447)
7448
7449target_link_libraries(grpc_json_token_test
7450  ${_gRPC_ALLTARGETS_LIBRARIES}
7451  grpc_test_util
7452  grpc
7453  gpr_test_util
7454  gpr
7455)
7456
7457endif()
7458endif (gRPC_BUILD_TESTS)
7459if (gRPC_BUILD_TESTS)
7460
7461add_executable(grpc_jwt_verifier_test
7462  test/core/security/jwt_verifier_test.cc
7463)
7464
7465
7466target_include_directories(grpc_jwt_verifier_test
7467  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7468  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7469  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7470  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7471  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7472  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7473  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7474  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7475  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7476  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7477)
7478
7479target_link_libraries(grpc_jwt_verifier_test
7480  ${_gRPC_ALLTARGETS_LIBRARIES}
7481  grpc_test_util
7482  grpc
7483  gpr_test_util
7484  gpr
7485)
7486
7487endif (gRPC_BUILD_TESTS)
7488
7489add_executable(grpc_print_google_default_creds_token
7490  test/core/security/print_google_default_creds_token.cc
7491  test/core/util/cmdline.cc
7492)
7493
7494
7495target_include_directories(grpc_print_google_default_creds_token
7496  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7497  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7498  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7499  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7500  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7501  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7502  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7503  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7504  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7505  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7506)
7507
7508target_link_libraries(grpc_print_google_default_creds_token
7509  ${_gRPC_ALLTARGETS_LIBRARIES}
7510  grpc
7511  gpr
7512)
7513
7514if (gRPC_BUILD_TESTS)
7515
7516add_executable(grpc_security_connector_test
7517  test/core/security/security_connector_test.cc
7518)
7519
7520
7521target_include_directories(grpc_security_connector_test
7522  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7523  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7524  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7525  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7526  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7527  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7528  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7529  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7530  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7531  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7532)
7533
7534target_link_libraries(grpc_security_connector_test
7535  ${_gRPC_ALLTARGETS_LIBRARIES}
7536  grpc_test_util
7537  grpc
7538  gpr_test_util
7539  gpr
7540)
7541
7542endif (gRPC_BUILD_TESTS)
7543if (gRPC_BUILD_TESTS)
7544
7545add_executable(grpc_ssl_credentials_test
7546  test/core/security/ssl_credentials_test.cc
7547)
7548
7549
7550target_include_directories(grpc_ssl_credentials_test
7551  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7552  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7553  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7554  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7555  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7556  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7557  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7558  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7559  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7560  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7561)
7562
7563target_link_libraries(grpc_ssl_credentials_test
7564  ${_gRPC_ALLTARGETS_LIBRARIES}
7565  grpc_test_util
7566  grpc
7567  gpr_test_util
7568  gpr
7569)
7570
7571endif (gRPC_BUILD_TESTS)
7572
7573add_executable(grpc_verify_jwt
7574  test/core/security/verify_jwt.cc
7575  test/core/util/cmdline.cc
7576)
7577
7578
7579target_include_directories(grpc_verify_jwt
7580  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7581  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7582  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7583  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7584  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7585  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7586  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7587  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7588  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7589  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7590)
7591
7592target_link_libraries(grpc_verify_jwt
7593  ${_gRPC_ALLTARGETS_LIBRARIES}
7594  grpc
7595  gpr
7596)
7597
7598if (gRPC_BUILD_TESTS)
7599if(_gRPC_PLATFORM_LINUX)
7600
7601add_executable(handshake_client
7602  test/core/handshake/client_ssl.cc
7603)
7604
7605
7606target_include_directories(handshake_client
7607  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7608  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7609  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7610  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7611  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7612  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7613  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7614  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7615  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7616  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7617)
7618
7619target_link_libraries(handshake_client
7620  ${_gRPC_SSL_LIBRARIES}
7621  ${_gRPC_ALLTARGETS_LIBRARIES}
7622  grpc_test_util
7623  grpc
7624  gpr_test_util
7625  gpr
7626)
7627
7628endif()
7629endif (gRPC_BUILD_TESTS)
7630if (gRPC_BUILD_TESTS)
7631if(_gRPC_PLATFORM_LINUX)
7632
7633add_executable(handshake_server
7634  test/core/handshake/server_ssl.cc
7635  test/core/handshake/server_ssl_common.cc
7636)
7637
7638
7639target_include_directories(handshake_server
7640  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7641  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7642  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7643  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7644  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7645  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7646  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7647  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7648  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7649  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7650)
7651
7652target_link_libraries(handshake_server
7653  ${_gRPC_SSL_LIBRARIES}
7654  ${_gRPC_ALLTARGETS_LIBRARIES}
7655  grpc_test_util
7656  grpc
7657  gpr_test_util
7658  gpr
7659)
7660
7661endif()
7662endif (gRPC_BUILD_TESTS)
7663if (gRPC_BUILD_TESTS)
7664if(_gRPC_PLATFORM_LINUX)
7665
7666add_executable(handshake_server_with_readahead_handshaker
7667  test/core/handshake/readahead_handshaker_server_ssl.cc
7668  test/core/handshake/server_ssl_common.cc
7669)
7670
7671
7672target_include_directories(handshake_server_with_readahead_handshaker
7673  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7674  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7675  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7676  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7677  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7678  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7679  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7680  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7681  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7682  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7683)
7684
7685target_link_libraries(handshake_server_with_readahead_handshaker
7686  ${_gRPC_SSL_LIBRARIES}
7687  ${_gRPC_ALLTARGETS_LIBRARIES}
7688  grpc_test_util
7689  grpc
7690  gpr_test_util
7691  gpr
7692)
7693
7694endif()
7695endif (gRPC_BUILD_TESTS)
7696if (gRPC_BUILD_TESTS)
7697if(_gRPC_PLATFORM_LINUX)
7698
7699add_executable(handshake_verify_peer_options
7700  test/core/handshake/verify_peer_options.cc
7701)
7702
7703
7704target_include_directories(handshake_verify_peer_options
7705  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7706  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7707  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7708  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7709  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7710  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7711  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7712  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7713  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7714  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7715)
7716
7717target_link_libraries(handshake_verify_peer_options
7718  ${_gRPC_SSL_LIBRARIES}
7719  ${_gRPC_ALLTARGETS_LIBRARIES}
7720  grpc_test_util
7721  grpc
7722  gpr_test_util
7723  gpr
7724)
7725
7726endif()
7727endif (gRPC_BUILD_TESTS)
7728if (gRPC_BUILD_TESTS)
7729
7730add_executable(histogram_test
7731  test/core/util/histogram_test.cc
7732)
7733
7734
7735target_include_directories(histogram_test
7736  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7737  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7738  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7739  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7740  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7741  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7742  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7743  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7744  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7745  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7746)
7747
7748target_link_libraries(histogram_test
7749  ${_gRPC_ALLTARGETS_LIBRARIES}
7750  grpc_test_util
7751  gpr
7752)
7753
7754endif (gRPC_BUILD_TESTS)
7755if (gRPC_BUILD_TESTS)
7756
7757add_executable(hpack_parser_test
7758  test/core/transport/chttp2/hpack_parser_test.cc
7759)
7760
7761
7762target_include_directories(hpack_parser_test
7763  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7764  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7765  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7766  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7767  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7768  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7769  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7770  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7771  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7772  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7773)
7774
7775target_link_libraries(hpack_parser_test
7776  ${_gRPC_ALLTARGETS_LIBRARIES}
7777  grpc_test_util
7778  grpc
7779  gpr_test_util
7780  gpr
7781)
7782
7783endif (gRPC_BUILD_TESTS)
7784if (gRPC_BUILD_TESTS)
7785
7786add_executable(hpack_table_test
7787  test/core/transport/chttp2/hpack_table_test.cc
7788)
7789
7790
7791target_include_directories(hpack_table_test
7792  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7793  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7794  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7795  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7796  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7797  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7798  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7799  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7800  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7801  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7802)
7803
7804target_link_libraries(hpack_table_test
7805  ${_gRPC_ALLTARGETS_LIBRARIES}
7806  grpc_test_util
7807  grpc
7808  gpr_test_util
7809  gpr
7810)
7811
7812endif (gRPC_BUILD_TESTS)
7813if (gRPC_BUILD_TESTS)
7814
7815add_executable(http_parser_test
7816  test/core/http/parser_test.cc
7817)
7818
7819
7820target_include_directories(http_parser_test
7821  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7822  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7823  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7824  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7825  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7826  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7827  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7828  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7829  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7830  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7831)
7832
7833target_link_libraries(http_parser_test
7834  ${_gRPC_ALLTARGETS_LIBRARIES}
7835  grpc_test_util
7836  grpc
7837  gpr_test_util
7838  gpr
7839)
7840
7841endif (gRPC_BUILD_TESTS)
7842if (gRPC_BUILD_TESTS)
7843
7844add_executable(httpcli_format_request_test
7845  test/core/http/format_request_test.cc
7846)
7847
7848
7849target_include_directories(httpcli_format_request_test
7850  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7851  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7852  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7853  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7854  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7855  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7856  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7857  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7858  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7859  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7860)
7861
7862target_link_libraries(httpcli_format_request_test
7863  ${_gRPC_ALLTARGETS_LIBRARIES}
7864  grpc_test_util
7865  grpc
7866  gpr_test_util
7867  gpr
7868)
7869
7870endif (gRPC_BUILD_TESTS)
7871if (gRPC_BUILD_TESTS)
7872if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
7873
7874add_executable(httpcli_test
7875  test/core/http/httpcli_test.cc
7876)
7877
7878
7879target_include_directories(httpcli_test
7880  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7881  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7882  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7883  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7884  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7885  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7886  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7887  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7888  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7889  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7890)
7891
7892target_link_libraries(httpcli_test
7893  ${_gRPC_ALLTARGETS_LIBRARIES}
7894  grpc_test_util
7895  grpc
7896  gpr_test_util
7897  gpr
7898)
7899
7900endif()
7901endif (gRPC_BUILD_TESTS)
7902if (gRPC_BUILD_TESTS)
7903if(_gRPC_PLATFORM_LINUX)
7904
7905add_executable(httpscli_test
7906  test/core/http/httpscli_test.cc
7907)
7908
7909
7910target_include_directories(httpscli_test
7911  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7912  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7913  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7914  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7915  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7916  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7917  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7918  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7919  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7920  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7921)
7922
7923target_link_libraries(httpscli_test
7924  ${_gRPC_ALLTARGETS_LIBRARIES}
7925  grpc_test_util
7926  grpc
7927  gpr_test_util
7928  gpr
7929)
7930
7931endif()
7932endif (gRPC_BUILD_TESTS)
7933if (gRPC_BUILD_TESTS)
7934
7935add_executable(init_test
7936  test/core/surface/init_test.cc
7937)
7938
7939
7940target_include_directories(init_test
7941  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7942  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7943  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7944  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7945  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7946  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7947  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7948  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7949  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7950  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7951)
7952
7953target_link_libraries(init_test
7954  ${_gRPC_ALLTARGETS_LIBRARIES}
7955  grpc_test_util
7956  grpc
7957  gpr_test_util
7958  gpr
7959)
7960
7961endif (gRPC_BUILD_TESTS)
7962if (gRPC_BUILD_TESTS)
7963
7964add_executable(inproc_callback_test
7965  test/core/end2end/inproc_callback_test.cc
7966)
7967
7968
7969target_include_directories(inproc_callback_test
7970  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
7971  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
7972  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
7973  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
7974  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
7975  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
7976  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
7977  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
7978  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
7979  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
7980)
7981
7982target_link_libraries(inproc_callback_test
7983  ${_gRPC_ALLTARGETS_LIBRARIES}
7984  grpc_test_util
7985  grpc
7986  gpr_test_util
7987  gpr
7988)
7989
7990endif (gRPC_BUILD_TESTS)
7991if (gRPC_BUILD_TESTS)
7992
7993add_executable(invalid_call_argument_test
7994  test/core/end2end/invalid_call_argument_test.cc
7995)
7996
7997
7998target_include_directories(invalid_call_argument_test
7999  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8000  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8001  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8002  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8003  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8004  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8005  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8006  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8007  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8008  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8009)
8010
8011target_link_libraries(invalid_call_argument_test
8012  ${_gRPC_ALLTARGETS_LIBRARIES}
8013  grpc_test_util
8014  grpc
8015  gpr_test_util
8016  gpr
8017)
8018
8019endif (gRPC_BUILD_TESTS)
8020if (gRPC_BUILD_TESTS)
8021
8022add_executable(json_rewrite
8023  test/core/json/json_rewrite.cc
8024)
8025
8026
8027target_include_directories(json_rewrite
8028  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8029  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8030  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8031  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8032  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8033  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8034  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8035  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8036  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8037  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8038)
8039
8040target_link_libraries(json_rewrite
8041  ${_gRPC_ALLTARGETS_LIBRARIES}
8042  grpc_test_util
8043  grpc
8044  gpr_test_util
8045  gpr
8046)
8047
8048endif (gRPC_BUILD_TESTS)
8049if (gRPC_BUILD_TESTS)
8050
8051add_executable(json_rewrite_test
8052  test/core/json/json_rewrite_test.cc
8053)
8054
8055
8056target_include_directories(json_rewrite_test
8057  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8058  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8059  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8060  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8061  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8062  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8063  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8064  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8065  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8066  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8067)
8068
8069target_link_libraries(json_rewrite_test
8070  ${_gRPC_ALLTARGETS_LIBRARIES}
8071  grpc_test_util
8072  grpc
8073  gpr_test_util
8074  gpr
8075)
8076
8077endif (gRPC_BUILD_TESTS)
8078if (gRPC_BUILD_TESTS)
8079
8080add_executable(json_stream_error_test
8081  test/core/json/json_stream_error_test.cc
8082)
8083
8084
8085target_include_directories(json_stream_error_test
8086  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8087  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8088  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8089  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8090  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8091  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8092  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8093  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8094  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8095  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8096)
8097
8098target_link_libraries(json_stream_error_test
8099  ${_gRPC_ALLTARGETS_LIBRARIES}
8100  grpc_test_util
8101  grpc
8102  gpr_test_util
8103  gpr
8104)
8105
8106endif (gRPC_BUILD_TESTS)
8107if (gRPC_BUILD_TESTS)
8108
8109add_executable(json_test
8110  test/core/json/json_test.cc
8111)
8112
8113
8114target_include_directories(json_test
8115  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8116  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8117  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8118  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8119  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8120  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8121  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8122  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8123  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8124  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8125)
8126
8127target_link_libraries(json_test
8128  ${_gRPC_ALLTARGETS_LIBRARIES}
8129  grpc_test_util
8130  grpc
8131  gpr_test_util
8132  gpr
8133)
8134
8135endif (gRPC_BUILD_TESTS)
8136if (gRPC_BUILD_TESTS)
8137
8138add_executable(lame_client_test
8139  test/core/surface/lame_client_test.cc
8140)
8141
8142
8143target_include_directories(lame_client_test
8144  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8145  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8146  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8147  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8148  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8149  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8150  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8151  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8152  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8153  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8154)
8155
8156target_link_libraries(lame_client_test
8157  ${_gRPC_ALLTARGETS_LIBRARIES}
8158  grpc_test_util
8159  grpc
8160  gpr_test_util
8161  gpr
8162)
8163
8164endif (gRPC_BUILD_TESTS)
8165if (gRPC_BUILD_TESTS)
8166
8167add_executable(load_file_test
8168  test/core/iomgr/load_file_test.cc
8169)
8170
8171
8172target_include_directories(load_file_test
8173  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8174  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8175  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8176  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8177  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8178  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8179  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8180  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8181  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8182  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8183)
8184
8185target_link_libraries(load_file_test
8186  ${_gRPC_ALLTARGETS_LIBRARIES}
8187  grpc_test_util
8188  grpc
8189  gpr_test_util
8190  gpr
8191)
8192
8193endif (gRPC_BUILD_TESTS)
8194if (gRPC_BUILD_TESTS)
8195
8196add_executable(memory_profile_client
8197  test/core/memory_usage/client.cc
8198)
8199
8200
8201target_include_directories(memory_profile_client
8202  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8203  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8204  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8205  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8206  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8207  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8208  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8209  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8210  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8211  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8212)
8213
8214target_link_libraries(memory_profile_client
8215  ${_gRPC_ALLTARGETS_LIBRARIES}
8216  grpc_test_util
8217  grpc
8218  gpr_test_util
8219  gpr
8220)
8221
8222endif (gRPC_BUILD_TESTS)
8223if (gRPC_BUILD_TESTS)
8224
8225add_executable(memory_profile_server
8226  test/core/memory_usage/server.cc
8227)
8228
8229
8230target_include_directories(memory_profile_server
8231  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8232  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8233  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8234  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8235  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8236  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8237  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8238  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8239  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8240  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8241)
8242
8243target_link_libraries(memory_profile_server
8244  ${_gRPC_ALLTARGETS_LIBRARIES}
8245  grpc_test_util
8246  grpc
8247  gpr_test_util
8248  gpr
8249)
8250
8251endif (gRPC_BUILD_TESTS)
8252if (gRPC_BUILD_TESTS)
8253if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
8254
8255add_executable(memory_profile_test
8256  test/core/memory_usage/memory_usage_test.cc
8257)
8258
8259
8260target_include_directories(memory_profile_test
8261  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8262  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8263  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8264  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8265  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8266  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8267  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8268  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8269  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8270  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8271)
8272
8273target_link_libraries(memory_profile_test
8274  ${_gRPC_ALLTARGETS_LIBRARIES}
8275  grpc_test_util
8276  grpc
8277  gpr_test_util
8278  gpr
8279)
8280
8281endif()
8282endif (gRPC_BUILD_TESTS)
8283if (gRPC_BUILD_TESTS)
8284
8285add_executable(message_compress_test
8286  test/core/compression/message_compress_test.cc
8287)
8288
8289
8290target_include_directories(message_compress_test
8291  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8292  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8293  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8294  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8295  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8296  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8297  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8298  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8299  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8300  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8301)
8302
8303target_link_libraries(message_compress_test
8304  ${_gRPC_ALLTARGETS_LIBRARIES}
8305  grpc_test_util
8306  grpc
8307  gpr_test_util
8308  gpr
8309)
8310
8311endif (gRPC_BUILD_TESTS)
8312if (gRPC_BUILD_TESTS)
8313
8314add_executable(minimal_stack_is_minimal_test
8315  test/core/channel/minimal_stack_is_minimal_test.cc
8316)
8317
8318
8319target_include_directories(minimal_stack_is_minimal_test
8320  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8321  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8322  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8323  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8324  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8325  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8326  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8327  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8328  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8329  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8330)
8331
8332target_link_libraries(minimal_stack_is_minimal_test
8333  ${_gRPC_ALLTARGETS_LIBRARIES}
8334  grpc_test_util
8335  grpc
8336  gpr_test_util
8337  gpr
8338)
8339
8340endif (gRPC_BUILD_TESTS)
8341if (gRPC_BUILD_TESTS)
8342
8343add_executable(multiple_server_queues_test
8344  test/core/end2end/multiple_server_queues_test.cc
8345)
8346
8347
8348target_include_directories(multiple_server_queues_test
8349  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8350  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8351  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8352  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8353  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8354  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8355  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8356  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8357  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8358  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8359)
8360
8361target_link_libraries(multiple_server_queues_test
8362  ${_gRPC_ALLTARGETS_LIBRARIES}
8363  grpc_test_util
8364  grpc
8365  gpr_test_util
8366  gpr
8367)
8368
8369endif (gRPC_BUILD_TESTS)
8370if (gRPC_BUILD_TESTS)
8371
8372add_executable(murmur_hash_test
8373  test/core/gpr/murmur_hash_test.cc
8374)
8375
8376
8377target_include_directories(murmur_hash_test
8378  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8379  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8380  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8381  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8382  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8383  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8384  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8385  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8386  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8387  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8388)
8389
8390target_link_libraries(murmur_hash_test
8391  ${_gRPC_ALLTARGETS_LIBRARIES}
8392  gpr_test_util
8393  gpr
8394)
8395
8396endif (gRPC_BUILD_TESTS)
8397if (gRPC_BUILD_TESTS)
8398
8399add_executable(no_server_test
8400  test/core/end2end/no_server_test.cc
8401)
8402
8403
8404target_include_directories(no_server_test
8405  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8406  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8407  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8408  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8409  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8410  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8411  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8412  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8413  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8414  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8415)
8416
8417target_link_libraries(no_server_test
8418  ${_gRPC_ALLTARGETS_LIBRARIES}
8419  grpc_test_util
8420  grpc
8421  gpr_test_util
8422  gpr
8423)
8424
8425endif (gRPC_BUILD_TESTS)
8426if (gRPC_BUILD_TESTS)
8427
8428add_executable(num_external_connectivity_watchers_test
8429  test/core/surface/num_external_connectivity_watchers_test.cc
8430)
8431
8432
8433target_include_directories(num_external_connectivity_watchers_test
8434  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8435  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8436  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8437  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8438  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8439  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8440  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8441  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8442  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8443  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8444)
8445
8446target_link_libraries(num_external_connectivity_watchers_test
8447  ${_gRPC_ALLTARGETS_LIBRARIES}
8448  grpc_test_util
8449  grpc
8450  gpr_test_util
8451  gpr
8452)
8453
8454endif (gRPC_BUILD_TESTS)
8455if (gRPC_BUILD_TESTS)
8456
8457add_executable(parse_address_test
8458  test/core/client_channel/parse_address_test.cc
8459)
8460
8461
8462target_include_directories(parse_address_test
8463  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8464  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8465  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8466  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8467  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8468  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8469  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8470  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8471  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8472  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8473)
8474
8475target_link_libraries(parse_address_test
8476  ${_gRPC_ALLTARGETS_LIBRARIES}
8477  grpc_test_util
8478  grpc
8479  gpr_test_util
8480  gpr
8481)
8482
8483endif (gRPC_BUILD_TESTS)
8484if (gRPC_BUILD_TESTS)
8485
8486add_executable(percent_encoding_test
8487  test/core/slice/percent_encoding_test.cc
8488)
8489
8490
8491target_include_directories(percent_encoding_test
8492  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8493  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8494  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8495  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8496  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8497  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8498  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8499  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8500  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8501  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8502)
8503
8504target_link_libraries(percent_encoding_test
8505  ${_gRPC_ALLTARGETS_LIBRARIES}
8506  grpc_test_util
8507  grpc
8508  gpr_test_util
8509  gpr
8510)
8511
8512endif (gRPC_BUILD_TESTS)
8513if (gRPC_BUILD_TESTS)
8514if(_gRPC_PLATFORM_LINUX)
8515
8516add_executable(pollset_set_test
8517  test/core/iomgr/pollset_set_test.cc
8518)
8519
8520
8521target_include_directories(pollset_set_test
8522  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8523  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8524  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8525  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8526  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8527  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8528  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8529  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8530  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8531  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8532)
8533
8534target_link_libraries(pollset_set_test
8535  ${_gRPC_ALLTARGETS_LIBRARIES}
8536  grpc_test_util
8537  grpc
8538  gpr_test_util
8539  gpr
8540)
8541
8542endif()
8543endif (gRPC_BUILD_TESTS)
8544if (gRPC_BUILD_TESTS)
8545if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
8546
8547add_executable(resolve_address_posix_test
8548  test/core/iomgr/resolve_address_posix_test.cc
8549)
8550
8551
8552target_include_directories(resolve_address_posix_test
8553  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8554  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8555  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8556  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8557  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8558  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8559  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8560  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8561  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8562  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8563)
8564
8565target_link_libraries(resolve_address_posix_test
8566  ${_gRPC_ALLTARGETS_LIBRARIES}
8567  grpc_test_util
8568  grpc
8569  gpr_test_util
8570  gpr
8571)
8572
8573endif()
8574endif (gRPC_BUILD_TESTS)
8575if (gRPC_BUILD_TESTS)
8576
8577add_executable(resolve_address_using_ares_resolver_test
8578  test/core/iomgr/resolve_address_test.cc
8579)
8580
8581
8582target_include_directories(resolve_address_using_ares_resolver_test
8583  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8584  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8585  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8586  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8587  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8588  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8589  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8590  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8591  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8592  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8593)
8594
8595target_link_libraries(resolve_address_using_ares_resolver_test
8596  ${_gRPC_ALLTARGETS_LIBRARIES}
8597  grpc_test_util
8598  grpc
8599  gpr_test_util
8600  gpr
8601)
8602
8603endif (gRPC_BUILD_TESTS)
8604if (gRPC_BUILD_TESTS)
8605
8606add_executable(resolve_address_using_native_resolver_test
8607  test/core/iomgr/resolve_address_test.cc
8608)
8609
8610
8611target_include_directories(resolve_address_using_native_resolver_test
8612  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8613  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8614  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8615  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8616  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8617  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8618  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8619  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8620  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8621  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8622)
8623
8624target_link_libraries(resolve_address_using_native_resolver_test
8625  ${_gRPC_ALLTARGETS_LIBRARIES}
8626  grpc_test_util
8627  grpc
8628  gpr_test_util
8629  gpr
8630)
8631
8632endif (gRPC_BUILD_TESTS)
8633if (gRPC_BUILD_TESTS)
8634
8635add_executable(resource_quota_test
8636  test/core/iomgr/resource_quota_test.cc
8637)
8638
8639
8640target_include_directories(resource_quota_test
8641  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8642  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8643  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8644  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8645  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8646  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8647  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8648  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8649  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8650  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8651)
8652
8653target_link_libraries(resource_quota_test
8654  ${_gRPC_ALLTARGETS_LIBRARIES}
8655  grpc_test_util
8656  grpc
8657  gpr_test_util
8658  gpr
8659)
8660
8661endif (gRPC_BUILD_TESTS)
8662if (gRPC_BUILD_TESTS)
8663
8664add_executable(secure_channel_create_test
8665  test/core/surface/secure_channel_create_test.cc
8666)
8667
8668
8669target_include_directories(secure_channel_create_test
8670  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8671  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8672  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8673  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8674  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8675  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8676  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8677  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8678  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8679  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8680)
8681
8682target_link_libraries(secure_channel_create_test
8683  ${_gRPC_ALLTARGETS_LIBRARIES}
8684  grpc_test_util
8685  grpc
8686  gpr_test_util
8687  gpr
8688)
8689
8690endif (gRPC_BUILD_TESTS)
8691if (gRPC_BUILD_TESTS)
8692
8693add_executable(secure_endpoint_test
8694  test/core/security/secure_endpoint_test.cc
8695)
8696
8697
8698target_include_directories(secure_endpoint_test
8699  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8700  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8701  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8702  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8703  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8704  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8705  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8706  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8707  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8708  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8709)
8710
8711target_link_libraries(secure_endpoint_test
8712  ${_gRPC_ALLTARGETS_LIBRARIES}
8713  grpc_test_util
8714  grpc
8715  gpr_test_util
8716  gpr
8717)
8718
8719endif (gRPC_BUILD_TESTS)
8720if (gRPC_BUILD_TESTS)
8721
8722add_executable(sequential_connectivity_test
8723  test/core/surface/sequential_connectivity_test.cc
8724)
8725
8726
8727target_include_directories(sequential_connectivity_test
8728  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8729  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8730  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8731  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8732  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8733  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8734  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8735  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8736  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8737  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8738)
8739
8740target_link_libraries(sequential_connectivity_test
8741  ${_gRPC_ALLTARGETS_LIBRARIES}
8742  grpc_test_util
8743  grpc
8744  gpr_test_util
8745  gpr
8746)
8747
8748endif (gRPC_BUILD_TESTS)
8749if (gRPC_BUILD_TESTS)
8750
8751add_executable(server_chttp2_test
8752  test/core/surface/server_chttp2_test.cc
8753)
8754
8755
8756target_include_directories(server_chttp2_test
8757  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8758  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8759  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8760  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8761  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8762  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8763  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8764  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8765  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8766  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8767)
8768
8769target_link_libraries(server_chttp2_test
8770  ${_gRPC_ALLTARGETS_LIBRARIES}
8771  grpc_test_util
8772  grpc
8773  gpr_test_util
8774  gpr
8775)
8776
8777endif (gRPC_BUILD_TESTS)
8778if (gRPC_BUILD_TESTS)
8779
8780add_executable(server_test
8781  test/core/surface/server_test.cc
8782)
8783
8784
8785target_include_directories(server_test
8786  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8787  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8788  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8789  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8790  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8791  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8792  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8793  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8794  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8795  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8796)
8797
8798target_link_libraries(server_test
8799  ${_gRPC_ALLTARGETS_LIBRARIES}
8800  grpc_test_util
8801  grpc
8802  gpr_test_util
8803  gpr
8804)
8805
8806endif (gRPC_BUILD_TESTS)
8807if (gRPC_BUILD_TESTS)
8808
8809add_executable(slice_buffer_test
8810  test/core/slice/slice_buffer_test.cc
8811)
8812
8813
8814target_include_directories(slice_buffer_test
8815  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8816  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8817  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8818  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8819  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8820  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8821  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8822  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8823  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8824  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8825)
8826
8827target_link_libraries(slice_buffer_test
8828  ${_gRPC_ALLTARGETS_LIBRARIES}
8829  grpc_test_util
8830  grpc
8831  gpr_test_util
8832  gpr
8833)
8834
8835endif (gRPC_BUILD_TESTS)
8836if (gRPC_BUILD_TESTS)
8837
8838add_executable(slice_string_helpers_test
8839  test/core/slice/slice_string_helpers_test.cc
8840)
8841
8842
8843target_include_directories(slice_string_helpers_test
8844  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8845  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8846  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8847  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8848  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8849  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8850  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8851  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8852  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8853  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8854)
8855
8856target_link_libraries(slice_string_helpers_test
8857  ${_gRPC_ALLTARGETS_LIBRARIES}
8858  grpc_test_util
8859  grpc
8860  gpr_test_util
8861  gpr
8862)
8863
8864endif (gRPC_BUILD_TESTS)
8865if (gRPC_BUILD_TESTS)
8866
8867add_executable(slice_test
8868  test/core/slice/slice_test.cc
8869)
8870
8871
8872target_include_directories(slice_test
8873  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8874  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8875  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8876  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8877  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8878  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8879  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8880  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8881  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8882  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8883)
8884
8885target_link_libraries(slice_test
8886  ${_gRPC_ALLTARGETS_LIBRARIES}
8887  grpc_test_util
8888  grpc
8889  gpr_test_util
8890  gpr
8891)
8892
8893endif (gRPC_BUILD_TESTS)
8894if (gRPC_BUILD_TESTS)
8895
8896add_executable(sockaddr_resolver_test
8897  test/core/client_channel/resolvers/sockaddr_resolver_test.cc
8898)
8899
8900
8901target_include_directories(sockaddr_resolver_test
8902  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8903  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8904  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8905  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8906  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8907  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8908  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8909  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8910  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8911  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8912)
8913
8914target_link_libraries(sockaddr_resolver_test
8915  ${_gRPC_ALLTARGETS_LIBRARIES}
8916  grpc_test_util
8917  grpc
8918  gpr_test_util
8919  gpr
8920)
8921
8922endif (gRPC_BUILD_TESTS)
8923if (gRPC_BUILD_TESTS)
8924
8925add_executable(sockaddr_utils_test
8926  test/core/iomgr/sockaddr_utils_test.cc
8927)
8928
8929
8930target_include_directories(sockaddr_utils_test
8931  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8932  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8933  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8934  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8935  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8936  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8937  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8938  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8939  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8940  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8941)
8942
8943target_link_libraries(sockaddr_utils_test
8944  ${_gRPC_ALLTARGETS_LIBRARIES}
8945  grpc_test_util
8946  grpc
8947  gpr_test_util
8948  gpr
8949)
8950
8951endif (gRPC_BUILD_TESTS)
8952if (gRPC_BUILD_TESTS)
8953if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
8954
8955add_executable(socket_utils_test
8956  test/core/iomgr/socket_utils_test.cc
8957)
8958
8959
8960target_include_directories(socket_utils_test
8961  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8962  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8963  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8964  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8965  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8966  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8967  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
8968  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
8969  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
8970  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
8971)
8972
8973target_link_libraries(socket_utils_test
8974  ${_gRPC_ALLTARGETS_LIBRARIES}
8975  grpc_test_util
8976  grpc
8977  gpr_test_util
8978  gpr
8979)
8980
8981endif()
8982endif (gRPC_BUILD_TESTS)
8983if (gRPC_BUILD_TESTS)
8984if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
8985
8986add_executable(ssl_transport_security_test
8987  test/core/tsi/ssl_transport_security_test.cc
8988  test/core/tsi/transport_security_test_lib.cc
8989)
8990
8991
8992target_include_directories(ssl_transport_security_test
8993  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
8994  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
8995  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
8996  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
8997  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
8998  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
8999  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9000  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9001  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9002  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9003)
9004
9005target_link_libraries(ssl_transport_security_test
9006  ${_gRPC_ALLTARGETS_LIBRARIES}
9007  gpr_test_util
9008  gpr
9009  grpc
9010)
9011
9012endif()
9013endif (gRPC_BUILD_TESTS)
9014if (gRPC_BUILD_TESTS)
9015
9016add_executable(status_conversion_test
9017  test/core/transport/status_conversion_test.cc
9018)
9019
9020
9021target_include_directories(status_conversion_test
9022  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9023  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9024  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9025  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9026  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9027  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9028  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9029  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9030  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9031  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9032)
9033
9034target_link_libraries(status_conversion_test
9035  ${_gRPC_ALLTARGETS_LIBRARIES}
9036  grpc_test_util
9037  grpc
9038  gpr_test_util
9039  gpr
9040)
9041
9042endif (gRPC_BUILD_TESTS)
9043if (gRPC_BUILD_TESTS)
9044
9045add_executable(stream_compression_test
9046  test/core/compression/stream_compression_test.cc
9047)
9048
9049
9050target_include_directories(stream_compression_test
9051  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9052  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9053  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9054  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9055  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9056  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9057  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9058  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9059  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9060  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9061)
9062
9063target_link_libraries(stream_compression_test
9064  ${_gRPC_ALLTARGETS_LIBRARIES}
9065  grpc_test_util
9066  grpc
9067  gpr_test_util
9068  gpr
9069)
9070
9071endif (gRPC_BUILD_TESTS)
9072if (gRPC_BUILD_TESTS)
9073
9074add_executable(stream_owned_slice_test
9075  test/core/transport/stream_owned_slice_test.cc
9076)
9077
9078
9079target_include_directories(stream_owned_slice_test
9080  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9081  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9082  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9083  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9084  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9085  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9086  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9087  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9088  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9089  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9090)
9091
9092target_link_libraries(stream_owned_slice_test
9093  ${_gRPC_ALLTARGETS_LIBRARIES}
9094  grpc_test_util
9095  grpc
9096  gpr_test_util
9097  gpr
9098)
9099
9100endif (gRPC_BUILD_TESTS)
9101if (gRPC_BUILD_TESTS)
9102if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
9103
9104add_executable(tcp_client_posix_test
9105  test/core/iomgr/tcp_client_posix_test.cc
9106)
9107
9108
9109target_include_directories(tcp_client_posix_test
9110  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9111  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9112  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9113  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9114  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9115  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9116  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9117  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9118  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9119  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9120)
9121
9122target_link_libraries(tcp_client_posix_test
9123  ${_gRPC_ALLTARGETS_LIBRARIES}
9124  grpc_test_util
9125  grpc
9126  gpr_test_util
9127  gpr
9128)
9129
9130endif()
9131endif (gRPC_BUILD_TESTS)
9132if (gRPC_BUILD_TESTS)
9133
9134add_executable(tcp_client_uv_test
9135  test/core/iomgr/tcp_client_uv_test.cc
9136)
9137
9138
9139target_include_directories(tcp_client_uv_test
9140  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9141  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9142  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9143  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9144  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9145  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9146  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9147  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9148  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9149  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9150)
9151
9152target_link_libraries(tcp_client_uv_test
9153  ${_gRPC_ALLTARGETS_LIBRARIES}
9154  grpc_test_util
9155  grpc
9156  gpr_test_util
9157  gpr
9158)
9159
9160endif (gRPC_BUILD_TESTS)
9161if (gRPC_BUILD_TESTS)
9162if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
9163
9164add_executable(tcp_posix_test
9165  test/core/iomgr/tcp_posix_test.cc
9166)
9167
9168
9169target_include_directories(tcp_posix_test
9170  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9171  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9172  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9173  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9174  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9175  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9176  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9177  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9178  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9179  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9180)
9181
9182target_link_libraries(tcp_posix_test
9183  ${_gRPC_ALLTARGETS_LIBRARIES}
9184  grpc_test_util
9185  grpc
9186  gpr_test_util
9187  gpr
9188)
9189
9190endif()
9191endif (gRPC_BUILD_TESTS)
9192if (gRPC_BUILD_TESTS)
9193if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
9194
9195add_executable(tcp_server_posix_test
9196  test/core/iomgr/tcp_server_posix_test.cc
9197)
9198
9199
9200target_include_directories(tcp_server_posix_test
9201  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9202  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9203  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9204  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9205  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9206  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9207  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9208  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9209  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9210  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9211)
9212
9213target_link_libraries(tcp_server_posix_test
9214  ${_gRPC_ALLTARGETS_LIBRARIES}
9215  grpc_test_util
9216  grpc
9217  gpr_test_util
9218  gpr
9219)
9220
9221endif()
9222endif (gRPC_BUILD_TESTS)
9223if (gRPC_BUILD_TESTS)
9224
9225add_executable(tcp_server_uv_test
9226  test/core/iomgr/tcp_server_uv_test.cc
9227)
9228
9229
9230target_include_directories(tcp_server_uv_test
9231  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9232  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9233  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9234  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9235  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9236  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9237  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9238  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9239  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9240  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9241)
9242
9243target_link_libraries(tcp_server_uv_test
9244  ${_gRPC_ALLTARGETS_LIBRARIES}
9245  grpc_test_util
9246  grpc
9247  gpr_test_util
9248  gpr
9249)
9250
9251endif (gRPC_BUILD_TESTS)
9252if (gRPC_BUILD_TESTS)
9253
9254add_executable(time_averaged_stats_test
9255  test/core/iomgr/time_averaged_stats_test.cc
9256)
9257
9258
9259target_include_directories(time_averaged_stats_test
9260  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9261  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9262  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9263  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9264  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9265  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9266  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9267  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9268  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9269  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9270)
9271
9272target_link_libraries(time_averaged_stats_test
9273  ${_gRPC_ALLTARGETS_LIBRARIES}
9274  grpc_test_util
9275  grpc
9276  gpr_test_util
9277  gpr
9278)
9279
9280endif (gRPC_BUILD_TESTS)
9281if (gRPC_BUILD_TESTS)
9282
9283add_executable(timeout_encoding_test
9284  test/core/transport/timeout_encoding_test.cc
9285)
9286
9287
9288target_include_directories(timeout_encoding_test
9289  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9290  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9291  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9292  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9293  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9294  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9295  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9296  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9297  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9298  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9299)
9300
9301target_link_libraries(timeout_encoding_test
9302  ${_gRPC_ALLTARGETS_LIBRARIES}
9303  grpc_test_util
9304  grpc
9305  gpr_test_util
9306  gpr
9307)
9308
9309endif (gRPC_BUILD_TESTS)
9310if (gRPC_BUILD_TESTS)
9311
9312add_executable(timer_heap_test
9313  test/core/iomgr/timer_heap_test.cc
9314)
9315
9316
9317target_include_directories(timer_heap_test
9318  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9319  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9320  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9321  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9322  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9323  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9324  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9325  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9326  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9327  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9328)
9329
9330target_link_libraries(timer_heap_test
9331  ${_gRPC_ALLTARGETS_LIBRARIES}
9332  grpc_test_util
9333  grpc
9334  gpr_test_util
9335  gpr
9336)
9337
9338endif (gRPC_BUILD_TESTS)
9339if (gRPC_BUILD_TESTS)
9340
9341add_executable(timer_list_test
9342  test/core/iomgr/timer_list_test.cc
9343)
9344
9345
9346target_include_directories(timer_list_test
9347  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9348  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9349  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9350  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9351  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9352  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9353  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9354  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9355  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9356  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9357)
9358
9359target_link_libraries(timer_list_test
9360  ${_gRPC_ALLTARGETS_LIBRARIES}
9361  grpc_test_util
9362  grpc
9363  gpr_test_util
9364  gpr
9365)
9366
9367endif (gRPC_BUILD_TESTS)
9368if (gRPC_BUILD_TESTS)
9369
9370add_executable(transport_connectivity_state_test
9371  test/core/transport/connectivity_state_test.cc
9372)
9373
9374
9375target_include_directories(transport_connectivity_state_test
9376  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9377  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9378  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9379  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9380  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9381  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9382  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9383  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9384  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9385  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9386)
9387
9388target_link_libraries(transport_connectivity_state_test
9389  ${_gRPC_ALLTARGETS_LIBRARIES}
9390  grpc_test_util
9391  grpc
9392  gpr_test_util
9393  gpr
9394)
9395
9396endif (gRPC_BUILD_TESTS)
9397if (gRPC_BUILD_TESTS)
9398
9399add_executable(transport_metadata_test
9400  test/core/transport/metadata_test.cc
9401)
9402
9403
9404target_include_directories(transport_metadata_test
9405  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9406  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9407  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9408  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9409  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9410  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9411  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9412  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9413  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9414  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9415)
9416
9417target_link_libraries(transport_metadata_test
9418  ${_gRPC_ALLTARGETS_LIBRARIES}
9419  grpc_test_util
9420  grpc
9421  gpr_test_util
9422  gpr
9423)
9424
9425endif (gRPC_BUILD_TESTS)
9426if (gRPC_BUILD_TESTS)
9427if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
9428
9429add_executable(transport_security_test
9430  test/core/tsi/transport_security_test.cc
9431)
9432
9433
9434target_include_directories(transport_security_test
9435  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9436  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9437  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9438  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9439  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9440  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9441  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9442  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9443  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9444  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9445)
9446
9447target_link_libraries(transport_security_test
9448  ${_gRPC_ALLTARGETS_LIBRARIES}
9449  grpc_test_util
9450  grpc
9451  gpr_test_util
9452  gpr
9453)
9454
9455endif()
9456endif (gRPC_BUILD_TESTS)
9457if (gRPC_BUILD_TESTS)
9458if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
9459
9460add_executable(udp_server_test
9461  test/core/iomgr/udp_server_test.cc
9462)
9463
9464
9465target_include_directories(udp_server_test
9466  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9467  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9468  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9469  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9470  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9471  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9472  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9473  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9474  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9475  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9476)
9477
9478target_link_libraries(udp_server_test
9479  ${_gRPC_ALLTARGETS_LIBRARIES}
9480  grpc_test_util
9481  grpc
9482  gpr_test_util
9483  gpr
9484)
9485
9486endif()
9487endif (gRPC_BUILD_TESTS)
9488if (gRPC_BUILD_TESTS)
9489
9490add_executable(uri_parser_test
9491  test/core/client_channel/uri_parser_test.cc
9492)
9493
9494
9495target_include_directories(uri_parser_test
9496  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9497  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9498  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9499  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9500  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9501  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9502  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9503  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9504  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9505  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9506)
9507
9508target_link_libraries(uri_parser_test
9509  ${_gRPC_ALLTARGETS_LIBRARIES}
9510  grpc_test_util
9511  grpc
9512  gpr_test_util
9513  gpr
9514)
9515
9516endif (gRPC_BUILD_TESTS)
9517if (gRPC_BUILD_TESTS)
9518if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
9519
9520add_executable(wakeup_fd_cv_test
9521  test/core/iomgr/wakeup_fd_cv_test.cc
9522)
9523
9524
9525target_include_directories(wakeup_fd_cv_test
9526  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9527  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9528  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9529  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9530  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9531  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9532  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9533  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9534  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9535  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9536)
9537
9538target_link_libraries(wakeup_fd_cv_test
9539  ${_gRPC_ALLTARGETS_LIBRARIES}
9540  grpc_test_util
9541  grpc
9542  gpr_test_util
9543  gpr
9544)
9545
9546endif()
9547endif (gRPC_BUILD_TESTS)
9548if (gRPC_BUILD_TESTS)
9549
9550add_executable(alarm_test
9551  test/cpp/common/alarm_test.cc
9552  third_party/googletest/googletest/src/gtest-all.cc
9553  third_party/googletest/googlemock/src/gmock-all.cc
9554)
9555
9556
9557target_include_directories(alarm_test
9558  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9559  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9560  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9561  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9562  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9563  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9564  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9565  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9566  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9567  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9568  PRIVATE third_party/googletest/googletest/include
9569  PRIVATE third_party/googletest/googletest
9570  PRIVATE third_party/googletest/googlemock/include
9571  PRIVATE third_party/googletest/googlemock
9572  PRIVATE ${_gRPC_PROTO_GENS_DIR}
9573)
9574
9575target_link_libraries(alarm_test
9576  ${_gRPC_PROTOBUF_LIBRARIES}
9577  ${_gRPC_ALLTARGETS_LIBRARIES}
9578  grpc++_test_util_unsecure
9579  grpc_test_util_unsecure
9580  grpc++_unsecure
9581  grpc_unsecure
9582  gpr_test_util
9583  gpr
9584  ${_gRPC_GFLAGS_LIBRARIES}
9585)
9586
9587endif (gRPC_BUILD_TESTS)
9588if (gRPC_BUILD_TESTS)
9589
9590add_executable(alts_counter_test
9591  test/core/tsi/alts/frame_protector/alts_counter_test.cc
9592  third_party/googletest/googletest/src/gtest-all.cc
9593  third_party/googletest/googlemock/src/gmock-all.cc
9594)
9595
9596
9597target_include_directories(alts_counter_test
9598  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9599  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9600  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9601  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9602  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9603  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9604  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9605  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9606  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9607  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9608  PRIVATE third_party/googletest/googletest/include
9609  PRIVATE third_party/googletest/googletest
9610  PRIVATE third_party/googletest/googlemock/include
9611  PRIVATE third_party/googletest/googlemock
9612  PRIVATE ${_gRPC_PROTO_GENS_DIR}
9613)
9614
9615target_link_libraries(alts_counter_test
9616  ${_gRPC_PROTOBUF_LIBRARIES}
9617  ${_gRPC_ALLTARGETS_LIBRARIES}
9618  alts_test_util
9619  gpr
9620  grpc
9621  ${_gRPC_GFLAGS_LIBRARIES}
9622)
9623
9624endif (gRPC_BUILD_TESTS)
9625if (gRPC_BUILD_TESTS)
9626
9627add_executable(alts_crypt_test
9628  test/core/tsi/alts/crypt/aes_gcm_test.cc
9629  third_party/googletest/googletest/src/gtest-all.cc
9630  third_party/googletest/googlemock/src/gmock-all.cc
9631)
9632
9633
9634target_include_directories(alts_crypt_test
9635  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9636  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9637  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9638  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9639  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9640  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9641  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9642  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9643  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9644  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9645  PRIVATE third_party/googletest/googletest/include
9646  PRIVATE third_party/googletest/googletest
9647  PRIVATE third_party/googletest/googlemock/include
9648  PRIVATE third_party/googletest/googlemock
9649  PRIVATE ${_gRPC_PROTO_GENS_DIR}
9650)
9651
9652target_link_libraries(alts_crypt_test
9653  ${_gRPC_PROTOBUF_LIBRARIES}
9654  ${_gRPC_ALLTARGETS_LIBRARIES}
9655  alts_test_util
9656  gpr_test_util
9657  gpr
9658  grpc
9659  ${_gRPC_GFLAGS_LIBRARIES}
9660)
9661
9662endif (gRPC_BUILD_TESTS)
9663if (gRPC_BUILD_TESTS)
9664
9665add_executable(alts_crypter_test
9666  test/core/tsi/alts/frame_protector/alts_crypter_test.cc
9667  third_party/googletest/googletest/src/gtest-all.cc
9668  third_party/googletest/googlemock/src/gmock-all.cc
9669)
9670
9671
9672target_include_directories(alts_crypter_test
9673  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9674  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9675  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9676  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9677  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9678  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9679  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9680  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9681  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9682  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9683  PRIVATE third_party/googletest/googletest/include
9684  PRIVATE third_party/googletest/googletest
9685  PRIVATE third_party/googletest/googlemock/include
9686  PRIVATE third_party/googletest/googlemock
9687  PRIVATE ${_gRPC_PROTO_GENS_DIR}
9688)
9689
9690target_link_libraries(alts_crypter_test
9691  ${_gRPC_PROTOBUF_LIBRARIES}
9692  ${_gRPC_ALLTARGETS_LIBRARIES}
9693  alts_test_util
9694  gpr
9695  grpc
9696  ${_gRPC_GFLAGS_LIBRARIES}
9697)
9698
9699endif (gRPC_BUILD_TESTS)
9700if (gRPC_BUILD_TESTS)
9701
9702add_executable(alts_frame_handler_test
9703  test/core/tsi/alts/frame_protector/frame_handler_test.cc
9704  third_party/googletest/googletest/src/gtest-all.cc
9705  third_party/googletest/googlemock/src/gmock-all.cc
9706)
9707
9708
9709target_include_directories(alts_frame_handler_test
9710  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9711  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9712  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9713  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9714  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9715  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9716  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9717  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9718  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9719  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9720  PRIVATE third_party/googletest/googletest/include
9721  PRIVATE third_party/googletest/googletest
9722  PRIVATE third_party/googletest/googlemock/include
9723  PRIVATE third_party/googletest/googlemock
9724  PRIVATE ${_gRPC_PROTO_GENS_DIR}
9725)
9726
9727target_link_libraries(alts_frame_handler_test
9728  ${_gRPC_PROTOBUF_LIBRARIES}
9729  ${_gRPC_ALLTARGETS_LIBRARIES}
9730  alts_test_util
9731  gpr
9732  grpc
9733  ${_gRPC_GFLAGS_LIBRARIES}
9734)
9735
9736endif (gRPC_BUILD_TESTS)
9737if (gRPC_BUILD_TESTS)
9738
9739add_executable(alts_frame_protector_test
9740  test/core/tsi/alts/frame_protector/alts_frame_protector_test.cc
9741  test/core/tsi/transport_security_test_lib.cc
9742  third_party/googletest/googletest/src/gtest-all.cc
9743  third_party/googletest/googlemock/src/gmock-all.cc
9744)
9745
9746
9747target_include_directories(alts_frame_protector_test
9748  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9749  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9750  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9751  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9752  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9753  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9754  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9755  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9756  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9757  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9758  PRIVATE third_party/googletest/googletest/include
9759  PRIVATE third_party/googletest/googletest
9760  PRIVATE third_party/googletest/googlemock/include
9761  PRIVATE third_party/googletest/googlemock
9762  PRIVATE ${_gRPC_PROTO_GENS_DIR}
9763)
9764
9765target_link_libraries(alts_frame_protector_test
9766  ${_gRPC_PROTOBUF_LIBRARIES}
9767  ${_gRPC_ALLTARGETS_LIBRARIES}
9768  alts_test_util
9769  gpr
9770  grpc
9771  ${_gRPC_GFLAGS_LIBRARIES}
9772)
9773
9774endif (gRPC_BUILD_TESTS)
9775if (gRPC_BUILD_TESTS)
9776
9777add_executable(alts_grpc_record_protocol_test
9778  test/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_test.cc
9779  third_party/googletest/googletest/src/gtest-all.cc
9780  third_party/googletest/googlemock/src/gmock-all.cc
9781)
9782
9783
9784target_include_directories(alts_grpc_record_protocol_test
9785  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9786  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9787  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9788  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9789  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9790  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9791  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9792  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9793  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9794  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9795  PRIVATE third_party/googletest/googletest/include
9796  PRIVATE third_party/googletest/googletest
9797  PRIVATE third_party/googletest/googlemock/include
9798  PRIVATE third_party/googletest/googlemock
9799  PRIVATE ${_gRPC_PROTO_GENS_DIR}
9800)
9801
9802target_link_libraries(alts_grpc_record_protocol_test
9803  ${_gRPC_PROTOBUF_LIBRARIES}
9804  ${_gRPC_ALLTARGETS_LIBRARIES}
9805  alts_test_util
9806  gpr
9807  grpc
9808  ${_gRPC_GFLAGS_LIBRARIES}
9809)
9810
9811endif (gRPC_BUILD_TESTS)
9812if (gRPC_BUILD_TESTS)
9813
9814add_executable(alts_handshaker_client_test
9815  test/core/tsi/alts/handshaker/alts_handshaker_client_test.cc
9816  third_party/googletest/googletest/src/gtest-all.cc
9817  third_party/googletest/googlemock/src/gmock-all.cc
9818)
9819
9820
9821target_include_directories(alts_handshaker_client_test
9822  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9823  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9824  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9825  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9826  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9827  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9828  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9829  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9830  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9831  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9832  PRIVATE third_party/googletest/googletest/include
9833  PRIVATE third_party/googletest/googletest
9834  PRIVATE third_party/googletest/googlemock/include
9835  PRIVATE third_party/googletest/googlemock
9836  PRIVATE ${_gRPC_PROTO_GENS_DIR}
9837)
9838
9839target_link_libraries(alts_handshaker_client_test
9840  ${_gRPC_PROTOBUF_LIBRARIES}
9841  ${_gRPC_ALLTARGETS_LIBRARIES}
9842  alts_test_util
9843  gpr
9844  grpc
9845  ${_gRPC_GFLAGS_LIBRARIES}
9846)
9847
9848endif (gRPC_BUILD_TESTS)
9849if (gRPC_BUILD_TESTS)
9850
9851add_executable(alts_handshaker_service_api_test
9852  test/core/tsi/alts/handshaker/alts_handshaker_service_api_test.cc
9853  third_party/googletest/googletest/src/gtest-all.cc
9854  third_party/googletest/googlemock/src/gmock-all.cc
9855)
9856
9857
9858target_include_directories(alts_handshaker_service_api_test
9859  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9860  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9861  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9862  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9863  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9864  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9865  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9866  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9867  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9868  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9869  PRIVATE third_party/googletest/googletest/include
9870  PRIVATE third_party/googletest/googletest
9871  PRIVATE third_party/googletest/googlemock/include
9872  PRIVATE third_party/googletest/googlemock
9873  PRIVATE ${_gRPC_PROTO_GENS_DIR}
9874)
9875
9876target_link_libraries(alts_handshaker_service_api_test
9877  ${_gRPC_PROTOBUF_LIBRARIES}
9878  ${_gRPC_ALLTARGETS_LIBRARIES}
9879  alts_test_util
9880  gpr
9881  grpc
9882  ${_gRPC_GFLAGS_LIBRARIES}
9883)
9884
9885endif (gRPC_BUILD_TESTS)
9886if (gRPC_BUILD_TESTS)
9887
9888add_executable(alts_iovec_record_protocol_test
9889  test/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol_test.cc
9890  third_party/googletest/googletest/src/gtest-all.cc
9891  third_party/googletest/googlemock/src/gmock-all.cc
9892)
9893
9894
9895target_include_directories(alts_iovec_record_protocol_test
9896  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9897  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9898  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9899  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9900  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9901  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9902  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9903  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9904  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9905  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9906  PRIVATE third_party/googletest/googletest/include
9907  PRIVATE third_party/googletest/googletest
9908  PRIVATE third_party/googletest/googlemock/include
9909  PRIVATE third_party/googletest/googlemock
9910  PRIVATE ${_gRPC_PROTO_GENS_DIR}
9911)
9912
9913target_link_libraries(alts_iovec_record_protocol_test
9914  ${_gRPC_PROTOBUF_LIBRARIES}
9915  ${_gRPC_ALLTARGETS_LIBRARIES}
9916  alts_test_util
9917  gpr
9918  grpc
9919  ${_gRPC_GFLAGS_LIBRARIES}
9920)
9921
9922endif (gRPC_BUILD_TESTS)
9923if (gRPC_BUILD_TESTS)
9924
9925add_executable(alts_security_connector_test
9926  test/core/security/alts_security_connector_test.cc
9927  third_party/googletest/googletest/src/gtest-all.cc
9928  third_party/googletest/googlemock/src/gmock-all.cc
9929)
9930
9931
9932target_include_directories(alts_security_connector_test
9933  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9934  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9935  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9936  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9937  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9938  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9939  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9940  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9941  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9942  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9943  PRIVATE third_party/googletest/googletest/include
9944  PRIVATE third_party/googletest/googletest
9945  PRIVATE third_party/googletest/googlemock/include
9946  PRIVATE third_party/googletest/googlemock
9947  PRIVATE ${_gRPC_PROTO_GENS_DIR}
9948)
9949
9950target_link_libraries(alts_security_connector_test
9951  ${_gRPC_PROTOBUF_LIBRARIES}
9952  ${_gRPC_ALLTARGETS_LIBRARIES}
9953  gpr
9954  grpc
9955  ${_gRPC_GFLAGS_LIBRARIES}
9956)
9957
9958endif (gRPC_BUILD_TESTS)
9959if (gRPC_BUILD_TESTS)
9960
9961add_executable(alts_tsi_handshaker_test
9962  test/core/tsi/alts/handshaker/alts_tsi_handshaker_test.cc
9963  third_party/googletest/googletest/src/gtest-all.cc
9964  third_party/googletest/googlemock/src/gmock-all.cc
9965)
9966
9967
9968target_include_directories(alts_tsi_handshaker_test
9969  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
9970  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
9971  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
9972  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
9973  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
9974  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
9975  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
9976  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
9977  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
9978  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
9979  PRIVATE third_party/googletest/googletest/include
9980  PRIVATE third_party/googletest/googletest
9981  PRIVATE third_party/googletest/googlemock/include
9982  PRIVATE third_party/googletest/googlemock
9983  PRIVATE ${_gRPC_PROTO_GENS_DIR}
9984)
9985
9986target_link_libraries(alts_tsi_handshaker_test
9987  ${_gRPC_PROTOBUF_LIBRARIES}
9988  ${_gRPC_ALLTARGETS_LIBRARIES}
9989  alts_test_util
9990  gpr
9991  grpc
9992  ${_gRPC_GFLAGS_LIBRARIES}
9993)
9994
9995endif (gRPC_BUILD_TESTS)
9996if (gRPC_BUILD_TESTS)
9997
9998add_executable(alts_tsi_utils_test
9999  test/core/tsi/alts/handshaker/alts_tsi_utils_test.cc
10000  third_party/googletest/googletest/src/gtest-all.cc
10001  third_party/googletest/googlemock/src/gmock-all.cc
10002)
10003
10004
10005target_include_directories(alts_tsi_utils_test
10006  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10007  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10008  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10009  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10010  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10011  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10012  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10013  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10014  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10015  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10016  PRIVATE third_party/googletest/googletest/include
10017  PRIVATE third_party/googletest/googletest
10018  PRIVATE third_party/googletest/googlemock/include
10019  PRIVATE third_party/googletest/googlemock
10020  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10021)
10022
10023target_link_libraries(alts_tsi_utils_test
10024  ${_gRPC_PROTOBUF_LIBRARIES}
10025  ${_gRPC_ALLTARGETS_LIBRARIES}
10026  alts_test_util
10027  gpr
10028  grpc
10029  ${_gRPC_GFLAGS_LIBRARIES}
10030)
10031
10032endif (gRPC_BUILD_TESTS)
10033if (gRPC_BUILD_TESTS)
10034
10035add_executable(alts_zero_copy_grpc_protector_test
10036  test/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector_test.cc
10037  third_party/googletest/googletest/src/gtest-all.cc
10038  third_party/googletest/googlemock/src/gmock-all.cc
10039)
10040
10041
10042target_include_directories(alts_zero_copy_grpc_protector_test
10043  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10044  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10045  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10046  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10047  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10048  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10049  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10050  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10051  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10052  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10053  PRIVATE third_party/googletest/googletest/include
10054  PRIVATE third_party/googletest/googletest
10055  PRIVATE third_party/googletest/googlemock/include
10056  PRIVATE third_party/googletest/googlemock
10057  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10058)
10059
10060target_link_libraries(alts_zero_copy_grpc_protector_test
10061  ${_gRPC_PROTOBUF_LIBRARIES}
10062  ${_gRPC_ALLTARGETS_LIBRARIES}
10063  alts_test_util
10064  gpr
10065  grpc
10066  ${_gRPC_GFLAGS_LIBRARIES}
10067)
10068
10069endif (gRPC_BUILD_TESTS)
10070if (gRPC_BUILD_TESTS)
10071
10072add_executable(async_end2end_test
10073  test/cpp/end2end/async_end2end_test.cc
10074  third_party/googletest/googletest/src/gtest-all.cc
10075  third_party/googletest/googlemock/src/gmock-all.cc
10076)
10077
10078
10079target_include_directories(async_end2end_test
10080  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10081  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10082  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10083  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10084  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10085  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10086  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10087  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10088  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10089  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10090  PRIVATE third_party/googletest/googletest/include
10091  PRIVATE third_party/googletest/googletest
10092  PRIVATE third_party/googletest/googlemock/include
10093  PRIVATE third_party/googletest/googlemock
10094  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10095)
10096
10097target_link_libraries(async_end2end_test
10098  ${_gRPC_PROTOBUF_LIBRARIES}
10099  ${_gRPC_ALLTARGETS_LIBRARIES}
10100  grpc++_test_util
10101  grpc_test_util
10102  grpc++
10103  grpc
10104  gpr_test_util
10105  gpr
10106  ${_gRPC_GFLAGS_LIBRARIES}
10107)
10108
10109endif (gRPC_BUILD_TESTS)
10110if (gRPC_BUILD_TESTS)
10111
10112add_executable(auth_property_iterator_test
10113  test/cpp/common/auth_property_iterator_test.cc
10114  third_party/googletest/googletest/src/gtest-all.cc
10115  third_party/googletest/googlemock/src/gmock-all.cc
10116)
10117
10118
10119target_include_directories(auth_property_iterator_test
10120  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10121  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10122  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10123  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10124  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10125  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10126  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10127  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10128  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10129  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10130  PRIVATE third_party/googletest/googletest/include
10131  PRIVATE third_party/googletest/googletest
10132  PRIVATE third_party/googletest/googlemock/include
10133  PRIVATE third_party/googletest/googlemock
10134  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10135)
10136
10137target_link_libraries(auth_property_iterator_test
10138  ${_gRPC_PROTOBUF_LIBRARIES}
10139  ${_gRPC_ALLTARGETS_LIBRARIES}
10140  grpc++_test_util
10141  grpc_test_util
10142  grpc++
10143  grpc
10144  gpr_test_util
10145  gpr
10146  ${_gRPC_GFLAGS_LIBRARIES}
10147)
10148
10149endif (gRPC_BUILD_TESTS)
10150if (gRPC_BUILD_TESTS)
10151
10152add_executable(backoff_test
10153  test/core/backoff/backoff_test.cc
10154  third_party/googletest/googletest/src/gtest-all.cc
10155  third_party/googletest/googlemock/src/gmock-all.cc
10156)
10157
10158
10159target_include_directories(backoff_test
10160  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10161  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10162  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10163  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10164  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10165  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10166  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10167  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10168  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10169  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10170  PRIVATE third_party/googletest/googletest/include
10171  PRIVATE third_party/googletest/googletest
10172  PRIVATE third_party/googletest/googlemock/include
10173  PRIVATE third_party/googletest/googlemock
10174  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10175)
10176
10177target_link_libraries(backoff_test
10178  ${_gRPC_PROTOBUF_LIBRARIES}
10179  ${_gRPC_ALLTARGETS_LIBRARIES}
10180  grpc_test_util
10181  grpc
10182  gpr_test_util
10183  gpr
10184  ${_gRPC_GFLAGS_LIBRARIES}
10185)
10186
10187endif (gRPC_BUILD_TESTS)
10188if (gRPC_BUILD_TESTS)
10189
10190add_executable(bdp_estimator_test
10191  test/core/transport/bdp_estimator_test.cc
10192  third_party/googletest/googletest/src/gtest-all.cc
10193  third_party/googletest/googlemock/src/gmock-all.cc
10194)
10195
10196
10197target_include_directories(bdp_estimator_test
10198  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10199  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10200  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10201  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10202  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10203  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10204  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10205  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10206  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10207  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10208  PRIVATE third_party/googletest/googletest/include
10209  PRIVATE third_party/googletest/googletest
10210  PRIVATE third_party/googletest/googlemock/include
10211  PRIVATE third_party/googletest/googlemock
10212  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10213)
10214
10215target_link_libraries(bdp_estimator_test
10216  ${_gRPC_PROTOBUF_LIBRARIES}
10217  ${_gRPC_ALLTARGETS_LIBRARIES}
10218  grpc++_test_util
10219  grpc++
10220  grpc_test_util
10221  grpc
10222  gpr_test_util
10223  gpr
10224  ${_gRPC_GFLAGS_LIBRARIES}
10225)
10226
10227endif (gRPC_BUILD_TESTS)
10228if (gRPC_BUILD_TESTS)
10229if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
10230
10231add_executable(bm_arena
10232  test/cpp/microbenchmarks/bm_arena.cc
10233  third_party/googletest/googletest/src/gtest-all.cc
10234  third_party/googletest/googlemock/src/gmock-all.cc
10235)
10236
10237
10238target_include_directories(bm_arena
10239  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10240  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10241  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10242  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10243  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10244  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10245  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10246  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10247  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10248  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10249  PRIVATE third_party/googletest/googletest/include
10250  PRIVATE third_party/googletest/googletest
10251  PRIVATE third_party/googletest/googlemock/include
10252  PRIVATE third_party/googletest/googlemock
10253  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10254)
10255
10256target_link_libraries(bm_arena
10257  ${_gRPC_PROTOBUF_LIBRARIES}
10258  ${_gRPC_ALLTARGETS_LIBRARIES}
10259  grpc_benchmark
10260  ${_gRPC_BENCHMARK_LIBRARIES}
10261  grpc++_test_util_unsecure
10262  grpc_test_util_unsecure
10263  grpc++_unsecure
10264  grpc_unsecure
10265  gpr_test_util
10266  gpr
10267  grpc++_test_config
10268  ${_gRPC_GFLAGS_LIBRARIES}
10269)
10270
10271endif()
10272endif (gRPC_BUILD_TESTS)
10273if (gRPC_BUILD_TESTS)
10274if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
10275
10276add_executable(bm_call_create
10277  test/cpp/microbenchmarks/bm_call_create.cc
10278  third_party/googletest/googletest/src/gtest-all.cc
10279  third_party/googletest/googlemock/src/gmock-all.cc
10280)
10281
10282
10283target_include_directories(bm_call_create
10284  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10285  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10286  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10287  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10288  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10289  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10290  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10291  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10292  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10293  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10294  PRIVATE third_party/googletest/googletest/include
10295  PRIVATE third_party/googletest/googletest
10296  PRIVATE third_party/googletest/googlemock/include
10297  PRIVATE third_party/googletest/googlemock
10298  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10299)
10300
10301target_link_libraries(bm_call_create
10302  ${_gRPC_PROTOBUF_LIBRARIES}
10303  ${_gRPC_ALLTARGETS_LIBRARIES}
10304  grpc_benchmark
10305  ${_gRPC_BENCHMARK_LIBRARIES}
10306  grpc++_test_util_unsecure
10307  grpc_test_util_unsecure
10308  grpc++_unsecure
10309  grpc_unsecure
10310  gpr_test_util
10311  gpr
10312  grpc++_test_config
10313  ${_gRPC_GFLAGS_LIBRARIES}
10314)
10315
10316endif()
10317endif (gRPC_BUILD_TESTS)
10318if (gRPC_BUILD_TESTS)
10319if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
10320
10321add_executable(bm_channel
10322  test/cpp/microbenchmarks/bm_channel.cc
10323  third_party/googletest/googletest/src/gtest-all.cc
10324  third_party/googletest/googlemock/src/gmock-all.cc
10325)
10326
10327
10328target_include_directories(bm_channel
10329  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10330  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10331  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10332  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10333  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10334  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10335  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10336  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10337  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10338  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10339  PRIVATE third_party/googletest/googletest/include
10340  PRIVATE third_party/googletest/googletest
10341  PRIVATE third_party/googletest/googlemock/include
10342  PRIVATE third_party/googletest/googlemock
10343  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10344)
10345
10346target_link_libraries(bm_channel
10347  ${_gRPC_PROTOBUF_LIBRARIES}
10348  ${_gRPC_ALLTARGETS_LIBRARIES}
10349  grpc_benchmark
10350  ${_gRPC_BENCHMARK_LIBRARIES}
10351  grpc++_test_util_unsecure
10352  grpc_test_util_unsecure
10353  grpc++_unsecure
10354  grpc_unsecure
10355  gpr_test_util
10356  gpr
10357  grpc++_test_config
10358  ${_gRPC_GFLAGS_LIBRARIES}
10359)
10360
10361endif()
10362endif (gRPC_BUILD_TESTS)
10363if (gRPC_BUILD_TESTS)
10364if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
10365
10366add_executable(bm_chttp2_hpack
10367  test/cpp/microbenchmarks/bm_chttp2_hpack.cc
10368  third_party/googletest/googletest/src/gtest-all.cc
10369  third_party/googletest/googlemock/src/gmock-all.cc
10370)
10371
10372
10373target_include_directories(bm_chttp2_hpack
10374  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10375  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10376  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10377  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10378  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10379  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10380  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10381  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10382  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10383  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10384  PRIVATE third_party/googletest/googletest/include
10385  PRIVATE third_party/googletest/googletest
10386  PRIVATE third_party/googletest/googlemock/include
10387  PRIVATE third_party/googletest/googlemock
10388  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10389)
10390
10391target_link_libraries(bm_chttp2_hpack
10392  ${_gRPC_PROTOBUF_LIBRARIES}
10393  ${_gRPC_ALLTARGETS_LIBRARIES}
10394  grpc_benchmark
10395  ${_gRPC_BENCHMARK_LIBRARIES}
10396  grpc++_test_util_unsecure
10397  grpc_test_util_unsecure
10398  grpc++_unsecure
10399  grpc_unsecure
10400  gpr_test_util
10401  gpr
10402  grpc++_test_config
10403  ${_gRPC_GFLAGS_LIBRARIES}
10404)
10405
10406endif()
10407endif (gRPC_BUILD_TESTS)
10408if (gRPC_BUILD_TESTS)
10409if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
10410
10411add_executable(bm_chttp2_transport
10412  test/cpp/microbenchmarks/bm_chttp2_transport.cc
10413  third_party/googletest/googletest/src/gtest-all.cc
10414  third_party/googletest/googlemock/src/gmock-all.cc
10415)
10416
10417
10418target_include_directories(bm_chttp2_transport
10419  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10420  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10421  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10422  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10423  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10424  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10425  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10426  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10427  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10428  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10429  PRIVATE third_party/googletest/googletest/include
10430  PRIVATE third_party/googletest/googletest
10431  PRIVATE third_party/googletest/googlemock/include
10432  PRIVATE third_party/googletest/googlemock
10433  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10434)
10435
10436target_link_libraries(bm_chttp2_transport
10437  ${_gRPC_PROTOBUF_LIBRARIES}
10438  ${_gRPC_ALLTARGETS_LIBRARIES}
10439  grpc_benchmark
10440  ${_gRPC_BENCHMARK_LIBRARIES}
10441  grpc++_test_util_unsecure
10442  grpc_test_util_unsecure
10443  grpc++_unsecure
10444  grpc_unsecure
10445  gpr_test_util
10446  gpr
10447  grpc++_test_config
10448  ${_gRPC_GFLAGS_LIBRARIES}
10449)
10450
10451endif()
10452endif (gRPC_BUILD_TESTS)
10453if (gRPC_BUILD_TESTS)
10454if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
10455
10456add_executable(bm_closure
10457  test/cpp/microbenchmarks/bm_closure.cc
10458  third_party/googletest/googletest/src/gtest-all.cc
10459  third_party/googletest/googlemock/src/gmock-all.cc
10460)
10461
10462
10463target_include_directories(bm_closure
10464  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10465  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10466  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10467  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10468  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10469  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10470  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10471  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10472  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10473  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10474  PRIVATE third_party/googletest/googletest/include
10475  PRIVATE third_party/googletest/googletest
10476  PRIVATE third_party/googletest/googlemock/include
10477  PRIVATE third_party/googletest/googlemock
10478  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10479)
10480
10481target_link_libraries(bm_closure
10482  ${_gRPC_PROTOBUF_LIBRARIES}
10483  ${_gRPC_ALLTARGETS_LIBRARIES}
10484  grpc_benchmark
10485  ${_gRPC_BENCHMARK_LIBRARIES}
10486  grpc++_test_util_unsecure
10487  grpc_test_util_unsecure
10488  grpc++_unsecure
10489  grpc_unsecure
10490  gpr_test_util
10491  gpr
10492  grpc++_test_config
10493  ${_gRPC_GFLAGS_LIBRARIES}
10494)
10495
10496endif()
10497endif (gRPC_BUILD_TESTS)
10498if (gRPC_BUILD_TESTS)
10499if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
10500
10501add_executable(bm_cq
10502  test/cpp/microbenchmarks/bm_cq.cc
10503  third_party/googletest/googletest/src/gtest-all.cc
10504  third_party/googletest/googlemock/src/gmock-all.cc
10505)
10506
10507
10508target_include_directories(bm_cq
10509  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10510  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10511  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10512  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10513  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10514  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10515  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10516  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10517  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10518  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10519  PRIVATE third_party/googletest/googletest/include
10520  PRIVATE third_party/googletest/googletest
10521  PRIVATE third_party/googletest/googlemock/include
10522  PRIVATE third_party/googletest/googlemock
10523  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10524)
10525
10526target_link_libraries(bm_cq
10527  ${_gRPC_PROTOBUF_LIBRARIES}
10528  ${_gRPC_ALLTARGETS_LIBRARIES}
10529  grpc_benchmark
10530  ${_gRPC_BENCHMARK_LIBRARIES}
10531  grpc++_test_util_unsecure
10532  grpc_test_util_unsecure
10533  grpc++_unsecure
10534  grpc_unsecure
10535  gpr_test_util
10536  gpr
10537  grpc++_test_config
10538  ${_gRPC_GFLAGS_LIBRARIES}
10539)
10540
10541endif()
10542endif (gRPC_BUILD_TESTS)
10543if (gRPC_BUILD_TESTS)
10544if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
10545
10546add_executable(bm_cq_multiple_threads
10547  test/cpp/microbenchmarks/bm_cq_multiple_threads.cc
10548  third_party/googletest/googletest/src/gtest-all.cc
10549  third_party/googletest/googlemock/src/gmock-all.cc
10550)
10551
10552
10553target_include_directories(bm_cq_multiple_threads
10554  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10555  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10556  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10557  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10558  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10559  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10560  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10561  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10562  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10563  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10564  PRIVATE third_party/googletest/googletest/include
10565  PRIVATE third_party/googletest/googletest
10566  PRIVATE third_party/googletest/googlemock/include
10567  PRIVATE third_party/googletest/googlemock
10568  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10569)
10570
10571target_link_libraries(bm_cq_multiple_threads
10572  ${_gRPC_PROTOBUF_LIBRARIES}
10573  ${_gRPC_ALLTARGETS_LIBRARIES}
10574  grpc_benchmark
10575  ${_gRPC_BENCHMARK_LIBRARIES}
10576  grpc++_test_util_unsecure
10577  grpc_test_util_unsecure
10578  grpc++_unsecure
10579  grpc_unsecure
10580  gpr_test_util
10581  gpr
10582  grpc++_test_config
10583  ${_gRPC_GFLAGS_LIBRARIES}
10584)
10585
10586endif()
10587endif (gRPC_BUILD_TESTS)
10588if (gRPC_BUILD_TESTS)
10589if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
10590
10591add_executable(bm_error
10592  test/cpp/microbenchmarks/bm_error.cc
10593  third_party/googletest/googletest/src/gtest-all.cc
10594  third_party/googletest/googlemock/src/gmock-all.cc
10595)
10596
10597
10598target_include_directories(bm_error
10599  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10600  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10601  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10602  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10603  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10604  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10605  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10606  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10607  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10608  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10609  PRIVATE third_party/googletest/googletest/include
10610  PRIVATE third_party/googletest/googletest
10611  PRIVATE third_party/googletest/googlemock/include
10612  PRIVATE third_party/googletest/googlemock
10613  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10614)
10615
10616target_link_libraries(bm_error
10617  ${_gRPC_PROTOBUF_LIBRARIES}
10618  ${_gRPC_ALLTARGETS_LIBRARIES}
10619  grpc_benchmark
10620  ${_gRPC_BENCHMARK_LIBRARIES}
10621  grpc++_test_util_unsecure
10622  grpc_test_util_unsecure
10623  grpc++_unsecure
10624  grpc_unsecure
10625  gpr_test_util
10626  gpr
10627  grpc++_test_config
10628  ${_gRPC_GFLAGS_LIBRARIES}
10629)
10630
10631endif()
10632endif (gRPC_BUILD_TESTS)
10633if (gRPC_BUILD_TESTS)
10634if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
10635
10636add_executable(bm_fullstack_streaming_ping_pong
10637  test/cpp/microbenchmarks/bm_fullstack_streaming_ping_pong.cc
10638  third_party/googletest/googletest/src/gtest-all.cc
10639  third_party/googletest/googlemock/src/gmock-all.cc
10640)
10641
10642
10643target_include_directories(bm_fullstack_streaming_ping_pong
10644  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10645  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10646  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10647  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10648  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10649  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10650  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10651  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10652  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10653  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10654  PRIVATE third_party/googletest/googletest/include
10655  PRIVATE third_party/googletest/googletest
10656  PRIVATE third_party/googletest/googlemock/include
10657  PRIVATE third_party/googletest/googlemock
10658  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10659)
10660
10661target_link_libraries(bm_fullstack_streaming_ping_pong
10662  ${_gRPC_PROTOBUF_LIBRARIES}
10663  ${_gRPC_ALLTARGETS_LIBRARIES}
10664  grpc_benchmark
10665  ${_gRPC_BENCHMARK_LIBRARIES}
10666  grpc++_test_util_unsecure
10667  grpc_test_util_unsecure
10668  grpc++_unsecure
10669  grpc_unsecure
10670  gpr_test_util
10671  gpr
10672  grpc++_test_config
10673  ${_gRPC_GFLAGS_LIBRARIES}
10674)
10675
10676endif()
10677endif (gRPC_BUILD_TESTS)
10678if (gRPC_BUILD_TESTS)
10679if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
10680
10681add_executable(bm_fullstack_streaming_pump
10682  test/cpp/microbenchmarks/bm_fullstack_streaming_pump.cc
10683  third_party/googletest/googletest/src/gtest-all.cc
10684  third_party/googletest/googlemock/src/gmock-all.cc
10685)
10686
10687
10688target_include_directories(bm_fullstack_streaming_pump
10689  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10690  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10691  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10692  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10693  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10694  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10695  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10696  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10697  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10698  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10699  PRIVATE third_party/googletest/googletest/include
10700  PRIVATE third_party/googletest/googletest
10701  PRIVATE third_party/googletest/googlemock/include
10702  PRIVATE third_party/googletest/googlemock
10703  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10704)
10705
10706target_link_libraries(bm_fullstack_streaming_pump
10707  ${_gRPC_PROTOBUF_LIBRARIES}
10708  ${_gRPC_ALLTARGETS_LIBRARIES}
10709  grpc_benchmark
10710  ${_gRPC_BENCHMARK_LIBRARIES}
10711  grpc++_test_util_unsecure
10712  grpc_test_util_unsecure
10713  grpc++_unsecure
10714  grpc_unsecure
10715  gpr_test_util
10716  gpr
10717  grpc++_test_config
10718  ${_gRPC_GFLAGS_LIBRARIES}
10719)
10720
10721endif()
10722endif (gRPC_BUILD_TESTS)
10723if (gRPC_BUILD_TESTS)
10724if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
10725
10726add_executable(bm_fullstack_trickle
10727  test/cpp/microbenchmarks/bm_fullstack_trickle.cc
10728  third_party/googletest/googletest/src/gtest-all.cc
10729  third_party/googletest/googlemock/src/gmock-all.cc
10730)
10731
10732
10733target_include_directories(bm_fullstack_trickle
10734  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10735  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10736  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10737  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10738  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10739  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10740  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10741  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10742  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10743  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10744  PRIVATE third_party/googletest/googletest/include
10745  PRIVATE third_party/googletest/googletest
10746  PRIVATE third_party/googletest/googlemock/include
10747  PRIVATE third_party/googletest/googlemock
10748  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10749)
10750
10751target_link_libraries(bm_fullstack_trickle
10752  ${_gRPC_PROTOBUF_LIBRARIES}
10753  ${_gRPC_ALLTARGETS_LIBRARIES}
10754  grpc_benchmark
10755  ${_gRPC_BENCHMARK_LIBRARIES}
10756  grpc++_test_util_unsecure
10757  grpc_test_util_unsecure
10758  grpc++_unsecure
10759  grpc_unsecure
10760  gpr_test_util
10761  gpr
10762  grpc++_test_config
10763  ${_gRPC_GFLAGS_LIBRARIES}
10764)
10765
10766endif()
10767endif (gRPC_BUILD_TESTS)
10768if (gRPC_BUILD_TESTS)
10769if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
10770
10771add_executable(bm_fullstack_unary_ping_pong
10772  test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc
10773  third_party/googletest/googletest/src/gtest-all.cc
10774  third_party/googletest/googlemock/src/gmock-all.cc
10775)
10776
10777
10778target_include_directories(bm_fullstack_unary_ping_pong
10779  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10780  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10781  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10782  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10783  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10784  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10785  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10786  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10787  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10788  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10789  PRIVATE third_party/googletest/googletest/include
10790  PRIVATE third_party/googletest/googletest
10791  PRIVATE third_party/googletest/googlemock/include
10792  PRIVATE third_party/googletest/googlemock
10793  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10794)
10795
10796target_link_libraries(bm_fullstack_unary_ping_pong
10797  ${_gRPC_PROTOBUF_LIBRARIES}
10798  ${_gRPC_ALLTARGETS_LIBRARIES}
10799  grpc_benchmark
10800  ${_gRPC_BENCHMARK_LIBRARIES}
10801  grpc++_test_util_unsecure
10802  grpc_test_util_unsecure
10803  grpc++_unsecure
10804  grpc_unsecure
10805  gpr_test_util
10806  gpr
10807  grpc++_test_config
10808  ${_gRPC_GFLAGS_LIBRARIES}
10809)
10810
10811endif()
10812endif (gRPC_BUILD_TESTS)
10813if (gRPC_BUILD_TESTS)
10814if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
10815
10816add_executable(bm_metadata
10817  test/cpp/microbenchmarks/bm_metadata.cc
10818  third_party/googletest/googletest/src/gtest-all.cc
10819  third_party/googletest/googlemock/src/gmock-all.cc
10820)
10821
10822
10823target_include_directories(bm_metadata
10824  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10825  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10826  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10827  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10828  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10829  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10830  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10831  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10832  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10833  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10834  PRIVATE third_party/googletest/googletest/include
10835  PRIVATE third_party/googletest/googletest
10836  PRIVATE third_party/googletest/googlemock/include
10837  PRIVATE third_party/googletest/googlemock
10838  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10839)
10840
10841target_link_libraries(bm_metadata
10842  ${_gRPC_PROTOBUF_LIBRARIES}
10843  ${_gRPC_ALLTARGETS_LIBRARIES}
10844  grpc_benchmark
10845  ${_gRPC_BENCHMARK_LIBRARIES}
10846  grpc++_test_util_unsecure
10847  grpc_test_util_unsecure
10848  grpc++_unsecure
10849  grpc_unsecure
10850  gpr_test_util
10851  gpr
10852  grpc++_test_config
10853  ${_gRPC_GFLAGS_LIBRARIES}
10854)
10855
10856endif()
10857endif (gRPC_BUILD_TESTS)
10858if (gRPC_BUILD_TESTS)
10859if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
10860
10861add_executable(bm_pollset
10862  test/cpp/microbenchmarks/bm_pollset.cc
10863  third_party/googletest/googletest/src/gtest-all.cc
10864  third_party/googletest/googlemock/src/gmock-all.cc
10865)
10866
10867
10868target_include_directories(bm_pollset
10869  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10870  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10871  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10872  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10873  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10874  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10875  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10876  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10877  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10878  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10879  PRIVATE third_party/googletest/googletest/include
10880  PRIVATE third_party/googletest/googletest
10881  PRIVATE third_party/googletest/googlemock/include
10882  PRIVATE third_party/googletest/googlemock
10883  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10884)
10885
10886target_link_libraries(bm_pollset
10887  ${_gRPC_PROTOBUF_LIBRARIES}
10888  ${_gRPC_ALLTARGETS_LIBRARIES}
10889  grpc_benchmark
10890  ${_gRPC_BENCHMARK_LIBRARIES}
10891  grpc++_test_util_unsecure
10892  grpc_test_util_unsecure
10893  grpc++_unsecure
10894  grpc_unsecure
10895  gpr_test_util
10896  gpr
10897  grpc++_test_config
10898  ${_gRPC_GFLAGS_LIBRARIES}
10899)
10900
10901endif()
10902endif (gRPC_BUILD_TESTS)
10903if (gRPC_BUILD_TESTS)
10904
10905add_executable(byte_stream_test
10906  test/core/transport/byte_stream_test.cc
10907  third_party/googletest/googletest/src/gtest-all.cc
10908  third_party/googletest/googlemock/src/gmock-all.cc
10909)
10910
10911
10912target_include_directories(byte_stream_test
10913  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10914  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10915  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10916  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10917  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10918  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10919  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10920  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10921  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10922  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10923  PRIVATE third_party/googletest/googletest/include
10924  PRIVATE third_party/googletest/googletest
10925  PRIVATE third_party/googletest/googlemock/include
10926  PRIVATE third_party/googletest/googlemock
10927  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10928)
10929
10930target_link_libraries(byte_stream_test
10931  ${_gRPC_PROTOBUF_LIBRARIES}
10932  ${_gRPC_ALLTARGETS_LIBRARIES}
10933  grpc_test_util
10934  grpc
10935  gpr_test_util
10936  gpr
10937  ${_gRPC_GFLAGS_LIBRARIES}
10938)
10939
10940endif (gRPC_BUILD_TESTS)
10941if (gRPC_BUILD_TESTS)
10942
10943add_executable(channel_arguments_test
10944  test/cpp/common/channel_arguments_test.cc
10945  third_party/googletest/googletest/src/gtest-all.cc
10946  third_party/googletest/googlemock/src/gmock-all.cc
10947)
10948
10949
10950target_include_directories(channel_arguments_test
10951  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10952  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10953  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10954  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10955  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10956  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10957  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10958  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10959  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10960  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10961  PRIVATE third_party/googletest/googletest/include
10962  PRIVATE third_party/googletest/googletest
10963  PRIVATE third_party/googletest/googlemock/include
10964  PRIVATE third_party/googletest/googlemock
10965  PRIVATE ${_gRPC_PROTO_GENS_DIR}
10966)
10967
10968target_link_libraries(channel_arguments_test
10969  ${_gRPC_PROTOBUF_LIBRARIES}
10970  ${_gRPC_ALLTARGETS_LIBRARIES}
10971  grpc++
10972  grpc
10973  gpr
10974  ${_gRPC_GFLAGS_LIBRARIES}
10975)
10976
10977endif (gRPC_BUILD_TESTS)
10978if (gRPC_BUILD_TESTS)
10979
10980add_executable(channel_filter_test
10981  test/cpp/common/channel_filter_test.cc
10982  third_party/googletest/googletest/src/gtest-all.cc
10983  third_party/googletest/googlemock/src/gmock-all.cc
10984)
10985
10986
10987target_include_directories(channel_filter_test
10988  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
10989  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
10990  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
10991  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
10992  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
10993  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
10994  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
10995  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
10996  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
10997  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
10998  PRIVATE third_party/googletest/googletest/include
10999  PRIVATE third_party/googletest/googletest
11000  PRIVATE third_party/googletest/googlemock/include
11001  PRIVATE third_party/googletest/googlemock
11002  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11003)
11004
11005target_link_libraries(channel_filter_test
11006  ${_gRPC_PROTOBUF_LIBRARIES}
11007  ${_gRPC_ALLTARGETS_LIBRARIES}
11008  grpc++
11009  grpc
11010  gpr
11011  ${_gRPC_GFLAGS_LIBRARIES}
11012)
11013
11014endif (gRPC_BUILD_TESTS)
11015if (gRPC_BUILD_TESTS)
11016
11017add_executable(channel_trace_test
11018  test/core/channel/channel_trace_test.cc
11019  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.cc
11020  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.cc
11021  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.h
11022  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.h
11023  third_party/googletest/googletest/src/gtest-all.cc
11024  third_party/googletest/googlemock/src/gmock-all.cc
11025)
11026
11027protobuf_generate_grpc_cpp(
11028  src/proto/grpc/channelz/channelz.proto
11029)
11030
11031target_include_directories(channel_trace_test
11032  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11033  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11034  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11035  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11036  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11037  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11038  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11039  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11040  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11041  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11042  PRIVATE third_party/googletest/googletest/include
11043  PRIVATE third_party/googletest/googletest
11044  PRIVATE third_party/googletest/googlemock/include
11045  PRIVATE third_party/googletest/googlemock
11046  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11047)
11048
11049target_link_libraries(channel_trace_test
11050  ${_gRPC_PROTOBUF_LIBRARIES}
11051  ${_gRPC_ALLTARGETS_LIBRARIES}
11052  grpc_test_util
11053  grpc++_test_util
11054  grpc++
11055  grpc
11056  gpr_test_util
11057  gpr
11058  ${_gRPC_GFLAGS_LIBRARIES}
11059)
11060
11061endif (gRPC_BUILD_TESTS)
11062if (gRPC_BUILD_TESTS)
11063
11064add_executable(channelz_registry_test
11065  test/core/channel/channelz_registry_test.cc
11066  third_party/googletest/googletest/src/gtest-all.cc
11067  third_party/googletest/googlemock/src/gmock-all.cc
11068)
11069
11070
11071target_include_directories(channelz_registry_test
11072  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11073  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11074  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11075  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11076  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11077  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11078  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11079  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11080  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11081  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11082  PRIVATE third_party/googletest/googletest/include
11083  PRIVATE third_party/googletest/googletest
11084  PRIVATE third_party/googletest/googlemock/include
11085  PRIVATE third_party/googletest/googlemock
11086  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11087)
11088
11089target_link_libraries(channelz_registry_test
11090  ${_gRPC_PROTOBUF_LIBRARIES}
11091  ${_gRPC_ALLTARGETS_LIBRARIES}
11092  grpc_test_util
11093  grpc++_test_util
11094  grpc++
11095  grpc
11096  gpr_test_util
11097  gpr
11098  ${_gRPC_GFLAGS_LIBRARIES}
11099)
11100
11101endif (gRPC_BUILD_TESTS)
11102if (gRPC_BUILD_TESTS)
11103
11104add_executable(channelz_service_test
11105  test/cpp/end2end/channelz_service_test.cc
11106  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.cc
11107  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.cc
11108  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.h
11109  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.h
11110  third_party/googletest/googletest/src/gtest-all.cc
11111  third_party/googletest/googlemock/src/gmock-all.cc
11112)
11113
11114protobuf_generate_grpc_cpp(
11115  src/proto/grpc/channelz/channelz.proto
11116)
11117
11118target_include_directories(channelz_service_test
11119  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11120  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11121  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11122  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11123  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11124  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11125  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11126  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11127  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11128  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11129  PRIVATE third_party/googletest/googletest/include
11130  PRIVATE third_party/googletest/googletest
11131  PRIVATE third_party/googletest/googlemock/include
11132  PRIVATE third_party/googletest/googlemock
11133  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11134)
11135
11136target_link_libraries(channelz_service_test
11137  ${_gRPC_PROTOBUF_LIBRARIES}
11138  ${_gRPC_ALLTARGETS_LIBRARIES}
11139  grpcpp_channelz
11140  grpc++_test_util
11141  grpc_test_util
11142  grpc++
11143  grpc
11144  gpr_test_util
11145  gpr
11146  ${_gRPC_GFLAGS_LIBRARIES}
11147)
11148
11149endif (gRPC_BUILD_TESTS)
11150if (gRPC_BUILD_TESTS)
11151
11152add_executable(channelz_test
11153  test/core/channel/channelz_test.cc
11154  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.cc
11155  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.cc
11156  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.h
11157  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.h
11158  third_party/googletest/googletest/src/gtest-all.cc
11159  third_party/googletest/googlemock/src/gmock-all.cc
11160)
11161
11162protobuf_generate_grpc_cpp(
11163  src/proto/grpc/channelz/channelz.proto
11164)
11165
11166target_include_directories(channelz_test
11167  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11168  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11169  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11170  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11171  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11172  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11173  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11174  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11175  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11176  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11177  PRIVATE third_party/googletest/googletest/include
11178  PRIVATE third_party/googletest/googletest
11179  PRIVATE third_party/googletest/googlemock/include
11180  PRIVATE third_party/googletest/googlemock
11181  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11182)
11183
11184target_link_libraries(channelz_test
11185  ${_gRPC_PROTOBUF_LIBRARIES}
11186  ${_gRPC_ALLTARGETS_LIBRARIES}
11187  grpc_test_util
11188  grpc++_test_util
11189  grpc++
11190  grpc
11191  gpr_test_util
11192  gpr
11193  ${_gRPC_GFLAGS_LIBRARIES}
11194)
11195
11196endif (gRPC_BUILD_TESTS)
11197if (gRPC_BUILD_TESTS)
11198
11199add_executable(check_gcp_environment_linux_test
11200  test/core/security/check_gcp_environment_linux_test.cc
11201  third_party/googletest/googletest/src/gtest-all.cc
11202  third_party/googletest/googlemock/src/gmock-all.cc
11203)
11204
11205
11206target_include_directories(check_gcp_environment_linux_test
11207  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11208  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11209  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11210  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11211  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11212  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11213  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11214  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11215  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11216  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11217  PRIVATE third_party/googletest/googletest/include
11218  PRIVATE third_party/googletest/googletest
11219  PRIVATE third_party/googletest/googlemock/include
11220  PRIVATE third_party/googletest/googlemock
11221  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11222)
11223
11224target_link_libraries(check_gcp_environment_linux_test
11225  ${_gRPC_PROTOBUF_LIBRARIES}
11226  ${_gRPC_ALLTARGETS_LIBRARIES}
11227  grpc
11228  gpr
11229  ${_gRPC_GFLAGS_LIBRARIES}
11230)
11231
11232endif (gRPC_BUILD_TESTS)
11233if (gRPC_BUILD_TESTS)
11234
11235add_executable(check_gcp_environment_windows_test
11236  test/core/security/check_gcp_environment_windows_test.cc
11237  third_party/googletest/googletest/src/gtest-all.cc
11238  third_party/googletest/googlemock/src/gmock-all.cc
11239)
11240
11241
11242target_include_directories(check_gcp_environment_windows_test
11243  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11244  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11245  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11246  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11247  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11248  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11249  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11250  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11251  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11252  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11253  PRIVATE third_party/googletest/googletest/include
11254  PRIVATE third_party/googletest/googletest
11255  PRIVATE third_party/googletest/googlemock/include
11256  PRIVATE third_party/googletest/googlemock
11257  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11258)
11259
11260target_link_libraries(check_gcp_environment_windows_test
11261  ${_gRPC_PROTOBUF_LIBRARIES}
11262  ${_gRPC_ALLTARGETS_LIBRARIES}
11263  grpc
11264  gpr
11265  ${_gRPC_GFLAGS_LIBRARIES}
11266)
11267
11268endif (gRPC_BUILD_TESTS)
11269if (gRPC_BUILD_TESTS)
11270
11271add_executable(chttp2_settings_timeout_test
11272  test/core/transport/chttp2/settings_timeout_test.cc
11273  third_party/googletest/googletest/src/gtest-all.cc
11274  third_party/googletest/googlemock/src/gmock-all.cc
11275)
11276
11277
11278target_include_directories(chttp2_settings_timeout_test
11279  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11280  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11281  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11282  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11283  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11284  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11285  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11286  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11287  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11288  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11289  PRIVATE third_party/googletest/googletest/include
11290  PRIVATE third_party/googletest/googletest
11291  PRIVATE third_party/googletest/googlemock/include
11292  PRIVATE third_party/googletest/googlemock
11293  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11294)
11295
11296target_link_libraries(chttp2_settings_timeout_test
11297  ${_gRPC_PROTOBUF_LIBRARIES}
11298  ${_gRPC_ALLTARGETS_LIBRARIES}
11299  grpc_test_util
11300  grpc
11301  gpr_test_util
11302  gpr
11303  ${_gRPC_GFLAGS_LIBRARIES}
11304)
11305
11306endif (gRPC_BUILD_TESTS)
11307if (gRPC_BUILD_TESTS)
11308
11309add_executable(cli_call_test
11310  test/cpp/util/cli_call_test.cc
11311  third_party/googletest/googletest/src/gtest-all.cc
11312  third_party/googletest/googlemock/src/gmock-all.cc
11313)
11314
11315
11316target_include_directories(cli_call_test
11317  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11318  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11319  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11320  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11321  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11322  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11323  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11324  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11325  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11326  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11327  PRIVATE third_party/googletest/googletest/include
11328  PRIVATE third_party/googletest/googletest
11329  PRIVATE third_party/googletest/googlemock/include
11330  PRIVATE third_party/googletest/googlemock
11331  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11332)
11333
11334target_link_libraries(cli_call_test
11335  ${_gRPC_PROTOBUF_LIBRARIES}
11336  ${_gRPC_ALLTARGETS_LIBRARIES}
11337  grpc_cli_libs
11338  grpc++_test_util
11339  grpc_test_util
11340  grpc++
11341  grpc
11342  gpr_test_util
11343  gpr
11344  ${_gRPC_GFLAGS_LIBRARIES}
11345)
11346
11347endif (gRPC_BUILD_TESTS)
11348if (gRPC_BUILD_TESTS)
11349
11350add_executable(client_callback_end2end_test
11351  test/cpp/end2end/client_callback_end2end_test.cc
11352  third_party/googletest/googletest/src/gtest-all.cc
11353  third_party/googletest/googlemock/src/gmock-all.cc
11354)
11355
11356
11357target_include_directories(client_callback_end2end_test
11358  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11359  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11360  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11361  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11362  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11363  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11364  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11365  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11366  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11367  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11368  PRIVATE third_party/googletest/googletest/include
11369  PRIVATE third_party/googletest/googletest
11370  PRIVATE third_party/googletest/googlemock/include
11371  PRIVATE third_party/googletest/googlemock
11372  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11373)
11374
11375target_link_libraries(client_callback_end2end_test
11376  ${_gRPC_PROTOBUF_LIBRARIES}
11377  ${_gRPC_ALLTARGETS_LIBRARIES}
11378  grpc++_test_util
11379  grpc_test_util
11380  grpc++
11381  grpc
11382  gpr_test_util
11383  gpr
11384  ${_gRPC_GFLAGS_LIBRARIES}
11385)
11386
11387endif (gRPC_BUILD_TESTS)
11388if (gRPC_BUILD_TESTS)
11389
11390add_executable(client_channel_stress_test
11391  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc
11392  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc
11393  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h
11394  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h
11395  test/cpp/client/client_channel_stress_test.cc
11396  third_party/googletest/googletest/src/gtest-all.cc
11397  third_party/googletest/googlemock/src/gmock-all.cc
11398)
11399
11400protobuf_generate_grpc_cpp(
11401  src/proto/grpc/lb/v1/load_balancer.proto
11402)
11403
11404target_include_directories(client_channel_stress_test
11405  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11406  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11407  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11408  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11409  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11410  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11411  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11412  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11413  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11414  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11415  PRIVATE third_party/googletest/googletest/include
11416  PRIVATE third_party/googletest/googletest
11417  PRIVATE third_party/googletest/googlemock/include
11418  PRIVATE third_party/googletest/googlemock
11419  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11420)
11421
11422target_link_libraries(client_channel_stress_test
11423  ${_gRPC_PROTOBUF_LIBRARIES}
11424  ${_gRPC_ALLTARGETS_LIBRARIES}
11425  grpc++_test_util
11426  grpc_test_util
11427  grpc++
11428  grpc
11429  gpr_test_util
11430  gpr
11431  ${_gRPC_GFLAGS_LIBRARIES}
11432)
11433
11434endif (gRPC_BUILD_TESTS)
11435if (gRPC_BUILD_TESTS)
11436if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
11437
11438add_executable(client_crash_test
11439  test/cpp/end2end/client_crash_test.cc
11440  third_party/googletest/googletest/src/gtest-all.cc
11441  third_party/googletest/googlemock/src/gmock-all.cc
11442)
11443
11444
11445target_include_directories(client_crash_test
11446  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11447  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11448  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11449  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11450  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11451  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11452  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11453  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11454  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11455  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11456  PRIVATE third_party/googletest/googletest/include
11457  PRIVATE third_party/googletest/googletest
11458  PRIVATE third_party/googletest/googlemock/include
11459  PRIVATE third_party/googletest/googlemock
11460  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11461)
11462
11463target_link_libraries(client_crash_test
11464  ${_gRPC_PROTOBUF_LIBRARIES}
11465  ${_gRPC_ALLTARGETS_LIBRARIES}
11466  grpc++_test_util
11467  grpc_test_util
11468  grpc++
11469  grpc
11470  gpr_test_util
11471  gpr
11472  ${_gRPC_GFLAGS_LIBRARIES}
11473)
11474
11475endif()
11476endif (gRPC_BUILD_TESTS)
11477if (gRPC_BUILD_TESTS)
11478
11479add_executable(client_crash_test_server
11480  test/cpp/end2end/client_crash_test_server.cc
11481  third_party/googletest/googletest/src/gtest-all.cc
11482  third_party/googletest/googlemock/src/gmock-all.cc
11483)
11484
11485
11486target_include_directories(client_crash_test_server
11487  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11488  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11489  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11490  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11491  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11492  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11493  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11494  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11495  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11496  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11497  PRIVATE third_party/googletest/googletest/include
11498  PRIVATE third_party/googletest/googletest
11499  PRIVATE third_party/googletest/googlemock/include
11500  PRIVATE third_party/googletest/googlemock
11501  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11502)
11503
11504target_link_libraries(client_crash_test_server
11505  ${_gRPC_PROTOBUF_LIBRARIES}
11506  ${_gRPC_ALLTARGETS_LIBRARIES}
11507  grpc++_test_util
11508  grpc_test_util
11509  grpc++
11510  grpc
11511  gpr_test_util
11512  gpr
11513  ${_gRPC_GFLAGS_LIBRARIES}
11514)
11515
11516endif (gRPC_BUILD_TESTS)
11517if (gRPC_BUILD_TESTS)
11518
11519add_executable(client_lb_end2end_test
11520  test/cpp/end2end/client_lb_end2end_test.cc
11521  third_party/googletest/googletest/src/gtest-all.cc
11522  third_party/googletest/googlemock/src/gmock-all.cc
11523)
11524
11525
11526target_include_directories(client_lb_end2end_test
11527  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11528  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11529  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11530  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11531  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11532  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11533  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11534  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11535  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11536  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11537  PRIVATE third_party/googletest/googletest/include
11538  PRIVATE third_party/googletest/googletest
11539  PRIVATE third_party/googletest/googlemock/include
11540  PRIVATE third_party/googletest/googlemock
11541  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11542)
11543
11544target_link_libraries(client_lb_end2end_test
11545  ${_gRPC_PROTOBUF_LIBRARIES}
11546  ${_gRPC_ALLTARGETS_LIBRARIES}
11547  grpc++_test_util
11548  grpc_test_util
11549  grpc++
11550  grpc
11551  gpr_test_util
11552  gpr
11553  ${_gRPC_GFLAGS_LIBRARIES}
11554)
11555
11556endif (gRPC_BUILD_TESTS)
11557if (gRPC_BUILD_TESTS)
11558
11559add_executable(codegen_test_full
11560  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc
11561  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc
11562  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h
11563  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h
11564  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc
11565  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc
11566  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h
11567  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h
11568  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc
11569  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc
11570  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h
11571  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h
11572  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.pb.cc
11573  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.grpc.pb.cc
11574  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.pb.h
11575  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.grpc.pb.h
11576  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.pb.cc
11577  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.cc
11578  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.pb.h
11579  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.h
11580  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.pb.cc
11581  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.grpc.pb.cc
11582  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.pb.h
11583  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.grpc.pb.h
11584  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc
11585  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc
11586  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h
11587  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h
11588  test/cpp/codegen/codegen_test_full.cc
11589  third_party/googletest/googletest/src/gtest-all.cc
11590  third_party/googletest/googlemock/src/gmock-all.cc
11591)
11592
11593protobuf_generate_grpc_cpp(
11594  src/proto/grpc/testing/control.proto
11595)
11596protobuf_generate_grpc_cpp(
11597  src/proto/grpc/testing/messages.proto
11598)
11599protobuf_generate_grpc_cpp(
11600  src/proto/grpc/testing/payloads.proto
11601)
11602protobuf_generate_grpc_cpp(
11603  src/proto/grpc/testing/benchmark_service.proto
11604)
11605protobuf_generate_grpc_cpp(
11606  src/proto/grpc/testing/report_qps_scenario_service.proto
11607)
11608protobuf_generate_grpc_cpp(
11609  src/proto/grpc/testing/worker_service.proto
11610)
11611protobuf_generate_grpc_cpp(
11612  src/proto/grpc/testing/stats.proto
11613)
11614
11615target_include_directories(codegen_test_full
11616  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11617  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11618  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11619  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11620  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11621  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11622  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11623  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11624  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11625  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11626  PRIVATE third_party/googletest/googletest/include
11627  PRIVATE third_party/googletest/googletest
11628  PRIVATE third_party/googletest/googlemock/include
11629  PRIVATE third_party/googletest/googlemock
11630  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11631)
11632
11633target_link_libraries(codegen_test_full
11634  ${_gRPC_PROTOBUF_LIBRARIES}
11635  ${_gRPC_ALLTARGETS_LIBRARIES}
11636  grpc++_core_stats
11637  grpc++
11638  grpc
11639  gpr
11640  ${_gRPC_GFLAGS_LIBRARIES}
11641)
11642
11643endif (gRPC_BUILD_TESTS)
11644if (gRPC_BUILD_TESTS)
11645
11646add_executable(codegen_test_minimal
11647  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc
11648  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc
11649  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h
11650  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h
11651  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc
11652  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc
11653  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h
11654  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h
11655  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc
11656  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc
11657  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h
11658  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h
11659  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.pb.cc
11660  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.grpc.pb.cc
11661  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.pb.h
11662  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.grpc.pb.h
11663  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.pb.cc
11664  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.cc
11665  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.pb.h
11666  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.h
11667  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.pb.cc
11668  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.grpc.pb.cc
11669  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.pb.h
11670  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.grpc.pb.h
11671  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc
11672  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc
11673  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h
11674  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h
11675  test/cpp/codegen/codegen_test_minimal.cc
11676  src/cpp/codegen/codegen_init.cc
11677  third_party/googletest/googletest/src/gtest-all.cc
11678  third_party/googletest/googlemock/src/gmock-all.cc
11679)
11680
11681protobuf_generate_grpc_cpp(
11682  src/proto/grpc/testing/control.proto
11683)
11684protobuf_generate_grpc_cpp(
11685  src/proto/grpc/testing/messages.proto
11686)
11687protobuf_generate_grpc_cpp(
11688  src/proto/grpc/testing/payloads.proto
11689)
11690protobuf_generate_grpc_cpp(
11691  src/proto/grpc/testing/benchmark_service.proto
11692)
11693protobuf_generate_grpc_cpp(
11694  src/proto/grpc/testing/report_qps_scenario_service.proto
11695)
11696protobuf_generate_grpc_cpp(
11697  src/proto/grpc/testing/worker_service.proto
11698)
11699protobuf_generate_grpc_cpp(
11700  src/proto/grpc/testing/stats.proto
11701)
11702
11703target_include_directories(codegen_test_minimal
11704  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11705  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11706  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11707  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11708  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11709  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11710  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11711  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11712  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11713  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11714  PRIVATE third_party/googletest/googletest/include
11715  PRIVATE third_party/googletest/googletest
11716  PRIVATE third_party/googletest/googlemock/include
11717  PRIVATE third_party/googletest/googlemock
11718  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11719)
11720
11721target_link_libraries(codegen_test_minimal
11722  ${_gRPC_PROTOBUF_LIBRARIES}
11723  ${_gRPC_ALLTARGETS_LIBRARIES}
11724  grpc++_core_stats
11725  grpc
11726  gpr
11727  ${_gRPC_GFLAGS_LIBRARIES}
11728)
11729
11730endif (gRPC_BUILD_TESTS)
11731if (gRPC_BUILD_TESTS)
11732
11733add_executable(credentials_test
11734  test/cpp/client/credentials_test.cc
11735  third_party/googletest/googletest/src/gtest-all.cc
11736  third_party/googletest/googlemock/src/gmock-all.cc
11737)
11738
11739
11740target_include_directories(credentials_test
11741  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11742  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11743  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11744  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11745  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11746  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11747  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11748  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11749  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11750  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11751  PRIVATE third_party/googletest/googletest/include
11752  PRIVATE third_party/googletest/googletest
11753  PRIVATE third_party/googletest/googlemock/include
11754  PRIVATE third_party/googletest/googlemock
11755  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11756)
11757
11758target_link_libraries(credentials_test
11759  ${_gRPC_PROTOBUF_LIBRARIES}
11760  ${_gRPC_ALLTARGETS_LIBRARIES}
11761  grpc++
11762  grpc
11763  gpr
11764  ${_gRPC_GFLAGS_LIBRARIES}
11765)
11766
11767endif (gRPC_BUILD_TESTS)
11768if (gRPC_BUILD_TESTS)
11769
11770add_executable(cxx_byte_buffer_test
11771  test/cpp/util/byte_buffer_test.cc
11772  third_party/googletest/googletest/src/gtest-all.cc
11773  third_party/googletest/googlemock/src/gmock-all.cc
11774)
11775
11776
11777target_include_directories(cxx_byte_buffer_test
11778  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11779  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11780  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11781  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11782  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11783  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11784  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11785  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11786  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11787  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11788  PRIVATE third_party/googletest/googletest/include
11789  PRIVATE third_party/googletest/googletest
11790  PRIVATE third_party/googletest/googlemock/include
11791  PRIVATE third_party/googletest/googlemock
11792  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11793)
11794
11795target_link_libraries(cxx_byte_buffer_test
11796  ${_gRPC_PROTOBUF_LIBRARIES}
11797  ${_gRPC_ALLTARGETS_LIBRARIES}
11798  grpc_test_util
11799  grpc++
11800  grpc
11801  gpr_test_util
11802  gpr
11803  ${_gRPC_GFLAGS_LIBRARIES}
11804)
11805
11806endif (gRPC_BUILD_TESTS)
11807if (gRPC_BUILD_TESTS)
11808
11809add_executable(cxx_slice_test
11810  test/cpp/util/slice_test.cc
11811  third_party/googletest/googletest/src/gtest-all.cc
11812  third_party/googletest/googlemock/src/gmock-all.cc
11813)
11814
11815
11816target_include_directories(cxx_slice_test
11817  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11818  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11819  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11820  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11821  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11822  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11823  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11824  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11825  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11826  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11827  PRIVATE third_party/googletest/googletest/include
11828  PRIVATE third_party/googletest/googletest
11829  PRIVATE third_party/googletest/googlemock/include
11830  PRIVATE third_party/googletest/googlemock
11831  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11832)
11833
11834target_link_libraries(cxx_slice_test
11835  ${_gRPC_PROTOBUF_LIBRARIES}
11836  ${_gRPC_ALLTARGETS_LIBRARIES}
11837  grpc_test_util
11838  grpc++
11839  grpc
11840  gpr_test_util
11841  gpr
11842  ${_gRPC_GFLAGS_LIBRARIES}
11843)
11844
11845endif (gRPC_BUILD_TESTS)
11846if (gRPC_BUILD_TESTS)
11847
11848add_executable(cxx_string_ref_test
11849  test/cpp/util/string_ref_test.cc
11850  third_party/googletest/googletest/src/gtest-all.cc
11851  third_party/googletest/googlemock/src/gmock-all.cc
11852)
11853
11854
11855target_include_directories(cxx_string_ref_test
11856  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11857  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11858  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11859  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11860  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11861  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11862  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11863  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11864  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11865  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11866  PRIVATE third_party/googletest/googletest/include
11867  PRIVATE third_party/googletest/googletest
11868  PRIVATE third_party/googletest/googlemock/include
11869  PRIVATE third_party/googletest/googlemock
11870  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11871)
11872
11873target_link_libraries(cxx_string_ref_test
11874  ${_gRPC_PROTOBUF_LIBRARIES}
11875  ${_gRPC_ALLTARGETS_LIBRARIES}
11876  grpc++
11877  grpc
11878  ${_gRPC_GFLAGS_LIBRARIES}
11879)
11880
11881endif (gRPC_BUILD_TESTS)
11882if (gRPC_BUILD_TESTS)
11883
11884add_executable(cxx_time_test
11885  test/cpp/util/time_test.cc
11886  third_party/googletest/googletest/src/gtest-all.cc
11887  third_party/googletest/googlemock/src/gmock-all.cc
11888)
11889
11890
11891target_include_directories(cxx_time_test
11892  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11893  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11894  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11895  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11896  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11897  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11898  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11899  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11900  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11901  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11902  PRIVATE third_party/googletest/googletest/include
11903  PRIVATE third_party/googletest/googletest
11904  PRIVATE third_party/googletest/googlemock/include
11905  PRIVATE third_party/googletest/googlemock
11906  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11907)
11908
11909target_link_libraries(cxx_time_test
11910  ${_gRPC_PROTOBUF_LIBRARIES}
11911  ${_gRPC_ALLTARGETS_LIBRARIES}
11912  grpc_test_util
11913  grpc++
11914  grpc
11915  gpr_test_util
11916  gpr
11917  ${_gRPC_GFLAGS_LIBRARIES}
11918)
11919
11920endif (gRPC_BUILD_TESTS)
11921if (gRPC_BUILD_TESTS)
11922
11923add_executable(end2end_test
11924  test/cpp/end2end/end2end_test.cc
11925  third_party/googletest/googletest/src/gtest-all.cc
11926  third_party/googletest/googlemock/src/gmock-all.cc
11927)
11928
11929
11930target_include_directories(end2end_test
11931  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11932  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11933  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11934  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11935  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11936  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11937  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11938  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11939  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11940  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11941  PRIVATE third_party/googletest/googletest/include
11942  PRIVATE third_party/googletest/googletest
11943  PRIVATE third_party/googletest/googlemock/include
11944  PRIVATE third_party/googletest/googlemock
11945  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11946)
11947
11948target_link_libraries(end2end_test
11949  ${_gRPC_PROTOBUF_LIBRARIES}
11950  ${_gRPC_ALLTARGETS_LIBRARIES}
11951  grpc++_test_util
11952  grpc_test_util
11953  grpc++
11954  grpc
11955  gpr_test_util
11956  gpr
11957  ${_gRPC_GFLAGS_LIBRARIES}
11958)
11959
11960endif (gRPC_BUILD_TESTS)
11961if (gRPC_BUILD_TESTS)
11962
11963add_executable(error_details_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  test/cpp/util/error_details_test.cc
11969  third_party/googletest/googletest/src/gtest-all.cc
11970  third_party/googletest/googlemock/src/gmock-all.cc
11971)
11972
11973protobuf_generate_grpc_cpp(
11974  src/proto/grpc/testing/echo_messages.proto
11975)
11976
11977target_include_directories(error_details_test
11978  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
11979  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
11980  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
11981  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
11982  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
11983  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
11984  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
11985  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
11986  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
11987  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
11988  PRIVATE third_party/googletest/googletest/include
11989  PRIVATE third_party/googletest/googletest
11990  PRIVATE third_party/googletest/googlemock/include
11991  PRIVATE third_party/googletest/googlemock
11992  PRIVATE ${_gRPC_PROTO_GENS_DIR}
11993)
11994
11995target_link_libraries(error_details_test
11996  ${_gRPC_PROTOBUF_LIBRARIES}
11997  ${_gRPC_ALLTARGETS_LIBRARIES}
11998  grpc++_error_details
11999  grpc++
12000  ${_gRPC_GFLAGS_LIBRARIES}
12001)
12002
12003endif (gRPC_BUILD_TESTS)
12004if (gRPC_BUILD_TESTS)
12005
12006add_executable(exception_test
12007  test/cpp/end2end/exception_test.cc
12008  third_party/googletest/googletest/src/gtest-all.cc
12009  third_party/googletest/googlemock/src/gmock-all.cc
12010)
12011
12012
12013target_include_directories(exception_test
12014  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12015  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12016  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12017  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12018  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12019  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12020  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12021  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12022  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12023  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12024  PRIVATE third_party/googletest/googletest/include
12025  PRIVATE third_party/googletest/googletest
12026  PRIVATE third_party/googletest/googlemock/include
12027  PRIVATE third_party/googletest/googlemock
12028  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12029)
12030
12031target_link_libraries(exception_test
12032  ${_gRPC_PROTOBUF_LIBRARIES}
12033  ${_gRPC_ALLTARGETS_LIBRARIES}
12034  grpc++_test_util
12035  grpc_test_util
12036  grpc++
12037  grpc
12038  gpr_test_util
12039  gpr
12040  ${_gRPC_GFLAGS_LIBRARIES}
12041)
12042
12043endif (gRPC_BUILD_TESTS)
12044if (gRPC_BUILD_TESTS)
12045
12046add_executable(filter_end2end_test
12047  test/cpp/end2end/filter_end2end_test.cc
12048  third_party/googletest/googletest/src/gtest-all.cc
12049  third_party/googletest/googlemock/src/gmock-all.cc
12050)
12051
12052
12053target_include_directories(filter_end2end_test
12054  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12055  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12056  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12057  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12058  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12059  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12060  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12061  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12062  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12063  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12064  PRIVATE third_party/googletest/googletest/include
12065  PRIVATE third_party/googletest/googletest
12066  PRIVATE third_party/googletest/googlemock/include
12067  PRIVATE third_party/googletest/googlemock
12068  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12069)
12070
12071target_link_libraries(filter_end2end_test
12072  ${_gRPC_PROTOBUF_LIBRARIES}
12073  ${_gRPC_ALLTARGETS_LIBRARIES}
12074  grpc++_test_util
12075  grpc_test_util
12076  grpc++
12077  grpc
12078  gpr_test_util
12079  gpr
12080  ${_gRPC_GFLAGS_LIBRARIES}
12081)
12082
12083endif (gRPC_BUILD_TESTS)
12084if (gRPC_BUILD_TESTS)
12085
12086add_executable(generic_end2end_test
12087  test/cpp/end2end/generic_end2end_test.cc
12088  third_party/googletest/googletest/src/gtest-all.cc
12089  third_party/googletest/googlemock/src/gmock-all.cc
12090)
12091
12092
12093target_include_directories(generic_end2end_test
12094  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12095  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12096  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12097  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12098  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12099  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12100  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12101  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12102  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12103  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12104  PRIVATE third_party/googletest/googletest/include
12105  PRIVATE third_party/googletest/googletest
12106  PRIVATE third_party/googletest/googlemock/include
12107  PRIVATE third_party/googletest/googlemock
12108  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12109)
12110
12111target_link_libraries(generic_end2end_test
12112  ${_gRPC_PROTOBUF_LIBRARIES}
12113  ${_gRPC_ALLTARGETS_LIBRARIES}
12114  grpc++_test_util
12115  grpc_test_util
12116  grpc++
12117  grpc
12118  gpr_test_util
12119  gpr
12120  ${_gRPC_GFLAGS_LIBRARIES}
12121)
12122
12123endif (gRPC_BUILD_TESTS)
12124if (gRPC_BUILD_TESTS)
12125
12126add_executable(golden_file_test
12127  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.cc
12128  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.grpc.pb.cc
12129  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.h
12130  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.grpc.pb.h
12131  test/cpp/codegen/golden_file_test.cc
12132  third_party/googletest/googletest/src/gtest-all.cc
12133  third_party/googletest/googlemock/src/gmock-all.cc
12134)
12135
12136protobuf_generate_grpc_cpp(
12137  src/proto/grpc/testing/compiler_test.proto
12138)
12139
12140target_include_directories(golden_file_test
12141  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12142  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12143  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12144  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12145  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12146  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12147  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12148  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12149  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12150  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12151  PRIVATE third_party/googletest/googletest/include
12152  PRIVATE third_party/googletest/googletest
12153  PRIVATE third_party/googletest/googlemock/include
12154  PRIVATE third_party/googletest/googlemock
12155  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12156)
12157
12158target_link_libraries(golden_file_test
12159  ${_gRPC_PROTOBUF_LIBRARIES}
12160  ${_gRPC_ALLTARGETS_LIBRARIES}
12161  grpc++
12162  grpc
12163  gpr
12164  ${_gRPC_GFLAGS_LIBRARIES}
12165)
12166
12167endif (gRPC_BUILD_TESTS)
12168if (gRPC_BUILD_TESTS)
12169
12170add_executable(grpc_alts_credentials_options_test
12171  test/core/security/grpc_alts_credentials_options_test.cc
12172  third_party/googletest/googletest/src/gtest-all.cc
12173  third_party/googletest/googlemock/src/gmock-all.cc
12174)
12175
12176
12177target_include_directories(grpc_alts_credentials_options_test
12178  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12179  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12180  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12181  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12182  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12183  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12184  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12185  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12186  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12187  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12188  PRIVATE third_party/googletest/googletest/include
12189  PRIVATE third_party/googletest/googletest
12190  PRIVATE third_party/googletest/googlemock/include
12191  PRIVATE third_party/googletest/googlemock
12192  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12193)
12194
12195target_link_libraries(grpc_alts_credentials_options_test
12196  ${_gRPC_PROTOBUF_LIBRARIES}
12197  ${_gRPC_ALLTARGETS_LIBRARIES}
12198  grpc
12199  gpr
12200  ${_gRPC_GFLAGS_LIBRARIES}
12201)
12202
12203endif (gRPC_BUILD_TESTS)
12204if (gRPC_BUILD_TESTS)
12205
12206add_executable(grpc_cli
12207  test/cpp/util/grpc_cli.cc
12208  third_party/googletest/googletest/src/gtest-all.cc
12209  third_party/googletest/googlemock/src/gmock-all.cc
12210)
12211
12212
12213target_include_directories(grpc_cli
12214  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12215  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12216  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12217  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12218  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12219  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12220  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12221  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12222  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12223  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12224  PRIVATE third_party/googletest/googletest/include
12225  PRIVATE third_party/googletest/googletest
12226  PRIVATE third_party/googletest/googlemock/include
12227  PRIVATE third_party/googletest/googlemock
12228  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12229)
12230
12231target_link_libraries(grpc_cli
12232  ${_gRPC_PROTOBUF_LIBRARIES}
12233  ${_gRPC_ALLTARGETS_LIBRARIES}
12234  grpc_cli_libs
12235  grpc++_proto_reflection_desc_db
12236  grpc++
12237  grpc
12238  gpr
12239  grpc++_test_config
12240  ${_gRPC_GFLAGS_LIBRARIES}
12241)
12242
12243endif (gRPC_BUILD_TESTS)
12244if (gRPC_BUILD_CODEGEN)
12245
12246add_executable(grpc_cpp_plugin
12247  src/compiler/cpp_plugin.cc
12248)
12249
12250
12251target_include_directories(grpc_cpp_plugin
12252  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12253  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12254  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12255  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12256  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12257  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12258  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12259  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12260  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12261  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12262  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12263)
12264
12265target_link_libraries(grpc_cpp_plugin
12266  ${_gRPC_PROTOBUF_PROTOC_LIBRARIES}
12267  ${_gRPC_PROTOBUF_LIBRARIES}
12268  ${_gRPC_ALLTARGETS_LIBRARIES}
12269  grpc_plugin_support
12270)
12271
12272
12273if (gRPC_INSTALL)
12274  install(TARGETS grpc_cpp_plugin EXPORT gRPCTargets
12275    RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR}
12276    LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR}
12277    ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
12278  )
12279endif()
12280
12281endif (gRPC_BUILD_CODEGEN)
12282if (gRPC_BUILD_CODEGEN)
12283
12284add_executable(grpc_csharp_plugin
12285  src/compiler/csharp_plugin.cc
12286)
12287
12288
12289target_include_directories(grpc_csharp_plugin
12290  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12291  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12292  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12293  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12294  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12295  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12296  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12297  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12298  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12299  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12300  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12301)
12302
12303target_link_libraries(grpc_csharp_plugin
12304  ${_gRPC_PROTOBUF_PROTOC_LIBRARIES}
12305  ${_gRPC_PROTOBUF_LIBRARIES}
12306  ${_gRPC_ALLTARGETS_LIBRARIES}
12307  grpc_plugin_support
12308)
12309
12310
12311if (gRPC_INSTALL)
12312  install(TARGETS grpc_csharp_plugin EXPORT gRPCTargets
12313    RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR}
12314    LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR}
12315    ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
12316  )
12317endif()
12318
12319endif (gRPC_BUILD_CODEGEN)
12320if (gRPC_BUILD_TESTS)
12321
12322add_executable(grpc_linux_system_roots_test
12323  test/core/security/linux_system_roots_test.cc
12324  third_party/googletest/googletest/src/gtest-all.cc
12325  third_party/googletest/googlemock/src/gmock-all.cc
12326)
12327
12328
12329target_include_directories(grpc_linux_system_roots_test
12330  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12331  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12332  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12333  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12334  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12335  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12336  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12337  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12338  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12339  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12340  PRIVATE third_party/googletest/googletest/include
12341  PRIVATE third_party/googletest/googletest
12342  PRIVATE third_party/googletest/googlemock/include
12343  PRIVATE third_party/googletest/googlemock
12344  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12345)
12346
12347target_link_libraries(grpc_linux_system_roots_test
12348  ${_gRPC_PROTOBUF_LIBRARIES}
12349  ${_gRPC_ALLTARGETS_LIBRARIES}
12350  grpc_test_util
12351  grpc
12352  gpr_test_util
12353  gpr
12354  ${_gRPC_GFLAGS_LIBRARIES}
12355)
12356
12357endif (gRPC_BUILD_TESTS)
12358if (gRPC_BUILD_CODEGEN)
12359
12360add_executable(grpc_node_plugin
12361  src/compiler/node_plugin.cc
12362)
12363
12364
12365target_include_directories(grpc_node_plugin
12366  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12367  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12368  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12369  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12370  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12371  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12372  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12373  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12374  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12375  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12376  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12377)
12378
12379target_link_libraries(grpc_node_plugin
12380  ${_gRPC_PROTOBUF_PROTOC_LIBRARIES}
12381  ${_gRPC_PROTOBUF_LIBRARIES}
12382  ${_gRPC_ALLTARGETS_LIBRARIES}
12383  grpc_plugin_support
12384)
12385
12386
12387if (gRPC_INSTALL)
12388  install(TARGETS grpc_node_plugin EXPORT gRPCTargets
12389    RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR}
12390    LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR}
12391    ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
12392  )
12393endif()
12394
12395endif (gRPC_BUILD_CODEGEN)
12396if (gRPC_BUILD_CODEGEN)
12397
12398add_executable(grpc_objective_c_plugin
12399  src/compiler/objective_c_plugin.cc
12400)
12401
12402
12403target_include_directories(grpc_objective_c_plugin
12404  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12405  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12406  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12407  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12408  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12409  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12410  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12411  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12412  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12413  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12414  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12415)
12416
12417target_link_libraries(grpc_objective_c_plugin
12418  ${_gRPC_PROTOBUF_PROTOC_LIBRARIES}
12419  ${_gRPC_PROTOBUF_LIBRARIES}
12420  ${_gRPC_ALLTARGETS_LIBRARIES}
12421  grpc_plugin_support
12422)
12423
12424
12425if (gRPC_INSTALL)
12426  install(TARGETS grpc_objective_c_plugin EXPORT gRPCTargets
12427    RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR}
12428    LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR}
12429    ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
12430  )
12431endif()
12432
12433endif (gRPC_BUILD_CODEGEN)
12434if (gRPC_BUILD_CODEGEN)
12435
12436add_executable(grpc_php_plugin
12437  src/compiler/php_plugin.cc
12438)
12439
12440
12441target_include_directories(grpc_php_plugin
12442  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12443  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12444  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12445  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12446  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12447  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12448  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12449  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12450  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12451  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12452  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12453)
12454
12455target_link_libraries(grpc_php_plugin
12456  ${_gRPC_PROTOBUF_PROTOC_LIBRARIES}
12457  ${_gRPC_PROTOBUF_LIBRARIES}
12458  ${_gRPC_ALLTARGETS_LIBRARIES}
12459  grpc_plugin_support
12460)
12461
12462
12463if (gRPC_INSTALL)
12464  install(TARGETS grpc_php_plugin EXPORT gRPCTargets
12465    RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR}
12466    LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR}
12467    ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
12468  )
12469endif()
12470
12471endif (gRPC_BUILD_CODEGEN)
12472if (gRPC_BUILD_CODEGEN)
12473
12474add_executable(grpc_python_plugin
12475  src/compiler/python_plugin.cc
12476)
12477
12478
12479target_include_directories(grpc_python_plugin
12480  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12481  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12482  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12483  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12484  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12485  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12486  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12487  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12488  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12489  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12490  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12491)
12492
12493target_link_libraries(grpc_python_plugin
12494  ${_gRPC_PROTOBUF_PROTOC_LIBRARIES}
12495  ${_gRPC_PROTOBUF_LIBRARIES}
12496  ${_gRPC_ALLTARGETS_LIBRARIES}
12497  grpc_plugin_support
12498)
12499
12500
12501if (gRPC_INSTALL)
12502  install(TARGETS grpc_python_plugin EXPORT gRPCTargets
12503    RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR}
12504    LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR}
12505    ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
12506  )
12507endif()
12508
12509endif (gRPC_BUILD_CODEGEN)
12510if (gRPC_BUILD_CODEGEN)
12511
12512add_executable(grpc_ruby_plugin
12513  src/compiler/ruby_plugin.cc
12514)
12515
12516
12517target_include_directories(grpc_ruby_plugin
12518  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12519  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12520  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12521  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12522  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12523  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12524  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12525  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12526  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12527  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12528  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12529)
12530
12531target_link_libraries(grpc_ruby_plugin
12532  ${_gRPC_PROTOBUF_PROTOC_LIBRARIES}
12533  ${_gRPC_PROTOBUF_LIBRARIES}
12534  ${_gRPC_ALLTARGETS_LIBRARIES}
12535  grpc_plugin_support
12536)
12537
12538
12539if (gRPC_INSTALL)
12540  install(TARGETS grpc_ruby_plugin EXPORT gRPCTargets
12541    RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR}
12542    LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR}
12543    ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
12544  )
12545endif()
12546
12547endif (gRPC_BUILD_CODEGEN)
12548if (gRPC_BUILD_TESTS)
12549
12550add_executable(grpc_tool_test
12551  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc
12552  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc
12553  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h
12554  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h
12555  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc
12556  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc
12557  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h
12558  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h
12559  test/cpp/util/grpc_tool_test.cc
12560  third_party/googletest/googletest/src/gtest-all.cc
12561  third_party/googletest/googlemock/src/gmock-all.cc
12562)
12563
12564protobuf_generate_grpc_cpp(
12565  src/proto/grpc/testing/echo.proto
12566)
12567protobuf_generate_grpc_cpp(
12568  src/proto/grpc/testing/echo_messages.proto
12569)
12570
12571target_include_directories(grpc_tool_test
12572  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12573  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12574  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12575  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12576  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12577  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12578  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12579  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12580  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12581  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12582  PRIVATE third_party/googletest/googletest/include
12583  PRIVATE third_party/googletest/googletest
12584  PRIVATE third_party/googletest/googlemock/include
12585  PRIVATE third_party/googletest/googlemock
12586  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12587)
12588
12589target_link_libraries(grpc_tool_test
12590  ${_gRPC_PROTOBUF_LIBRARIES}
12591  ${_gRPC_ALLTARGETS_LIBRARIES}
12592  grpc_cli_libs
12593  grpc++_proto_reflection_desc_db
12594  grpc++_reflection
12595  grpc++_test_util
12596  grpc_test_util
12597  grpc++
12598  grpc
12599  gpr_test_util
12600  gpr
12601  ${_gRPC_GFLAGS_LIBRARIES}
12602)
12603
12604endif (gRPC_BUILD_TESTS)
12605if (gRPC_BUILD_TESTS)
12606
12607add_executable(grpclb_api_test
12608  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc
12609  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc
12610  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h
12611  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h
12612  test/cpp/grpclb/grpclb_api_test.cc
12613  third_party/googletest/googletest/src/gtest-all.cc
12614  third_party/googletest/googlemock/src/gmock-all.cc
12615)
12616
12617protobuf_generate_grpc_cpp(
12618  src/proto/grpc/lb/v1/load_balancer.proto
12619)
12620
12621target_include_directories(grpclb_api_test
12622  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12623  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12624  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12625  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12626  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12627  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12628  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12629  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12630  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12631  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12632  PRIVATE third_party/googletest/googletest/include
12633  PRIVATE third_party/googletest/googletest
12634  PRIVATE third_party/googletest/googlemock/include
12635  PRIVATE third_party/googletest/googlemock
12636  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12637)
12638
12639target_link_libraries(grpclb_api_test
12640  ${_gRPC_PROTOBUF_LIBRARIES}
12641  ${_gRPC_ALLTARGETS_LIBRARIES}
12642  grpc++_test_util
12643  grpc_test_util
12644  grpc++
12645  grpc
12646  ${_gRPC_GFLAGS_LIBRARIES}
12647)
12648
12649endif (gRPC_BUILD_TESTS)
12650if (gRPC_BUILD_TESTS)
12651
12652add_executable(grpclb_end2end_test
12653  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc
12654  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc
12655  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h
12656  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h
12657  test/cpp/end2end/grpclb_end2end_test.cc
12658  third_party/googletest/googletest/src/gtest-all.cc
12659  third_party/googletest/googlemock/src/gmock-all.cc
12660)
12661
12662protobuf_generate_grpc_cpp(
12663  src/proto/grpc/lb/v1/load_balancer.proto
12664)
12665
12666target_include_directories(grpclb_end2end_test
12667  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12668  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12669  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12670  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12671  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12672  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12673  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12674  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12675  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12676  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12677  PRIVATE third_party/googletest/googletest/include
12678  PRIVATE third_party/googletest/googletest
12679  PRIVATE third_party/googletest/googlemock/include
12680  PRIVATE third_party/googletest/googlemock
12681  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12682)
12683
12684target_link_libraries(grpclb_end2end_test
12685  ${_gRPC_PROTOBUF_LIBRARIES}
12686  ${_gRPC_ALLTARGETS_LIBRARIES}
12687  grpc++_test_util
12688  grpc_test_util
12689  grpc++
12690  grpc
12691  gpr_test_util
12692  gpr
12693  ${_gRPC_GFLAGS_LIBRARIES}
12694)
12695
12696endif (gRPC_BUILD_TESTS)
12697if (gRPC_BUILD_TESTS)
12698
12699add_executable(h2_ssl_cert_test
12700  test/core/end2end/h2_ssl_cert_test.cc
12701  third_party/googletest/googletest/src/gtest-all.cc
12702  third_party/googletest/googlemock/src/gmock-all.cc
12703)
12704
12705
12706target_include_directories(h2_ssl_cert_test
12707  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12708  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12709  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12710  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12711  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12712  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12713  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12714  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12715  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12716  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12717  PRIVATE third_party/googletest/googletest/include
12718  PRIVATE third_party/googletest/googletest
12719  PRIVATE third_party/googletest/googlemock/include
12720  PRIVATE third_party/googletest/googlemock
12721  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12722)
12723
12724target_link_libraries(h2_ssl_cert_test
12725  ${_gRPC_PROTOBUF_LIBRARIES}
12726  ${_gRPC_ALLTARGETS_LIBRARIES}
12727  grpc_test_util
12728  grpc++
12729  grpc
12730  gpr_test_util
12731  gpr
12732  ${_gRPC_GFLAGS_LIBRARIES}
12733)
12734
12735endif (gRPC_BUILD_TESTS)
12736if (gRPC_BUILD_TESTS)
12737
12738add_executable(h2_ssl_session_reuse_test
12739  test/core/end2end/h2_ssl_session_reuse_test.cc
12740  third_party/googletest/googletest/src/gtest-all.cc
12741  third_party/googletest/googlemock/src/gmock-all.cc
12742)
12743
12744
12745target_include_directories(h2_ssl_session_reuse_test
12746  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12747  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12748  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12749  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12750  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12751  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12752  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12753  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12754  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12755  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12756  PRIVATE third_party/googletest/googletest/include
12757  PRIVATE third_party/googletest/googletest
12758  PRIVATE third_party/googletest/googlemock/include
12759  PRIVATE third_party/googletest/googlemock
12760  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12761)
12762
12763target_link_libraries(h2_ssl_session_reuse_test
12764  ${_gRPC_PROTOBUF_LIBRARIES}
12765  ${_gRPC_ALLTARGETS_LIBRARIES}
12766  grpc_test_util
12767  grpc++
12768  grpc
12769  gpr_test_util
12770  gpr
12771  ${_gRPC_GFLAGS_LIBRARIES}
12772)
12773
12774endif (gRPC_BUILD_TESTS)
12775if (gRPC_BUILD_TESTS)
12776
12777add_executable(health_service_end2end_test
12778  test/cpp/end2end/health_service_end2end_test.cc
12779  third_party/googletest/googletest/src/gtest-all.cc
12780  third_party/googletest/googlemock/src/gmock-all.cc
12781)
12782
12783
12784target_include_directories(health_service_end2end_test
12785  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12786  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12787  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12788  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12789  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12790  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12791  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12792  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12793  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12794  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12795  PRIVATE third_party/googletest/googletest/include
12796  PRIVATE third_party/googletest/googletest
12797  PRIVATE third_party/googletest/googlemock/include
12798  PRIVATE third_party/googletest/googlemock
12799  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12800)
12801
12802target_link_libraries(health_service_end2end_test
12803  ${_gRPC_PROTOBUF_LIBRARIES}
12804  ${_gRPC_ALLTARGETS_LIBRARIES}
12805  grpc++_test_util
12806  grpc_test_util
12807  grpc++
12808  grpc
12809  gpr_test_util
12810  gpr
12811  ${_gRPC_GFLAGS_LIBRARIES}
12812)
12813
12814endif (gRPC_BUILD_TESTS)
12815if (gRPC_BUILD_TESTS)
12816if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
12817
12818add_executable(http2_client
12819  third_party/googletest/googletest/src/gtest-all.cc
12820  third_party/googletest/googlemock/src/gmock-all.cc
12821)
12822
12823
12824target_include_directories(http2_client
12825  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12826  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12827  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12828  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12829  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12830  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12831  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12832  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12833  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12834  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12835  PRIVATE third_party/googletest/googletest/include
12836  PRIVATE third_party/googletest/googletest
12837  PRIVATE third_party/googletest/googlemock/include
12838  PRIVATE third_party/googletest/googlemock
12839  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12840)
12841
12842target_link_libraries(http2_client
12843  ${_gRPC_PROTOBUF_LIBRARIES}
12844  ${_gRPC_ALLTARGETS_LIBRARIES}
12845  http2_client_main
12846  grpc++_test_util
12847  grpc_test_util
12848  grpc++
12849  grpc
12850  grpc++_test_config
12851  ${_gRPC_GFLAGS_LIBRARIES}
12852)
12853
12854endif()
12855endif (gRPC_BUILD_TESTS)
12856if (gRPC_BUILD_TESTS)
12857
12858add_executable(hybrid_end2end_test
12859  test/cpp/end2end/hybrid_end2end_test.cc
12860  third_party/googletest/googletest/src/gtest-all.cc
12861  third_party/googletest/googlemock/src/gmock-all.cc
12862)
12863
12864
12865target_include_directories(hybrid_end2end_test
12866  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12867  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12868  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12869  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12870  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12871  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12872  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12873  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12874  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12875  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12876  PRIVATE third_party/googletest/googletest/include
12877  PRIVATE third_party/googletest/googletest
12878  PRIVATE third_party/googletest/googlemock/include
12879  PRIVATE third_party/googletest/googlemock
12880  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12881)
12882
12883target_link_libraries(hybrid_end2end_test
12884  ${_gRPC_PROTOBUF_LIBRARIES}
12885  ${_gRPC_ALLTARGETS_LIBRARIES}
12886  grpc++_test_util
12887  grpc_test_util
12888  grpc++
12889  grpc
12890  gpr_test_util
12891  gpr
12892  ${_gRPC_GFLAGS_LIBRARIES}
12893)
12894
12895endif (gRPC_BUILD_TESTS)
12896if (gRPC_BUILD_TESTS)
12897
12898add_executable(inlined_vector_test
12899  test/core/gprpp/inlined_vector_test.cc
12900  third_party/googletest/googletest/src/gtest-all.cc
12901  third_party/googletest/googlemock/src/gmock-all.cc
12902)
12903
12904
12905target_include_directories(inlined_vector_test
12906  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12907  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12908  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12909  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12910  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12911  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12912  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12913  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12914  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12915  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12916  PRIVATE third_party/googletest/googletest/include
12917  PRIVATE third_party/googletest/googletest
12918  PRIVATE third_party/googletest/googlemock/include
12919  PRIVATE third_party/googletest/googlemock
12920  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12921)
12922
12923target_link_libraries(inlined_vector_test
12924  ${_gRPC_PROTOBUF_LIBRARIES}
12925  ${_gRPC_ALLTARGETS_LIBRARIES}
12926  grpc_test_util
12927  grpc++
12928  grpc
12929  gpr_test_util
12930  gpr
12931  ${_gRPC_GFLAGS_LIBRARIES}
12932)
12933
12934endif (gRPC_BUILD_TESTS)
12935if (gRPC_BUILD_TESTS)
12936if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
12937
12938add_executable(inproc_sync_unary_ping_pong_test
12939  test/cpp/qps/inproc_sync_unary_ping_pong_test.cc
12940  third_party/googletest/googletest/src/gtest-all.cc
12941  third_party/googletest/googlemock/src/gmock-all.cc
12942)
12943
12944
12945target_include_directories(inproc_sync_unary_ping_pong_test
12946  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12947  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12948  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12949  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12950  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12951  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12952  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12953  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12954  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12955  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
12956  PRIVATE third_party/googletest/googletest/include
12957  PRIVATE third_party/googletest/googletest
12958  PRIVATE third_party/googletest/googlemock/include
12959  PRIVATE third_party/googletest/googlemock
12960  PRIVATE ${_gRPC_PROTO_GENS_DIR}
12961)
12962
12963target_link_libraries(inproc_sync_unary_ping_pong_test
12964  ${_gRPC_PROTOBUF_LIBRARIES}
12965  ${_gRPC_ALLTARGETS_LIBRARIES}
12966  qps
12967  grpc++_core_stats
12968  grpc++_test_util
12969  grpc_test_util
12970  grpc++
12971  grpc
12972  gpr_test_util
12973  gpr
12974  grpc++_test_config
12975  ${_gRPC_GFLAGS_LIBRARIES}
12976)
12977
12978endif()
12979endif (gRPC_BUILD_TESTS)
12980if (gRPC_BUILD_TESTS)
12981if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
12982
12983add_executable(interop_client
12984  third_party/googletest/googletest/src/gtest-all.cc
12985  third_party/googletest/googlemock/src/gmock-all.cc
12986)
12987
12988
12989target_include_directories(interop_client
12990  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
12991  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
12992  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
12993  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
12994  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
12995  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
12996  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
12997  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
12998  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
12999  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13000  PRIVATE third_party/googletest/googletest/include
13001  PRIVATE third_party/googletest/googletest
13002  PRIVATE third_party/googletest/googlemock/include
13003  PRIVATE third_party/googletest/googlemock
13004  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13005)
13006
13007target_link_libraries(interop_client
13008  ${_gRPC_PROTOBUF_LIBRARIES}
13009  ${_gRPC_ALLTARGETS_LIBRARIES}
13010  interop_client_main
13011  interop_client_helper
13012  grpc++_test_util
13013  grpc_test_util
13014  grpc++
13015  grpc
13016  gpr_test_util
13017  gpr
13018  grpc++_test_config
13019  ${_gRPC_GFLAGS_LIBRARIES}
13020)
13021
13022endif()
13023endif (gRPC_BUILD_TESTS)
13024if (gRPC_BUILD_TESTS)
13025if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
13026
13027add_executable(interop_server
13028  third_party/googletest/googletest/src/gtest-all.cc
13029  third_party/googletest/googlemock/src/gmock-all.cc
13030)
13031
13032
13033target_include_directories(interop_server
13034  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13035  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13036  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13037  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13038  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13039  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13040  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13041  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13042  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13043  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13044  PRIVATE third_party/googletest/googletest/include
13045  PRIVATE third_party/googletest/googletest
13046  PRIVATE third_party/googletest/googlemock/include
13047  PRIVATE third_party/googletest/googlemock
13048  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13049)
13050
13051target_link_libraries(interop_server
13052  ${_gRPC_PROTOBUF_LIBRARIES}
13053  ${_gRPC_ALLTARGETS_LIBRARIES}
13054  interop_server_main
13055  interop_server_helper
13056  interop_server_lib
13057  grpc++_test_util
13058  grpc_test_util
13059  grpc++
13060  grpc
13061  gpr_test_util
13062  gpr
13063  grpc++_test_config
13064  ${_gRPC_GFLAGS_LIBRARIES}
13065)
13066
13067endif()
13068endif (gRPC_BUILD_TESTS)
13069if (gRPC_BUILD_TESTS)
13070if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
13071
13072add_executable(interop_test
13073  test/cpp/interop/interop_test.cc
13074  third_party/googletest/googletest/src/gtest-all.cc
13075  third_party/googletest/googlemock/src/gmock-all.cc
13076)
13077
13078
13079target_include_directories(interop_test
13080  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13081  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13082  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13083  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13084  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13085  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13086  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13087  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13088  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13089  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13090  PRIVATE third_party/googletest/googletest/include
13091  PRIVATE third_party/googletest/googletest
13092  PRIVATE third_party/googletest/googlemock/include
13093  PRIVATE third_party/googletest/googlemock
13094  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13095)
13096
13097target_link_libraries(interop_test
13098  ${_gRPC_PROTOBUF_LIBRARIES}
13099  ${_gRPC_ALLTARGETS_LIBRARIES}
13100  grpc_test_util
13101  grpc
13102  gpr_test_util
13103  gpr
13104  grpc++_test_config
13105  ${_gRPC_GFLAGS_LIBRARIES}
13106)
13107
13108endif()
13109endif (gRPC_BUILD_TESTS)
13110if (gRPC_BUILD_TESTS)
13111if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
13112
13113add_executable(json_run_localhost
13114  test/cpp/qps/json_run_localhost.cc
13115  third_party/googletest/googletest/src/gtest-all.cc
13116  third_party/googletest/googlemock/src/gmock-all.cc
13117)
13118
13119
13120target_include_directories(json_run_localhost
13121  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13122  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13123  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13124  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13125  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13126  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13127  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13128  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13129  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13130  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13131  PRIVATE third_party/googletest/googletest/include
13132  PRIVATE third_party/googletest/googletest
13133  PRIVATE third_party/googletest/googlemock/include
13134  PRIVATE third_party/googletest/googlemock
13135  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13136)
13137
13138target_link_libraries(json_run_localhost
13139  ${_gRPC_PROTOBUF_LIBRARIES}
13140  ${_gRPC_ALLTARGETS_LIBRARIES}
13141  grpc++_test_util
13142  grpc_test_util
13143  grpc++
13144  grpc
13145  gpr_test_util
13146  gpr
13147  grpc++_test_config
13148  ${_gRPC_GFLAGS_LIBRARIES}
13149)
13150
13151endif()
13152endif (gRPC_BUILD_TESTS)
13153if (gRPC_BUILD_TESTS)
13154
13155add_executable(memory_test
13156  test/core/gprpp/memory_test.cc
13157  third_party/googletest/googletest/src/gtest-all.cc
13158  third_party/googletest/googlemock/src/gmock-all.cc
13159)
13160
13161
13162target_include_directories(memory_test
13163  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13164  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13165  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13166  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13167  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13168  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13169  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13170  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13171  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13172  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13173  PRIVATE third_party/googletest/googletest/include
13174  PRIVATE third_party/googletest/googletest
13175  PRIVATE third_party/googletest/googlemock/include
13176  PRIVATE third_party/googletest/googlemock
13177  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13178)
13179
13180target_link_libraries(memory_test
13181  ${_gRPC_PROTOBUF_LIBRARIES}
13182  ${_gRPC_ALLTARGETS_LIBRARIES}
13183  grpc_test_util
13184  grpc++
13185  grpc
13186  gpr_test_util
13187  gpr
13188  ${_gRPC_GFLAGS_LIBRARIES}
13189)
13190
13191endif (gRPC_BUILD_TESTS)
13192if (gRPC_BUILD_TESTS)
13193
13194add_executable(metrics_client
13195  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc
13196  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc
13197  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h
13198  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h
13199  test/cpp/interop/metrics_client.cc
13200  third_party/googletest/googletest/src/gtest-all.cc
13201  third_party/googletest/googlemock/src/gmock-all.cc
13202)
13203
13204protobuf_generate_grpc_cpp(
13205  src/proto/grpc/testing/metrics.proto
13206)
13207
13208target_include_directories(metrics_client
13209  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13210  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13211  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13212  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13213  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13214  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13215  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13216  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13217  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13218  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13219  PRIVATE third_party/googletest/googletest/include
13220  PRIVATE third_party/googletest/googletest
13221  PRIVATE third_party/googletest/googlemock/include
13222  PRIVATE third_party/googletest/googlemock
13223  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13224)
13225
13226target_link_libraries(metrics_client
13227  ${_gRPC_PROTOBUF_LIBRARIES}
13228  ${_gRPC_ALLTARGETS_LIBRARIES}
13229  grpc++
13230  grpc
13231  gpr
13232  grpc++_test_config
13233  ${_gRPC_GFLAGS_LIBRARIES}
13234)
13235
13236endif (gRPC_BUILD_TESTS)
13237if (gRPC_BUILD_TESTS)
13238
13239add_executable(mock_test
13240  test/cpp/end2end/mock_test.cc
13241  third_party/googletest/googletest/src/gtest-all.cc
13242  third_party/googletest/googlemock/src/gmock-all.cc
13243)
13244
13245
13246target_include_directories(mock_test
13247  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13248  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13249  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13250  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13251  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13252  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13253  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13254  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13255  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13256  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13257  PRIVATE third_party/googletest/googletest/include
13258  PRIVATE third_party/googletest/googletest
13259  PRIVATE third_party/googletest/googlemock/include
13260  PRIVATE third_party/googletest/googlemock
13261  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13262)
13263
13264target_link_libraries(mock_test
13265  ${_gRPC_PROTOBUF_LIBRARIES}
13266  ${_gRPC_ALLTARGETS_LIBRARIES}
13267  grpc++_test_util
13268  grpc_test_util
13269  grpc++
13270  grpc
13271  gpr_test_util
13272  gpr
13273  ${_gRPC_GFLAGS_LIBRARIES}
13274)
13275
13276endif (gRPC_BUILD_TESTS)
13277if (gRPC_BUILD_TESTS)
13278
13279add_executable(nonblocking_test
13280  test/cpp/end2end/nonblocking_test.cc
13281  third_party/googletest/googletest/src/gtest-all.cc
13282  third_party/googletest/googlemock/src/gmock-all.cc
13283)
13284
13285
13286target_include_directories(nonblocking_test
13287  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13288  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13289  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13290  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13291  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13292  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13293  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13294  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13295  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13296  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13297  PRIVATE third_party/googletest/googletest/include
13298  PRIVATE third_party/googletest/googletest
13299  PRIVATE third_party/googletest/googlemock/include
13300  PRIVATE third_party/googletest/googlemock
13301  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13302)
13303
13304target_link_libraries(nonblocking_test
13305  ${_gRPC_PROTOBUF_LIBRARIES}
13306  ${_gRPC_ALLTARGETS_LIBRARIES}
13307  grpc++_test_util
13308  grpc_test_util
13309  grpc++
13310  grpc
13311  gpr_test_util
13312  gpr
13313  ${_gRPC_GFLAGS_LIBRARIES}
13314)
13315
13316endif (gRPC_BUILD_TESTS)
13317if (gRPC_BUILD_TESTS)
13318
13319add_executable(noop-benchmark
13320  test/cpp/microbenchmarks/noop-benchmark.cc
13321  third_party/googletest/googletest/src/gtest-all.cc
13322  third_party/googletest/googlemock/src/gmock-all.cc
13323)
13324
13325
13326target_include_directories(noop-benchmark
13327  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13328  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13329  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13330  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13331  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13332  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13333  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13334  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13335  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13336  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13337  PRIVATE third_party/googletest/googletest/include
13338  PRIVATE third_party/googletest/googletest
13339  PRIVATE third_party/googletest/googlemock/include
13340  PRIVATE third_party/googletest/googlemock
13341  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13342)
13343
13344target_link_libraries(noop-benchmark
13345  ${_gRPC_PROTOBUF_LIBRARIES}
13346  ${_gRPC_ALLTARGETS_LIBRARIES}
13347  ${_gRPC_BENCHMARK_LIBRARIES}
13348  ${_gRPC_GFLAGS_LIBRARIES}
13349)
13350
13351endif (gRPC_BUILD_TESTS)
13352if (gRPC_BUILD_TESTS)
13353
13354add_executable(orphanable_test
13355  test/core/gprpp/orphanable_test.cc
13356  third_party/googletest/googletest/src/gtest-all.cc
13357  third_party/googletest/googlemock/src/gmock-all.cc
13358)
13359
13360
13361target_include_directories(orphanable_test
13362  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13363  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13364  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13365  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13366  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13367  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13368  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13369  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13370  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13371  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13372  PRIVATE third_party/googletest/googletest/include
13373  PRIVATE third_party/googletest/googletest
13374  PRIVATE third_party/googletest/googlemock/include
13375  PRIVATE third_party/googletest/googlemock
13376  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13377)
13378
13379target_link_libraries(orphanable_test
13380  ${_gRPC_PROTOBUF_LIBRARIES}
13381  ${_gRPC_ALLTARGETS_LIBRARIES}
13382  grpc_test_util
13383  grpc++
13384  grpc
13385  gpr_test_util
13386  gpr
13387  ${_gRPC_GFLAGS_LIBRARIES}
13388)
13389
13390endif (gRPC_BUILD_TESTS)
13391if (gRPC_BUILD_TESTS)
13392
13393add_executable(proto_server_reflection_test
13394  test/cpp/end2end/proto_server_reflection_test.cc
13395  third_party/googletest/googletest/src/gtest-all.cc
13396  third_party/googletest/googlemock/src/gmock-all.cc
13397)
13398
13399
13400target_include_directories(proto_server_reflection_test
13401  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13402  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13403  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13404  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13405  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13406  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13407  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13408  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13409  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13410  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13411  PRIVATE third_party/googletest/googletest/include
13412  PRIVATE third_party/googletest/googletest
13413  PRIVATE third_party/googletest/googlemock/include
13414  PRIVATE third_party/googletest/googlemock
13415  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13416)
13417
13418target_link_libraries(proto_server_reflection_test
13419  ${_gRPC_PROTOBUF_LIBRARIES}
13420  ${_gRPC_ALLTARGETS_LIBRARIES}
13421  grpc++_proto_reflection_desc_db
13422  grpc++_reflection
13423  grpc++_test_util
13424  grpc_test_util
13425  grpc++
13426  grpc
13427  gpr_test_util
13428  gpr
13429  ${_gRPC_GFLAGS_LIBRARIES}
13430)
13431
13432endif (gRPC_BUILD_TESTS)
13433if (gRPC_BUILD_TESTS)
13434
13435add_executable(proto_utils_test
13436  test/cpp/codegen/proto_utils_test.cc
13437  third_party/googletest/googletest/src/gtest-all.cc
13438  third_party/googletest/googlemock/src/gmock-all.cc
13439)
13440
13441
13442target_include_directories(proto_utils_test
13443  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13444  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13445  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13446  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13447  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13448  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13449  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13450  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13451  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13452  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13453  PRIVATE third_party/googletest/googletest/include
13454  PRIVATE third_party/googletest/googletest
13455  PRIVATE third_party/googletest/googlemock/include
13456  PRIVATE third_party/googletest/googlemock
13457  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13458)
13459
13460target_link_libraries(proto_utils_test
13461  ${_gRPC_PROTOBUF_LIBRARIES}
13462  ${_gRPC_ALLTARGETS_LIBRARIES}
13463  grpc++
13464  grpc
13465  ${_gRPC_GFLAGS_LIBRARIES}
13466)
13467
13468endif (gRPC_BUILD_TESTS)
13469if (gRPC_BUILD_TESTS)
13470if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
13471
13472add_executable(qps_interarrival_test
13473  test/cpp/qps/qps_interarrival_test.cc
13474  third_party/googletest/googletest/src/gtest-all.cc
13475  third_party/googletest/googlemock/src/gmock-all.cc
13476)
13477
13478
13479target_include_directories(qps_interarrival_test
13480  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13481  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13482  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13483  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13484  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13485  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13486  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13487  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13488  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13489  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13490  PRIVATE third_party/googletest/googletest/include
13491  PRIVATE third_party/googletest/googletest
13492  PRIVATE third_party/googletest/googlemock/include
13493  PRIVATE third_party/googletest/googlemock
13494  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13495)
13496
13497target_link_libraries(qps_interarrival_test
13498  ${_gRPC_PROTOBUF_LIBRARIES}
13499  ${_gRPC_ALLTARGETS_LIBRARIES}
13500  qps
13501  grpc++_test_util
13502  grpc_test_util
13503  grpc++
13504  grpc
13505  gpr_test_util
13506  gpr
13507  grpc++_test_config
13508  ${_gRPC_GFLAGS_LIBRARIES}
13509)
13510
13511endif()
13512endif (gRPC_BUILD_TESTS)
13513if (gRPC_BUILD_TESTS)
13514
13515add_executable(qps_json_driver
13516  test/cpp/qps/qps_json_driver.cc
13517  third_party/googletest/googletest/src/gtest-all.cc
13518  third_party/googletest/googlemock/src/gmock-all.cc
13519)
13520
13521
13522target_include_directories(qps_json_driver
13523  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13524  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13525  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13526  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13527  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13528  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13529  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13530  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13531  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13532  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13533  PRIVATE third_party/googletest/googletest/include
13534  PRIVATE third_party/googletest/googletest
13535  PRIVATE third_party/googletest/googlemock/include
13536  PRIVATE third_party/googletest/googlemock
13537  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13538)
13539
13540target_link_libraries(qps_json_driver
13541  ${_gRPC_PROTOBUF_LIBRARIES}
13542  ${_gRPC_ALLTARGETS_LIBRARIES}
13543  qps
13544  grpc++_core_stats
13545  grpc++_test_util
13546  grpc_test_util
13547  grpc++
13548  grpc
13549  gpr_test_util
13550  gpr
13551  grpc++_test_config
13552  ${_gRPC_GFLAGS_LIBRARIES}
13553)
13554
13555endif (gRPC_BUILD_TESTS)
13556if (gRPC_BUILD_TESTS)
13557if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
13558
13559add_executable(qps_openloop_test
13560  test/cpp/qps/qps_openloop_test.cc
13561  third_party/googletest/googletest/src/gtest-all.cc
13562  third_party/googletest/googlemock/src/gmock-all.cc
13563)
13564
13565
13566target_include_directories(qps_openloop_test
13567  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13568  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13569  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13570  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13571  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13572  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13573  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13574  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13575  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13576  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13577  PRIVATE third_party/googletest/googletest/include
13578  PRIVATE third_party/googletest/googletest
13579  PRIVATE third_party/googletest/googlemock/include
13580  PRIVATE third_party/googletest/googlemock
13581  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13582)
13583
13584target_link_libraries(qps_openloop_test
13585  ${_gRPC_PROTOBUF_LIBRARIES}
13586  ${_gRPC_ALLTARGETS_LIBRARIES}
13587  qps
13588  grpc++_core_stats
13589  grpc++_test_util
13590  grpc_test_util
13591  grpc++
13592  grpc
13593  gpr_test_util
13594  gpr
13595  grpc++_test_config
13596  ${_gRPC_GFLAGS_LIBRARIES}
13597)
13598
13599endif()
13600endif (gRPC_BUILD_TESTS)
13601if (gRPC_BUILD_TESTS)
13602
13603add_executable(qps_worker
13604  test/cpp/qps/worker.cc
13605  third_party/googletest/googletest/src/gtest-all.cc
13606  third_party/googletest/googlemock/src/gmock-all.cc
13607)
13608
13609
13610target_include_directories(qps_worker
13611  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13612  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13613  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13614  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13615  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13616  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13617  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13618  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13619  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13620  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13621  PRIVATE third_party/googletest/googletest/include
13622  PRIVATE third_party/googletest/googletest
13623  PRIVATE third_party/googletest/googlemock/include
13624  PRIVATE third_party/googletest/googlemock
13625  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13626)
13627
13628target_link_libraries(qps_worker
13629  ${_gRPC_PROTOBUF_LIBRARIES}
13630  ${_gRPC_ALLTARGETS_LIBRARIES}
13631  qps
13632  grpc++_core_stats
13633  grpc++_test_util
13634  grpc_test_util
13635  grpc++
13636  grpc
13637  gpr_test_util
13638  gpr
13639  grpc++_test_config
13640  ${_gRPC_GFLAGS_LIBRARIES}
13641)
13642
13643endif (gRPC_BUILD_TESTS)
13644if (gRPC_BUILD_TESTS)
13645
13646add_executable(raw_end2end_test
13647  test/cpp/end2end/raw_end2end_test.cc
13648  third_party/googletest/googletest/src/gtest-all.cc
13649  third_party/googletest/googlemock/src/gmock-all.cc
13650)
13651
13652
13653target_include_directories(raw_end2end_test
13654  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13655  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13656  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13657  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13658  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13659  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13660  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13661  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13662  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13663  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13664  PRIVATE third_party/googletest/googletest/include
13665  PRIVATE third_party/googletest/googletest
13666  PRIVATE third_party/googletest/googlemock/include
13667  PRIVATE third_party/googletest/googlemock
13668  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13669)
13670
13671target_link_libraries(raw_end2end_test
13672  ${_gRPC_PROTOBUF_LIBRARIES}
13673  ${_gRPC_ALLTARGETS_LIBRARIES}
13674  grpc++_test_util
13675  grpc_test_util
13676  grpc++
13677  grpc
13678  gpr_test_util
13679  gpr
13680  ${_gRPC_GFLAGS_LIBRARIES}
13681)
13682
13683endif (gRPC_BUILD_TESTS)
13684if (gRPC_BUILD_TESTS)
13685
13686add_executable(reconnect_interop_client
13687  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc
13688  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc
13689  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h
13690  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h
13691  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc
13692  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc
13693  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h
13694  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h
13695  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc
13696  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc
13697  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h
13698  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h
13699  test/cpp/interop/reconnect_interop_client.cc
13700  third_party/googletest/googletest/src/gtest-all.cc
13701  third_party/googletest/googlemock/src/gmock-all.cc
13702)
13703
13704protobuf_generate_grpc_cpp(
13705  src/proto/grpc/testing/empty.proto
13706)
13707protobuf_generate_grpc_cpp(
13708  src/proto/grpc/testing/messages.proto
13709)
13710protobuf_generate_grpc_cpp(
13711  src/proto/grpc/testing/test.proto
13712)
13713
13714target_include_directories(reconnect_interop_client
13715  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13716  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13717  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13718  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13719  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13720  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13721  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13722  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13723  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13724  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13725  PRIVATE third_party/googletest/googletest/include
13726  PRIVATE third_party/googletest/googletest
13727  PRIVATE third_party/googletest/googlemock/include
13728  PRIVATE third_party/googletest/googlemock
13729  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13730)
13731
13732target_link_libraries(reconnect_interop_client
13733  ${_gRPC_PROTOBUF_LIBRARIES}
13734  ${_gRPC_ALLTARGETS_LIBRARIES}
13735  grpc++_test_util
13736  grpc_test_util
13737  grpc++
13738  grpc
13739  gpr_test_util
13740  gpr
13741  grpc++_test_config
13742  ${_gRPC_GFLAGS_LIBRARIES}
13743)
13744
13745endif (gRPC_BUILD_TESTS)
13746if (gRPC_BUILD_TESTS)
13747
13748add_executable(reconnect_interop_server
13749  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc
13750  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc
13751  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h
13752  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h
13753  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc
13754  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc
13755  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h
13756  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h
13757  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc
13758  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc
13759  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h
13760  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h
13761  test/cpp/interop/reconnect_interop_server.cc
13762  third_party/googletest/googletest/src/gtest-all.cc
13763  third_party/googletest/googlemock/src/gmock-all.cc
13764)
13765
13766protobuf_generate_grpc_cpp(
13767  src/proto/grpc/testing/empty.proto
13768)
13769protobuf_generate_grpc_cpp(
13770  src/proto/grpc/testing/messages.proto
13771)
13772protobuf_generate_grpc_cpp(
13773  src/proto/grpc/testing/test.proto
13774)
13775
13776target_include_directories(reconnect_interop_server
13777  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13778  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13779  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13780  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13781  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13782  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13783  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13784  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13785  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13786  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13787  PRIVATE third_party/googletest/googletest/include
13788  PRIVATE third_party/googletest/googletest
13789  PRIVATE third_party/googletest/googlemock/include
13790  PRIVATE third_party/googletest/googlemock
13791  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13792)
13793
13794target_link_libraries(reconnect_interop_server
13795  ${_gRPC_PROTOBUF_LIBRARIES}
13796  ${_gRPC_ALLTARGETS_LIBRARIES}
13797  reconnect_server
13798  test_tcp_server
13799  grpc++_test_util
13800  grpc_test_util
13801  grpc++
13802  grpc
13803  gpr_test_util
13804  gpr
13805  grpc++_test_config
13806  ${_gRPC_GFLAGS_LIBRARIES}
13807)
13808
13809endif (gRPC_BUILD_TESTS)
13810if (gRPC_BUILD_TESTS)
13811
13812add_executable(ref_counted_ptr_test
13813  test/core/gprpp/ref_counted_ptr_test.cc
13814  third_party/googletest/googletest/src/gtest-all.cc
13815  third_party/googletest/googlemock/src/gmock-all.cc
13816)
13817
13818
13819target_include_directories(ref_counted_ptr_test
13820  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13821  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13822  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13823  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13824  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13825  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13826  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13827  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13828  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13829  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13830  PRIVATE third_party/googletest/googletest/include
13831  PRIVATE third_party/googletest/googletest
13832  PRIVATE third_party/googletest/googlemock/include
13833  PRIVATE third_party/googletest/googlemock
13834  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13835)
13836
13837target_link_libraries(ref_counted_ptr_test
13838  ${_gRPC_PROTOBUF_LIBRARIES}
13839  ${_gRPC_ALLTARGETS_LIBRARIES}
13840  grpc_test_util
13841  grpc++
13842  grpc
13843  gpr_test_util
13844  gpr
13845  ${_gRPC_GFLAGS_LIBRARIES}
13846)
13847
13848endif (gRPC_BUILD_TESTS)
13849if (gRPC_BUILD_TESTS)
13850
13851add_executable(ref_counted_test
13852  test/core/gprpp/ref_counted_test.cc
13853  third_party/googletest/googletest/src/gtest-all.cc
13854  third_party/googletest/googlemock/src/gmock-all.cc
13855)
13856
13857
13858target_include_directories(ref_counted_test
13859  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13860  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13861  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13862  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13863  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13864  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13865  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13866  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13867  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13868  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13869  PRIVATE third_party/googletest/googletest/include
13870  PRIVATE third_party/googletest/googletest
13871  PRIVATE third_party/googletest/googlemock/include
13872  PRIVATE third_party/googletest/googlemock
13873  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13874)
13875
13876target_link_libraries(ref_counted_test
13877  ${_gRPC_PROTOBUF_LIBRARIES}
13878  ${_gRPC_ALLTARGETS_LIBRARIES}
13879  grpc_test_util
13880  grpc++
13881  grpc
13882  gpr_test_util
13883  gpr
13884  ${_gRPC_GFLAGS_LIBRARIES}
13885)
13886
13887endif (gRPC_BUILD_TESTS)
13888if (gRPC_BUILD_TESTS)
13889
13890add_executable(retry_throttle_test
13891  test/core/client_channel/retry_throttle_test.cc
13892  third_party/googletest/googletest/src/gtest-all.cc
13893  third_party/googletest/googlemock/src/gmock-all.cc
13894)
13895
13896
13897target_include_directories(retry_throttle_test
13898  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13899  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13900  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13901  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13902  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13903  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13904  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13905  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13906  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13907  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13908  PRIVATE third_party/googletest/googletest/include
13909  PRIVATE third_party/googletest/googletest
13910  PRIVATE third_party/googletest/googlemock/include
13911  PRIVATE third_party/googletest/googlemock
13912  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13913)
13914
13915target_link_libraries(retry_throttle_test
13916  ${_gRPC_PROTOBUF_LIBRARIES}
13917  ${_gRPC_ALLTARGETS_LIBRARIES}
13918  grpc_test_util
13919  grpc
13920  gpr_test_util
13921  gpr
13922  ${_gRPC_GFLAGS_LIBRARIES}
13923)
13924
13925endif (gRPC_BUILD_TESTS)
13926if (gRPC_BUILD_TESTS)
13927
13928add_executable(secure_auth_context_test
13929  test/cpp/common/secure_auth_context_test.cc
13930  third_party/googletest/googletest/src/gtest-all.cc
13931  third_party/googletest/googlemock/src/gmock-all.cc
13932)
13933
13934
13935target_include_directories(secure_auth_context_test
13936  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13937  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13938  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13939  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13940  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13941  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13942  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13943  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13944  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13945  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13946  PRIVATE third_party/googletest/googletest/include
13947  PRIVATE third_party/googletest/googletest
13948  PRIVATE third_party/googletest/googlemock/include
13949  PRIVATE third_party/googletest/googlemock
13950  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13951)
13952
13953target_link_libraries(secure_auth_context_test
13954  ${_gRPC_PROTOBUF_LIBRARIES}
13955  ${_gRPC_ALLTARGETS_LIBRARIES}
13956  grpc++_test_util
13957  grpc_test_util
13958  grpc++
13959  grpc
13960  gpr_test_util
13961  gpr
13962  ${_gRPC_GFLAGS_LIBRARIES}
13963)
13964
13965endif (gRPC_BUILD_TESTS)
13966if (gRPC_BUILD_TESTS)
13967if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
13968
13969add_executable(secure_sync_unary_ping_pong_test
13970  test/cpp/qps/secure_sync_unary_ping_pong_test.cc
13971  third_party/googletest/googletest/src/gtest-all.cc
13972  third_party/googletest/googlemock/src/gmock-all.cc
13973)
13974
13975
13976target_include_directories(secure_sync_unary_ping_pong_test
13977  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
13978  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
13979  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
13980  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
13981  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
13982  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
13983  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
13984  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
13985  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
13986  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
13987  PRIVATE third_party/googletest/googletest/include
13988  PRIVATE third_party/googletest/googletest
13989  PRIVATE third_party/googletest/googlemock/include
13990  PRIVATE third_party/googletest/googlemock
13991  PRIVATE ${_gRPC_PROTO_GENS_DIR}
13992)
13993
13994target_link_libraries(secure_sync_unary_ping_pong_test
13995  ${_gRPC_PROTOBUF_LIBRARIES}
13996  ${_gRPC_ALLTARGETS_LIBRARIES}
13997  qps
13998  grpc++_core_stats
13999  grpc++_test_util
14000  grpc_test_util
14001  grpc++
14002  grpc
14003  gpr_test_util
14004  gpr
14005  grpc++_test_config
14006  ${_gRPC_GFLAGS_LIBRARIES}
14007)
14008
14009endif()
14010endif (gRPC_BUILD_TESTS)
14011if (gRPC_BUILD_TESTS)
14012
14013add_executable(server_builder_plugin_test
14014  test/cpp/end2end/server_builder_plugin_test.cc
14015  third_party/googletest/googletest/src/gtest-all.cc
14016  third_party/googletest/googlemock/src/gmock-all.cc
14017)
14018
14019
14020target_include_directories(server_builder_plugin_test
14021  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14022  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14023  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14024  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14025  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14026  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14027  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14028  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14029  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14030  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14031  PRIVATE third_party/googletest/googletest/include
14032  PRIVATE third_party/googletest/googletest
14033  PRIVATE third_party/googletest/googlemock/include
14034  PRIVATE third_party/googletest/googlemock
14035  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14036)
14037
14038target_link_libraries(server_builder_plugin_test
14039  ${_gRPC_PROTOBUF_LIBRARIES}
14040  ${_gRPC_ALLTARGETS_LIBRARIES}
14041  grpc++_test_util
14042  grpc_test_util
14043  grpc++
14044  grpc
14045  gpr_test_util
14046  gpr
14047  ${_gRPC_GFLAGS_LIBRARIES}
14048)
14049
14050endif (gRPC_BUILD_TESTS)
14051if (gRPC_BUILD_TESTS)
14052
14053add_executable(server_builder_test
14054  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc
14055  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc
14056  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h
14057  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h
14058  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc
14059  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc
14060  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h
14061  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h
14062  test/cpp/server/server_builder_test.cc
14063  third_party/googletest/googletest/src/gtest-all.cc
14064  third_party/googletest/googlemock/src/gmock-all.cc
14065)
14066
14067protobuf_generate_grpc_cpp(
14068  src/proto/grpc/testing/echo_messages.proto
14069)
14070protobuf_generate_grpc_cpp(
14071  src/proto/grpc/testing/echo.proto
14072)
14073
14074target_include_directories(server_builder_test
14075  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14076  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14077  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14078  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14079  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14080  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14081  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14082  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14083  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14084  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14085  PRIVATE third_party/googletest/googletest/include
14086  PRIVATE third_party/googletest/googletest
14087  PRIVATE third_party/googletest/googlemock/include
14088  PRIVATE third_party/googletest/googlemock
14089  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14090)
14091
14092target_link_libraries(server_builder_test
14093  ${_gRPC_PROTOBUF_LIBRARIES}
14094  ${_gRPC_ALLTARGETS_LIBRARIES}
14095  grpc++_test_util_unsecure
14096  grpc_test_util_unsecure
14097  gpr_test_util
14098  grpc++_unsecure
14099  grpc_unsecure
14100  gpr
14101  ${_gRPC_GFLAGS_LIBRARIES}
14102)
14103
14104endif (gRPC_BUILD_TESTS)
14105if (gRPC_BUILD_TESTS)
14106if(_gRPC_PLATFORM_POSIX)
14107
14108add_executable(server_builder_with_socket_mutator_test
14109  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc
14110  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc
14111  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h
14112  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h
14113  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc
14114  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc
14115  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h
14116  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h
14117  test/cpp/server/server_builder_with_socket_mutator_test.cc
14118  third_party/googletest/googletest/src/gtest-all.cc
14119  third_party/googletest/googlemock/src/gmock-all.cc
14120)
14121
14122protobuf_generate_grpc_cpp(
14123  src/proto/grpc/testing/echo_messages.proto
14124)
14125protobuf_generate_grpc_cpp(
14126  src/proto/grpc/testing/echo.proto
14127)
14128
14129target_include_directories(server_builder_with_socket_mutator_test
14130  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14131  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14132  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14133  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14134  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14135  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14136  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14137  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14138  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14139  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14140  PRIVATE third_party/googletest/googletest/include
14141  PRIVATE third_party/googletest/googletest
14142  PRIVATE third_party/googletest/googlemock/include
14143  PRIVATE third_party/googletest/googlemock
14144  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14145)
14146
14147target_link_libraries(server_builder_with_socket_mutator_test
14148  ${_gRPC_PROTOBUF_LIBRARIES}
14149  ${_gRPC_ALLTARGETS_LIBRARIES}
14150  grpc++_test_util_unsecure
14151  grpc_test_util_unsecure
14152  gpr_test_util
14153  grpc++_unsecure
14154  grpc_unsecure
14155  gpr
14156  ${_gRPC_GFLAGS_LIBRARIES}
14157)
14158
14159endif()
14160endif (gRPC_BUILD_TESTS)
14161if (gRPC_BUILD_TESTS)
14162
14163add_executable(server_context_test_spouse_test
14164  test/cpp/test/server_context_test_spouse_test.cc
14165  third_party/googletest/googletest/src/gtest-all.cc
14166  third_party/googletest/googlemock/src/gmock-all.cc
14167)
14168
14169
14170target_include_directories(server_context_test_spouse_test
14171  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14172  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14173  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14174  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14175  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14176  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14177  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14178  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14179  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14180  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14181  PRIVATE third_party/googletest/googletest/include
14182  PRIVATE third_party/googletest/googletest
14183  PRIVATE third_party/googletest/googlemock/include
14184  PRIVATE third_party/googletest/googlemock
14185  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14186)
14187
14188target_link_libraries(server_context_test_spouse_test
14189  ${_gRPC_PROTOBUF_LIBRARIES}
14190  ${_gRPC_ALLTARGETS_LIBRARIES}
14191  grpc_test_util
14192  grpc++
14193  grpc
14194  gpr_test_util
14195  gpr
14196  ${_gRPC_GFLAGS_LIBRARIES}
14197)
14198
14199endif (gRPC_BUILD_TESTS)
14200if (gRPC_BUILD_TESTS)
14201if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
14202
14203add_executable(server_crash_test
14204  test/cpp/end2end/server_crash_test.cc
14205  third_party/googletest/googletest/src/gtest-all.cc
14206  third_party/googletest/googlemock/src/gmock-all.cc
14207)
14208
14209
14210target_include_directories(server_crash_test
14211  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14212  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14213  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14214  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14215  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14216  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14217  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14218  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14219  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14220  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14221  PRIVATE third_party/googletest/googletest/include
14222  PRIVATE third_party/googletest/googletest
14223  PRIVATE third_party/googletest/googlemock/include
14224  PRIVATE third_party/googletest/googlemock
14225  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14226)
14227
14228target_link_libraries(server_crash_test
14229  ${_gRPC_PROTOBUF_LIBRARIES}
14230  ${_gRPC_ALLTARGETS_LIBRARIES}
14231  grpc++_test_util
14232  grpc_test_util
14233  grpc++
14234  grpc
14235  gpr_test_util
14236  gpr
14237  ${_gRPC_GFLAGS_LIBRARIES}
14238)
14239
14240endif()
14241endif (gRPC_BUILD_TESTS)
14242if (gRPC_BUILD_TESTS)
14243
14244add_executable(server_crash_test_client
14245  test/cpp/end2end/server_crash_test_client.cc
14246  third_party/googletest/googletest/src/gtest-all.cc
14247  third_party/googletest/googlemock/src/gmock-all.cc
14248)
14249
14250
14251target_include_directories(server_crash_test_client
14252  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14253  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14254  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14255  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14256  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14257  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14258  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14259  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14260  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14261  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14262  PRIVATE third_party/googletest/googletest/include
14263  PRIVATE third_party/googletest/googletest
14264  PRIVATE third_party/googletest/googlemock/include
14265  PRIVATE third_party/googletest/googlemock
14266  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14267)
14268
14269target_link_libraries(server_crash_test_client
14270  ${_gRPC_PROTOBUF_LIBRARIES}
14271  ${_gRPC_ALLTARGETS_LIBRARIES}
14272  grpc++_test_util
14273  grpc_test_util
14274  grpc++
14275  grpc
14276  gpr_test_util
14277  gpr
14278  ${_gRPC_GFLAGS_LIBRARIES}
14279)
14280
14281endif (gRPC_BUILD_TESTS)
14282if (gRPC_BUILD_TESTS)
14283
14284add_executable(server_early_return_test
14285  test/cpp/end2end/server_early_return_test.cc
14286  third_party/googletest/googletest/src/gtest-all.cc
14287  third_party/googletest/googlemock/src/gmock-all.cc
14288)
14289
14290
14291target_include_directories(server_early_return_test
14292  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14293  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14294  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14295  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14296  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14297  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14298  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14299  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14300  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14301  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14302  PRIVATE third_party/googletest/googletest/include
14303  PRIVATE third_party/googletest/googletest
14304  PRIVATE third_party/googletest/googlemock/include
14305  PRIVATE third_party/googletest/googlemock
14306  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14307)
14308
14309target_link_libraries(server_early_return_test
14310  ${_gRPC_PROTOBUF_LIBRARIES}
14311  ${_gRPC_ALLTARGETS_LIBRARIES}
14312  grpc++_test_util
14313  grpc_test_util
14314  grpc++
14315  grpc
14316  gpr_test_util
14317  gpr
14318  ${_gRPC_GFLAGS_LIBRARIES}
14319)
14320
14321endif (gRPC_BUILD_TESTS)
14322if (gRPC_BUILD_TESTS)
14323
14324add_executable(server_request_call_test
14325  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc
14326  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc
14327  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h
14328  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h
14329  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc
14330  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc
14331  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h
14332  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h
14333  test/cpp/server/server_request_call_test.cc
14334  third_party/googletest/googletest/src/gtest-all.cc
14335  third_party/googletest/googlemock/src/gmock-all.cc
14336)
14337
14338protobuf_generate_grpc_cpp(
14339  src/proto/grpc/testing/echo_messages.proto
14340)
14341protobuf_generate_grpc_cpp(
14342  src/proto/grpc/testing/echo.proto
14343)
14344
14345target_include_directories(server_request_call_test
14346  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14347  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14348  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14349  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14350  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14351  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14352  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14353  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14354  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14355  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14356  PRIVATE third_party/googletest/googletest/include
14357  PRIVATE third_party/googletest/googletest
14358  PRIVATE third_party/googletest/googlemock/include
14359  PRIVATE third_party/googletest/googlemock
14360  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14361)
14362
14363target_link_libraries(server_request_call_test
14364  ${_gRPC_PROTOBUF_LIBRARIES}
14365  ${_gRPC_ALLTARGETS_LIBRARIES}
14366  grpc++_test_util_unsecure
14367  grpc_test_util_unsecure
14368  gpr_test_util
14369  grpc++_unsecure
14370  grpc_unsecure
14371  gpr
14372  ${_gRPC_GFLAGS_LIBRARIES}
14373)
14374
14375endif (gRPC_BUILD_TESTS)
14376if (gRPC_BUILD_TESTS)
14377
14378add_executable(shutdown_test
14379  test/cpp/end2end/shutdown_test.cc
14380  third_party/googletest/googletest/src/gtest-all.cc
14381  third_party/googletest/googlemock/src/gmock-all.cc
14382)
14383
14384
14385target_include_directories(shutdown_test
14386  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14387  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14388  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14389  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14390  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14391  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14392  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14393  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14394  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14395  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14396  PRIVATE third_party/googletest/googletest/include
14397  PRIVATE third_party/googletest/googletest
14398  PRIVATE third_party/googletest/googlemock/include
14399  PRIVATE third_party/googletest/googlemock
14400  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14401)
14402
14403target_link_libraries(shutdown_test
14404  ${_gRPC_PROTOBUF_LIBRARIES}
14405  ${_gRPC_ALLTARGETS_LIBRARIES}
14406  grpc++_test_util
14407  grpc_test_util
14408  grpc++
14409  grpc
14410  gpr_test_util
14411  gpr
14412  ${_gRPC_GFLAGS_LIBRARIES}
14413)
14414
14415endif (gRPC_BUILD_TESTS)
14416if (gRPC_BUILD_TESTS)
14417
14418add_executable(slice_hash_table_test
14419  test/core/slice/slice_hash_table_test.cc
14420  third_party/googletest/googletest/src/gtest-all.cc
14421  third_party/googletest/googlemock/src/gmock-all.cc
14422)
14423
14424
14425target_include_directories(slice_hash_table_test
14426  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14427  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14428  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14429  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14430  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14431  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14432  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14433  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14434  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14435  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14436  PRIVATE third_party/googletest/googletest/include
14437  PRIVATE third_party/googletest/googletest
14438  PRIVATE third_party/googletest/googlemock/include
14439  PRIVATE third_party/googletest/googlemock
14440  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14441)
14442
14443target_link_libraries(slice_hash_table_test
14444  ${_gRPC_PROTOBUF_LIBRARIES}
14445  ${_gRPC_ALLTARGETS_LIBRARIES}
14446  grpc_test_util
14447  grpc
14448  gpr_test_util
14449  gpr
14450  ${_gRPC_GFLAGS_LIBRARIES}
14451)
14452
14453endif (gRPC_BUILD_TESTS)
14454if (gRPC_BUILD_TESTS)
14455
14456add_executable(slice_weak_hash_table_test
14457  test/core/slice/slice_weak_hash_table_test.cc
14458  third_party/googletest/googletest/src/gtest-all.cc
14459  third_party/googletest/googlemock/src/gmock-all.cc
14460)
14461
14462
14463target_include_directories(slice_weak_hash_table_test
14464  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14465  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14466  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14467  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14468  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14469  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14470  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14471  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14472  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14473  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14474  PRIVATE third_party/googletest/googletest/include
14475  PRIVATE third_party/googletest/googletest
14476  PRIVATE third_party/googletest/googlemock/include
14477  PRIVATE third_party/googletest/googlemock
14478  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14479)
14480
14481target_link_libraries(slice_weak_hash_table_test
14482  ${_gRPC_PROTOBUF_LIBRARIES}
14483  ${_gRPC_ALLTARGETS_LIBRARIES}
14484  grpc_test_util
14485  grpc
14486  gpr_test_util
14487  gpr
14488  ${_gRPC_GFLAGS_LIBRARIES}
14489)
14490
14491endif (gRPC_BUILD_TESTS)
14492if (gRPC_BUILD_TESTS)
14493
14494add_executable(stats_test
14495  test/core/debug/stats_test.cc
14496  third_party/googletest/googletest/src/gtest-all.cc
14497  third_party/googletest/googlemock/src/gmock-all.cc
14498)
14499
14500
14501target_include_directories(stats_test
14502  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14503  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14504  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14505  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14506  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14507  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14508  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14509  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14510  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14511  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14512  PRIVATE third_party/googletest/googletest/include
14513  PRIVATE third_party/googletest/googletest
14514  PRIVATE third_party/googletest/googlemock/include
14515  PRIVATE third_party/googletest/googlemock
14516  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14517)
14518
14519target_link_libraries(stats_test
14520  ${_gRPC_PROTOBUF_LIBRARIES}
14521  ${_gRPC_ALLTARGETS_LIBRARIES}
14522  grpc++_test_util
14523  grpc_test_util
14524  grpc
14525  gpr_test_util
14526  gpr
14527  ${_gRPC_GFLAGS_LIBRARIES}
14528)
14529
14530endif (gRPC_BUILD_TESTS)
14531if (gRPC_BUILD_TESTS)
14532
14533add_executable(status_metadata_test
14534  test/core/transport/status_metadata_test.cc
14535  third_party/googletest/googletest/src/gtest-all.cc
14536  third_party/googletest/googlemock/src/gmock-all.cc
14537)
14538
14539
14540target_include_directories(status_metadata_test
14541  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14542  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14543  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14544  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14545  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14546  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14547  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14548  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14549  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14550  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14551  PRIVATE third_party/googletest/googletest/include
14552  PRIVATE third_party/googletest/googletest
14553  PRIVATE third_party/googletest/googlemock/include
14554  PRIVATE third_party/googletest/googlemock
14555  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14556)
14557
14558target_link_libraries(status_metadata_test
14559  ${_gRPC_PROTOBUF_LIBRARIES}
14560  ${_gRPC_ALLTARGETS_LIBRARIES}
14561  grpc
14562  ${_gRPC_GFLAGS_LIBRARIES}
14563)
14564
14565endif (gRPC_BUILD_TESTS)
14566if (gRPC_BUILD_TESTS)
14567
14568add_executable(status_util_test
14569  test/core/channel/status_util_test.cc
14570  third_party/googletest/googletest/src/gtest-all.cc
14571  third_party/googletest/googlemock/src/gmock-all.cc
14572)
14573
14574
14575target_include_directories(status_util_test
14576  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14577  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14578  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14579  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14580  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14581  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14582  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14583  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14584  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14585  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14586  PRIVATE third_party/googletest/googletest/include
14587  PRIVATE third_party/googletest/googletest
14588  PRIVATE third_party/googletest/googlemock/include
14589  PRIVATE third_party/googletest/googlemock
14590  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14591)
14592
14593target_link_libraries(status_util_test
14594  ${_gRPC_PROTOBUF_LIBRARIES}
14595  ${_gRPC_ALLTARGETS_LIBRARIES}
14596  grpc
14597  ${_gRPC_GFLAGS_LIBRARIES}
14598)
14599
14600endif (gRPC_BUILD_TESTS)
14601if (gRPC_BUILD_TESTS)
14602if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
14603
14604add_executable(streaming_throughput_test
14605  test/cpp/end2end/streaming_throughput_test.cc
14606  third_party/googletest/googletest/src/gtest-all.cc
14607  third_party/googletest/googlemock/src/gmock-all.cc
14608)
14609
14610
14611target_include_directories(streaming_throughput_test
14612  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14613  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14614  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14615  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14616  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14617  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14618  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14619  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14620  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14621  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14622  PRIVATE third_party/googletest/googletest/include
14623  PRIVATE third_party/googletest/googletest
14624  PRIVATE third_party/googletest/googlemock/include
14625  PRIVATE third_party/googletest/googlemock
14626  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14627)
14628
14629target_link_libraries(streaming_throughput_test
14630  ${_gRPC_PROTOBUF_LIBRARIES}
14631  ${_gRPC_ALLTARGETS_LIBRARIES}
14632  grpc++_test_util
14633  grpc_test_util
14634  grpc++
14635  grpc
14636  gpr_test_util
14637  gpr
14638  ${_gRPC_GFLAGS_LIBRARIES}
14639)
14640
14641endif()
14642endif (gRPC_BUILD_TESTS)
14643if (gRPC_BUILD_TESTS)
14644
14645add_executable(stress_test
14646  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc
14647  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc
14648  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h
14649  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h
14650  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc
14651  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc
14652  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h
14653  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h
14654  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc
14655  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc
14656  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h
14657  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h
14658  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc
14659  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc
14660  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h
14661  ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h
14662  test/cpp/interop/interop_client.cc
14663  test/cpp/interop/stress_interop_client.cc
14664  test/cpp/interop/stress_test.cc
14665  test/cpp/util/metrics_server.cc
14666  third_party/googletest/googletest/src/gtest-all.cc
14667  third_party/googletest/googlemock/src/gmock-all.cc
14668)
14669
14670protobuf_generate_grpc_cpp(
14671  src/proto/grpc/testing/empty.proto
14672)
14673protobuf_generate_grpc_cpp(
14674  src/proto/grpc/testing/messages.proto
14675)
14676protobuf_generate_grpc_cpp(
14677  src/proto/grpc/testing/metrics.proto
14678)
14679protobuf_generate_grpc_cpp(
14680  src/proto/grpc/testing/test.proto
14681)
14682
14683target_include_directories(stress_test
14684  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14685  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14686  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14687  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14688  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14689  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14690  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14691  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14692  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14693  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14694  PRIVATE third_party/googletest/googletest/include
14695  PRIVATE third_party/googletest/googletest
14696  PRIVATE third_party/googletest/googlemock/include
14697  PRIVATE third_party/googletest/googlemock
14698  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14699)
14700
14701target_link_libraries(stress_test
14702  ${_gRPC_PROTOBUF_LIBRARIES}
14703  ${_gRPC_ALLTARGETS_LIBRARIES}
14704  grpc++_test_util
14705  grpc_test_util
14706  grpc++
14707  grpc
14708  gpr_test_util
14709  gpr
14710  grpc++_test_config
14711  ${_gRPC_GFLAGS_LIBRARIES}
14712)
14713
14714endif (gRPC_BUILD_TESTS)
14715if (gRPC_BUILD_TESTS)
14716
14717add_executable(thread_manager_test
14718  test/cpp/thread_manager/thread_manager_test.cc
14719  third_party/googletest/googletest/src/gtest-all.cc
14720  third_party/googletest/googlemock/src/gmock-all.cc
14721)
14722
14723
14724target_include_directories(thread_manager_test
14725  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14726  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14727  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14728  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14729  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14730  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14731  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14732  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14733  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14734  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14735  PRIVATE third_party/googletest/googletest/include
14736  PRIVATE third_party/googletest/googletest
14737  PRIVATE third_party/googletest/googlemock/include
14738  PRIVATE third_party/googletest/googlemock
14739  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14740)
14741
14742target_link_libraries(thread_manager_test
14743  ${_gRPC_PROTOBUF_LIBRARIES}
14744  ${_gRPC_ALLTARGETS_LIBRARIES}
14745  grpc++_unsecure
14746  grpc_unsecure
14747  gpr
14748  grpc++_test_config
14749  ${_gRPC_GFLAGS_LIBRARIES}
14750)
14751
14752endif (gRPC_BUILD_TESTS)
14753if (gRPC_BUILD_TESTS)
14754
14755add_executable(thread_stress_test
14756  test/cpp/end2end/thread_stress_test.cc
14757  third_party/googletest/googletest/src/gtest-all.cc
14758  third_party/googletest/googlemock/src/gmock-all.cc
14759)
14760
14761
14762target_include_directories(thread_stress_test
14763  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14764  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14765  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14766  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14767  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14768  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14769  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14770  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14771  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14772  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14773  PRIVATE third_party/googletest/googletest/include
14774  PRIVATE third_party/googletest/googletest
14775  PRIVATE third_party/googletest/googlemock/include
14776  PRIVATE third_party/googletest/googlemock
14777  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14778)
14779
14780target_link_libraries(thread_stress_test
14781  ${_gRPC_PROTOBUF_LIBRARIES}
14782  ${_gRPC_ALLTARGETS_LIBRARIES}
14783  grpc++_test_util_unsecure
14784  grpc_test_util_unsecure
14785  grpc++_unsecure
14786  grpc_unsecure
14787  gpr_test_util
14788  gpr
14789  ${_gRPC_GFLAGS_LIBRARIES}
14790)
14791
14792endif (gRPC_BUILD_TESTS)
14793if (gRPC_BUILD_TESTS)
14794
14795add_executable(transport_pid_controller_test
14796  test/core/transport/pid_controller_test.cc
14797  third_party/googletest/googletest/src/gtest-all.cc
14798  third_party/googletest/googlemock/src/gmock-all.cc
14799)
14800
14801
14802target_include_directories(transport_pid_controller_test
14803  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14804  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14805  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14806  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14807  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14808  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14809  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14810  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14811  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14812  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14813  PRIVATE third_party/googletest/googletest/include
14814  PRIVATE third_party/googletest/googletest
14815  PRIVATE third_party/googletest/googlemock/include
14816  PRIVATE third_party/googletest/googlemock
14817  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14818)
14819
14820target_link_libraries(transport_pid_controller_test
14821  ${_gRPC_PROTOBUF_LIBRARIES}
14822  ${_gRPC_ALLTARGETS_LIBRARIES}
14823  grpc++_test_util
14824  grpc++
14825  grpc_test_util
14826  grpc
14827  gpr_test_util
14828  gpr
14829  ${_gRPC_GFLAGS_LIBRARIES}
14830)
14831
14832endif (gRPC_BUILD_TESTS)
14833if (gRPC_BUILD_TESTS)
14834
14835add_executable(transport_security_common_api_test
14836  test/core/tsi/alts/handshaker/transport_security_common_api_test.cc
14837  third_party/googletest/googletest/src/gtest-all.cc
14838  third_party/googletest/googlemock/src/gmock-all.cc
14839)
14840
14841
14842target_include_directories(transport_security_common_api_test
14843  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14844  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14845  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14846  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14847  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14848  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14849  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14850  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14851  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14852  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14853  PRIVATE third_party/googletest/googletest/include
14854  PRIVATE third_party/googletest/googletest
14855  PRIVATE third_party/googletest/googlemock/include
14856  PRIVATE third_party/googletest/googlemock
14857  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14858)
14859
14860target_link_libraries(transport_security_common_api_test
14861  ${_gRPC_PROTOBUF_LIBRARIES}
14862  ${_gRPC_ALLTARGETS_LIBRARIES}
14863  alts_test_util
14864  gpr
14865  grpc
14866  ${_gRPC_GFLAGS_LIBRARIES}
14867)
14868
14869endif (gRPC_BUILD_TESTS)
14870if (gRPC_BUILD_TESTS)
14871if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
14872
14873add_executable(writes_per_rpc_test
14874  test/cpp/performance/writes_per_rpc_test.cc
14875  third_party/googletest/googletest/src/gtest-all.cc
14876  third_party/googletest/googlemock/src/gmock-all.cc
14877)
14878
14879
14880target_include_directories(writes_per_rpc_test
14881  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14882  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14883  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14884  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14885  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14886  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14887  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14888  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14889  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14890  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14891  PRIVATE third_party/googletest/googletest/include
14892  PRIVATE third_party/googletest/googletest
14893  PRIVATE third_party/googletest/googlemock/include
14894  PRIVATE third_party/googletest/googlemock
14895  PRIVATE ${_gRPC_PROTO_GENS_DIR}
14896)
14897
14898target_link_libraries(writes_per_rpc_test
14899  ${_gRPC_PROTOBUF_LIBRARIES}
14900  ${_gRPC_ALLTARGETS_LIBRARIES}
14901  grpc++_test_util
14902  grpc_test_util
14903  grpc++
14904  grpc
14905  gpr_test_util
14906  gpr
14907  ${_gRPC_GFLAGS_LIBRARIES}
14908)
14909
14910endif()
14911endif (gRPC_BUILD_TESTS)
14912if (gRPC_BUILD_TESTS)
14913
14914add_executable(public_headers_must_be_c89
14915  test/core/surface/public_headers_must_be_c89.c
14916)
14917
14918
14919target_include_directories(public_headers_must_be_c89
14920  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14921  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14922  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14923  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14924  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14925  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14926  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14927  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14928  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14929  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14930)
14931
14932target_link_libraries(public_headers_must_be_c89
14933  ${_gRPC_ALLTARGETS_LIBRARIES}
14934  grpc
14935  gpr
14936)
14937
14938endif (gRPC_BUILD_TESTS)
14939
14940add_executable(gen_hpack_tables
14941  tools/codegen/core/gen_hpack_tables.cc
14942)
14943
14944
14945target_include_directories(gen_hpack_tables
14946  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14947  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14948  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14949  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14950  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14951  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14952  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14953  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14954  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14955  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14956)
14957
14958target_link_libraries(gen_hpack_tables
14959  ${_gRPC_ALLTARGETS_LIBRARIES}
14960  gpr
14961  grpc
14962)
14963
14964
14965add_executable(gen_legal_metadata_characters
14966  tools/codegen/core/gen_legal_metadata_characters.cc
14967)
14968
14969
14970target_include_directories(gen_legal_metadata_characters
14971  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14972  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14973  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14974  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14975  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14976  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
14977  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
14978  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
14979  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
14980  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
14981)
14982
14983target_link_libraries(gen_legal_metadata_characters
14984  ${_gRPC_ALLTARGETS_LIBRARIES}
14985)
14986
14987
14988add_executable(gen_percent_encoding_tables
14989  tools/codegen/core/gen_percent_encoding_tables.cc
14990)
14991
14992
14993target_include_directories(gen_percent_encoding_tables
14994  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
14995  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
14996  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
14997  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
14998  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
14999  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15000  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15001  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15002  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15003  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15004)
15005
15006target_link_libraries(gen_percent_encoding_tables
15007  ${_gRPC_ALLTARGETS_LIBRARIES}
15008)
15009
15010if (gRPC_BUILD_TESTS)
15011
15012add_executable(badreq_bad_client_test
15013  test/core/bad_client/tests/badreq.cc
15014)
15015
15016
15017target_include_directories(badreq_bad_client_test
15018  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15019  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15020  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15021  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15022  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15023  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15024  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15025  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15026  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15027  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15028)
15029
15030target_link_libraries(badreq_bad_client_test
15031  ${_gRPC_SSL_LIBRARIES}
15032  ${_gRPC_ALLTARGETS_LIBRARIES}
15033  bad_client_test
15034  grpc_test_util_unsecure
15035  grpc_unsecure
15036  gpr_test_util
15037  gpr
15038)
15039
15040endif (gRPC_BUILD_TESTS)
15041if (gRPC_BUILD_TESTS)
15042
15043add_executable(connection_prefix_bad_client_test
15044  test/core/bad_client/tests/connection_prefix.cc
15045)
15046
15047
15048target_include_directories(connection_prefix_bad_client_test
15049  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15050  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15051  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15052  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15053  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15054  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15055  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15056  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15057  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15058  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15059)
15060
15061target_link_libraries(connection_prefix_bad_client_test
15062  ${_gRPC_SSL_LIBRARIES}
15063  ${_gRPC_ALLTARGETS_LIBRARIES}
15064  bad_client_test
15065  grpc_test_util_unsecure
15066  grpc_unsecure
15067  gpr_test_util
15068  gpr
15069)
15070
15071endif (gRPC_BUILD_TESTS)
15072if (gRPC_BUILD_TESTS)
15073
15074add_executable(duplicate_header_bad_client_test
15075  test/core/bad_client/tests/duplicate_header.cc
15076)
15077
15078
15079target_include_directories(duplicate_header_bad_client_test
15080  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15081  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15082  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15083  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15084  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15085  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15086  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15087  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15088  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15089  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15090)
15091
15092target_link_libraries(duplicate_header_bad_client_test
15093  ${_gRPC_SSL_LIBRARIES}
15094  ${_gRPC_ALLTARGETS_LIBRARIES}
15095  bad_client_test
15096  grpc_test_util_unsecure
15097  grpc_unsecure
15098  gpr_test_util
15099  gpr
15100)
15101
15102endif (gRPC_BUILD_TESTS)
15103if (gRPC_BUILD_TESTS)
15104
15105add_executable(head_of_line_blocking_bad_client_test
15106  test/core/bad_client/tests/head_of_line_blocking.cc
15107)
15108
15109
15110target_include_directories(head_of_line_blocking_bad_client_test
15111  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15112  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15113  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15114  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15115  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15116  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15117  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15118  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15119  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15120  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15121)
15122
15123target_link_libraries(head_of_line_blocking_bad_client_test
15124  ${_gRPC_SSL_LIBRARIES}
15125  ${_gRPC_ALLTARGETS_LIBRARIES}
15126  bad_client_test
15127  grpc_test_util_unsecure
15128  grpc_unsecure
15129  gpr_test_util
15130  gpr
15131)
15132
15133endif (gRPC_BUILD_TESTS)
15134if (gRPC_BUILD_TESTS)
15135
15136add_executable(headers_bad_client_test
15137  test/core/bad_client/tests/headers.cc
15138)
15139
15140
15141target_include_directories(headers_bad_client_test
15142  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15143  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15144  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15145  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15146  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15147  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15148  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15149  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15150  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15151  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15152)
15153
15154target_link_libraries(headers_bad_client_test
15155  ${_gRPC_SSL_LIBRARIES}
15156  ${_gRPC_ALLTARGETS_LIBRARIES}
15157  bad_client_test
15158  grpc_test_util_unsecure
15159  grpc_unsecure
15160  gpr_test_util
15161  gpr
15162)
15163
15164endif (gRPC_BUILD_TESTS)
15165if (gRPC_BUILD_TESTS)
15166
15167add_executable(initial_settings_frame_bad_client_test
15168  test/core/bad_client/tests/initial_settings_frame.cc
15169)
15170
15171
15172target_include_directories(initial_settings_frame_bad_client_test
15173  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15174  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15175  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15176  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15177  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15178  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15179  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15180  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15181  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15182  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15183)
15184
15185target_link_libraries(initial_settings_frame_bad_client_test
15186  ${_gRPC_SSL_LIBRARIES}
15187  ${_gRPC_ALLTARGETS_LIBRARIES}
15188  bad_client_test
15189  grpc_test_util_unsecure
15190  grpc_unsecure
15191  gpr_test_util
15192  gpr
15193)
15194
15195endif (gRPC_BUILD_TESTS)
15196if (gRPC_BUILD_TESTS)
15197
15198add_executable(large_metadata_bad_client_test
15199  test/core/bad_client/tests/large_metadata.cc
15200)
15201
15202
15203target_include_directories(large_metadata_bad_client_test
15204  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15205  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15206  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15207  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15208  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15209  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15210  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15211  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15212  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15213  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15214)
15215
15216target_link_libraries(large_metadata_bad_client_test
15217  ${_gRPC_SSL_LIBRARIES}
15218  ${_gRPC_ALLTARGETS_LIBRARIES}
15219  bad_client_test
15220  grpc_test_util_unsecure
15221  grpc_unsecure
15222  gpr_test_util
15223  gpr
15224)
15225
15226endif (gRPC_BUILD_TESTS)
15227if (gRPC_BUILD_TESTS)
15228
15229add_executable(server_registered_method_bad_client_test
15230  test/core/bad_client/tests/server_registered_method.cc
15231)
15232
15233
15234target_include_directories(server_registered_method_bad_client_test
15235  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15236  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15237  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15238  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15239  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15240  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15241  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15242  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15243  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15244  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15245)
15246
15247target_link_libraries(server_registered_method_bad_client_test
15248  ${_gRPC_SSL_LIBRARIES}
15249  ${_gRPC_ALLTARGETS_LIBRARIES}
15250  bad_client_test
15251  grpc_test_util_unsecure
15252  grpc_unsecure
15253  gpr_test_util
15254  gpr
15255)
15256
15257endif (gRPC_BUILD_TESTS)
15258if (gRPC_BUILD_TESTS)
15259
15260add_executable(simple_request_bad_client_test
15261  test/core/bad_client/tests/simple_request.cc
15262)
15263
15264
15265target_include_directories(simple_request_bad_client_test
15266  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15267  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15268  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15269  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15270  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15271  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15272  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15273  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15274  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15275  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15276)
15277
15278target_link_libraries(simple_request_bad_client_test
15279  ${_gRPC_SSL_LIBRARIES}
15280  ${_gRPC_ALLTARGETS_LIBRARIES}
15281  bad_client_test
15282  grpc_test_util_unsecure
15283  grpc_unsecure
15284  gpr_test_util
15285  gpr
15286)
15287
15288endif (gRPC_BUILD_TESTS)
15289if (gRPC_BUILD_TESTS)
15290
15291add_executable(unknown_frame_bad_client_test
15292  test/core/bad_client/tests/unknown_frame.cc
15293)
15294
15295
15296target_include_directories(unknown_frame_bad_client_test
15297  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15298  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15299  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15300  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15301  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15302  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15303  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15304  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15305  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15306  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15307)
15308
15309target_link_libraries(unknown_frame_bad_client_test
15310  ${_gRPC_SSL_LIBRARIES}
15311  ${_gRPC_ALLTARGETS_LIBRARIES}
15312  bad_client_test
15313  grpc_test_util_unsecure
15314  grpc_unsecure
15315  gpr_test_util
15316  gpr
15317)
15318
15319endif (gRPC_BUILD_TESTS)
15320if (gRPC_BUILD_TESTS)
15321
15322add_executable(window_overflow_bad_client_test
15323  test/core/bad_client/tests/window_overflow.cc
15324)
15325
15326
15327target_include_directories(window_overflow_bad_client_test
15328  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15329  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15330  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15331  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15332  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15333  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15334  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15335  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15336  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15337  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15338)
15339
15340target_link_libraries(window_overflow_bad_client_test
15341  ${_gRPC_SSL_LIBRARIES}
15342  ${_gRPC_ALLTARGETS_LIBRARIES}
15343  bad_client_test
15344  grpc_test_util_unsecure
15345  grpc_unsecure
15346  gpr_test_util
15347  gpr
15348)
15349
15350endif (gRPC_BUILD_TESTS)
15351if (gRPC_BUILD_TESTS)
15352if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
15353
15354add_executable(bad_ssl_cert_server
15355  test/core/bad_ssl/servers/cert.cc
15356)
15357
15358
15359target_include_directories(bad_ssl_cert_server
15360  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15361  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15362  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15363  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15364  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15365  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15366  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15367  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15368  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15369  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15370)
15371
15372target_link_libraries(bad_ssl_cert_server
15373  ${_gRPC_ALLTARGETS_LIBRARIES}
15374  bad_ssl_test_server
15375  grpc_test_util
15376  grpc
15377  gpr_test_util
15378  gpr
15379)
15380
15381endif()
15382endif (gRPC_BUILD_TESTS)
15383if (gRPC_BUILD_TESTS)
15384if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
15385
15386add_executable(bad_ssl_cert_test
15387  test/core/bad_ssl/bad_ssl_test.cc
15388)
15389
15390
15391target_include_directories(bad_ssl_cert_test
15392  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15393  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15394  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15395  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15396  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15397  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15398  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15399  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15400  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15401  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15402)
15403
15404target_link_libraries(bad_ssl_cert_test
15405  ${_gRPC_ALLTARGETS_LIBRARIES}
15406  grpc_test_util
15407  grpc
15408  gpr_test_util
15409  gpr
15410)
15411
15412endif()
15413endif (gRPC_BUILD_TESTS)
15414if (gRPC_BUILD_TESTS)
15415
15416add_executable(h2_census_test
15417  test/core/end2end/fixtures/h2_census.cc
15418)
15419
15420
15421target_include_directories(h2_census_test
15422  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15423  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15424  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15425  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15426  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15427  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15428  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15429  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15430  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15431  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15432)
15433
15434target_link_libraries(h2_census_test
15435  ${_gRPC_ALLTARGETS_LIBRARIES}
15436  end2end_tests
15437  grpc_test_util
15438  grpc
15439  gpr_test_util
15440  gpr
15441)
15442
15443endif (gRPC_BUILD_TESTS)
15444if (gRPC_BUILD_TESTS)
15445
15446add_executable(h2_compress_test
15447  test/core/end2end/fixtures/h2_compress.cc
15448)
15449
15450
15451target_include_directories(h2_compress_test
15452  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15453  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15454  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15455  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15456  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15457  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15458  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15459  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15460  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15461  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15462)
15463
15464target_link_libraries(h2_compress_test
15465  ${_gRPC_ALLTARGETS_LIBRARIES}
15466  end2end_tests
15467  grpc_test_util
15468  grpc
15469  gpr_test_util
15470  gpr
15471)
15472
15473endif (gRPC_BUILD_TESTS)
15474if (gRPC_BUILD_TESTS)
15475
15476add_executable(h2_fakesec_test
15477  test/core/end2end/fixtures/h2_fakesec.cc
15478)
15479
15480
15481target_include_directories(h2_fakesec_test
15482  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15483  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15484  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15485  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15486  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15487  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15488  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15489  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15490  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15491  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15492)
15493
15494target_link_libraries(h2_fakesec_test
15495  ${_gRPC_ALLTARGETS_LIBRARIES}
15496  end2end_tests
15497  grpc_test_util
15498  grpc
15499  gpr_test_util
15500  gpr
15501)
15502
15503endif (gRPC_BUILD_TESTS)
15504if (gRPC_BUILD_TESTS)
15505if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
15506
15507add_executable(h2_fd_test
15508  test/core/end2end/fixtures/h2_fd.cc
15509)
15510
15511
15512target_include_directories(h2_fd_test
15513  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15514  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15515  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15516  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15517  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15518  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15519  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15520  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15521  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15522  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15523)
15524
15525target_link_libraries(h2_fd_test
15526  ${_gRPC_ALLTARGETS_LIBRARIES}
15527  end2end_tests
15528  grpc_test_util
15529  grpc
15530  gpr_test_util
15531  gpr
15532)
15533
15534endif()
15535endif (gRPC_BUILD_TESTS)
15536if (gRPC_BUILD_TESTS)
15537
15538add_executable(h2_full_test
15539  test/core/end2end/fixtures/h2_full.cc
15540)
15541
15542
15543target_include_directories(h2_full_test
15544  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15545  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15546  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15547  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15548  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15549  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15550  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15551  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15552  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15553  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15554)
15555
15556target_link_libraries(h2_full_test
15557  ${_gRPC_ALLTARGETS_LIBRARIES}
15558  end2end_tests
15559  grpc_test_util
15560  grpc
15561  gpr_test_util
15562  gpr
15563)
15564
15565endif (gRPC_BUILD_TESTS)
15566if (gRPC_BUILD_TESTS)
15567if(_gRPC_PLATFORM_LINUX)
15568
15569add_executable(h2_full+pipe_test
15570  test/core/end2end/fixtures/h2_full+pipe.cc
15571)
15572
15573
15574target_include_directories(h2_full+pipe_test
15575  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15576  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15577  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15578  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15579  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15580  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15581  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15582  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15583  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15584  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15585)
15586
15587target_link_libraries(h2_full+pipe_test
15588  ${_gRPC_ALLTARGETS_LIBRARIES}
15589  end2end_tests
15590  grpc_test_util
15591  grpc
15592  gpr_test_util
15593  gpr
15594)
15595
15596endif()
15597endif (gRPC_BUILD_TESTS)
15598if (gRPC_BUILD_TESTS)
15599
15600add_executable(h2_full+trace_test
15601  test/core/end2end/fixtures/h2_full+trace.cc
15602)
15603
15604
15605target_include_directories(h2_full+trace_test
15606  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15607  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15608  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15609  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15610  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15611  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15612  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15613  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15614  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15615  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15616)
15617
15618target_link_libraries(h2_full+trace_test
15619  ${_gRPC_ALLTARGETS_LIBRARIES}
15620  end2end_tests
15621  grpc_test_util
15622  grpc
15623  gpr_test_util
15624  gpr
15625)
15626
15627endif (gRPC_BUILD_TESTS)
15628if (gRPC_BUILD_TESTS)
15629
15630add_executable(h2_full+workarounds_test
15631  test/core/end2end/fixtures/h2_full+workarounds.cc
15632)
15633
15634
15635target_include_directories(h2_full+workarounds_test
15636  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15637  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15638  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15639  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15640  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15641  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15642  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15643  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15644  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15645  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15646)
15647
15648target_link_libraries(h2_full+workarounds_test
15649  ${_gRPC_ALLTARGETS_LIBRARIES}
15650  end2end_tests
15651  grpc_test_util
15652  grpc
15653  gpr_test_util
15654  gpr
15655)
15656
15657endif (gRPC_BUILD_TESTS)
15658if (gRPC_BUILD_TESTS)
15659
15660add_executable(h2_http_proxy_test
15661  test/core/end2end/fixtures/h2_http_proxy.cc
15662)
15663
15664
15665target_include_directories(h2_http_proxy_test
15666  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15667  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15668  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15669  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15670  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15671  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15672  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15673  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15674  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15675  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15676)
15677
15678target_link_libraries(h2_http_proxy_test
15679  ${_gRPC_ALLTARGETS_LIBRARIES}
15680  end2end_tests
15681  grpc_test_util
15682  grpc
15683  gpr_test_util
15684  gpr
15685)
15686
15687endif (gRPC_BUILD_TESTS)
15688if (gRPC_BUILD_TESTS)
15689if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
15690
15691add_executable(h2_local_test
15692  test/core/end2end/fixtures/h2_local.cc
15693)
15694
15695
15696target_include_directories(h2_local_test
15697  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15698  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15699  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15700  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15701  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15702  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15703  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15704  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15705  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15706  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15707)
15708
15709target_link_libraries(h2_local_test
15710  ${_gRPC_ALLTARGETS_LIBRARIES}
15711  end2end_tests
15712  grpc_test_util
15713  grpc
15714  gpr_test_util
15715  gpr
15716)
15717
15718endif()
15719endif (gRPC_BUILD_TESTS)
15720if (gRPC_BUILD_TESTS)
15721
15722add_executable(h2_oauth2_test
15723  test/core/end2end/fixtures/h2_oauth2.cc
15724)
15725
15726
15727target_include_directories(h2_oauth2_test
15728  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15729  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15730  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15731  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15732  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15733  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15734  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15735  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15736  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15737  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15738)
15739
15740target_link_libraries(h2_oauth2_test
15741  ${_gRPC_ALLTARGETS_LIBRARIES}
15742  end2end_tests
15743  grpc_test_util
15744  grpc
15745  gpr_test_util
15746  gpr
15747)
15748
15749endif (gRPC_BUILD_TESTS)
15750if (gRPC_BUILD_TESTS)
15751
15752add_executable(h2_proxy_test
15753  test/core/end2end/fixtures/h2_proxy.cc
15754)
15755
15756
15757target_include_directories(h2_proxy_test
15758  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15759  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15760  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15761  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15762  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15763  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15764  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15765  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15766  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15767  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15768)
15769
15770target_link_libraries(h2_proxy_test
15771  ${_gRPC_ALLTARGETS_LIBRARIES}
15772  end2end_tests
15773  grpc_test_util
15774  grpc
15775  gpr_test_util
15776  gpr
15777)
15778
15779endif (gRPC_BUILD_TESTS)
15780if (gRPC_BUILD_TESTS)
15781
15782add_executable(h2_sockpair_test
15783  test/core/end2end/fixtures/h2_sockpair.cc
15784)
15785
15786
15787target_include_directories(h2_sockpair_test
15788  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15789  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15790  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15791  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15792  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15793  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15794  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15795  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15796  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15797  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15798)
15799
15800target_link_libraries(h2_sockpair_test
15801  ${_gRPC_ALLTARGETS_LIBRARIES}
15802  end2end_tests
15803  grpc_test_util
15804  grpc
15805  gpr_test_util
15806  gpr
15807)
15808
15809endif (gRPC_BUILD_TESTS)
15810if (gRPC_BUILD_TESTS)
15811
15812add_executable(h2_sockpair+trace_test
15813  test/core/end2end/fixtures/h2_sockpair+trace.cc
15814)
15815
15816
15817target_include_directories(h2_sockpair+trace_test
15818  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15819  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15820  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15821  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15822  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15823  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15824  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15825  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15826  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15827  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15828)
15829
15830target_link_libraries(h2_sockpair+trace_test
15831  ${_gRPC_ALLTARGETS_LIBRARIES}
15832  end2end_tests
15833  grpc_test_util
15834  grpc
15835  gpr_test_util
15836  gpr
15837)
15838
15839endif (gRPC_BUILD_TESTS)
15840if (gRPC_BUILD_TESTS)
15841
15842add_executable(h2_sockpair_1byte_test
15843  test/core/end2end/fixtures/h2_sockpair_1byte.cc
15844)
15845
15846
15847target_include_directories(h2_sockpair_1byte_test
15848  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15849  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15850  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15851  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15852  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15853  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15854  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15855  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15856  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15857  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15858)
15859
15860target_link_libraries(h2_sockpair_1byte_test
15861  ${_gRPC_ALLTARGETS_LIBRARIES}
15862  end2end_tests
15863  grpc_test_util
15864  grpc
15865  gpr_test_util
15866  gpr
15867)
15868
15869endif (gRPC_BUILD_TESTS)
15870if (gRPC_BUILD_TESTS)
15871
15872add_executable(h2_ssl_test
15873  test/core/end2end/fixtures/h2_ssl.cc
15874)
15875
15876
15877target_include_directories(h2_ssl_test
15878  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15879  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15880  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15881  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15882  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15883  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15884  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15885  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15886  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15887  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15888)
15889
15890target_link_libraries(h2_ssl_test
15891  ${_gRPC_ALLTARGETS_LIBRARIES}
15892  end2end_tests
15893  grpc_test_util
15894  grpc
15895  gpr_test_util
15896  gpr
15897)
15898
15899endif (gRPC_BUILD_TESTS)
15900if (gRPC_BUILD_TESTS)
15901
15902add_executable(h2_ssl_proxy_test
15903  test/core/end2end/fixtures/h2_ssl_proxy.cc
15904)
15905
15906
15907target_include_directories(h2_ssl_proxy_test
15908  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15909  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15910  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15911  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15912  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15913  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15914  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15915  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15916  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15917  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15918)
15919
15920target_link_libraries(h2_ssl_proxy_test
15921  ${_gRPC_ALLTARGETS_LIBRARIES}
15922  end2end_tests
15923  grpc_test_util
15924  grpc
15925  gpr_test_util
15926  gpr
15927)
15928
15929endif (gRPC_BUILD_TESTS)
15930if (gRPC_BUILD_TESTS)
15931if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
15932
15933add_executable(h2_uds_test
15934  test/core/end2end/fixtures/h2_uds.cc
15935)
15936
15937
15938target_include_directories(h2_uds_test
15939  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15940  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15941  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15942  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15943  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15944  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15945  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15946  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15947  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15948  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15949)
15950
15951target_link_libraries(h2_uds_test
15952  ${_gRPC_ALLTARGETS_LIBRARIES}
15953  end2end_tests
15954  grpc_test_util
15955  grpc
15956  gpr_test_util
15957  gpr
15958)
15959
15960endif()
15961endif (gRPC_BUILD_TESTS)
15962if (gRPC_BUILD_TESTS)
15963
15964add_executable(inproc_test
15965  test/core/end2end/fixtures/inproc.cc
15966)
15967
15968
15969target_include_directories(inproc_test
15970  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
15971  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
15972  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
15973  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
15974  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
15975  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
15976  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
15977  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
15978  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
15979  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
15980)
15981
15982target_link_libraries(inproc_test
15983  ${_gRPC_ALLTARGETS_LIBRARIES}
15984  end2end_tests
15985  grpc_test_util
15986  grpc
15987  gpr_test_util
15988  gpr
15989)
15990
15991endif (gRPC_BUILD_TESTS)
15992if (gRPC_BUILD_TESTS)
15993
15994add_executable(h2_census_nosec_test
15995  test/core/end2end/fixtures/h2_census.cc
15996)
15997
15998
15999target_include_directories(h2_census_nosec_test
16000  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16001  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16002  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16003  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16004  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16005  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16006  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16007  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16008  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16009  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16010)
16011
16012target_link_libraries(h2_census_nosec_test
16013  ${_gRPC_ALLTARGETS_LIBRARIES}
16014  end2end_nosec_tests
16015  grpc_test_util_unsecure
16016  grpc_unsecure
16017  gpr_test_util
16018  gpr
16019)
16020
16021endif (gRPC_BUILD_TESTS)
16022if (gRPC_BUILD_TESTS)
16023
16024add_executable(h2_compress_nosec_test
16025  test/core/end2end/fixtures/h2_compress.cc
16026)
16027
16028
16029target_include_directories(h2_compress_nosec_test
16030  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16031  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16032  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16033  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16034  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16035  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16036  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16037  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16038  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16039  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16040)
16041
16042target_link_libraries(h2_compress_nosec_test
16043  ${_gRPC_ALLTARGETS_LIBRARIES}
16044  end2end_nosec_tests
16045  grpc_test_util_unsecure
16046  grpc_unsecure
16047  gpr_test_util
16048  gpr
16049)
16050
16051endif (gRPC_BUILD_TESTS)
16052if (gRPC_BUILD_TESTS)
16053if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
16054
16055add_executable(h2_fd_nosec_test
16056  test/core/end2end/fixtures/h2_fd.cc
16057)
16058
16059
16060target_include_directories(h2_fd_nosec_test
16061  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16062  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16063  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16064  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16065  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16066  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16067  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16068  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16069  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16070  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16071)
16072
16073target_link_libraries(h2_fd_nosec_test
16074  ${_gRPC_ALLTARGETS_LIBRARIES}
16075  end2end_nosec_tests
16076  grpc_test_util_unsecure
16077  grpc_unsecure
16078  gpr_test_util
16079  gpr
16080)
16081
16082endif()
16083endif (gRPC_BUILD_TESTS)
16084if (gRPC_BUILD_TESTS)
16085
16086add_executable(h2_full_nosec_test
16087  test/core/end2end/fixtures/h2_full.cc
16088)
16089
16090
16091target_include_directories(h2_full_nosec_test
16092  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16093  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16094  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16095  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16096  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16097  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16098  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16099  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16100  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16101  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16102)
16103
16104target_link_libraries(h2_full_nosec_test
16105  ${_gRPC_ALLTARGETS_LIBRARIES}
16106  end2end_nosec_tests
16107  grpc_test_util_unsecure
16108  grpc_unsecure
16109  gpr_test_util
16110  gpr
16111)
16112
16113endif (gRPC_BUILD_TESTS)
16114if (gRPC_BUILD_TESTS)
16115if(_gRPC_PLATFORM_LINUX)
16116
16117add_executable(h2_full+pipe_nosec_test
16118  test/core/end2end/fixtures/h2_full+pipe.cc
16119)
16120
16121
16122target_include_directories(h2_full+pipe_nosec_test
16123  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16124  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16125  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16126  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16127  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16128  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16129  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16130  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16131  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16132  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16133)
16134
16135target_link_libraries(h2_full+pipe_nosec_test
16136  ${_gRPC_ALLTARGETS_LIBRARIES}
16137  end2end_nosec_tests
16138  grpc_test_util_unsecure
16139  grpc_unsecure
16140  gpr_test_util
16141  gpr
16142)
16143
16144endif()
16145endif (gRPC_BUILD_TESTS)
16146if (gRPC_BUILD_TESTS)
16147
16148add_executable(h2_full+trace_nosec_test
16149  test/core/end2end/fixtures/h2_full+trace.cc
16150)
16151
16152
16153target_include_directories(h2_full+trace_nosec_test
16154  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16155  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16156  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16157  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16158  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16159  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16160  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16161  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16162  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16163  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16164)
16165
16166target_link_libraries(h2_full+trace_nosec_test
16167  ${_gRPC_ALLTARGETS_LIBRARIES}
16168  end2end_nosec_tests
16169  grpc_test_util_unsecure
16170  grpc_unsecure
16171  gpr_test_util
16172  gpr
16173)
16174
16175endif (gRPC_BUILD_TESTS)
16176if (gRPC_BUILD_TESTS)
16177
16178add_executable(h2_full+workarounds_nosec_test
16179  test/core/end2end/fixtures/h2_full+workarounds.cc
16180)
16181
16182
16183target_include_directories(h2_full+workarounds_nosec_test
16184  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16185  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16186  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16187  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16188  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16189  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16190  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16191  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16192  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16193  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16194)
16195
16196target_link_libraries(h2_full+workarounds_nosec_test
16197  ${_gRPC_ALLTARGETS_LIBRARIES}
16198  end2end_nosec_tests
16199  grpc_test_util_unsecure
16200  grpc_unsecure
16201  gpr_test_util
16202  gpr
16203)
16204
16205endif (gRPC_BUILD_TESTS)
16206if (gRPC_BUILD_TESTS)
16207
16208add_executable(h2_http_proxy_nosec_test
16209  test/core/end2end/fixtures/h2_http_proxy.cc
16210)
16211
16212
16213target_include_directories(h2_http_proxy_nosec_test
16214  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16215  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16216  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16217  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16218  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16219  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16220  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16221  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16222  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16223  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16224)
16225
16226target_link_libraries(h2_http_proxy_nosec_test
16227  ${_gRPC_ALLTARGETS_LIBRARIES}
16228  end2end_nosec_tests
16229  grpc_test_util_unsecure
16230  grpc_unsecure
16231  gpr_test_util
16232  gpr
16233)
16234
16235endif (gRPC_BUILD_TESTS)
16236if (gRPC_BUILD_TESTS)
16237
16238add_executable(h2_proxy_nosec_test
16239  test/core/end2end/fixtures/h2_proxy.cc
16240)
16241
16242
16243target_include_directories(h2_proxy_nosec_test
16244  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16245  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16246  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16247  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16248  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16249  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16250  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16251  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16252  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16253  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16254)
16255
16256target_link_libraries(h2_proxy_nosec_test
16257  ${_gRPC_ALLTARGETS_LIBRARIES}
16258  end2end_nosec_tests
16259  grpc_test_util_unsecure
16260  grpc_unsecure
16261  gpr_test_util
16262  gpr
16263)
16264
16265endif (gRPC_BUILD_TESTS)
16266if (gRPC_BUILD_TESTS)
16267
16268add_executable(h2_sockpair_nosec_test
16269  test/core/end2end/fixtures/h2_sockpair.cc
16270)
16271
16272
16273target_include_directories(h2_sockpair_nosec_test
16274  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16275  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16276  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16277  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16278  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16279  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16280  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16281  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16282  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16283  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16284)
16285
16286target_link_libraries(h2_sockpair_nosec_test
16287  ${_gRPC_ALLTARGETS_LIBRARIES}
16288  end2end_nosec_tests
16289  grpc_test_util_unsecure
16290  grpc_unsecure
16291  gpr_test_util
16292  gpr
16293)
16294
16295endif (gRPC_BUILD_TESTS)
16296if (gRPC_BUILD_TESTS)
16297
16298add_executable(h2_sockpair+trace_nosec_test
16299  test/core/end2end/fixtures/h2_sockpair+trace.cc
16300)
16301
16302
16303target_include_directories(h2_sockpair+trace_nosec_test
16304  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16305  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16306  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16307  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16308  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16309  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16310  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16311  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16312  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16313  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16314)
16315
16316target_link_libraries(h2_sockpair+trace_nosec_test
16317  ${_gRPC_ALLTARGETS_LIBRARIES}
16318  end2end_nosec_tests
16319  grpc_test_util_unsecure
16320  grpc_unsecure
16321  gpr_test_util
16322  gpr
16323)
16324
16325endif (gRPC_BUILD_TESTS)
16326if (gRPC_BUILD_TESTS)
16327
16328add_executable(h2_sockpair_1byte_nosec_test
16329  test/core/end2end/fixtures/h2_sockpair_1byte.cc
16330)
16331
16332
16333target_include_directories(h2_sockpair_1byte_nosec_test
16334  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16335  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16336  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16337  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16338  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16339  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16340  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16341  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16342  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16343  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16344)
16345
16346target_link_libraries(h2_sockpair_1byte_nosec_test
16347  ${_gRPC_ALLTARGETS_LIBRARIES}
16348  end2end_nosec_tests
16349  grpc_test_util_unsecure
16350  grpc_unsecure
16351  gpr_test_util
16352  gpr
16353)
16354
16355endif (gRPC_BUILD_TESTS)
16356if (gRPC_BUILD_TESTS)
16357if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
16358
16359add_executable(h2_uds_nosec_test
16360  test/core/end2end/fixtures/h2_uds.cc
16361)
16362
16363
16364target_include_directories(h2_uds_nosec_test
16365  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16366  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16367  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16368  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16369  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16370  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16371  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16372  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16373  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16374  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16375)
16376
16377target_link_libraries(h2_uds_nosec_test
16378  ${_gRPC_ALLTARGETS_LIBRARIES}
16379  end2end_nosec_tests
16380  grpc_test_util_unsecure
16381  grpc_unsecure
16382  gpr_test_util
16383  gpr
16384)
16385
16386endif()
16387endif (gRPC_BUILD_TESTS)
16388if (gRPC_BUILD_TESTS)
16389
16390add_executable(inproc_nosec_test
16391  test/core/end2end/fixtures/inproc.cc
16392)
16393
16394
16395target_include_directories(inproc_nosec_test
16396  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16397  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16398  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16399  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16400  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16401  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16402  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16403  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16404  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16405  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16406)
16407
16408target_link_libraries(inproc_nosec_test
16409  ${_gRPC_ALLTARGETS_LIBRARIES}
16410  end2end_nosec_tests
16411  grpc_test_util_unsecure
16412  grpc_unsecure
16413  gpr_test_util
16414  gpr
16415)
16416
16417endif (gRPC_BUILD_TESTS)
16418if (gRPC_BUILD_TESTS)
16419
16420add_executable(resolver_component_test_unsecure
16421  test/cpp/naming/resolver_component_test.cc
16422  third_party/googletest/googletest/src/gtest-all.cc
16423  third_party/googletest/googlemock/src/gmock-all.cc
16424)
16425
16426
16427target_include_directories(resolver_component_test_unsecure
16428  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16429  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16430  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16431  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16432  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16433  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16434  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16435  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16436  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16437  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16438  PRIVATE third_party/googletest/googletest/include
16439  PRIVATE third_party/googletest/googletest
16440  PRIVATE third_party/googletest/googlemock/include
16441  PRIVATE third_party/googletest/googlemock
16442  PRIVATE ${_gRPC_PROTO_GENS_DIR}
16443)
16444
16445target_link_libraries(resolver_component_test_unsecure
16446  ${_gRPC_PROTOBUF_LIBRARIES}
16447  ${_gRPC_ALLTARGETS_LIBRARIES}
16448  grpc++_test_util_unsecure
16449  grpc_test_util_unsecure
16450  gpr_test_util
16451  grpc++_unsecure
16452  grpc_unsecure
16453  gpr
16454  grpc++_test_config
16455  ${_gRPC_GFLAGS_LIBRARIES}
16456)
16457
16458endif (gRPC_BUILD_TESTS)
16459if (gRPC_BUILD_TESTS)
16460
16461add_executable(resolver_component_test
16462  test/cpp/naming/resolver_component_test.cc
16463  third_party/googletest/googletest/src/gtest-all.cc
16464  third_party/googletest/googlemock/src/gmock-all.cc
16465)
16466
16467
16468target_include_directories(resolver_component_test
16469  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16470  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16471  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16472  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16473  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16474  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16475  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16476  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16477  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16478  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16479  PRIVATE third_party/googletest/googletest/include
16480  PRIVATE third_party/googletest/googletest
16481  PRIVATE third_party/googletest/googlemock/include
16482  PRIVATE third_party/googletest/googlemock
16483  PRIVATE ${_gRPC_PROTO_GENS_DIR}
16484)
16485
16486target_link_libraries(resolver_component_test
16487  ${_gRPC_PROTOBUF_LIBRARIES}
16488  ${_gRPC_ALLTARGETS_LIBRARIES}
16489  grpc++_test_util
16490  grpc_test_util
16491  gpr_test_util
16492  grpc++
16493  grpc
16494  gpr
16495  grpc++_test_config
16496  ${_gRPC_GFLAGS_LIBRARIES}
16497)
16498
16499endif (gRPC_BUILD_TESTS)
16500if (gRPC_BUILD_TESTS)
16501if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
16502
16503add_executable(resolver_component_tests_runner_invoker_unsecure
16504  test/cpp/naming/resolver_component_tests_runner_invoker.cc
16505  third_party/googletest/googletest/src/gtest-all.cc
16506  third_party/googletest/googlemock/src/gmock-all.cc
16507)
16508
16509
16510target_include_directories(resolver_component_tests_runner_invoker_unsecure
16511  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16512  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16513  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16514  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16515  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16516  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16517  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16518  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16519  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16520  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16521  PRIVATE third_party/googletest/googletest/include
16522  PRIVATE third_party/googletest/googletest
16523  PRIVATE third_party/googletest/googlemock/include
16524  PRIVATE third_party/googletest/googlemock
16525  PRIVATE ${_gRPC_PROTO_GENS_DIR}
16526)
16527
16528target_link_libraries(resolver_component_tests_runner_invoker_unsecure
16529  ${_gRPC_PROTOBUF_LIBRARIES}
16530  ${_gRPC_ALLTARGETS_LIBRARIES}
16531  grpc++_test_util
16532  grpc_test_util
16533  gpr_test_util
16534  grpc++
16535  grpc
16536  gpr
16537  grpc++_test_config
16538  ${_gRPC_GFLAGS_LIBRARIES}
16539)
16540
16541endif()
16542endif (gRPC_BUILD_TESTS)
16543if (gRPC_BUILD_TESTS)
16544if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
16545
16546add_executable(resolver_component_tests_runner_invoker
16547  test/cpp/naming/resolver_component_tests_runner_invoker.cc
16548  third_party/googletest/googletest/src/gtest-all.cc
16549  third_party/googletest/googlemock/src/gmock-all.cc
16550)
16551
16552
16553target_include_directories(resolver_component_tests_runner_invoker
16554  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16555  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16556  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16557  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16558  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16559  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16560  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16561  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16562  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16563  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16564  PRIVATE third_party/googletest/googletest/include
16565  PRIVATE third_party/googletest/googletest
16566  PRIVATE third_party/googletest/googlemock/include
16567  PRIVATE third_party/googletest/googlemock
16568  PRIVATE ${_gRPC_PROTO_GENS_DIR}
16569)
16570
16571target_link_libraries(resolver_component_tests_runner_invoker
16572  ${_gRPC_PROTOBUF_LIBRARIES}
16573  ${_gRPC_ALLTARGETS_LIBRARIES}
16574  grpc++_test_util
16575  grpc_test_util
16576  gpr_test_util
16577  grpc++
16578  grpc
16579  gpr
16580  grpc++_test_config
16581  ${_gRPC_GFLAGS_LIBRARIES}
16582)
16583
16584endif()
16585endif (gRPC_BUILD_TESTS)
16586if (gRPC_BUILD_TESTS)
16587
16588add_executable(address_sorting_test_unsecure
16589  test/cpp/naming/address_sorting_test.cc
16590  third_party/googletest/googletest/src/gtest-all.cc
16591  third_party/googletest/googlemock/src/gmock-all.cc
16592)
16593
16594
16595target_include_directories(address_sorting_test_unsecure
16596  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16597  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16598  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16599  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16600  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16601  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16602  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16603  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16604  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16605  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16606  PRIVATE third_party/googletest/googletest/include
16607  PRIVATE third_party/googletest/googletest
16608  PRIVATE third_party/googletest/googlemock/include
16609  PRIVATE third_party/googletest/googlemock
16610  PRIVATE ${_gRPC_PROTO_GENS_DIR}
16611)
16612
16613target_link_libraries(address_sorting_test_unsecure
16614  ${_gRPC_PROTOBUF_LIBRARIES}
16615  ${_gRPC_ALLTARGETS_LIBRARIES}
16616  grpc++_test_util_unsecure
16617  grpc_test_util_unsecure
16618  gpr_test_util
16619  grpc++_unsecure
16620  grpc_unsecure
16621  gpr
16622  grpc++_test_config
16623  ${_gRPC_GFLAGS_LIBRARIES}
16624)
16625
16626endif (gRPC_BUILD_TESTS)
16627if (gRPC_BUILD_TESTS)
16628
16629add_executable(address_sorting_test
16630  test/cpp/naming/address_sorting_test.cc
16631  third_party/googletest/googletest/src/gtest-all.cc
16632  third_party/googletest/googlemock/src/gmock-all.cc
16633)
16634
16635
16636target_include_directories(address_sorting_test
16637  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16638  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16639  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16640  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16641  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16642  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16643  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16644  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16645  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16646  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16647  PRIVATE third_party/googletest/googletest/include
16648  PRIVATE third_party/googletest/googletest
16649  PRIVATE third_party/googletest/googlemock/include
16650  PRIVATE third_party/googletest/googlemock
16651  PRIVATE ${_gRPC_PROTO_GENS_DIR}
16652)
16653
16654target_link_libraries(address_sorting_test
16655  ${_gRPC_PROTOBUF_LIBRARIES}
16656  ${_gRPC_ALLTARGETS_LIBRARIES}
16657  grpc++_test_util
16658  grpc_test_util
16659  gpr_test_util
16660  grpc++
16661  grpc
16662  gpr
16663  grpc++_test_config
16664  ${_gRPC_GFLAGS_LIBRARIES}
16665)
16666
16667endif (gRPC_BUILD_TESTS)
16668if (gRPC_BUILD_TESTS)
16669
16670add_executable(cancel_ares_query_test
16671  test/cpp/naming/cancel_ares_query_test.cc
16672  third_party/googletest/googletest/src/gtest-all.cc
16673  third_party/googletest/googlemock/src/gmock-all.cc
16674)
16675
16676
16677target_include_directories(cancel_ares_query_test
16678  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16679  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16680  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16681  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16682  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16683  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16684  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16685  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16686  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16687  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16688  PRIVATE third_party/googletest/googletest/include
16689  PRIVATE third_party/googletest/googletest
16690  PRIVATE third_party/googletest/googlemock/include
16691  PRIVATE third_party/googletest/googlemock
16692  PRIVATE ${_gRPC_PROTO_GENS_DIR}
16693)
16694
16695target_link_libraries(cancel_ares_query_test
16696  ${_gRPC_PROTOBUF_LIBRARIES}
16697  ${_gRPC_ALLTARGETS_LIBRARIES}
16698  grpc++_test_util
16699  grpc_test_util
16700  gpr_test_util
16701  grpc++
16702  grpc
16703  gpr
16704  grpc++_test_config
16705  ${_gRPC_GFLAGS_LIBRARIES}
16706)
16707
16708endif (gRPC_BUILD_TESTS)
16709if (gRPC_BUILD_TESTS)
16710
16711add_executable(alts_credentials_fuzzer_one_entry
16712  test/core/security/alts_credentials_fuzzer.cc
16713  test/core/util/one_corpus_entry_fuzzer.cc
16714)
16715
16716
16717target_include_directories(alts_credentials_fuzzer_one_entry
16718  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16719  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16720  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16721  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16722  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16723  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16724  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16725  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16726  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16727  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16728)
16729
16730target_link_libraries(alts_credentials_fuzzer_one_entry
16731  ${_gRPC_ALLTARGETS_LIBRARIES}
16732  grpc_test_util
16733  grpc
16734  gpr_test_util
16735  gpr
16736)
16737
16738endif (gRPC_BUILD_TESTS)
16739if (gRPC_BUILD_TESTS)
16740
16741add_executable(api_fuzzer_one_entry
16742  test/core/end2end/fuzzers/api_fuzzer.cc
16743  test/core/util/one_corpus_entry_fuzzer.cc
16744)
16745
16746
16747target_include_directories(api_fuzzer_one_entry
16748  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16749  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16750  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16751  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16752  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16753  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16754  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16755  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16756  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16757  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16758)
16759
16760target_link_libraries(api_fuzzer_one_entry
16761  ${_gRPC_ALLTARGETS_LIBRARIES}
16762  grpc_test_util
16763  grpc
16764  gpr_test_util
16765  gpr
16766)
16767
16768endif (gRPC_BUILD_TESTS)
16769if (gRPC_BUILD_TESTS)
16770
16771add_executable(client_fuzzer_one_entry
16772  test/core/end2end/fuzzers/client_fuzzer.cc
16773  test/core/util/one_corpus_entry_fuzzer.cc
16774)
16775
16776
16777target_include_directories(client_fuzzer_one_entry
16778  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16779  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16780  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16781  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16782  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16783  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16784  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16785  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16786  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16787  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16788)
16789
16790target_link_libraries(client_fuzzer_one_entry
16791  ${_gRPC_ALLTARGETS_LIBRARIES}
16792  grpc_test_util
16793  grpc
16794  gpr_test_util
16795  gpr
16796)
16797
16798endif (gRPC_BUILD_TESTS)
16799if (gRPC_BUILD_TESTS)
16800
16801add_executable(hpack_parser_fuzzer_test_one_entry
16802  test/core/transport/chttp2/hpack_parser_fuzzer_test.cc
16803  test/core/util/one_corpus_entry_fuzzer.cc
16804)
16805
16806
16807target_include_directories(hpack_parser_fuzzer_test_one_entry
16808  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16809  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16810  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16811  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16812  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16813  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16814  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16815  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16816  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16817  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16818)
16819
16820target_link_libraries(hpack_parser_fuzzer_test_one_entry
16821  ${_gRPC_ALLTARGETS_LIBRARIES}
16822  grpc_test_util
16823  grpc
16824  gpr_test_util
16825  gpr
16826)
16827
16828endif (gRPC_BUILD_TESTS)
16829if (gRPC_BUILD_TESTS)
16830
16831add_executable(http_request_fuzzer_test_one_entry
16832  test/core/http/request_fuzzer.cc
16833  test/core/util/one_corpus_entry_fuzzer.cc
16834)
16835
16836
16837target_include_directories(http_request_fuzzer_test_one_entry
16838  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16839  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16840  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16841  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16842  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16843  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16844  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16845  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16846  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16847  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16848)
16849
16850target_link_libraries(http_request_fuzzer_test_one_entry
16851  ${_gRPC_ALLTARGETS_LIBRARIES}
16852  grpc_test_util
16853  grpc
16854  gpr_test_util
16855  gpr
16856)
16857
16858endif (gRPC_BUILD_TESTS)
16859if (gRPC_BUILD_TESTS)
16860
16861add_executable(http_response_fuzzer_test_one_entry
16862  test/core/http/response_fuzzer.cc
16863  test/core/util/one_corpus_entry_fuzzer.cc
16864)
16865
16866
16867target_include_directories(http_response_fuzzer_test_one_entry
16868  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16869  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16870  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16871  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16872  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16873  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16874  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16875  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16876  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16877  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16878)
16879
16880target_link_libraries(http_response_fuzzer_test_one_entry
16881  ${_gRPC_ALLTARGETS_LIBRARIES}
16882  grpc_test_util
16883  grpc
16884  gpr_test_util
16885  gpr
16886)
16887
16888endif (gRPC_BUILD_TESTS)
16889if (gRPC_BUILD_TESTS)
16890
16891add_executable(json_fuzzer_test_one_entry
16892  test/core/json/fuzzer.cc
16893  test/core/util/one_corpus_entry_fuzzer.cc
16894)
16895
16896
16897target_include_directories(json_fuzzer_test_one_entry
16898  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16899  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16900  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16901  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16902  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16903  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16904  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16905  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16906  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16907  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16908)
16909
16910target_link_libraries(json_fuzzer_test_one_entry
16911  ${_gRPC_ALLTARGETS_LIBRARIES}
16912  grpc_test_util
16913  grpc
16914  gpr_test_util
16915  gpr
16916)
16917
16918endif (gRPC_BUILD_TESTS)
16919if (gRPC_BUILD_TESTS)
16920
16921add_executable(nanopb_fuzzer_response_test_one_entry
16922  test/core/nanopb/fuzzer_response.cc
16923  test/core/util/one_corpus_entry_fuzzer.cc
16924)
16925
16926
16927target_include_directories(nanopb_fuzzer_response_test_one_entry
16928  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16929  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16930  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16931  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16932  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16933  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16934  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16935  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16936  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16937  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16938)
16939
16940target_link_libraries(nanopb_fuzzer_response_test_one_entry
16941  ${_gRPC_ALLTARGETS_LIBRARIES}
16942  grpc_test_util
16943  grpc
16944  gpr_test_util
16945  gpr
16946)
16947
16948endif (gRPC_BUILD_TESTS)
16949if (gRPC_BUILD_TESTS)
16950
16951add_executable(nanopb_fuzzer_serverlist_test_one_entry
16952  test/core/nanopb/fuzzer_serverlist.cc
16953  test/core/util/one_corpus_entry_fuzzer.cc
16954)
16955
16956
16957target_include_directories(nanopb_fuzzer_serverlist_test_one_entry
16958  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16959  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16960  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16961  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16962  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16963  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16964  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16965  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16966  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16967  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16968)
16969
16970target_link_libraries(nanopb_fuzzer_serverlist_test_one_entry
16971  ${_gRPC_ALLTARGETS_LIBRARIES}
16972  grpc_test_util
16973  grpc
16974  gpr_test_util
16975  gpr
16976)
16977
16978endif (gRPC_BUILD_TESTS)
16979if (gRPC_BUILD_TESTS)
16980
16981add_executable(percent_decode_fuzzer_one_entry
16982  test/core/slice/percent_decode_fuzzer.cc
16983  test/core/util/one_corpus_entry_fuzzer.cc
16984)
16985
16986
16987target_include_directories(percent_decode_fuzzer_one_entry
16988  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
16989  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
16990  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
16991  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
16992  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
16993  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
16994  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
16995  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
16996  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
16997  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
16998)
16999
17000target_link_libraries(percent_decode_fuzzer_one_entry
17001  ${_gRPC_ALLTARGETS_LIBRARIES}
17002  grpc_test_util
17003  grpc
17004  gpr_test_util
17005  gpr
17006)
17007
17008endif (gRPC_BUILD_TESTS)
17009if (gRPC_BUILD_TESTS)
17010
17011add_executable(percent_encode_fuzzer_one_entry
17012  test/core/slice/percent_encode_fuzzer.cc
17013  test/core/util/one_corpus_entry_fuzzer.cc
17014)
17015
17016
17017target_include_directories(percent_encode_fuzzer_one_entry
17018  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
17019  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
17020  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
17021  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
17022  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
17023  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
17024  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
17025  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
17026  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
17027  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
17028)
17029
17030target_link_libraries(percent_encode_fuzzer_one_entry
17031  ${_gRPC_ALLTARGETS_LIBRARIES}
17032  grpc_test_util
17033  grpc
17034  gpr_test_util
17035  gpr
17036)
17037
17038endif (gRPC_BUILD_TESTS)
17039if (gRPC_BUILD_TESTS)
17040
17041add_executable(server_fuzzer_one_entry
17042  test/core/end2end/fuzzers/server_fuzzer.cc
17043  test/core/util/one_corpus_entry_fuzzer.cc
17044)
17045
17046
17047target_include_directories(server_fuzzer_one_entry
17048  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
17049  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
17050  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
17051  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
17052  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
17053  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
17054  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
17055  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
17056  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
17057  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
17058)
17059
17060target_link_libraries(server_fuzzer_one_entry
17061  ${_gRPC_ALLTARGETS_LIBRARIES}
17062  grpc_test_util
17063  grpc
17064  gpr_test_util
17065  gpr
17066)
17067
17068endif (gRPC_BUILD_TESTS)
17069if (gRPC_BUILD_TESTS)
17070
17071add_executable(ssl_server_fuzzer_one_entry
17072  test/core/security/ssl_server_fuzzer.cc
17073  test/core/util/one_corpus_entry_fuzzer.cc
17074)
17075
17076
17077target_include_directories(ssl_server_fuzzer_one_entry
17078  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
17079  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
17080  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
17081  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
17082  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
17083  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
17084  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
17085  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
17086  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
17087  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
17088)
17089
17090target_link_libraries(ssl_server_fuzzer_one_entry
17091  ${_gRPC_ALLTARGETS_LIBRARIES}
17092  grpc_test_util
17093  grpc
17094  gpr_test_util
17095  gpr
17096)
17097
17098endif (gRPC_BUILD_TESTS)
17099if (gRPC_BUILD_TESTS)
17100
17101add_executable(uri_fuzzer_test_one_entry
17102  test/core/client_channel/uri_fuzzer_test.cc
17103  test/core/util/one_corpus_entry_fuzzer.cc
17104)
17105
17106
17107target_include_directories(uri_fuzzer_test_one_entry
17108  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
17109  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
17110  PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
17111  PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
17112  PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
17113  PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
17114  PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
17115  PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
17116  PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
17117  PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR}
17118)
17119
17120target_link_libraries(uri_fuzzer_test_one_entry
17121  ${_gRPC_ALLTARGETS_LIBRARIES}
17122  grpc_test_util
17123  grpc
17124  gpr_test_util
17125  gpr
17126)
17127
17128endif (gRPC_BUILD_TESTS)
17129
17130
17131
17132
17133
17134
17135
17136if (gRPC_INSTALL)
17137  install(EXPORT gRPCTargets
17138    DESTINATION ${gRPC_INSTALL_CMAKEDIR}
17139    NAMESPACE gRPC::
17140  )
17141endif()
17142
17143foreach(_config gRPCConfig gRPCConfigVersion)
17144  configure_file(cmake/${_config}.cmake.in
17145    ${_config}.cmake @ONLY)
17146  install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_config}.cmake
17147    DESTINATION ${gRPC_INSTALL_CMAKEDIR}
17148  )
17149endforeach()
17150
17151install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/etc/roots.pem
17152  DESTINATION ${gRPC_INSTALL_SHAREDIR})
17153