From 3a8e9bd46559ec1fed44c9bf16cf0918706f4dbf Mon Sep 17 00:00:00 2001 From: Bill Feng Date: Wed, 20 Mar 2019 16:41:12 -0700 Subject: [PATCH] added inclusion of gflags to template --- CMakeLists.txt | 206 ++++++++++++++++++++++++++++++ templates/CMakeLists.txt.template | 2 +- 2 files changed, 207 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2308582c2f4..762917821b8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3238,6 +3238,7 @@ target_link_libraries(grpc++_core_stats ${_gRPC_PROTOBUF_LIBRARIES} ${_gRPC_ALLTARGETS_LIBRARIES} grpc++ + ${_gRPC_GFLAGS_LIBRARIES} ) endif (gRPC_BUILD_CODEGEN) @@ -3892,6 +3893,7 @@ target_link_libraries(grpc++_proto_reflection_desc_db ${_gRPC_ALLTARGETS_LIBRARIES} grpc++ grpc + ${_gRPC_GFLAGS_LIBRARIES} ) foreach(_hdr @@ -4014,6 +4016,7 @@ target_include_directories(grpc++_test_config target_link_libraries(grpc++_test_config ${_gRPC_PROTOBUF_LIBRARIES} ${_gRPC_ALLTARGETS_LIBRARIES} + ${_gRPC_GFLAGS_LIBRARIES} ) @@ -4111,6 +4114,7 @@ target_link_libraries(grpc++_test_util grpc++ grpc_test_util grpc + ${_gRPC_GFLAGS_LIBRARIES} ) foreach(_hdr @@ -4306,6 +4310,7 @@ target_link_libraries(grpc++_test_util_unsecure grpc++_unsecure grpc_test_util_unsecure grpc_unsecure + ${_gRPC_GFLAGS_LIBRARIES} ) foreach(_hdr @@ -4834,6 +4839,7 @@ target_link_libraries(grpc_cli_libs grpc++_proto_reflection_desc_db grpc++ grpc + ${_gRPC_GFLAGS_LIBRARIES} ) foreach(_hdr @@ -5044,6 +5050,7 @@ target_link_libraries(http2_client_main grpc++ grpc grpc++_test_config + ${_gRPC_GFLAGS_LIBRARIES} ) endif (gRPC_BUILD_CODEGEN) @@ -5100,6 +5107,7 @@ target_link_libraries(interop_client_helper grpc++ grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) endif (gRPC_BUILD_CODEGEN) @@ -5173,6 +5181,7 @@ target_link_libraries(interop_client_main grpc gpr grpc++_test_config + ${_gRPC_GFLAGS_LIBRARIES} ) endif (gRPC_BUILD_CODEGEN) @@ -5221,6 +5230,7 @@ target_link_libraries(interop_server_helper grpc++ grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) @@ -5292,6 +5302,7 @@ target_link_libraries(interop_server_lib grpc gpr grpc++_test_config + ${_gRPC_GFLAGS_LIBRARIES} ) endif (gRPC_BUILD_CODEGEN) @@ -5336,6 +5347,7 @@ target_link_libraries(interop_server_main ${_gRPC_PROTOBUF_LIBRARIES} ${_gRPC_ALLTARGETS_LIBRARIES} interop_server_lib + ${_gRPC_GFLAGS_LIBRARIES} ) @@ -5445,6 +5457,7 @@ target_link_libraries(qps grpc++_core_stats grpc++ grpc + ${_gRPC_GFLAGS_LIBRARIES} ) endif (gRPC_BUILD_CODEGEN) @@ -5919,6 +5932,7 @@ target_link_libraries(algorithm_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -5953,6 +5967,7 @@ target_link_libraries(alloc_test gpr grpc_test_util_unsecure grpc_unsecure + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -5987,6 +6002,7 @@ target_link_libraries(alpn_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6021,6 +6037,7 @@ target_link_libraries(arena_test gpr grpc_test_util_unsecure grpc_unsecure + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6055,6 +6072,7 @@ target_link_libraries(avl_test gpr grpc_test_util grpc + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6090,6 +6108,7 @@ target_link_libraries(bad_server_response_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6123,6 +6142,7 @@ target_link_libraries(bin_decoder_test ${_gRPC_ALLTARGETS_LIBRARIES} grpc_test_util grpc + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6156,6 +6176,7 @@ target_link_libraries(bin_encoder_test ${_gRPC_ALLTARGETS_LIBRARIES} grpc_test_util grpc + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6191,6 +6212,7 @@ target_link_libraries(buffer_list_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6226,6 +6248,7 @@ target_link_libraries(channel_create_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6291,6 +6314,7 @@ target_link_libraries(chttp2_hpack_encoder_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6325,6 +6349,7 @@ target_link_libraries(chttp2_stream_map_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6359,6 +6384,7 @@ target_link_libraries(chttp2_varint_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6394,6 +6420,7 @@ target_link_libraries(close_fd_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6429,6 +6456,7 @@ target_link_libraries(cmdline_test gpr grpc_test_util grpc + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6463,6 +6491,7 @@ target_link_libraries(combiner_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6497,6 +6526,7 @@ target_link_libraries(compression_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6531,6 +6561,7 @@ target_link_libraries(concurrent_connectivity_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6565,6 +6596,7 @@ target_link_libraries(connection_refused_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6599,6 +6631,7 @@ target_link_libraries(dns_resolver_connectivity_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6633,6 +6666,7 @@ target_link_libraries(dns_resolver_cooldown_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6667,6 +6701,7 @@ target_link_libraries(dns_resolver_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6702,6 +6737,7 @@ target_link_libraries(dualstack_socket_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6737,6 +6773,7 @@ target_link_libraries(endpoint_pair_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6771,6 +6808,7 @@ target_link_libraries(error_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6806,6 +6844,7 @@ target_link_libraries(ev_epollex_linux_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6841,6 +6880,7 @@ target_link_libraries(fake_resolver_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6877,6 +6917,7 @@ target_link_libraries(fake_transport_security_test gpr grpc_test_util grpc + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6913,6 +6954,7 @@ target_link_libraries(fd_conservation_posix_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6949,6 +6991,7 @@ target_link_libraries(fd_posix_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -6984,6 +7027,7 @@ target_link_libraries(fling_client grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7018,6 +7062,7 @@ target_link_libraries(fling_server grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7053,6 +7098,7 @@ target_link_libraries(fling_stream_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7089,6 +7135,7 @@ target_link_libraries(fling_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7125,6 +7172,7 @@ target_link_libraries(fork_test gpr grpc_test_util_unsecure grpc_unsecure + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7161,6 +7209,7 @@ target_link_libraries(goaway_server_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7196,6 +7245,7 @@ target_link_libraries(gpr_cpu_test gpr grpc_test_util_unsecure grpc_unsecure + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7230,6 +7280,7 @@ target_link_libraries(gpr_env_test gpr grpc_test_util_unsecure grpc_unsecure + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7264,6 +7315,7 @@ target_link_libraries(gpr_host_port_test gpr grpc_test_util_unsecure grpc_unsecure + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7298,6 +7350,7 @@ target_link_libraries(gpr_log_test gpr grpc_test_util_unsecure grpc_unsecure + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7332,6 +7385,7 @@ target_link_libraries(gpr_manual_constructor_test gpr grpc_test_util_unsecure grpc_unsecure + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7366,6 +7420,7 @@ target_link_libraries(gpr_mpscq_test gpr grpc_test_util_unsecure grpc_unsecure + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7400,6 +7455,7 @@ target_link_libraries(gpr_spinlock_test gpr grpc_test_util_unsecure grpc_unsecure + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7434,6 +7490,7 @@ target_link_libraries(gpr_string_test gpr grpc_test_util_unsecure grpc_unsecure + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7468,6 +7525,7 @@ target_link_libraries(gpr_sync_test gpr grpc_test_util_unsecure grpc_unsecure + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7502,6 +7560,7 @@ target_link_libraries(gpr_thd_test gpr grpc_test_util_unsecure grpc_unsecure + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7536,6 +7595,7 @@ target_link_libraries(gpr_time_test gpr grpc_test_util_unsecure grpc_unsecure + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7570,6 +7630,7 @@ target_link_libraries(gpr_tls_test gpr grpc_test_util_unsecure grpc_unsecure + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7604,6 +7665,7 @@ target_link_libraries(gpr_useful_test gpr grpc_test_util_unsecure grpc_unsecure + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7638,6 +7700,7 @@ target_link_libraries(grpc_auth_context_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7672,6 +7735,7 @@ target_link_libraries(grpc_b64_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7706,6 +7770,7 @@ target_link_libraries(grpc_byte_buffer_reader_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7740,6 +7805,7 @@ target_link_libraries(grpc_channel_args_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7774,6 +7840,7 @@ target_link_libraries(grpc_channel_stack_builder_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7808,6 +7875,7 @@ target_link_libraries(grpc_channel_stack_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7842,6 +7910,7 @@ target_link_libraries(grpc_completion_queue_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7876,6 +7945,7 @@ target_link_libraries(grpc_completion_queue_threading_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7943,6 +8013,7 @@ target_link_libraries(grpc_credentials_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -7977,6 +8048,7 @@ target_link_libraries(grpc_fetch_oauth2 grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8011,6 +8083,7 @@ target_link_libraries(grpc_ipv6_loopback_available_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8046,6 +8119,7 @@ target_link_libraries(grpc_json_token_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8081,6 +8155,7 @@ target_link_libraries(grpc_jwt_verifier_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8147,6 +8222,7 @@ target_link_libraries(grpc_security_connector_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8181,6 +8257,7 @@ target_link_libraries(grpc_ssl_credentials_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8249,6 +8326,7 @@ target_link_libraries(handshake_client_ssl grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8287,6 +8365,7 @@ target_link_libraries(handshake_server_ssl grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8325,6 +8404,7 @@ target_link_libraries(handshake_server_with_readahead_handshaker grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8362,6 +8442,7 @@ target_link_libraries(handshake_verify_peer_options grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8396,6 +8477,7 @@ target_link_libraries(histogram_test ${_gRPC_ALLTARGETS_LIBRARIES} grpc_test_util gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8430,6 +8512,7 @@ target_link_libraries(hpack_parser_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8464,6 +8547,7 @@ target_link_libraries(hpack_table_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8498,6 +8582,7 @@ target_link_libraries(http_parser_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8532,6 +8617,7 @@ target_link_libraries(httpcli_format_request_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8567,6 +8653,7 @@ target_link_libraries(httpcli_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8603,6 +8690,7 @@ target_link_libraries(httpscli_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8638,6 +8726,7 @@ target_link_libraries(init_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8672,6 +8761,7 @@ target_link_libraries(inproc_callback_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8706,6 +8796,7 @@ target_link_libraries(invalid_call_argument_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8740,6 +8831,7 @@ target_link_libraries(json_rewrite grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8774,6 +8866,7 @@ target_link_libraries(json_rewrite_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8808,6 +8901,7 @@ target_link_libraries(json_stream_error_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8842,6 +8936,7 @@ target_link_libraries(json_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8876,6 +8971,7 @@ target_link_libraries(lame_client_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8910,6 +9006,7 @@ target_link_libraries(load_file_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8944,6 +9041,7 @@ target_link_libraries(memory_usage_client grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -8978,6 +9076,7 @@ target_link_libraries(memory_usage_server grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9013,6 +9112,7 @@ target_link_libraries(memory_usage_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9048,6 +9148,7 @@ target_link_libraries(message_compress_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9082,6 +9183,7 @@ target_link_libraries(minimal_stack_is_minimal_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9116,6 +9218,7 @@ target_link_libraries(multiple_server_queues_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9150,6 +9253,7 @@ target_link_libraries(murmur_hash_test gpr grpc_test_util_unsecure grpc_unsecure + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9184,6 +9288,7 @@ target_link_libraries(no_server_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9218,6 +9323,7 @@ target_link_libraries(num_external_connectivity_watchers_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9252,6 +9358,7 @@ target_link_libraries(parse_address_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9287,6 +9394,7 @@ target_link_libraries(parse_address_with_named_scope_id_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9322,6 +9430,7 @@ target_link_libraries(percent_encoding_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9357,6 +9466,7 @@ target_link_libraries(resolve_address_using_ares_resolver_posix_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9392,6 +9502,7 @@ target_link_libraries(resolve_address_using_ares_resolver_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9427,6 +9538,7 @@ target_link_libraries(resolve_address_using_native_resolver_posix_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9462,6 +9574,7 @@ target_link_libraries(resolve_address_using_native_resolver_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9496,6 +9609,7 @@ target_link_libraries(resource_quota_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9530,6 +9644,7 @@ target_link_libraries(secure_channel_create_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9564,6 +9679,7 @@ target_link_libraries(secure_endpoint_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9598,6 +9714,7 @@ target_link_libraries(sequential_connectivity_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9632,6 +9749,7 @@ target_link_libraries(server_chttp2_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9666,6 +9784,7 @@ target_link_libraries(server_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9700,6 +9819,7 @@ target_link_libraries(slice_buffer_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9734,6 +9854,7 @@ target_link_libraries(slice_string_helpers_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9768,6 +9889,7 @@ target_link_libraries(slice_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9802,6 +9924,7 @@ target_link_libraries(sockaddr_resolver_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9836,6 +9959,7 @@ target_link_libraries(sockaddr_utils_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9871,6 +9995,7 @@ target_link_libraries(socket_utils_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9908,6 +10033,7 @@ target_link_libraries(ssl_transport_security_test gpr grpc_test_util grpc + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9943,6 +10069,7 @@ target_link_libraries(status_conversion_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -9977,6 +10104,7 @@ target_link_libraries(stream_compression_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -10011,6 +10139,7 @@ target_link_libraries(stream_owned_slice_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -10046,6 +10175,7 @@ target_link_libraries(tcp_client_posix_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -10081,6 +10211,7 @@ target_link_libraries(tcp_client_uv_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -10116,6 +10247,7 @@ target_link_libraries(tcp_posix_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -10152,6 +10284,7 @@ target_link_libraries(tcp_server_posix_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -10187,6 +10320,7 @@ target_link_libraries(tcp_server_uv_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -10221,6 +10355,7 @@ target_link_libraries(time_averaged_stats_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -10255,6 +10390,7 @@ target_link_libraries(timeout_encoding_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -10289,6 +10425,7 @@ target_link_libraries(timer_heap_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -10323,6 +10460,7 @@ target_link_libraries(timer_list_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -10357,6 +10495,7 @@ target_link_libraries(transport_connectivity_state_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -10391,6 +10530,7 @@ target_link_libraries(transport_metadata_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -10426,6 +10566,7 @@ target_link_libraries(transport_security_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -10462,6 +10603,7 @@ target_link_libraries(udp_server_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -10497,6 +10639,7 @@ target_link_libraries(uri_parser_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -16320,6 +16463,7 @@ target_link_libraries(public_headers_must_be_c89 ${_gRPC_ALLTARGETS_LIBRARIES} grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) @@ -16425,6 +16569,7 @@ target_link_libraries(badreq_bad_client_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -16461,6 +16606,7 @@ target_link_libraries(connection_prefix_bad_client_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -16497,6 +16643,7 @@ target_link_libraries(duplicate_header_bad_client_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -16533,6 +16680,7 @@ target_link_libraries(head_of_line_blocking_bad_client_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -16569,6 +16717,7 @@ target_link_libraries(headers_bad_client_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -16605,6 +16754,7 @@ target_link_libraries(initial_settings_frame_bad_client_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -16641,6 +16791,7 @@ target_link_libraries(large_metadata_bad_client_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -16677,6 +16828,7 @@ target_link_libraries(server_registered_method_bad_client_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -16713,6 +16865,7 @@ target_link_libraries(simple_request_bad_client_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -16749,6 +16902,7 @@ target_link_libraries(unknown_frame_bad_client_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -16785,6 +16939,7 @@ target_link_libraries(window_overflow_bad_client_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -16821,6 +16976,7 @@ target_link_libraries(bad_ssl_cert_server grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -16857,6 +17013,7 @@ target_link_libraries(bad_ssl_cert_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -16893,6 +17050,7 @@ target_link_libraries(h2_census_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -16928,6 +17086,7 @@ target_link_libraries(h2_compress_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -16963,6 +17122,7 @@ target_link_libraries(h2_fakesec_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -16999,6 +17159,7 @@ target_link_libraries(h2_fd_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17035,6 +17196,7 @@ target_link_libraries(h2_full_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17071,6 +17233,7 @@ target_link_libraries(h2_full+pipe_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17107,6 +17270,7 @@ target_link_libraries(h2_full+trace_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17142,6 +17306,7 @@ target_link_libraries(h2_full+workarounds_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17177,6 +17342,7 @@ target_link_libraries(h2_http_proxy_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17213,6 +17379,7 @@ target_link_libraries(h2_local_ipv4_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17250,6 +17417,7 @@ target_link_libraries(h2_local_ipv6_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17287,6 +17455,7 @@ target_link_libraries(h2_local_uds_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17323,6 +17492,7 @@ target_link_libraries(h2_oauth2_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17358,6 +17528,7 @@ target_link_libraries(h2_proxy_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17393,6 +17564,7 @@ target_link_libraries(h2_sockpair_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17428,6 +17600,7 @@ target_link_libraries(h2_sockpair+trace_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17463,6 +17636,7 @@ target_link_libraries(h2_sockpair_1byte_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17498,6 +17672,7 @@ target_link_libraries(h2_spiffe_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17533,6 +17708,7 @@ target_link_libraries(h2_ssl_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17568,6 +17744,7 @@ target_link_libraries(h2_ssl_proxy_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17604,6 +17781,7 @@ target_link_libraries(h2_uds_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17640,6 +17818,7 @@ target_link_libraries(inproc_test grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17675,6 +17854,7 @@ target_link_libraries(h2_census_nosec_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17710,6 +17890,7 @@ target_link_libraries(h2_compress_nosec_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17746,6 +17927,7 @@ target_link_libraries(h2_fd_nosec_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17782,6 +17964,7 @@ target_link_libraries(h2_full_nosec_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17818,6 +18001,7 @@ target_link_libraries(h2_full+pipe_nosec_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17854,6 +18038,7 @@ target_link_libraries(h2_full+trace_nosec_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17889,6 +18074,7 @@ target_link_libraries(h2_full+workarounds_nosec_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17924,6 +18110,7 @@ target_link_libraries(h2_http_proxy_nosec_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17959,6 +18146,7 @@ target_link_libraries(h2_proxy_nosec_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -17994,6 +18182,7 @@ target_link_libraries(h2_sockpair_nosec_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -18029,6 +18218,7 @@ target_link_libraries(h2_sockpair+trace_nosec_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -18064,6 +18254,7 @@ target_link_libraries(h2_sockpair_1byte_nosec_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -18100,6 +18291,7 @@ target_link_libraries(h2_uds_nosec_test grpc_test_util_unsecure grpc_unsecure gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -18427,6 +18619,7 @@ target_link_libraries(alts_credentials_fuzzer_one_entry grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -18462,6 +18655,7 @@ target_link_libraries(api_fuzzer_one_entry grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -18497,6 +18691,7 @@ target_link_libraries(client_fuzzer_one_entry grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -18532,6 +18727,7 @@ target_link_libraries(hpack_parser_fuzzer_test_one_entry grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -18567,6 +18763,7 @@ target_link_libraries(http_request_fuzzer_test_one_entry grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -18602,6 +18799,7 @@ target_link_libraries(http_response_fuzzer_test_one_entry grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -18637,6 +18835,7 @@ target_link_libraries(json_fuzzer_test_one_entry grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -18672,6 +18871,7 @@ target_link_libraries(nanopb_fuzzer_response_test_one_entry grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -18707,6 +18907,7 @@ target_link_libraries(nanopb_fuzzer_serverlist_test_one_entry grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -18742,6 +18943,7 @@ target_link_libraries(percent_decode_fuzzer_one_entry grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -18777,6 +18979,7 @@ target_link_libraries(percent_encode_fuzzer_one_entry grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -18812,6 +19015,7 @@ target_link_libraries(server_fuzzer_one_entry grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -18847,6 +19051,7 @@ target_link_libraries(ssl_server_fuzzer_one_entry grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ @@ -18882,6 +19087,7 @@ target_link_libraries(uri_fuzzer_test_one_entry grpc_test_util grpc gpr + ${_gRPC_GFLAGS_LIBRARIES} ) # avoid dependency on libstdc++ diff --git a/templates/CMakeLists.txt.template b/templates/CMakeLists.txt.template index dd996d736ac..59410f7bdf3 100644 --- a/templates/CMakeLists.txt.template +++ b/templates/CMakeLists.txt.template @@ -53,7 +53,7 @@ deps.append("${_gRPC_BENCHMARK_LIBRARIES}") else: deps.append(d) - if target_dict.build == 'test' and target_dict.language == 'c++': + if target_dict.build == 'test' or target_dict.build == 'private' and target_dict.language == 'c++': deps.append("${_gRPC_GFLAGS_LIBRARIES}") return deps