diff --git a/CMakeLists.txt b/CMakeLists.txt index 816c93202d607..cf0632a7b2754 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2131,6 +2131,7 @@ target_link_libraries(gpr absl::flags absl::flags_marshalling absl::any_invocable + absl::bind_front absl::check absl::log_globals absl::log @@ -2153,12 +2154,10 @@ if(_gRPC_PLATFORM_ANDROID) endif() foreach(_hdr - include/grpc/impl/call.h include/grpc/impl/codegen/atm.h include/grpc/impl/codegen/atm_gcc_atomic.h include/grpc/impl/codegen/atm_gcc_sync.h include/grpc/impl/codegen/atm_windows.h - include/grpc/impl/codegen/fork.h include/grpc/impl/codegen/gpr_types.h include/grpc/impl/codegen/log.h include/grpc/impl/codegen/port_platform.h @@ -3139,7 +3138,6 @@ target_link_libraries(grpc absl::flat_hash_set absl::inlined_vector absl::node_hash_map - absl::bind_front absl::function_ref absl::hash absl::type_traits @@ -3183,11 +3181,13 @@ foreach(_hdr include/grpc/grpc_posix.h include/grpc/grpc_security.h include/grpc/grpc_security_constants.h + include/grpc/impl/call.h include/grpc/impl/channel_arg_names.h include/grpc/impl/codegen/byte_buffer.h include/grpc/impl/codegen/byte_buffer_reader.h include/grpc/impl/codegen/compression_types.h include/grpc/impl/codegen/connectivity_state.h + include/grpc/impl/codegen/fork.h include/grpc/impl/codegen/grpc_types.h include/grpc/impl/codegen/propagation_bits.h include/grpc/impl/codegen/slice.h @@ -3870,7 +3870,6 @@ target_link_libraries(grpc_unsecure absl::flat_hash_set absl::inlined_vector absl::node_hash_map - absl::bind_front absl::function_ref absl::hash absl::type_traits @@ -3913,11 +3912,13 @@ foreach(_hdr include/grpc/grpc_posix.h include/grpc/grpc_security.h include/grpc/grpc_security_constants.h + include/grpc/impl/call.h include/grpc/impl/channel_arg_names.h include/grpc/impl/codegen/byte_buffer.h include/grpc/impl/codegen/byte_buffer_reader.h include/grpc/impl/codegen/compression_types.h include/grpc/impl/codegen/connectivity_state.h + include/grpc/impl/codegen/fork.h include/grpc/impl/codegen/grpc_types.h include/grpc/impl/codegen/propagation_bits.h include/grpc/impl/codegen/slice.h @@ -5624,8 +5625,12 @@ target_include_directories(grpc++_unsecure ) target_link_libraries(grpc++_unsecure ${_gRPC_ALLTARGETS_LIBRARIES} + absl::dynamic_annotations + absl::prefetch + absl::layout absl::absl_check absl::absl_log + absl::strings_internal grpc_unsecure ${_gRPC_PROTOBUF_LIBRARIES} ) @@ -6247,11 +6252,13 @@ foreach(_hdr include/grpc/grpc_posix.h include/grpc/grpc_security.h include/grpc/grpc_security_constants.h + include/grpc/impl/call.h include/grpc/impl/channel_arg_names.h include/grpc/impl/codegen/byte_buffer.h include/grpc/impl/codegen/byte_buffer_reader.h include/grpc/impl/codegen/compression_types.h include/grpc/impl/codegen/connectivity_state.h + include/grpc/impl/codegen/fork.h include/grpc/impl/codegen/grpc_types.h include/grpc/impl/codegen/propagation_bits.h include/grpc/impl/codegen/slice.h @@ -27336,7 +27343,6 @@ target_link_libraries(promise_factory_test absl::btree absl::flat_hash_map absl::inlined_vector - absl::bind_front absl::function_ref absl::hash absl::type_traits @@ -31099,9 +31105,6 @@ target_link_libraries(slice_string_helpers_test gtest absl::flat_hash_map absl::hash - absl::statusor - absl::span - absl::utility gpr ) @@ -37540,8 +37543,12 @@ target_include_directories(xds_client_test target_link_libraries(xds_client_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest + absl::dynamic_annotations + absl::prefetch + absl::layout absl::absl_check absl::absl_log + absl::strings_internal ${_gRPC_PROTOBUF_LIBRARIES} grpc_test_util ) @@ -38583,8 +38590,12 @@ target_include_directories(xds_cluster_resource_type_test target_link_libraries(xds_cluster_resource_type_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest + absl::dynamic_annotations + absl::prefetch + absl::layout absl::absl_check absl::absl_log + absl::strings_internal ${_gRPC_PROTOBUF_LIBRARIES} grpc_test_util ) @@ -41665,8 +41676,12 @@ target_include_directories(xds_endpoint_resource_type_test target_link_libraries(xds_endpoint_resource_type_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest + absl::dynamic_annotations + absl::prefetch + absl::layout absl::absl_check absl::absl_log + absl::strings_internal ${_gRPC_PROTOBUF_LIBRARIES} grpc_test_util ) @@ -51965,7 +51980,7 @@ generate_pkgconfig( "gpr" "gRPC platform support library" "${gRPC_CORE_VERSION}" - "absl_any_invocable absl_base absl_bits absl_check absl_cleanup absl_config absl_cord absl_core_headers absl_flags absl_flags_marshalling absl_log absl_log_globals absl_log_severity absl_memory absl_optional absl_random_random absl_status absl_str_format absl_strings absl_synchronization absl_time" + "absl_any_invocable absl_base absl_bind_front absl_bits absl_check absl_cleanup absl_config absl_cord absl_core_headers absl_flags absl_flags_marshalling absl_log absl_log_globals absl_log_severity absl_memory absl_optional absl_random_random absl_status absl_str_format absl_strings absl_synchronization absl_time" "" "-lgpr" "" @@ -52009,7 +52024,7 @@ generate_pkgconfig( "gRPC++ unsecure" "C++ wrapper for gRPC without SSL" "${gRPC_CPP_VERSION}" - "absl_absl_check absl_absl_log absl_algorithm_container absl_any_invocable absl_base absl_bind_front absl_bits absl_btree absl_check absl_cleanup absl_config absl_cord absl_core_headers absl_flags absl_flags_marshalling absl_flat_hash_map absl_flat_hash_set absl_function_ref absl_hash absl_inlined_vector absl_log absl_log_globals absl_log_severity absl_memory absl_no_destructor absl_node_hash_map absl_optional absl_random_bit_gen_ref absl_random_distributions absl_random_random absl_span absl_status absl_statusor absl_str_format absl_string_view absl_strings absl_synchronization absl_time absl_type_traits absl_utility gpr grpc_unsecure" + "absl_absl_check absl_absl_log absl_algorithm_container absl_any_invocable absl_base absl_bind_front absl_bits absl_btree absl_check absl_cleanup absl_config absl_cord absl_core_headers absl_dynamic_annotations absl_flags absl_flags_marshalling absl_flat_hash_map absl_flat_hash_set absl_function_ref absl_hash absl_inlined_vector absl_layout absl_log absl_log_globals absl_log_severity absl_memory absl_no_destructor absl_node_hash_map absl_optional absl_prefetch absl_random_bit_gen_ref absl_random_distributions absl_random_random absl_span absl_status absl_statusor absl_str_format absl_string_view absl_strings absl_strings_internal absl_synchronization absl_time absl_type_traits absl_utility gpr grpc_unsecure" "libcares zlib" "-lgrpc++_unsecure" "-laddress_sorting -lupb_textformat_lib -lupb_reflection_lib -lupb_wire_lib -lupb_message_lib -lutf8_range_lib -lupb_mini_descriptor_lib -lupb_mini_table_lib -lupb_hash_lib -lupb_mem_lib -lupb_base_lib -lupb_lex_lib" diff --git a/Makefile b/Makefile index f89354159a9bb..f66271b9eae06 100644 --- a/Makefile +++ b/Makefile @@ -1828,11 +1828,13 @@ PUBLIC_HEADERS_C += \ include/grpc/grpc_posix.h \ include/grpc/grpc_security.h \ include/grpc/grpc_security_constants.h \ + include/grpc/impl/call.h \ include/grpc/impl/channel_arg_names.h \ include/grpc/impl/codegen/byte_buffer.h \ include/grpc/impl/codegen/byte_buffer_reader.h \ include/grpc/impl/codegen/compression_types.h \ include/grpc/impl/codegen/connectivity_state.h \ + include/grpc/impl/codegen/fork.h \ include/grpc/impl/codegen/grpc_types.h \ include/grpc/impl/codegen/propagation_bits.h \ include/grpc/impl/codegen/slice.h \ diff --git a/build_autogenerated.yaml b/build_autogenerated.yaml index c22b1967fa90c..66bbb7d902d34 100644 --- a/build_autogenerated.yaml +++ b/build_autogenerated.yaml @@ -16,12 +16,10 @@ libs: build: all language: c public_headers: - - include/grpc/impl/call.h - include/grpc/impl/codegen/atm.h - include/grpc/impl/codegen/atm_gcc_atomic.h - include/grpc/impl/codegen/atm_gcc_sync.h - include/grpc/impl/codegen/atm_windows.h - - include/grpc/impl/codegen/fork.h - include/grpc/impl/codegen/gpr_types.h - include/grpc/impl/codegen/log.h - include/grpc/impl/codegen/port_platform.h @@ -126,6 +124,7 @@ libs: - absl/flags:flag - absl/flags:marshalling - absl/functional:any_invocable + - absl/functional:bind_front - absl/log:check - absl/log:globals - absl/log:log @@ -167,11 +166,13 @@ libs: - include/grpc/grpc_posix.h - include/grpc/grpc_security.h - include/grpc/grpc_security_constants.h + - include/grpc/impl/call.h - include/grpc/impl/channel_arg_names.h - include/grpc/impl/codegen/byte_buffer.h - include/grpc/impl/codegen/byte_buffer_reader.h - include/grpc/impl/codegen/compression_types.h - include/grpc/impl/codegen/connectivity_state.h + - include/grpc/impl/codegen/fork.h - include/grpc/impl/codegen/grpc_types.h - include/grpc/impl/codegen/propagation_bits.h - include/grpc/impl/codegen/slice.h @@ -2223,7 +2224,6 @@ libs: - absl/container:flat_hash_set - absl/container:inlined_vector - absl/container:node_hash_map - - absl/functional:bind_front - absl/functional:function_ref - absl/hash:hash - absl/meta:type_traits @@ -2361,11 +2361,13 @@ libs: - include/grpc/grpc_posix.h - include/grpc/grpc_security.h - include/grpc/grpc_security_constants.h + - include/grpc/impl/call.h - include/grpc/impl/channel_arg_names.h - include/grpc/impl/codegen/byte_buffer.h - include/grpc/impl/codegen/byte_buffer_reader.h - include/grpc/impl/codegen/compression_types.h - include/grpc/impl/codegen/connectivity_state.h + - include/grpc/impl/codegen/fork.h - include/grpc/impl/codegen/grpc_types.h - include/grpc/impl/codegen/propagation_bits.h - include/grpc/impl/codegen/slice.h @@ -3402,7 +3404,6 @@ libs: - absl/container:flat_hash_set - absl/container:inlined_vector - absl/container:node_hash_map - - absl/functional:bind_front - absl/functional:function_ref - absl/hash:hash - absl/meta:type_traits @@ -4520,8 +4521,12 @@ libs: - src/cpp/util/string_ref.cc - src/cpp/util/time_cc.cc deps: + - absl/base:dynamic_annotations + - absl/base:prefetch + - absl/container:layout - absl/log:absl_check - absl/log:absl_log + - absl/strings:internal - grpc_unsecure - protobuf baselib: true @@ -4552,11 +4557,13 @@ libs: - include/grpc/grpc_posix.h - include/grpc/grpc_security.h - include/grpc/grpc_security_constants.h + - include/grpc/impl/call.h - include/grpc/impl/channel_arg_names.h - include/grpc/impl/codegen/byte_buffer.h - include/grpc/impl/codegen/byte_buffer_reader.h - include/grpc/impl/codegen/compression_types.h - include/grpc/impl/codegen/connectivity_state.h + - include/grpc/impl/codegen/fork.h - include/grpc/impl/codegen/grpc_types.h - include/grpc/impl/codegen/propagation_bits.h - include/grpc/impl/codegen/slice.h @@ -19379,7 +19386,6 @@ targets: - absl/container:btree - absl/container:flat_hash_map - absl/container:inlined_vector - - absl/functional:bind_front - absl/functional:function_ref - absl/hash:hash - absl/meta:type_traits @@ -21817,9 +21823,6 @@ targets: - gtest - absl/container:flat_hash_map - absl/hash:hash - - absl/status:statusor - - absl/types:span - - absl/utility:utility - gpr uses_polling: false - name: sockaddr_resolver_test @@ -26061,8 +26064,12 @@ targets: - test/core/xds/xds_transport_fake.cc deps: - gtest + - absl/base:dynamic_annotations + - absl/base:prefetch + - absl/container:layout - absl/log:absl_check - absl/log:absl_log + - absl/strings:internal - protobuf - grpc_test_util uses_polling: false @@ -26347,8 +26354,12 @@ targets: - test/core/xds/xds_cluster_resource_type_test.cc deps: - gtest + - absl/base:dynamic_annotations + - absl/base:prefetch + - absl/container:layout - absl/log:absl_check - absl/log:absl_log + - absl/strings:internal - protobuf - grpc_test_util uses_polling: false @@ -27411,8 +27422,12 @@ targets: - test/core/xds/xds_endpoint_resource_type_test.cc deps: - gtest + - absl/base:dynamic_annotations + - absl/base:prefetch + - absl/container:layout - absl/log:absl_check - absl/log:absl_log + - absl/strings:internal - protobuf - grpc_test_util uses_polling: false diff --git a/include/grpc/credentials.h b/include/grpc/credentials.h index 0e0a59f45e7a6..bc5cacc1af914 100644 --- a/include/grpc/credentials.h +++ b/include/grpc/credentials.h @@ -19,12 +19,12 @@ #ifndef GRPC_CREDENTIALS_H #define GRPC_CREDENTIALS_H -#include -#include #include +#include #include #include #include +#include #include #ifdef __cplusplus diff --git a/src/core/lib/debug/trace.cc b/src/core/lib/debug/trace.cc index de2a6f049fd53..5669a604acf91 100644 --- a/src/core/lib/debug/trace.cc +++ b/src/core/lib/debug/trace.cc @@ -17,6 +17,7 @@ // #include "src/core/lib/debug/trace.h" + #include #include