From 703abdbbb4e23a6b3054d504635c415191e7f543 Mon Sep 17 00:00:00 2001 From: erm-g <110920239+erm-g@users.noreply.github.com> Date: Wed, 7 Aug 2024 00:26:54 +0000 Subject: [PATCH 1/6] Automated change: Fix sanity tests --- CMakeLists.txt | 52 ++++++++++++++ build_autogenerated.yaml | 29 ++++++++ src/core/BUILD | 2 +- src/core/lib/experiments/experiments.cc | 2 +- src/core/lib/experiments/experiments.h | 3 - .../local/local_security_connector.cc | 3 +- .../unit/_contextvars_propagation_test.py | 4 +- test/core/end2end/end2end_tests.h | 4 +- test/core/end2end/tests/call_creds.cc | 4 +- .../security/local_security_connector_test.cc | 69 ++++++++----------- tools/run_tests/generated/tests.json | 24 +++++++ 11 files changed, 146 insertions(+), 50 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3fcae603d42e7..00f7233800b1e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1242,6 +1242,7 @@ if(gRPC_BUILD_TESTS) endif() add_dependencies(buildtests_cxx load_config_test) add_dependencies(buildtests_cxx load_file_test) + add_dependencies(buildtests_cxx local_security_connector_test) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) add_dependencies(buildtests_cxx lock_free_event_test) endif() @@ -19926,6 +19927,57 @@ target_link_libraries(load_file_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(local_security_connector_test + test/core/security/local_security_connector_test.cc + test/core/test_util/cmdline.cc + test/core/test_util/fuzzer_util.cc + test/core/test_util/grpc_profiler.cc + test/core/test_util/histogram.cc + test/core/test_util/mock_endpoint.cc + test/core/test_util/parse_hexstring.cc + test/core/test_util/resolve_localhost_ip46.cc + test/core/test_util/slice_splitter.cc + test/core/test_util/tracer_util.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(local_security_connector_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(local_security_connector_test PUBLIC cxx_std_14) +target_include_directories(local_security_connector_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(local_security_connector_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + grpc_test_util +) + + endif() if(gRPC_BUILD_TESTS) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) diff --git a/build_autogenerated.yaml b/build_autogenerated.yaml index b68115b43c2b0..483e38026841e 100644 --- a/build_autogenerated.yaml +++ b/build_autogenerated.yaml @@ -13306,6 +13306,35 @@ targets: - gtest - grpc_test_util uses_polling: false +- name: local_security_connector_test + gtest: true + build: test + language: c++ + headers: + - test/core/test_util/cmdline.h + - test/core/test_util/evaluate_args_test_util.h + - test/core/test_util/fuzzer_util.h + - test/core/test_util/grpc_profiler.h + - test/core/test_util/histogram.h + - test/core/test_util/mock_endpoint.h + - test/core/test_util/parse_hexstring.h + - test/core/test_util/resolve_localhost_ip46.h + - test/core/test_util/slice_splitter.h + - test/core/test_util/tracer_util.h + src: + - test/core/security/local_security_connector_test.cc + - test/core/test_util/cmdline.cc + - test/core/test_util/fuzzer_util.cc + - test/core/test_util/grpc_profiler.cc + - test/core/test_util/histogram.cc + - test/core/test_util/mock_endpoint.cc + - test/core/test_util/parse_hexstring.cc + - test/core/test_util/resolve_localhost_ip46.cc + - test/core/test_util/slice_splitter.cc + - test/core/test_util/tracer_util.cc + deps: + - gtest + - grpc_test_util - name: lock_free_event_test gtest: true build: test diff --git a/src/core/BUILD b/src/core/BUILD index 2ffc92a5aeace..4af318d88ece0 100644 --- a/src/core/BUILD +++ b/src/core/BUILD @@ -4069,9 +4069,9 @@ grpc_cc_library( "//:promise", "//:ref_counted_ptr", "//:sockaddr_utils", - "//src/core:experiments", "//:tsi_base", "//:uri_parser", + "//src/core:experiments", ], ) diff --git a/src/core/lib/experiments/experiments.cc b/src/core/lib/experiments/experiments.cc index 309169a4d49d7..7413beb4c31d0 100644 --- a/src/core/lib/experiments/experiments.cc +++ b/src/core/lib/experiments/experiments.cc @@ -442,7 +442,7 @@ const ExperimentMetadata g_experiment_metadata[] = { additional_constraints_free_large_allocator, nullptr, 0, false, true}, {"local_connector_secure", description_local_connector_secure, additional_constraints_local_connector_secure, nullptr, 0, false, true}, - {"max_pings_wo_data_throttle", description_max_pings_wo_data_throttle, + {"max_pings_wo_data_throttle", description_max_pings_wo_data_throttle, additional_constraints_max_pings_wo_data_throttle, nullptr, 0, false, true}, {"monitoring_experiment", description_monitoring_experiment, diff --git a/src/core/lib/experiments/experiments.h b/src/core/lib/experiments/experiments.h index 0e4d8f0d95049..fac6b6395b310 100644 --- a/src/core/lib/experiments/experiments.h +++ b/src/core/lib/experiments/experiments.h @@ -67,7 +67,6 @@ inline bool IsEventEngineClientEnabled() { return false; } inline bool IsEventEngineDnsEnabled() { return false; } inline bool IsEventEngineListenerEnabled() { return false; } inline bool IsFreeLargeAllocatorEnabled() { return false; } -#define GRPC_EXPERIMENT_IS_INCLUDED_LOCAL_CONNECTOR_SECURE inline bool IsLocalConnectorSecureEnabled() { return false; } inline bool IsMaxPingsWoDataThrottleEnabled() { return false; } #define GRPC_EXPERIMENT_IS_INCLUDED_MONITORING_EXPERIMENT @@ -103,7 +102,6 @@ inline bool IsEventEngineDnsEnabled() { return true; } #define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_LISTENER inline bool IsEventEngineListenerEnabled() { return true; } inline bool IsFreeLargeAllocatorEnabled() { return false; } -#define GRPC_EXPERIMENT_IS_INCLUDED_LOCAL_CONNECTOR_SECURE inline bool IsLocalConnectorSecureEnabled() { return false; } inline bool IsMaxPingsWoDataThrottleEnabled() { return false; } #define GRPC_EXPERIMENT_IS_INCLUDED_MONITORING_EXPERIMENT @@ -138,7 +136,6 @@ inline bool IsEventEngineDnsEnabled() { return true; } #define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_LISTENER inline bool IsEventEngineListenerEnabled() { return true; } inline bool IsFreeLargeAllocatorEnabled() { return false; } -#define GRPC_EXPERIMENT_IS_INCLUDED_LOCAL_CONNECTOR_SECURE inline bool IsLocalConnectorSecureEnabled() { return false; } inline bool IsMaxPingsWoDataThrottleEnabled() { return false; } #define GRPC_EXPERIMENT_IS_INCLUDED_MONITORING_EXPERIMENT diff --git a/src/core/lib/security/security_connector/local/local_security_connector.cc b/src/core/lib/security/security_connector/local/local_security_connector.cc index 9b5f52a70ddae..70f502399c3ac 100644 --- a/src/core/lib/security/security_connector/local/local_security_connector.cc +++ b/src/core/lib/security/security_connector/local/local_security_connector.cc @@ -149,7 +149,8 @@ void local_check_peer(tsi_peer peer, grpc_endpoint* ep, if (grpc_core::IsLocalConnectorSecureEnabled()) { switch (type) { case UDS: - security_level = tsi_security_level_to_string(TSI_PRIVACY_AND_INTEGRITY); + security_level = + tsi_security_level_to_string(TSI_PRIVACY_AND_INTEGRITY); break; default: security_level = tsi_security_level_to_string(TSI_SECURITY_NONE); diff --git a/src/python/grpcio_tests/tests/unit/_contextvars_propagation_test.py b/src/python/grpcio_tests/tests/unit/_contextvars_propagation_test.py index 1d2cb79db7716..36a971be68417 100644 --- a/src/python/grpcio_tests/tests/unit/_contextvars_propagation_test.py +++ b/src/python/grpcio_tests/tests/unit/_contextvars_propagation_test.py @@ -119,7 +119,9 @@ def test_propagation_to_auth_plugin(self): composite_credentials = grpc.composite_channel_credentials( local_credentials, call_credentials ) - with grpc.secure_channel(f"unix:{uds_path}", composite_credentials) as channel: + with grpc.secure_channel( + f"unix:{uds_path}", composite_credentials + ) as channel: stub = channel.unary_unary( grpc._common.fully_qualified_method( _SERVICE_NAME, _UNARY_UNARY diff --git a/test/core/end2end/end2end_tests.h b/test/core/end2end/end2end_tests.h index 8472b61e696eb..e664062a17ab2 100644 --- a/test/core/end2end/end2end_tests.h +++ b/test/core/end2end/end2end_tests.h @@ -684,9 +684,9 @@ class CoreEnd2endTestRegistry { GTEST_SKIP() << "Disabled for initial v3 testing"; \ } -#define SKIP_IF_LOCAL_CREDS() \ +#define SKIP_IF_LOCAL_CREDS() \ if (GetParam()->feature_mask & FEATURE_MASK_IS_LOCAL_CREDS) { \ - GTEST_SKIP() << "Disabled for Local TCP Connection"; \ + GTEST_SKIP() << "Disabled for Local TCP Connection"; \ } #define CORE_END2END_TEST(suite, name) \ diff --git a/test/core/end2end/tests/call_creds.cc b/test/core/end2end/tests/call_creds.cc index f07268f0f6c60..2fb1e8eb067f7 100644 --- a/test/core/end2end/tests/call_creds.cc +++ b/test/core/end2end/tests/call_creds.cc @@ -264,7 +264,7 @@ CORE_END2END_TEST(PerCallCredsOnInsecureTest, } CORE_END2END_TEST(PerCallCredsTest, RequestResponseWithPayloadAndCallCreds) { - if (grpc_core::IsLocalConnectorSecureEnabled()) { + if (IsLocalConnectorSecureEnabled()) { SKIP_IF_LOCAL_CREDS(); } TestRequestResponseWithPayloadAndCallCreds(*this, true); @@ -272,7 +272,7 @@ CORE_END2END_TEST(PerCallCredsTest, RequestResponseWithPayloadAndCallCreds) { CORE_END2END_TEST(PerCallCredsTest, RequestResponseWithPayloadAndOverriddenCallCreds) { - if (grpc_core::IsLocalConnectorSecureEnabled()) { + if (IsLocalConnectorSecureEnabled()) { SKIP_IF_LOCAL_CREDS(); } TestRequestResponseWithPayloadAndOverriddenCallCreds(*this, true); diff --git a/test/core/security/local_security_connector_test.cc b/test/core/security/local_security_connector_test.cc index c3a0b2a8c4090..a6c14c7871ab8 100644 --- a/test/core/security/local_security_connector_test.cc +++ b/test/core/security/local_security_connector_test.cc @@ -18,53 +18,40 @@ #include +#include + +#include "src/core/client_channel/client_channel_filter.h" #include "src/core/lib/security/context/security_context.h" #include "src/core/tsi/transport_security.h" #include "test/core/test_util/test_config.h" -#include "src/core/client_channel/client_channel_filter.h" -#include "include/grpc/impl/grpc_types.h" namespace grpc_core { namespace testing { namespace { -absl::string_view GetLocalUnixAddress(grpc_endpoint* /*ep*/) { - return "unix:"; -} +absl::string_view GetLocalUnixAddress(grpc_endpoint* /*ep*/) { return "unix:"; } -const grpc_endpoint_vtable kUnixEndpointVtable = {nullptr, - nullptr, - nullptr, - nullptr, - nullptr, - nullptr, - nullptr, - GetLocalUnixAddress, - nullptr, - nullptr}; +const grpc_endpoint_vtable kUnixEndpointVtable = { + nullptr, nullptr, nullptr, nullptr, + nullptr, nullptr, nullptr, GetLocalUnixAddress, + nullptr, nullptr}; absl::string_view GetLocalTcpAddress(grpc_endpoint* /*ep*/) { return "ipv4:127.0.0.1:12667"; } -const grpc_endpoint_vtable kTcpEndpointVtable = {nullptr, - nullptr, - nullptr, - nullptr, - nullptr, - nullptr, - nullptr, - GetLocalTcpAddress, - nullptr, - nullptr}; +const grpc_endpoint_vtable kTcpEndpointVtable = { + nullptr, nullptr, nullptr, nullptr, + nullptr, nullptr, nullptr, GetLocalTcpAddress, + nullptr, nullptr}; void CheckSecurityLevelForServer(grpc_local_connect_type connect_type, - tsi_security_level level, - grpc_endpoint ep) { - grpc_server_credentials* server_creds = grpc_local_server_credentials_create(connect_type); + tsi_security_level level, grpc_endpoint ep) { + grpc_server_credentials* server_creds = + grpc_local_server_credentials_create(connect_type); ChannelArgs args; - RefCountedPtr connector = server_creds-> - create_security_connector(args); + RefCountedPtr connector = + server_creds->create_security_connector(args); ASSERT_NE(connector, nullptr); tsi_peer peer; CHECK(tsi_construct_peer(0, &peer) == TSI_OK); @@ -82,14 +69,14 @@ void CheckSecurityLevelForServer(grpc_local_connect_type connect_type, grpc_server_credentials_release(server_creds); } -static void CheckSecurityLevelForChannel(grpc_local_connect_type connect_type, - tsi_security_level level, - grpc_endpoint ep) { - grpc_channel_credentials* channel_creds = grpc_local_credentials_create(connect_type); +void CheckSecurityLevelForChannel(grpc_local_connect_type connect_type, + tsi_security_level level, grpc_endpoint ep) { + grpc_channel_credentials* channel_creds = + grpc_local_credentials_create(connect_type); ChannelArgs args; - args = args.Set((char*) GRPC_ARG_SERVER_URI, (char*) "unix:"); - RefCountedPtr connector = channel_creds-> - create_security_connector(nullptr, "unix:", &args); + args = args.Set((char*)GRPC_ARG_SERVER_URI, (char*)"unix:"); + RefCountedPtr connector = + channel_creds->create_security_connector(nullptr, "unix:", &args); ASSERT_NE(connector, nullptr); tsi_peer peer; CHECK(tsi_construct_peer(0, &peer) == TSI_OK); @@ -115,7 +102,9 @@ TEST(LocalSecurityConnectorTest, CheckSecurityLevelOfUdsConnectionServer) { } TEST(LocalSecurityConnectorTest, SecurityLevelOfTcpConnectionServer) { - if (!grpc_core::IsLocalConnectorSecureEnabled()) {return;} + if (!IsLocalConnectorSecureEnabled()) { + return; + } grpc_endpoint ep; ep.vtable = &kTcpEndpointVtable; CheckSecurityLevelForServer(LOCAL_TCP, TSI_SECURITY_NONE, ep); @@ -128,7 +117,9 @@ TEST(LocalSecurityConnectorTest, CheckSecurityLevelOfUdsConnectionChannel) { } TEST(LocalSecurityConnectorTest, SecurityLevelOfTcpConnectionChannel) { - if (!grpc_core::IsLocalConnectorSecureEnabled()) {return;} + if (!IsLocalConnectorSecureEnabled()) { + return; + } grpc_endpoint ep; ep.vtable = &kTcpEndpointVtable; CheckSecurityLevelForChannel(LOCAL_TCP, TSI_SECURITY_NONE, ep); diff --git a/tools/run_tests/generated/tests.json b/tools/run_tests/generated/tests.json index b1539ab9fff52..4f914307028b9 100644 --- a/tools/run_tests/generated/tests.json +++ b/tools/run_tests/generated/tests.json @@ -5929,6 +5929,30 @@ ], "uses_polling": false }, + { + "args": [], + "benchmark": false, + "ci_platforms": [ + "linux", + "mac", + "posix", + "windows" + ], + "cpu_cost": 1.0, + "exclude_configs": [], + "exclude_iomgrs": [], + "flaky": false, + "gtest": true, + "language": "c++", + "name": "local_security_connector_test", + "platforms": [ + "linux", + "mac", + "posix", + "windows" + ], + "uses_polling": true + }, { "args": [ "--benchmark_min_time=0.001s" From 8990bebd1476edcc4a790411be8f1d551c2f700a Mon Sep 17 00:00:00 2001 From: Andrey Ermolov Date: Thu, 8 Aug 2024 21:45:23 +0000 Subject: [PATCH 2/6] Rolling back conflicts --- CMakeLists.txt | 52 ---------------------------- build_autogenerated.yaml | 29 ---------------- tools/run_tests/generated/tests.json | 24 ------------- 3 files changed, 105 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 00f7233800b1e..3fcae603d42e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1242,7 +1242,6 @@ if(gRPC_BUILD_TESTS) endif() add_dependencies(buildtests_cxx load_config_test) add_dependencies(buildtests_cxx load_file_test) - add_dependencies(buildtests_cxx local_security_connector_test) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) add_dependencies(buildtests_cxx lock_free_event_test) endif() @@ -19927,57 +19926,6 @@ target_link_libraries(load_file_test ) -endif() -if(gRPC_BUILD_TESTS) - -add_executable(local_security_connector_test - test/core/security/local_security_connector_test.cc - test/core/test_util/cmdline.cc - test/core/test_util/fuzzer_util.cc - test/core/test_util/grpc_profiler.cc - test/core/test_util/histogram.cc - test/core/test_util/mock_endpoint.cc - test/core/test_util/parse_hexstring.cc - test/core/test_util/resolve_localhost_ip46.cc - test/core/test_util/slice_splitter.cc - test/core/test_util/tracer_util.cc -) -if(WIN32 AND MSVC) - if(BUILD_SHARED_LIBS) - target_compile_definitions(local_security_connector_test - PRIVATE - "GPR_DLL_IMPORTS" - "GRPC_DLL_IMPORTS" - ) - endif() -endif() -target_compile_features(local_security_connector_test PUBLIC cxx_std_14) -target_include_directories(local_security_connector_test - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - third_party/googletest/googletest/include - third_party/googletest/googletest - third_party/googletest/googlemock/include - third_party/googletest/googlemock - ${_gRPC_PROTO_GENS_DIR} -) - -target_link_libraries(local_security_connector_test - ${_gRPC_ALLTARGETS_LIBRARIES} - gtest - grpc_test_util -) - - endif() if(gRPC_BUILD_TESTS) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) diff --git a/build_autogenerated.yaml b/build_autogenerated.yaml index 483e38026841e..b68115b43c2b0 100644 --- a/build_autogenerated.yaml +++ b/build_autogenerated.yaml @@ -13306,35 +13306,6 @@ targets: - gtest - grpc_test_util uses_polling: false -- name: local_security_connector_test - gtest: true - build: test - language: c++ - headers: - - test/core/test_util/cmdline.h - - test/core/test_util/evaluate_args_test_util.h - - test/core/test_util/fuzzer_util.h - - test/core/test_util/grpc_profiler.h - - test/core/test_util/histogram.h - - test/core/test_util/mock_endpoint.h - - test/core/test_util/parse_hexstring.h - - test/core/test_util/resolve_localhost_ip46.h - - test/core/test_util/slice_splitter.h - - test/core/test_util/tracer_util.h - src: - - test/core/security/local_security_connector_test.cc - - test/core/test_util/cmdline.cc - - test/core/test_util/fuzzer_util.cc - - test/core/test_util/grpc_profiler.cc - - test/core/test_util/histogram.cc - - test/core/test_util/mock_endpoint.cc - - test/core/test_util/parse_hexstring.cc - - test/core/test_util/resolve_localhost_ip46.cc - - test/core/test_util/slice_splitter.cc - - test/core/test_util/tracer_util.cc - deps: - - gtest - - grpc_test_util - name: lock_free_event_test gtest: true build: test diff --git a/tools/run_tests/generated/tests.json b/tools/run_tests/generated/tests.json index 4f914307028b9..b1539ab9fff52 100644 --- a/tools/run_tests/generated/tests.json +++ b/tools/run_tests/generated/tests.json @@ -5929,30 +5929,6 @@ ], "uses_polling": false }, - { - "args": [], - "benchmark": false, - "ci_platforms": [ - "linux", - "mac", - "posix", - "windows" - ], - "cpu_cost": 1.0, - "exclude_configs": [], - "exclude_iomgrs": [], - "flaky": false, - "gtest": true, - "language": "c++", - "name": "local_security_connector_test", - "platforms": [ - "linux", - "mac", - "posix", - "windows" - ], - "uses_polling": true - }, { "args": [ "--benchmark_min_time=0.001s" From 06154629e2e15309f93d35953149dfb4618af87c Mon Sep 17 00:00:00 2001 From: erm-g <110920239+erm-g@users.noreply.github.com> Date: Thu, 8 Aug 2024 22:07:09 +0000 Subject: [PATCH 3/6] Automated change: Fix sanity tests --- CMakeLists.txt | 52 ++++++++++++++++++++++++++++ build_autogenerated.yaml | 29 ++++++++++++++++ tools/run_tests/generated/tests.json | 24 +++++++++++++ 3 files changed, 105 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3fcae603d42e7..00f7233800b1e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1242,6 +1242,7 @@ if(gRPC_BUILD_TESTS) endif() add_dependencies(buildtests_cxx load_config_test) add_dependencies(buildtests_cxx load_file_test) + add_dependencies(buildtests_cxx local_security_connector_test) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) add_dependencies(buildtests_cxx lock_free_event_test) endif() @@ -19926,6 +19927,57 @@ target_link_libraries(load_file_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(local_security_connector_test + test/core/security/local_security_connector_test.cc + test/core/test_util/cmdline.cc + test/core/test_util/fuzzer_util.cc + test/core/test_util/grpc_profiler.cc + test/core/test_util/histogram.cc + test/core/test_util/mock_endpoint.cc + test/core/test_util/parse_hexstring.cc + test/core/test_util/resolve_localhost_ip46.cc + test/core/test_util/slice_splitter.cc + test/core/test_util/tracer_util.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(local_security_connector_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(local_security_connector_test PUBLIC cxx_std_14) +target_include_directories(local_security_connector_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(local_security_connector_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + grpc_test_util +) + + endif() if(gRPC_BUILD_TESTS) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) diff --git a/build_autogenerated.yaml b/build_autogenerated.yaml index b68115b43c2b0..483e38026841e 100644 --- a/build_autogenerated.yaml +++ b/build_autogenerated.yaml @@ -13306,6 +13306,35 @@ targets: - gtest - grpc_test_util uses_polling: false +- name: local_security_connector_test + gtest: true + build: test + language: c++ + headers: + - test/core/test_util/cmdline.h + - test/core/test_util/evaluate_args_test_util.h + - test/core/test_util/fuzzer_util.h + - test/core/test_util/grpc_profiler.h + - test/core/test_util/histogram.h + - test/core/test_util/mock_endpoint.h + - test/core/test_util/parse_hexstring.h + - test/core/test_util/resolve_localhost_ip46.h + - test/core/test_util/slice_splitter.h + - test/core/test_util/tracer_util.h + src: + - test/core/security/local_security_connector_test.cc + - test/core/test_util/cmdline.cc + - test/core/test_util/fuzzer_util.cc + - test/core/test_util/grpc_profiler.cc + - test/core/test_util/histogram.cc + - test/core/test_util/mock_endpoint.cc + - test/core/test_util/parse_hexstring.cc + - test/core/test_util/resolve_localhost_ip46.cc + - test/core/test_util/slice_splitter.cc + - test/core/test_util/tracer_util.cc + deps: + - gtest + - grpc_test_util - name: lock_free_event_test gtest: true build: test diff --git a/tools/run_tests/generated/tests.json b/tools/run_tests/generated/tests.json index b1539ab9fff52..4f914307028b9 100644 --- a/tools/run_tests/generated/tests.json +++ b/tools/run_tests/generated/tests.json @@ -5929,6 +5929,30 @@ ], "uses_polling": false }, + { + "args": [], + "benchmark": false, + "ci_platforms": [ + "linux", + "mac", + "posix", + "windows" + ], + "cpu_cost": 1.0, + "exclude_configs": [], + "exclude_iomgrs": [], + "flaky": false, + "gtest": true, + "language": "c++", + "name": "local_security_connector_test", + "platforms": [ + "linux", + "mac", + "posix", + "windows" + ], + "uses_polling": true + }, { "args": [ "--benchmark_min_time=0.001s" From b4a0a00c9024f23eb02254c12c925bd15496fb5f Mon Sep 17 00:00:00 2001 From: Andrey Ermolov Date: Thu, 8 Aug 2024 22:19:36 +0000 Subject: [PATCH 4/6] Rollback style PR --- CMakeLists.txt | 921 +++++++-------------------- build_autogenerated.yaml | 748 +++++----------------- tools/run_tests/generated/tests.json | 316 ++------- 3 files changed, 422 insertions(+), 1563 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 00f7233800b1e..da48ca9f836af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,11 +25,11 @@ cmake_minimum_required(VERSION 3.13) set(PACKAGE_NAME "grpc") -set(PACKAGE_VERSION "1.66.0-dev") -set(gRPC_CORE_VERSION "42.0.0") -set(gRPC_CORE_SOVERSION "42") -set(gRPC_CPP_VERSION "1.66.0-dev") -set(gRPC_CPP_SOVERSION "1.66") +set(PACKAGE_VERSION "1.67.0-dev") +set(gRPC_CORE_VERSION "43.0.0") +set(gRPC_CORE_SOVERSION "43") +set(gRPC_CPP_VERSION "1.67.0-dev") +set(gRPC_CPP_SOVERSION "1.67") set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") set(PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}") set(PACKAGE_BUGREPORT "https://github.com/grpc/grpc/issues/") @@ -397,18 +397,18 @@ if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/envoy-api AND gRPC_DOWNLO # Download the archive via HTTP, validate the checksum, and extract to third_party/envoy-api. download_archive( ${CMAKE_CURRENT_SOURCE_DIR}/third_party/envoy-api - https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/091cfd044258312a56c632ae1860813b1c0c58bc.tar.gz - 1ee20b3041a4f093cc393448ab022f770e70b509c8fe8399d6e83017067b2fc3 - data-plane-api-091cfd044258312a56c632ae1860813b1c0c58bc + https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/f8b75d1efa92bbf534596a013d9ca5873f79dd30.tar.gz + e525a6fb6e6ed3eef1eec6bef3da9b5708e471f0f9335a7604df14a4b386231e + data-plane-api-f8b75d1efa92bbf534596a013d9ca5873f79dd30 ) endif() if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/envoy-api AND gRPC_DOWNLOAD_ARCHIVES) # Download the archive via HTTP, validate the checksum, and extract to third_party/envoy-api. download_archive( ${CMAKE_CURRENT_SOURCE_DIR}/third_party/envoy-api - https://github.com/envoyproxy/data-plane-api/archive/091cfd044258312a56c632ae1860813b1c0c58bc.tar.gz - 1ee20b3041a4f093cc393448ab022f770e70b509c8fe8399d6e83017067b2fc3 - data-plane-api-091cfd044258312a56c632ae1860813b1c0c58bc + https://github.com/envoyproxy/data-plane-api/archive/f8b75d1efa92bbf534596a013d9ca5873f79dd30.tar.gz + e525a6fb6e6ed3eef1eec6bef3da9b5708e471f0f9335a7604df14a4b386231e + data-plane-api-f8b75d1efa92bbf534596a013d9ca5873f79dd30 ) endif() # Setup external proto library at third_party/googleapis with 2 download URLs @@ -886,30 +886,6 @@ protobuf_generate_grpc_cpp_with_import_path_correction( if(gRPC_BUILD_TESTS) add_custom_target(buildtests_c) - if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - add_dependencies(buildtests_c bm_call_spine) - endif() - if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - add_dependencies(buildtests_c bm_chaotic_good) - endif() - if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - add_dependencies(buildtests_c bm_client_call) - endif() - if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - add_dependencies(buildtests_c bm_client_channel) - endif() - if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - add_dependencies(buildtests_c bm_experiments) - endif() - if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - add_dependencies(buildtests_c bm_http_client_filter) - endif() - if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - add_dependencies(buildtests_c bm_inproc) - endif() - if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - add_dependencies(buildtests_c bm_party) - endif() if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_dependencies(buildtests_c fd_conservation_posix_test) endif() @@ -917,9 +893,6 @@ if(gRPC_BUILD_TESTS) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX OR _gRPC_PLATFORM_WINDOWS) add_dependencies(buildtests_c pollset_windows_starvation_test) endif() - if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - add_dependencies(buildtests_c static_stride_scheduler_benchmark) - endif() add_dependencies(buildtests_c test_core_iomgr_timer_list_test) add_custom_target(buildtests_cxx) @@ -1242,10 +1215,6 @@ if(gRPC_BUILD_TESTS) endif() add_dependencies(buildtests_cxx load_config_test) add_dependencies(buildtests_cxx load_file_test) - add_dependencies(buildtests_cxx local_security_connector_test) - if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - add_dependencies(buildtests_cxx lock_free_event_test) - endif() if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_dependencies(buildtests_cxx log_too_many_open_files_test) endif() @@ -1253,7 +1222,6 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx map_pipe_test) add_dependencies(buildtests_cxx match_test) add_dependencies(buildtests_cxx matchers_test) - add_dependencies(buildtests_cxx max_concurrent_streams_policy_test) add_dependencies(buildtests_cxx max_concurrent_streams_test) add_dependencies(buildtests_cxx max_connection_age_test) add_dependencies(buildtests_cxx max_connection_idle_test) @@ -1404,6 +1372,7 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx retry_transparent_not_sent_on_wire_test) add_dependencies(buildtests_cxx retry_unref_before_finish_test) add_dependencies(buildtests_cxx retry_unref_before_recv_test) + add_dependencies(buildtests_cxx ring_buffer_test) add_dependencies(buildtests_cxx ring_hash_test) add_dependencies(buildtests_cxx rls_end2end_test) add_dependencies(buildtests_cxx rls_lb_config_parser_test) @@ -1558,6 +1527,7 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx try_join_test) add_dependencies(buildtests_cxx try_seq_metadata_test) add_dependencies(buildtests_cxx try_seq_test) + add_dependencies(buildtests_cxx unique_ptr_with_bitset_test) add_dependencies(buildtests_cxx unique_type_name_test) add_dependencies(buildtests_cxx unknown_frame_bad_client_test) add_dependencies(buildtests_cxx uri_parser_test) @@ -1938,7 +1908,6 @@ add_library(grpc src/core/ext/transport/chttp2/transport/hpack_parser_table.cc src/core/ext/transport/chttp2/transport/http2_settings.cc src/core/ext/transport/chttp2/transport/huffsyms.cc - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc src/core/ext/transport/chttp2/transport/parsing.cc src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc src/core/ext/transport/chttp2/transport/ping_callbacks.cc @@ -3035,7 +3004,6 @@ add_library(grpc_unsecure src/core/ext/transport/chttp2/transport/hpack_parser_table.cc src/core/ext/transport/chttp2/transport/http2_settings.cc src/core/ext/transport/chttp2/transport/huffsyms.cc - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc src/core/ext/transport/chttp2/transport/parsing.cc src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc src/core/ext/transport/chttp2/transport/ping_callbacks.cc @@ -3374,14 +3342,6 @@ add_library(grpc_unsecure src/core/util/json/json_reader.cc src/core/util/json/json_writer.cc src/core/util/latent_see.cc - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c - third_party/upb/upb/wire/decode.c - third_party/upb/upb/wire/encode.c - third_party/upb/upb/wire/internal/decode_fast.c ${gRPC_ADDITIONAL_DLL_SRC} ) @@ -3425,8 +3385,8 @@ target_include_directories(grpc_unsecure ) target_link_libraries(grpc_unsecure ${_gRPC_ALLTARGETS_LIBRARIES} - utf8_range_lib - upb_message_lib + upb_mini_descriptor_lib + upb_wire_lib ${_gRPC_ZLIB_LIBRARIES} absl::algorithm_container absl::config @@ -3680,11 +3640,6 @@ add_library(upb_json_lib ${_gRPC_STATIC_WIN32} third_party/upb/upb/lex/strtod.c third_party/upb/upb/lex/unicode.c third_party/upb/upb/message/copy.c - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c third_party/upb/upb/reflection/def_pool.c third_party/upb/upb/reflection/def_type.c third_party/upb/upb/reflection/desc_state.c @@ -3702,9 +3657,6 @@ add_library(upb_json_lib ${_gRPC_STATIC_WIN32} third_party/upb/upb/reflection/method_def.c third_party/upb/upb/reflection/oneof_def.c third_party/upb/upb/reflection/service_def.c - third_party/upb/upb/wire/decode.c - third_party/upb/upb/wire/encode.c - third_party/upb/upb/wire/internal/decode_fast.c ) target_compile_features(upb_json_lib PUBLIC cxx_std_14) @@ -3740,8 +3692,8 @@ target_include_directories(upb_json_lib ) target_link_libraries(upb_json_lib ${_gRPC_ALLTARGETS_LIBRARIES} - utf8_range_lib - upb_message_lib + upb_mini_descriptor_lib + upb_wire_lib ) @@ -3875,17 +3827,73 @@ if(gRPC_INSTALL) endif() +add_library(upb_mini_descriptor_lib + third_party/upb/upb/hash/common.c + third_party/upb/upb/mini_descriptor/build_enum.c + third_party/upb/upb/mini_descriptor/decode.c + third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c + third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/mini_table/extension_registry.c + third_party/upb/upb/mini_table/internal/message.c + third_party/upb/upb/mini_table/message.c +) + +target_compile_features(upb_mini_descriptor_lib PUBLIC cxx_std_14) + +set_target_properties(upb_mini_descriptor_lib PROPERTIES + VERSION ${gRPC_CORE_VERSION} + SOVERSION ${gRPC_CORE_SOVERSION} +) + +if(WIN32 AND MSVC) + set_target_properties(upb_mini_descriptor_lib PROPERTIES COMPILE_PDB_NAME "upb_mini_descriptor_lib" + COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" + ) + if(gRPC_INSTALL) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/upb_mini_descriptor_lib.pdb + DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL + ) + endif() +endif() + +target_include_directories(upb_mini_descriptor_lib + PUBLIC $ $ + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} +) +target_link_libraries(upb_mini_descriptor_lib + ${_gRPC_ALLTARGETS_LIBRARIES} + upb_base_lib + upb_mem_lib +) + + + +if(gRPC_INSTALL) + install(TARGETS upb_mini_descriptor_lib EXPORT gRPCTargets + RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} + BUNDLE DESTINATION ${gRPC_INSTALL_BINDIR} + LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} + ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} + ) +endif() + + add_library(upb_textformat_lib ${_gRPC_STATIC_WIN32} third_party/upb/upb/lex/atoi.c third_party/upb/upb/lex/round_trip.c third_party/upb/upb/lex/strtod.c third_party/upb/upb/lex/unicode.c third_party/upb/upb/message/copy.c - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c third_party/upb/upb/reflection/def_pool.c third_party/upb/upb/reflection/def_type.c third_party/upb/upb/reflection/desc_state.c @@ -3904,9 +3912,6 @@ add_library(upb_textformat_lib ${_gRPC_STATIC_WIN32} third_party/upb/upb/reflection/oneof_def.c third_party/upb/upb/reflection/service_def.c third_party/upb/upb/text/encode.c - third_party/upb/upb/wire/decode.c - third_party/upb/upb/wire/encode.c - third_party/upb/upb/wire/internal/decode_fast.c ) target_compile_features(upb_textformat_lib PUBLIC cxx_std_14) @@ -3941,6 +3946,61 @@ target_include_directories(upb_textformat_lib ${_gRPC_ZLIB_INCLUDE_DIR} ) target_link_libraries(upb_textformat_lib + ${_gRPC_ALLTARGETS_LIBRARIES} + upb_mini_descriptor_lib + upb_wire_lib +) + + + +if(gRPC_INSTALL) + install(TARGETS upb_textformat_lib EXPORT gRPCTargets + RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} + BUNDLE DESTINATION ${gRPC_INSTALL_BINDIR} + LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} + ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} + ) +endif() + + +add_library(upb_wire_lib + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/internal/decode_fast.c +) + +target_compile_features(upb_wire_lib PUBLIC cxx_std_14) + +set_target_properties(upb_wire_lib PROPERTIES + VERSION ${gRPC_CORE_VERSION} + SOVERSION ${gRPC_CORE_SOVERSION} +) + +if(WIN32 AND MSVC) + set_target_properties(upb_wire_lib PROPERTIES COMPILE_PDB_NAME "upb_wire_lib" + COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" + ) + if(gRPC_INSTALL) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/upb_wire_lib.pdb + DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL + ) + endif() +endif() + +target_include_directories(upb_wire_lib + PUBLIC $ $ + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} +) +target_link_libraries(upb_wire_lib ${_gRPC_ALLTARGETS_LIBRARIES} utf8_range_lib upb_message_lib @@ -3949,7 +4009,7 @@ target_link_libraries(upb_textformat_lib if(gRPC_INSTALL) - install(TARGETS upb_textformat_lib EXPORT gRPCTargets + install(TARGETS upb_wire_lib EXPORT gRPCTargets RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} BUNDLE DESTINATION ${gRPC_INSTALL_BINDIR} LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} @@ -5450,14 +5510,6 @@ add_library(grpc_authorization_provider src/core/util/json/json_reader.cc src/core/util/json/json_writer.cc src/core/util/latent_see.cc - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c - third_party/upb/upb/wire/decode.c - third_party/upb/upb/wire/encode.c - third_party/upb/upb/wire/internal/decode_fast.c ) target_compile_features(grpc_authorization_provider PUBLIC cxx_std_14) @@ -5500,8 +5552,8 @@ target_include_directories(grpc_authorization_provider ) target_link_libraries(grpc_authorization_provider ${_gRPC_ALLTARGETS_LIBRARIES} - utf8_range_lib - upb_message_lib + upb_mini_descriptor_lib + upb_wire_lib ${_gRPC_RE2_LIBRARIES} ${_gRPC_ZLIB_LIBRARIES} absl::config @@ -5845,330 +5897,6 @@ endif() endif() -if(gRPC_BUILD_TESTS) -if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - - add_executable(bm_call_spine - test/core/transport/bm_call_spine.cc - ) - if(WIN32 AND MSVC) - if(BUILD_SHARED_LIBS) - target_compile_definitions(bm_call_spine - PRIVATE - "GPR_DLL_IMPORTS" - "GRPC_DLL_IMPORTS" - ) - endif() - endif() - target_compile_features(bm_call_spine PUBLIC cxx_std_14) - target_include_directories(bm_call_spine - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - ) - - target_link_libraries(bm_call_spine - ${_gRPC_ALLTARGETS_LIBRARIES} - ${_gRPC_BENCHMARK_LIBRARIES} - grpc - ) - - -endif() -endif() -if(gRPC_BUILD_TESTS) -if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - - add_executable(bm_chaotic_good - src/core/ext/transport/chaotic_good/client_transport.cc - src/core/ext/transport/chaotic_good/frame.cc - src/core/ext/transport/chaotic_good/frame_header.cc - src/core/ext/transport/chaotic_good/server_transport.cc - src/core/lib/transport/promise_endpoint.cc - test/core/test_util/passthrough_endpoint.cc - test/core/transport/benchmarks/bm_chaotic_good.cc - ) - if(WIN32 AND MSVC) - if(BUILD_SHARED_LIBS) - target_compile_definitions(bm_chaotic_good - PRIVATE - "GPR_DLL_IMPORTS" - "GRPC_DLL_IMPORTS" - ) - endif() - endif() - target_compile_features(bm_chaotic_good PUBLIC cxx_std_14) - target_include_directories(bm_chaotic_good - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - ) - - target_link_libraries(bm_chaotic_good - ${_gRPC_ALLTARGETS_LIBRARIES} - ${_gRPC_BENCHMARK_LIBRARIES} - grpc - ) - - -endif() -endif() -if(gRPC_BUILD_TESTS) -if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - - add_executable(bm_client_call - test/core/call/bm_client_call.cc - ) - if(WIN32 AND MSVC) - if(BUILD_SHARED_LIBS) - target_compile_definitions(bm_client_call - PRIVATE - "GPR_DLL_IMPORTS" - "GRPC_DLL_IMPORTS" - ) - endif() - endif() - target_compile_features(bm_client_call PUBLIC cxx_std_14) - target_include_directories(bm_client_call - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - ) - - target_link_libraries(bm_client_call - ${_gRPC_ALLTARGETS_LIBRARIES} - ${_gRPC_BENCHMARK_LIBRARIES} - grpc - ) - - -endif() -endif() -if(gRPC_BUILD_TESTS) -if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - - add_executable(bm_client_channel - test/core/client_channel/bm_client_channel.cc - ) - if(WIN32 AND MSVC) - if(BUILD_SHARED_LIBS) - target_compile_definitions(bm_client_channel - PRIVATE - "GPR_DLL_IMPORTS" - "GRPC_DLL_IMPORTS" - ) - endif() - endif() - target_compile_features(bm_client_channel PUBLIC cxx_std_14) - target_include_directories(bm_client_channel - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - ) - - target_link_libraries(bm_client_channel - ${_gRPC_ALLTARGETS_LIBRARIES} - ${_gRPC_BENCHMARK_LIBRARIES} - grpc - ) - - -endif() -endif() -if(gRPC_BUILD_TESTS) -if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - - add_executable(bm_experiments - test/core/experiments/bm_experiments.cc - ) - if(WIN32 AND MSVC) - if(BUILD_SHARED_LIBS) - target_compile_definitions(bm_experiments - PRIVATE - "GPR_DLL_IMPORTS" - "GRPC_DLL_IMPORTS" - ) - endif() - endif() - target_compile_features(bm_experiments PUBLIC cxx_std_14) - target_include_directories(bm_experiments - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - ) - - target_link_libraries(bm_experiments - ${_gRPC_ALLTARGETS_LIBRARIES} - ${_gRPC_BENCHMARK_LIBRARIES} - grpc_test_util - ) - - -endif() -endif() -if(gRPC_BUILD_TESTS) -if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - - add_executable(bm_http_client_filter - test/core/filters/bm_http_client_filter.cc - ) - if(WIN32 AND MSVC) - if(BUILD_SHARED_LIBS) - target_compile_definitions(bm_http_client_filter - PRIVATE - "GPR_DLL_IMPORTS" - "GRPC_DLL_IMPORTS" - ) - endif() - endif() - target_compile_features(bm_http_client_filter PUBLIC cxx_std_14) - target_include_directories(bm_http_client_filter - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - ) - - target_link_libraries(bm_http_client_filter - ${_gRPC_ALLTARGETS_LIBRARIES} - ${_gRPC_BENCHMARK_LIBRARIES} - grpc - ) - - -endif() -endif() -if(gRPC_BUILD_TESTS) -if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - - add_executable(bm_inproc - src/core/ext/transport/chaotic_good/client_transport.cc - src/core/ext/transport/chaotic_good/frame.cc - src/core/ext/transport/chaotic_good/frame_header.cc - src/core/ext/transport/chaotic_good/server_transport.cc - src/core/lib/transport/promise_endpoint.cc - test/core/test_util/passthrough_endpoint.cc - test/core/transport/benchmarks/bm_inproc.cc - ) - if(WIN32 AND MSVC) - if(BUILD_SHARED_LIBS) - target_compile_definitions(bm_inproc - PRIVATE - "GPR_DLL_IMPORTS" - "GRPC_DLL_IMPORTS" - ) - endif() - endif() - target_compile_features(bm_inproc PUBLIC cxx_std_14) - target_include_directories(bm_inproc - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - ) - - target_link_libraries(bm_inproc - ${_gRPC_ALLTARGETS_LIBRARIES} - ${_gRPC_BENCHMARK_LIBRARIES} - grpc - ) - - -endif() -endif() -if(gRPC_BUILD_TESTS) -if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - - add_executable(bm_party - test/core/promise/bm_party.cc - ) - if(WIN32 AND MSVC) - if(BUILD_SHARED_LIBS) - target_compile_definitions(bm_party - PRIVATE - "GPR_DLL_IMPORTS" - "GRPC_DLL_IMPORTS" - ) - endif() - endif() - target_compile_features(bm_party PUBLIC cxx_std_14) - target_include_directories(bm_party - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - ) - - target_link_libraries(bm_party - ${_gRPC_ALLTARGETS_LIBRARIES} - ${_gRPC_BENCHMARK_LIBRARIES} - grpc - ) - - -endif() -endif() if(gRPC_BUILD_TESTS) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) @@ -6288,47 +6016,6 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX OR _gRPC_PLATFORM_WINDOWS) ) -endif() -endif() -if(gRPC_BUILD_TESTS) -if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - - add_executable(static_stride_scheduler_benchmark - src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc - test/core/load_balancing/static_stride_scheduler_benchmark.cc - ) - if(WIN32 AND MSVC) - if(BUILD_SHARED_LIBS) - target_compile_definitions(static_stride_scheduler_benchmark - PRIVATE - "GPR_DLL_IMPORTS" - ) - endif() - endif() - target_compile_features(static_stride_scheduler_benchmark PUBLIC cxx_std_14) - target_include_directories(static_stride_scheduler_benchmark - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - ) - - target_link_libraries(static_stride_scheduler_benchmark - ${_gRPC_ALLTARGETS_LIBRARIES} - absl::algorithm_container - absl::span - ${_gRPC_BENCHMARK_LIBRARIES} - gpr - ) - - endif() endif() if(gRPC_BUILD_TESTS) @@ -8983,14 +8670,6 @@ add_executable(call_filters_test src/core/lib/transport/timeout_encoding.cc src/core/util/latent_see.cc test/core/transport/call_filters_test.cc - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c - third_party/upb/upb/wire/decode.c - third_party/upb/upb/wire/encode.c - third_party/upb/upb/wire/internal/decode_fast.c ) if(WIN32 AND MSVC) if(BUILD_SHARED_LIBS) @@ -9023,8 +8702,8 @@ target_include_directories(call_filters_test target_link_libraries(call_filters_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - utf8_range_lib - upb_message_lib + upb_mini_descriptor_lib + upb_wire_lib absl::config absl::no_destructor absl::flat_hash_map @@ -9532,14 +9211,6 @@ add_executable(call_utils_test src/core/util/json/json_writer.cc src/core/util/latent_see.cc test/core/call/call_utils_test.cc - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c - third_party/upb/upb/wire/decode.c - third_party/upb/upb/wire/encode.c - third_party/upb/upb/wire/internal/decode_fast.c ) if(WIN32 AND MSVC) if(BUILD_SHARED_LIBS) @@ -9572,8 +9243,8 @@ target_include_directories(call_utils_test target_link_libraries(call_utils_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - utf8_range_lib - upb_message_lib + upb_mini_descriptor_lib + upb_wire_lib ${_gRPC_ZLIB_LIBRARIES} absl::config absl::no_destructor @@ -9987,14 +9658,6 @@ add_executable(cancel_callback_test src/core/lib/slice/slice_string_helpers.cc src/core/util/latent_see.cc test/core/promise/cancel_callback_test.cc - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c - third_party/upb/upb/wire/decode.c - third_party/upb/upb/wire/encode.c - third_party/upb/upb/wire/internal/decode_fast.c ) if(WIN32 AND MSVC) if(BUILD_SHARED_LIBS) @@ -10027,8 +9690,8 @@ target_include_directories(cancel_callback_test target_link_libraries(cancel_callback_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - utf8_range_lib - upb_message_lib + upb_mini_descriptor_lib + upb_wire_lib absl::config absl::flat_hash_map absl::function_ref @@ -11095,14 +10758,6 @@ add_executable(chunked_vector_test src/core/lib/slice/slice_string_helpers.cc src/core/util/latent_see.cc test/core/gprpp/chunked_vector_test.cc - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c - third_party/upb/upb/wire/decode.c - third_party/upb/upb/wire/encode.c - third_party/upb/upb/wire/internal/decode_fast.c ) if(WIN32 AND MSVC) if(BUILD_SHARED_LIBS) @@ -11135,8 +10790,8 @@ target_include_directories(chunked_vector_test target_link_libraries(chunked_vector_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - utf8_range_lib - upb_message_lib + upb_mini_descriptor_lib + upb_wire_lib absl::config absl::flat_hash_map absl::function_ref @@ -14399,14 +14054,6 @@ add_executable(exec_ctx_wakeup_scheduler_test src/core/lib/slice/slice_string_helpers.cc src/core/util/latent_see.cc test/core/promise/exec_ctx_wakeup_scheduler_test.cc - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c - third_party/upb/upb/wire/decode.c - third_party/upb/upb/wire/encode.c - third_party/upb/upb/wire/internal/decode_fast.c ) if(WIN32 AND MSVC) if(BUILD_SHARED_LIBS) @@ -14439,8 +14086,8 @@ target_include_directories(exec_ctx_wakeup_scheduler_test target_link_libraries(exec_ctx_wakeup_scheduler_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - utf8_range_lib - upb_message_lib + upb_mini_descriptor_lib + upb_wire_lib absl::config absl::flat_hash_map absl::hash @@ -15207,14 +14854,6 @@ add_executable(flow_control_test src/core/lib/transport/bdp_estimator.cc src/core/util/latent_see.cc test/core/transport/chttp2/flow_control_test.cc - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c - third_party/upb/upb/wire/decode.c - third_party/upb/upb/wire/encode.c - third_party/upb/upb/wire/internal/decode_fast.c ) if(WIN32 AND MSVC) if(BUILD_SHARED_LIBS) @@ -15247,8 +14886,8 @@ target_include_directories(flow_control_test target_link_libraries(flow_control_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - utf8_range_lib - upb_message_lib + upb_mini_descriptor_lib + upb_wire_lib absl::config absl::flat_hash_map absl::function_ref @@ -15293,14 +14932,6 @@ add_executable(for_each_test src/core/lib/slice/slice_string_helpers.cc src/core/util/latent_see.cc test/core/promise/for_each_test.cc - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c - third_party/upb/upb/wire/decode.c - third_party/upb/upb/wire/encode.c - third_party/upb/upb/wire/internal/decode_fast.c ) if(WIN32 AND MSVC) if(BUILD_SHARED_LIBS) @@ -15333,8 +14964,8 @@ target_include_directories(for_each_test target_link_libraries(for_each_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - utf8_range_lib - upb_message_lib + upb_mini_descriptor_lib + upb_wire_lib absl::config absl::flat_hash_map absl::function_ref @@ -18840,14 +18471,6 @@ add_executable(interceptor_list_test src/core/lib/slice/slice_string_helpers.cc src/core/util/latent_see.cc test/core/promise/interceptor_list_test.cc - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c - third_party/upb/upb/wire/decode.c - third_party/upb/upb/wire/encode.c - third_party/upb/upb/wire/internal/decode_fast.c ) if(WIN32 AND MSVC) if(BUILD_SHARED_LIBS) @@ -18880,8 +18503,8 @@ target_include_directories(interceptor_list_test target_link_libraries(interceptor_list_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - utf8_range_lib - upb_message_lib + upb_mini_descriptor_lib + upb_wire_lib absl::config absl::flat_hash_map absl::function_ref @@ -19927,102 +19550,6 @@ target_link_libraries(load_file_test ) -endif() -if(gRPC_BUILD_TESTS) - -add_executable(local_security_connector_test - test/core/security/local_security_connector_test.cc - test/core/test_util/cmdline.cc - test/core/test_util/fuzzer_util.cc - test/core/test_util/grpc_profiler.cc - test/core/test_util/histogram.cc - test/core/test_util/mock_endpoint.cc - test/core/test_util/parse_hexstring.cc - test/core/test_util/resolve_localhost_ip46.cc - test/core/test_util/slice_splitter.cc - test/core/test_util/tracer_util.cc -) -if(WIN32 AND MSVC) - if(BUILD_SHARED_LIBS) - target_compile_definitions(local_security_connector_test - PRIVATE - "GPR_DLL_IMPORTS" - "GRPC_DLL_IMPORTS" - ) - endif() -endif() -target_compile_features(local_security_connector_test PUBLIC cxx_std_14) -target_include_directories(local_security_connector_test - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - third_party/googletest/googletest/include - third_party/googletest/googletest - third_party/googletest/googlemock/include - third_party/googletest/googlemock - ${_gRPC_PROTO_GENS_DIR} -) - -target_link_libraries(local_security_connector_test - ${_gRPC_ALLTARGETS_LIBRARIES} - gtest - grpc_test_util -) - - -endif() -if(gRPC_BUILD_TESTS) -if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - - add_executable(lock_free_event_test - test/core/event_engine/posix/lock_free_event_test.cc - ) - if(WIN32 AND MSVC) - if(BUILD_SHARED_LIBS) - target_compile_definitions(lock_free_event_test - PRIVATE - "GPR_DLL_IMPORTS" - "GRPC_DLL_IMPORTS" - ) - endif() - endif() - target_compile_features(lock_free_event_test PUBLIC cxx_std_14) - target_include_directories(lock_free_event_test - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - third_party/googletest/googletest/include - third_party/googletest/googletest - third_party/googletest/googlemock/include - third_party/googletest/googlemock - ${_gRPC_PROTO_GENS_DIR} - ) - - target_link_libraries(lock_free_event_test - ${_gRPC_ALLTARGETS_LIBRARIES} - gtest - ${_gRPC_BENCHMARK_LIBRARIES} - grpc_test_util - ) - - -endif() endif() if(gRPC_BUILD_TESTS) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) @@ -20147,14 +19674,6 @@ add_executable(map_pipe_test src/core/lib/slice/slice_string_helpers.cc src/core/util/latent_see.cc test/core/promise/map_pipe_test.cc - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c - third_party/upb/upb/wire/decode.c - third_party/upb/upb/wire/encode.c - third_party/upb/upb/wire/internal/decode_fast.c ) if(WIN32 AND MSVC) if(BUILD_SHARED_LIBS) @@ -20187,8 +19706,8 @@ target_include_directories(map_pipe_test target_link_libraries(map_pipe_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - utf8_range_lib - upb_message_lib + upb_mini_descriptor_lib + upb_wire_lib absl::config absl::flat_hash_map absl::function_ref @@ -20282,48 +19801,6 @@ target_link_libraries(matchers_test ) -endif() -if(gRPC_BUILD_TESTS) - -add_executable(max_concurrent_streams_policy_test - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc - test/core/transport/chttp2/max_concurrent_streams_policy_test.cc -) -if(WIN32 AND MSVC) - if(BUILD_SHARED_LIBS) - target_compile_definitions(max_concurrent_streams_policy_test - PRIVATE - "GPR_DLL_IMPORTS" - ) - endif() -endif() -target_compile_features(max_concurrent_streams_policy_test PUBLIC cxx_std_14) -target_include_directories(max_concurrent_streams_policy_test - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - third_party/googletest/googletest/include - third_party/googletest/googletest - third_party/googletest/googlemock/include - third_party/googletest/googlemock - ${_gRPC_PROTO_GENS_DIR} -) - -target_link_libraries(max_concurrent_streams_policy_test - ${_gRPC_ALLTARGETS_LIBRARIES} - gtest - gpr -) - - endif() if(gRPC_BUILD_TESTS) @@ -22412,6 +21889,7 @@ add_executable(periodic_update_test src/core/lib/experiments/config.cc src/core/lib/experiments/experiments.cc src/core/lib/gprpp/glob.cc + src/core/lib/gprpp/per_cpu.cc src/core/lib/gprpp/status_helper.cc src/core/lib/gprpp/time.cc src/core/lib/iomgr/closure.cc @@ -22424,15 +21902,8 @@ add_executable(periodic_update_test src/core/lib/slice/percent_encoding.cc src/core/lib/slice/slice.cc src/core/lib/slice/slice_string_helpers.cc + src/core/util/latent_see.cc test/core/resource_quota/periodic_update_test.cc - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c - third_party/upb/upb/wire/decode.c - third_party/upb/upb/wire/encode.c - third_party/upb/upb/wire/internal/decode_fast.c ) if(WIN32 AND MSVC) if(BUILD_SHARED_LIBS) @@ -22465,8 +21936,8 @@ target_include_directories(periodic_update_test target_link_libraries(periodic_update_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - utf8_range_lib - upb_message_lib + upb_mini_descriptor_lib + upb_wire_lib absl::flat_hash_map absl::function_ref absl::hash @@ -27193,6 +26664,38 @@ target_link_libraries(retry_unref_before_recv_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(ring_buffer_test + test/core/util/ring_buffer_test.cc +) +target_compile_features(ring_buffer_test PUBLIC cxx_std_14) +target_include_directories(ring_buffer_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(ring_buffer_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest +) + + endif() if(gRPC_BUILD_TESTS) @@ -32982,6 +32485,40 @@ target_link_libraries(try_seq_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(unique_ptr_with_bitset_test + test/core/util/unique_ptr_with_bitset_test.cc +) +target_compile_features(unique_ptr_with_bitset_test PUBLIC cxx_std_14) +target_include_directories(unique_ptr_with_bitset_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(unique_ptr_with_bitset_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + absl::check + absl::bits +) + + endif() if(gRPC_BUILD_TESTS) @@ -38043,7 +37580,7 @@ generate_pkgconfig( "absl_algorithm_container 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_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_optional absl_random_bit_gen_ref absl_random_distributions absl_random_random absl_span absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_type_traits absl_utility absl_variant gpr" "libcares openssl re2 zlib" "-lgrpc" - "-laddress_sorting -lupb_textformat_lib -lupb_json_lib -lupb_message_lib -lupb_mem_lib -lupb_base_lib -lutf8_range_lib" + "-laddress_sorting -lupb_textformat_lib -lupb_json_lib -lupb_wire_lib -lupb_message_lib -lutf8_range_lib -lupb_mini_descriptor_lib -lupb_mem_lib -lupb_base_lib" "grpc.pc") # grpc_unsecure .pc file @@ -38054,7 +37591,7 @@ generate_pkgconfig( "absl_algorithm_container 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_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_optional absl_random_bit_gen_ref absl_random_distributions absl_random_random absl_span absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_type_traits absl_utility absl_variant gpr" "libcares zlib" "-lgrpc_unsecure" - "-laddress_sorting -lupb_message_lib -lupb_mem_lib -lupb_base_lib -lutf8_range_lib" + "-laddress_sorting -lupb_wire_lib -lupb_message_lib -lutf8_range_lib -lupb_mini_descriptor_lib -lupb_mem_lib -lupb_base_lib" "grpc_unsecure.pc") # grpc++ .pc file @@ -38065,7 +37602,7 @@ generate_pkgconfig( "absl_absl_check absl_absl_log absl_algorithm_container 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_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_optional absl_random_bit_gen_ref absl_random_distributions absl_random_random absl_span absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_type_traits absl_utility absl_variant gpr grpc" "libcares openssl re2 zlib" "-lgrpc++" - "-laddress_sorting -lupb_textformat_lib -lupb_json_lib -lupb_message_lib -lupb_mem_lib -lupb_base_lib -lutf8_range_lib" + "-laddress_sorting -lupb_textformat_lib -lupb_json_lib -lupb_wire_lib -lupb_message_lib -lutf8_range_lib -lupb_mini_descriptor_lib -lupb_mem_lib -lupb_base_lib" "grpc++.pc") # grpc++_unsecure .pc file @@ -38076,7 +37613,7 @@ generate_pkgconfig( "absl_absl_check absl_absl_log absl_algorithm_container 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_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_optional absl_random_bit_gen_ref absl_random_distributions absl_random_random absl_span absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_type_traits absl_utility absl_variant gpr grpc_unsecure" "libcares zlib" "-lgrpc++_unsecure" - "-laddress_sorting -lupb_message_lib -lupb_mem_lib -lupb_base_lib -lutf8_range_lib" + "-laddress_sorting -lupb_wire_lib -lupb_message_lib -lutf8_range_lib -lupb_mini_descriptor_lib -lupb_mem_lib -lupb_base_lib" "grpc++_unsecure.pc") # grpcpp_otel_plugin .pc file @@ -38087,5 +37624,5 @@ generate_pkgconfig( "absl_absl_check absl_absl_log absl_algorithm_container 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_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_optional absl_random_bit_gen_ref absl_random_distributions absl_random_random absl_span absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_type_traits absl_utility absl_variant gpr grpc grpc++ opentelemetry_api" "libcares openssl re2 zlib" "-lgrpcpp_otel_plugin" - "-laddress_sorting -lupb_textformat_lib -lupb_json_lib -lupb_message_lib -lupb_mem_lib -lupb_base_lib -lutf8_range_lib" + "-laddress_sorting -lupb_textformat_lib -lupb_json_lib -lupb_wire_lib -lupb_message_lib -lutf8_range_lib -lupb_mini_descriptor_lib -lupb_mem_lib -lupb_base_lib" "grpcpp_otel_plugin.pc") diff --git a/build_autogenerated.yaml b/build_autogenerated.yaml index 483e38026841e..b95f89cafd6db 100644 --- a/build_autogenerated.yaml +++ b/build_autogenerated.yaml @@ -290,7 +290,6 @@ libs: - src/core/ext/transport/chttp2/transport/huffsyms.h - src/core/ext/transport/chttp2/transport/internal.h - src/core/ext/transport/chttp2/transport/legacy_frame.h - - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h - src/core/ext/transport/chttp2/transport/ping_abuse_policy.h - src/core/ext/transport/chttp2/transport/ping_callbacks.h - src/core/ext/transport/chttp2/transport/ping_rate_policy.h @@ -1075,7 +1074,6 @@ libs: - src/core/lib/slice/slice_internal.h - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h - - src/core/lib/surface/api_trace.h - src/core/lib/surface/call.h - src/core/lib/surface/call_test_only.h - src/core/lib/surface/call_utils.h @@ -1219,7 +1217,9 @@ libs: - src/core/util/json/json_util.h - src/core/util/json/json_writer.h - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - src/core/util/spinlock.h + - src/core/util/unique_ptr_with_bitset.h - src/core/util/upb_utils.h - src/core/xds/grpc/certificate_provider_store.h - src/core/xds/grpc/file_watcher_certificate_provider_factory.h @@ -1320,7 +1320,6 @@ libs: - src/core/ext/transport/chttp2/transport/hpack_parser_table.cc - src/core/ext/transport/chttp2/transport/http2_settings.cc - src/core/ext/transport/chttp2/transport/huffsyms.cc - - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc - src/core/ext/transport/chttp2/transport/parsing.cc - src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc - src/core/ext/transport/chttp2/transport/ping_callbacks.cc @@ -2290,7 +2289,6 @@ libs: - src/core/ext/transport/chttp2/transport/huffsyms.h - src/core/ext/transport/chttp2/transport/internal.h - src/core/ext/transport/chttp2/transport/legacy_frame.h - - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h - src/core/ext/transport/chttp2/transport/ping_abuse_policy.h - src/core/ext/transport/chttp2/transport/ping_callbacks.h - src/core/ext/transport/chttp2/transport/ping_rate_policy.h @@ -2597,7 +2595,6 @@ libs: - src/core/lib/slice/slice_internal.h - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h - - src/core/lib/surface/api_trace.h - src/core/lib/surface/call.h - src/core/lib/surface/call_test_only.h - src/core/lib/surface/call_utils.h @@ -2707,23 +2704,11 @@ libs: - src/core/util/json/json_reader.h - src/core/util/json/json_writer.h - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - src/core/util/spinlock.h + - src/core/util/unique_ptr_with_bitset.h - src/core/util/upb_utils.h - third_party/upb/upb/generated_code_support.h - - third_party/upb/upb/mini_descriptor/build_enum.h - - third_party/upb/upb/mini_descriptor/decode.h - - third_party/upb/upb/mini_descriptor/internal/base92.h - - third_party/upb/upb/mini_descriptor/internal/decoder.h - - third_party/upb/upb/mini_descriptor/internal/encode.h - - third_party/upb/upb/mini_descriptor/internal/encode.hpp - - third_party/upb/upb/mini_descriptor/internal/modifiers.h - - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/wire/decode.h - - third_party/upb/upb/wire/encode.h - - third_party/upb/upb/wire/internal/constants.h - - third_party/upb/upb/wire/internal/decode_fast.h - - third_party/upb/upb/wire/internal/decoder.h src: - src/core/channelz/channel_trace.cc - src/core/channelz/channelz.cc @@ -2780,7 +2765,6 @@ libs: - src/core/ext/transport/chttp2/transport/hpack_parser_table.cc - src/core/ext/transport/chttp2/transport/http2_settings.cc - src/core/ext/transport/chttp2/transport/huffsyms.cc - - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc - src/core/ext/transport/chttp2/transport/parsing.cc - src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc - src/core/ext/transport/chttp2/transport/ping_callbacks.cc @@ -3119,17 +3103,9 @@ libs: - src/core/util/json/json_reader.cc - src/core/util/json/json_writer.cc - src/core/util/latent_see.cc - - third_party/upb/upb/mini_descriptor/build_enum.c - - third_party/upb/upb/mini_descriptor/decode.c - - third_party/upb/upb/mini_descriptor/internal/base92.c - - third_party/upb/upb/mini_descriptor/internal/encode.c - - third_party/upb/upb/mini_descriptor/link.c - - third_party/upb/upb/wire/decode.c - - third_party/upb/upb/wire/encode.c - - third_party/upb/upb/wire/internal/decode_fast.c deps: - - utf8_range_lib - - upb_message_lib + - upb_mini_descriptor_lib + - upb_wire_lib - z - absl/algorithm:container - absl/base:config @@ -3304,15 +3280,6 @@ libs: - third_party/upb/upb/lex/strtod.h - third_party/upb/upb/lex/unicode.h - third_party/upb/upb/message/copy.h - - third_party/upb/upb/mini_descriptor/build_enum.h - - third_party/upb/upb/mini_descriptor/decode.h - - third_party/upb/upb/mini_descriptor/internal/base92.h - - third_party/upb/upb/mini_descriptor/internal/decoder.h - - third_party/upb/upb/mini_descriptor/internal/encode.h - - third_party/upb/upb/mini_descriptor/internal/encode.hpp - - third_party/upb/upb/mini_descriptor/internal/modifiers.h - - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - - third_party/upb/upb/mini_descriptor/link.h - third_party/upb/upb/reflection/common.h - third_party/upb/upb/reflection/def.h - third_party/upb/upb/reflection/def.hpp @@ -3347,11 +3314,6 @@ libs: - third_party/upb/upb/reflection/method_def.h - third_party/upb/upb/reflection/oneof_def.h - third_party/upb/upb/reflection/service_def.h - - third_party/upb/upb/wire/decode.h - - third_party/upb/upb/wire/encode.h - - third_party/upb/upb/wire/internal/constants.h - - third_party/upb/upb/wire/internal/decode_fast.h - - third_party/upb/upb/wire/internal/decoder.h src: - third_party/upb/upb/json/decode.c - third_party/upb/upb/json/encode.c @@ -3360,11 +3322,6 @@ libs: - third_party/upb/upb/lex/strtod.c - third_party/upb/upb/lex/unicode.c - third_party/upb/upb/message/copy.c - - third_party/upb/upb/mini_descriptor/build_enum.c - - third_party/upb/upb/mini_descriptor/decode.c - - third_party/upb/upb/mini_descriptor/internal/base92.c - - third_party/upb/upb/mini_descriptor/internal/encode.c - - third_party/upb/upb/mini_descriptor/link.c - third_party/upb/upb/reflection/def_pool.c - third_party/upb/upb/reflection/def_type.c - third_party/upb/upb/reflection/desc_state.c @@ -3382,12 +3339,9 @@ libs: - third_party/upb/upb/reflection/method_def.c - third_party/upb/upb/reflection/oneof_def.c - third_party/upb/upb/reflection/service_def.c - - third_party/upb/upb/wire/decode.c - - third_party/upb/upb/wire/encode.c - - third_party/upb/upb/wire/internal/decode_fast.c deps: - - utf8_range_lib - - upb_message_lib + - upb_mini_descriptor_lib + - upb_wire_lib - name: upb_mem_lib build: all language: c @@ -3470,16 +3424,18 @@ libs: deps: - upb_base_lib - upb_mem_lib -- name: upb_textformat_lib +- name: upb_mini_descriptor_lib build: all language: c public_headers: [] headers: - - third_party/upb/upb/lex/atoi.h - - third_party/upb/upb/lex/round_trip.h - - third_party/upb/upb/lex/strtod.h - - third_party/upb/upb/lex/unicode.h - - third_party/upb/upb/message/copy.h + - third_party/upb/upb/base/internal/endian.h + - third_party/upb/upb/base/internal/log2.h + - third_party/upb/upb/hash/common.h + - third_party/upb/upb/hash/int_table.h + - third_party/upb/upb/hash/str_table.h + - third_party/upb/upb/message/internal/map_entry.h + - third_party/upb/upb/message/internal/types.h - third_party/upb/upb/mini_descriptor/build_enum.h - third_party/upb/upb/mini_descriptor/decode.h - third_party/upb/upb/mini_descriptor/internal/base92.h @@ -3489,6 +3445,43 @@ libs: - third_party/upb/upb/mini_descriptor/internal/modifiers.h - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - third_party/upb/upb/mini_descriptor/link.h + - third_party/upb/upb/mini_table/enum.h + - third_party/upb/upb/mini_table/extension.h + - third_party/upb/upb/mini_table/extension_registry.h + - third_party/upb/upb/mini_table/field.h + - third_party/upb/upb/mini_table/file.h + - third_party/upb/upb/mini_table/internal/enum.h + - third_party/upb/upb/mini_table/internal/extension.h + - third_party/upb/upb/mini_table/internal/field.h + - third_party/upb/upb/mini_table/internal/file.h + - third_party/upb/upb/mini_table/internal/message.h + - third_party/upb/upb/mini_table/internal/size_log2.h + - third_party/upb/upb/mini_table/internal/sub.h + - third_party/upb/upb/mini_table/message.h + - third_party/upb/upb/mini_table/sub.h + src: + - third_party/upb/upb/hash/common.c + - third_party/upb/upb/mini_descriptor/build_enum.c + - third_party/upb/upb/mini_descriptor/decode.c + - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c + - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/mini_table/extension_registry.c + - third_party/upb/upb/mini_table/internal/message.c + - third_party/upb/upb/mini_table/message.c + deps: + - upb_base_lib + - upb_mem_lib +- name: upb_textformat_lib + build: all + language: c + public_headers: [] + headers: + - third_party/upb/upb/lex/atoi.h + - third_party/upb/upb/lex/round_trip.h + - third_party/upb/upb/lex/strtod.h + - third_party/upb/upb/lex/unicode.h + - third_party/upb/upb/message/copy.h - third_party/upb/upb/reflection/common.h - third_party/upb/upb/reflection/def.h - third_party/upb/upb/reflection/def.hpp @@ -3524,22 +3517,12 @@ libs: - third_party/upb/upb/reflection/oneof_def.h - third_party/upb/upb/reflection/service_def.h - third_party/upb/upb/text/encode.h - - third_party/upb/upb/wire/decode.h - - third_party/upb/upb/wire/encode.h - - third_party/upb/upb/wire/internal/constants.h - - third_party/upb/upb/wire/internal/decode_fast.h - - third_party/upb/upb/wire/internal/decoder.h src: - third_party/upb/upb/lex/atoi.c - third_party/upb/upb/lex/round_trip.c - third_party/upb/upb/lex/strtod.c - third_party/upb/upb/lex/unicode.c - third_party/upb/upb/message/copy.c - - third_party/upb/upb/mini_descriptor/build_enum.c - - third_party/upb/upb/mini_descriptor/decode.c - - third_party/upb/upb/mini_descriptor/internal/base92.c - - third_party/upb/upb/mini_descriptor/internal/encode.c - - third_party/upb/upb/mini_descriptor/link.c - third_party/upb/upb/reflection/def_pool.c - third_party/upb/upb/reflection/def_type.c - third_party/upb/upb/reflection/desc_state.c @@ -3558,6 +3541,20 @@ libs: - third_party/upb/upb/reflection/oneof_def.c - third_party/upb/upb/reflection/service_def.c - third_party/upb/upb/text/encode.c + deps: + - upb_mini_descriptor_lib + - upb_wire_lib +- name: upb_wire_lib + build: all + language: c + public_headers: [] + headers: + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode_fast.h + - third_party/upb/upb/wire/internal/decoder.h + src: - third_party/upb/upb/wire/decode.c - third_party/upb/upb/wire/encode.c - third_party/upb/upb/wire/internal/decode_fast.c @@ -4691,7 +4688,6 @@ libs: - src/core/lib/slice/slice_internal.h - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h - - src/core/lib/surface/api_trace.h - src/core/lib/surface/call.h - src/core/lib/surface/call_test_only.h - src/core/lib/surface/call_utils.h @@ -4759,22 +4755,9 @@ libs: - src/core/util/json/json_reader.h - src/core/util/json/json_writer.h - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - src/core/util/spinlock.h - third_party/upb/upb/generated_code_support.h - - third_party/upb/upb/mini_descriptor/build_enum.h - - third_party/upb/upb/mini_descriptor/decode.h - - third_party/upb/upb/mini_descriptor/internal/base92.h - - third_party/upb/upb/mini_descriptor/internal/decoder.h - - third_party/upb/upb/mini_descriptor/internal/encode.h - - third_party/upb/upb/mini_descriptor/internal/encode.hpp - - third_party/upb/upb/mini_descriptor/internal/modifiers.h - - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/wire/decode.h - - third_party/upb/upb/wire/encode.h - - third_party/upb/upb/wire/internal/constants.h - - third_party/upb/upb/wire/internal/decode_fast.h - - third_party/upb/upb/wire/internal/decoder.h src: - src/core/channelz/channel_trace.cc - src/core/channelz/channelz.cc @@ -5041,17 +5024,9 @@ libs: - src/core/util/json/json_reader.cc - src/core/util/json/json_writer.cc - src/core/util/latent_see.cc - - third_party/upb/upb/mini_descriptor/build_enum.c - - third_party/upb/upb/mini_descriptor/decode.c - - third_party/upb/upb/mini_descriptor/internal/base92.c - - third_party/upb/upb/mini_descriptor/internal/encode.c - - third_party/upb/upb/mini_descriptor/link.c - - third_party/upb/upb/wire/decode.c - - third_party/upb/upb/wire/encode.c - - third_party/upb/upb/wire/internal/decode_fast.c deps: - - utf8_range_lib - - upb_message_lib + - upb_mini_descriptor_lib + - upb_wire_lib - re2 - z - absl/base:config @@ -5143,185 +5118,6 @@ libs: - grpc++ - opentelemetry-cpp::api targets: -- name: bm_call_spine - build: test - language: c - headers: - - test/core/transport/call_spine_benchmarks.h - src: - - test/core/transport/bm_call_spine.cc - deps: - - benchmark - - grpc - args: - - --benchmark_min_time=0.001s - benchmark: true - defaults: benchmark - platforms: - - linux - - posix - uses_polling: false -- name: bm_chaotic_good - build: test - language: c - headers: - - src/core/ext/transport/chaotic_good/chaotic_good_transport.h - - src/core/ext/transport/chaotic_good/client_transport.h - - src/core/ext/transport/chaotic_good/frame.h - - src/core/ext/transport/chaotic_good/frame_header.h - - src/core/ext/transport/chaotic_good/server_transport.h - - src/core/lib/promise/event_engine_wakeup_scheduler.h - - src/core/lib/promise/inter_activity_latch.h - - src/core/lib/promise/inter_activity_pipe.h - - src/core/lib/promise/mpsc.h - - src/core/lib/promise/switch.h - - src/core/lib/promise/wait_set.h - - src/core/lib/transport/promise_endpoint.h - - test/core/test_util/passthrough_endpoint.h - - test/core/transport/call_spine_benchmarks.h - src: - - src/core/ext/transport/chaotic_good/client_transport.cc - - src/core/ext/transport/chaotic_good/frame.cc - - src/core/ext/transport/chaotic_good/frame_header.cc - - src/core/ext/transport/chaotic_good/server_transport.cc - - src/core/lib/transport/promise_endpoint.cc - - test/core/test_util/passthrough_endpoint.cc - - test/core/transport/benchmarks/bm_chaotic_good.cc - deps: - - benchmark - - grpc - args: - - --benchmark_min_time=0.001s - benchmark: true - defaults: benchmark - platforms: - - linux - - posix - uses_polling: false -- name: bm_client_call - build: test - language: c - headers: [] - src: - - test/core/call/bm_client_call.cc - deps: - - benchmark - - grpc - args: - - --benchmark_min_time=0.001s - benchmark: true - defaults: benchmark - platforms: - - linux - - posix - uses_polling: false -- name: bm_client_channel - build: test - language: c - headers: - - test/core/transport/call_spine_benchmarks.h - src: - - test/core/client_channel/bm_client_channel.cc - deps: - - benchmark - - grpc - args: - - --benchmark_min_time=0.001s - benchmark: true - defaults: benchmark - platforms: - - linux - - posix - uses_polling: false -- name: bm_experiments - build: test - language: c - headers: [] - src: - - test/core/experiments/bm_experiments.cc - deps: - - benchmark - - grpc_test_util - args: - - --benchmark_min_time=0.001s - benchmark: true - defaults: benchmark - platforms: - - linux - - posix - uses_polling: false -- name: bm_http_client_filter - build: test - language: c - headers: - - test/core/transport/call_spine_benchmarks.h - src: - - test/core/filters/bm_http_client_filter.cc - deps: - - benchmark - - grpc - args: - - --benchmark_min_time=0.001s - benchmark: true - defaults: benchmark - platforms: - - linux - - posix - uses_polling: false -- name: bm_inproc - build: test - language: c - headers: - - src/core/ext/transport/chaotic_good/chaotic_good_transport.h - - src/core/ext/transport/chaotic_good/client_transport.h - - src/core/ext/transport/chaotic_good/frame.h - - src/core/ext/transport/chaotic_good/frame_header.h - - src/core/ext/transport/chaotic_good/server_transport.h - - src/core/lib/promise/event_engine_wakeup_scheduler.h - - src/core/lib/promise/inter_activity_latch.h - - src/core/lib/promise/inter_activity_pipe.h - - src/core/lib/promise/mpsc.h - - src/core/lib/promise/switch.h - - src/core/lib/promise/wait_set.h - - src/core/lib/transport/promise_endpoint.h - - test/core/test_util/passthrough_endpoint.h - - test/core/transport/call_spine_benchmarks.h - src: - - src/core/ext/transport/chaotic_good/client_transport.cc - - src/core/ext/transport/chaotic_good/frame.cc - - src/core/ext/transport/chaotic_good/frame_header.cc - - src/core/ext/transport/chaotic_good/server_transport.cc - - src/core/lib/transport/promise_endpoint.cc - - test/core/test_util/passthrough_endpoint.cc - - test/core/transport/benchmarks/bm_inproc.cc - deps: - - benchmark - - grpc - args: - - --benchmark_min_time=0.001s - benchmark: true - defaults: benchmark - platforms: - - linux - - posix - uses_polling: false -- name: bm_party - build: test - language: c - headers: [] - src: - - test/core/promise/bm_party.cc - deps: - - benchmark - - grpc - args: - - --benchmark_min_time=0.001s - benchmark: true - defaults: benchmark - platforms: - - linux - - posix - uses_polling: false - name: fd_conservation_posix_test build: test language: c @@ -5373,27 +5169,6 @@ targets: - linux - posix - windows -- name: static_stride_scheduler_benchmark - build: test - language: c - headers: - - src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h - src: - - src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc - - test/core/load_balancing/static_stride_scheduler_benchmark.cc - deps: - - absl/algorithm:container - - absl/types:span - - benchmark - - gpr - args: - - --benchmark_min_time=0.001s - benchmark: true - defaults: benchmark - platforms: - - linux - - posix - uses_polling: false - name: test_core_iomgr_timer_list_test build: test language: c @@ -5455,6 +5230,7 @@ targets: - src/core/lib/promise/seq.h - src/core/lib/promise/wait_set.h - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - test/core/promise/test_wakeup_schedulers.h src: - src/core/lib/debug/trace.cc @@ -6669,7 +6445,6 @@ targets: - src/core/lib/slice/slice_internal.h - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h - - src/core/lib/surface/api_trace.h - src/core/lib/surface/channel_stack_type.h - src/core/lib/transport/call_filters.h - src/core/lib/transport/call_final_info.h @@ -6686,23 +6461,10 @@ targets: - src/core/lib/transport/status_conversion.h - src/core/lib/transport/timeout_encoding.h - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - src/core/util/spinlock.h - test/core/promise/poll_matcher.h - third_party/upb/upb/generated_code_support.h - - third_party/upb/upb/mini_descriptor/build_enum.h - - third_party/upb/upb/mini_descriptor/decode.h - - third_party/upb/upb/mini_descriptor/internal/base92.h - - third_party/upb/upb/mini_descriptor/internal/decoder.h - - third_party/upb/upb/mini_descriptor/internal/encode.h - - third_party/upb/upb/mini_descriptor/internal/encode.hpp - - third_party/upb/upb/mini_descriptor/internal/modifiers.h - - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/wire/decode.h - - third_party/upb/upb/wire/encode.h - - third_party/upb/upb/wire/internal/constants.h - - third_party/upb/upb/wire/internal/decode_fast.h - - third_party/upb/upb/wire/internal/decoder.h src: - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c @@ -6749,18 +6511,10 @@ targets: - src/core/lib/transport/timeout_encoding.cc - src/core/util/latent_see.cc - test/core/transport/call_filters_test.cc - - third_party/upb/upb/mini_descriptor/build_enum.c - - third_party/upb/upb/mini_descriptor/decode.c - - third_party/upb/upb/mini_descriptor/internal/base92.c - - third_party/upb/upb/mini_descriptor/internal/encode.c - - third_party/upb/upb/mini_descriptor/link.c - - third_party/upb/upb/wire/decode.c - - third_party/upb/upb/wire/encode.c - - third_party/upb/upb/wire/internal/decode_fast.c deps: - gtest - - utf8_range_lib - - upb_message_lib + - upb_mini_descriptor_lib + - upb_wire_lib - absl/base:config - absl/base:no_destructor - absl/container:flat_hash_map @@ -6895,6 +6649,7 @@ targets: - src/core/lib/promise/status_flag.h - src/core/lib/transport/call_state.h - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - test/core/promise/poll_matcher.h src: - src/core/lib/debug/trace.cc @@ -7176,7 +6931,6 @@ targets: - src/core/lib/slice/slice_internal.h - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h - - src/core/lib/surface/api_trace.h - src/core/lib/surface/call.h - src/core/lib/surface/call_test_only.h - src/core/lib/surface/call_utils.h @@ -7240,22 +6994,9 @@ targets: - src/core/util/json/json_args.h - src/core/util/json/json_writer.h - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - src/core/util/spinlock.h - third_party/upb/upb/generated_code_support.h - - third_party/upb/upb/mini_descriptor/build_enum.h - - third_party/upb/upb/mini_descriptor/decode.h - - third_party/upb/upb/mini_descriptor/internal/base92.h - - third_party/upb/upb/mini_descriptor/internal/decoder.h - - third_party/upb/upb/mini_descriptor/internal/encode.h - - third_party/upb/upb/mini_descriptor/internal/encode.hpp - - third_party/upb/upb/mini_descriptor/internal/modifiers.h - - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/wire/decode.h - - third_party/upb/upb/wire/encode.h - - third_party/upb/upb/wire/internal/constants.h - - third_party/upb/upb/wire/internal/decode_fast.h - - third_party/upb/upb/wire/internal/decoder.h src: - src/core/channelz/channel_trace.cc - src/core/channelz/channelz.cc @@ -7492,18 +7233,10 @@ targets: - src/core/util/json/json_writer.cc - src/core/util/latent_see.cc - test/core/call/call_utils_test.cc - - third_party/upb/upb/mini_descriptor/build_enum.c - - third_party/upb/upb/mini_descriptor/decode.c - - third_party/upb/upb/mini_descriptor/internal/base92.c - - third_party/upb/upb/mini_descriptor/internal/encode.c - - third_party/upb/upb/mini_descriptor/link.c - - third_party/upb/upb/wire/decode.c - - third_party/upb/upb/wire/encode.c - - third_party/upb/upb/wire/internal/decode_fast.c deps: - gtest - - utf8_range_lib - - upb_message_lib + - upb_mini_descriptor_lib + - upb_wire_lib - z - absl/base:config - absl/base:no_destructor @@ -7915,22 +7648,9 @@ targets: - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - src/core/util/spinlock.h - - third_party/upb/upb/generated_code_support.h - - third_party/upb/upb/mini_descriptor/build_enum.h - - third_party/upb/upb/mini_descriptor/decode.h - - third_party/upb/upb/mini_descriptor/internal/base92.h - - third_party/upb/upb/mini_descriptor/internal/decoder.h - - third_party/upb/upb/mini_descriptor/internal/encode.h - - third_party/upb/upb/mini_descriptor/internal/encode.hpp - - third_party/upb/upb/mini_descriptor/internal/modifiers.h - - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/wire/decode.h - - third_party/upb/upb/wire/encode.h - - third_party/upb/upb/wire/internal/constants.h - - third_party/upb/upb/wire/internal/decode_fast.h - - third_party/upb/upb/wire/internal/decoder.h + - third_party/upb/upb/generated_code_support.h src: - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c @@ -7961,18 +7681,10 @@ targets: - src/core/lib/slice/slice_string_helpers.cc - src/core/util/latent_see.cc - test/core/promise/cancel_callback_test.cc - - third_party/upb/upb/mini_descriptor/build_enum.c - - third_party/upb/upb/mini_descriptor/decode.c - - third_party/upb/upb/mini_descriptor/internal/base92.c - - third_party/upb/upb/mini_descriptor/internal/encode.c - - third_party/upb/upb/mini_descriptor/link.c - - third_party/upb/upb/wire/decode.c - - third_party/upb/upb/wire/encode.c - - third_party/upb/upb/wire/internal/decode_fast.c deps: - gtest - - utf8_range_lib - - upb_message_lib + - upb_mini_descriptor_lib + - upb_wire_lib - absl/base:config - absl/container:flat_hash_map - absl/functional:function_ref @@ -8732,22 +8444,9 @@ targets: - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - src/core/util/spinlock.h - third_party/upb/upb/generated_code_support.h - - third_party/upb/upb/mini_descriptor/build_enum.h - - third_party/upb/upb/mini_descriptor/decode.h - - third_party/upb/upb/mini_descriptor/internal/base92.h - - third_party/upb/upb/mini_descriptor/internal/decoder.h - - third_party/upb/upb/mini_descriptor/internal/encode.h - - third_party/upb/upb/mini_descriptor/internal/encode.hpp - - third_party/upb/upb/mini_descriptor/internal/modifiers.h - - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/wire/decode.h - - third_party/upb/upb/wire/encode.h - - third_party/upb/upb/wire/internal/constants.h - - third_party/upb/upb/wire/internal/decode_fast.h - - third_party/upb/upb/wire/internal/decoder.h src: - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c @@ -8778,18 +8477,10 @@ targets: - src/core/lib/slice/slice_string_helpers.cc - src/core/util/latent_see.cc - test/core/gprpp/chunked_vector_test.cc - - third_party/upb/upb/mini_descriptor/build_enum.c - - third_party/upb/upb/mini_descriptor/decode.c - - third_party/upb/upb/mini_descriptor/internal/base92.c - - third_party/upb/upb/mini_descriptor/internal/encode.c - - third_party/upb/upb/mini_descriptor/link.c - - third_party/upb/upb/wire/decode.c - - third_party/upb/upb/wire/encode.c - - third_party/upb/upb/wire/internal/decode_fast.c deps: - gtest - - utf8_range_lib - - upb_message_lib + - upb_mini_descriptor_lib + - upb_wire_lib - absl/base:config - absl/container:flat_hash_map - absl/functional:function_ref @@ -10302,22 +9993,9 @@ targets: - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - src/core/util/spinlock.h - third_party/upb/upb/generated_code_support.h - - third_party/upb/upb/mini_descriptor/build_enum.h - - third_party/upb/upb/mini_descriptor/decode.h - - third_party/upb/upb/mini_descriptor/internal/base92.h - - third_party/upb/upb/mini_descriptor/internal/decoder.h - - third_party/upb/upb/mini_descriptor/internal/encode.h - - third_party/upb/upb/mini_descriptor/internal/encode.hpp - - third_party/upb/upb/mini_descriptor/internal/modifiers.h - - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/wire/decode.h - - third_party/upb/upb/wire/encode.h - - third_party/upb/upb/wire/internal/constants.h - - third_party/upb/upb/wire/internal/decode_fast.h - - third_party/upb/upb/wire/internal/decoder.h src: - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c @@ -10342,18 +10020,10 @@ targets: - src/core/lib/slice/slice_string_helpers.cc - src/core/util/latent_see.cc - test/core/promise/exec_ctx_wakeup_scheduler_test.cc - - third_party/upb/upb/mini_descriptor/build_enum.c - - third_party/upb/upb/mini_descriptor/decode.c - - third_party/upb/upb/mini_descriptor/internal/base92.c - - third_party/upb/upb/mini_descriptor/internal/encode.c - - third_party/upb/upb/mini_descriptor/link.c - - third_party/upb/upb/wire/decode.c - - third_party/upb/upb/wire/encode.c - - third_party/upb/upb/wire/internal/decode_fast.c deps: - gtest - - utf8_range_lib - - upb_message_lib + - upb_mini_descriptor_lib + - upb_wire_lib - absl/base:config - absl/container:flat_hash_map - absl/hash:hash @@ -10874,22 +10544,9 @@ targets: - src/core/lib/transport/bdp_estimator.h - src/core/lib/transport/http2_errors.h - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - src/core/util/spinlock.h - third_party/upb/upb/generated_code_support.h - - third_party/upb/upb/mini_descriptor/build_enum.h - - third_party/upb/upb/mini_descriptor/decode.h - - third_party/upb/upb/mini_descriptor/internal/base92.h - - third_party/upb/upb/mini_descriptor/internal/decoder.h - - third_party/upb/upb/mini_descriptor/internal/encode.h - - third_party/upb/upb/mini_descriptor/internal/encode.hpp - - third_party/upb/upb/mini_descriptor/internal/modifiers.h - - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/wire/decode.h - - third_party/upb/upb/wire/encode.h - - third_party/upb/upb/wire/internal/constants.h - - third_party/upb/upb/wire/internal/decode_fast.h - - third_party/upb/upb/wire/internal/decoder.h src: - src/core/ext/transport/chttp2/transport/flow_control.cc - src/core/ext/transport/chttp2/transport/frame.cc @@ -10924,18 +10581,10 @@ targets: - src/core/lib/transport/bdp_estimator.cc - src/core/util/latent_see.cc - test/core/transport/chttp2/flow_control_test.cc - - third_party/upb/upb/mini_descriptor/build_enum.c - - third_party/upb/upb/mini_descriptor/decode.c - - third_party/upb/upb/mini_descriptor/internal/base92.c - - third_party/upb/upb/mini_descriptor/internal/encode.c - - third_party/upb/upb/mini_descriptor/link.c - - third_party/upb/upb/wire/decode.c - - third_party/upb/upb/wire/encode.c - - third_party/upb/upb/wire/internal/decode_fast.c deps: - gtest - - utf8_range_lib - - upb_message_lib + - upb_mini_descriptor_lib + - upb_wire_lib - absl/base:config - absl/container:flat_hash_map - absl/functional:function_ref @@ -11012,23 +10661,10 @@ targets: - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - src/core/util/spinlock.h - test/core/promise/test_wakeup_schedulers.h - third_party/upb/upb/generated_code_support.h - - third_party/upb/upb/mini_descriptor/build_enum.h - - third_party/upb/upb/mini_descriptor/decode.h - - third_party/upb/upb/mini_descriptor/internal/base92.h - - third_party/upb/upb/mini_descriptor/internal/decoder.h - - third_party/upb/upb/mini_descriptor/internal/encode.h - - third_party/upb/upb/mini_descriptor/internal/encode.hpp - - third_party/upb/upb/mini_descriptor/internal/modifiers.h - - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/wire/decode.h - - third_party/upb/upb/wire/encode.h - - third_party/upb/upb/wire/internal/constants.h - - third_party/upb/upb/wire/internal/decode_fast.h - - third_party/upb/upb/wire/internal/decoder.h src: - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c @@ -11059,18 +10695,10 @@ targets: - src/core/lib/slice/slice_string_helpers.cc - src/core/util/latent_see.cc - test/core/promise/for_each_test.cc - - third_party/upb/upb/mini_descriptor/build_enum.c - - third_party/upb/upb/mini_descriptor/decode.c - - third_party/upb/upb/mini_descriptor/internal/base92.c - - third_party/upb/upb/mini_descriptor/internal/encode.c - - third_party/upb/upb/mini_descriptor/link.c - - third_party/upb/upb/wire/decode.c - - third_party/upb/upb/wire/encode.c - - third_party/upb/upb/wire/internal/decode_fast.c deps: - gtest - - utf8_range_lib - - upb_message_lib + - upb_mini_descriptor_lib + - upb_wire_lib - absl/base:config - absl/container:flat_hash_map - absl/functional:function_ref @@ -12618,6 +12246,7 @@ targets: - src/core/lib/promise/poll.h - src/core/lib/promise/seq.h - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - test/core/promise/test_wakeup_schedulers.h src: - src/core/lib/debug/trace.cc @@ -12708,23 +12337,10 @@ targets: - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - src/core/util/spinlock.h - test/core/promise/test_context.h - third_party/upb/upb/generated_code_support.h - - third_party/upb/upb/mini_descriptor/build_enum.h - - third_party/upb/upb/mini_descriptor/decode.h - - third_party/upb/upb/mini_descriptor/internal/base92.h - - third_party/upb/upb/mini_descriptor/internal/decoder.h - - third_party/upb/upb/mini_descriptor/internal/encode.h - - third_party/upb/upb/mini_descriptor/internal/encode.hpp - - third_party/upb/upb/mini_descriptor/internal/modifiers.h - - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/wire/decode.h - - third_party/upb/upb/wire/encode.h - - third_party/upb/upb/wire/internal/constants.h - - third_party/upb/upb/wire/internal/decode_fast.h - - third_party/upb/upb/wire/internal/decoder.h src: - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c @@ -12755,18 +12371,10 @@ targets: - src/core/lib/slice/slice_string_helpers.cc - src/core/util/latent_see.cc - test/core/promise/interceptor_list_test.cc - - third_party/upb/upb/mini_descriptor/build_enum.c - - third_party/upb/upb/mini_descriptor/decode.c - - third_party/upb/upb/mini_descriptor/internal/base92.c - - third_party/upb/upb/mini_descriptor/internal/encode.c - - third_party/upb/upb/mini_descriptor/link.c - - third_party/upb/upb/wire/decode.c - - third_party/upb/upb/wire/encode.c - - third_party/upb/upb/wire/internal/decode_fast.c deps: - gtest - - utf8_range_lib - - upb_message_lib + - upb_mini_descriptor_lib + - upb_wire_lib - absl/base:config - absl/container:flat_hash_map - absl/functional:function_ref @@ -13202,6 +12810,7 @@ targets: - src/core/lib/promise/poll.h - src/core/lib/promise/seq.h - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - test/core/promise/test_wakeup_schedulers.h src: - src/core/lib/debug/trace.cc @@ -13306,54 +12915,6 @@ targets: - gtest - grpc_test_util uses_polling: false -- name: local_security_connector_test - gtest: true - build: test - language: c++ - headers: - - test/core/test_util/cmdline.h - - test/core/test_util/evaluate_args_test_util.h - - test/core/test_util/fuzzer_util.h - - test/core/test_util/grpc_profiler.h - - test/core/test_util/histogram.h - - test/core/test_util/mock_endpoint.h - - test/core/test_util/parse_hexstring.h - - test/core/test_util/resolve_localhost_ip46.h - - test/core/test_util/slice_splitter.h - - test/core/test_util/tracer_util.h - src: - - test/core/security/local_security_connector_test.cc - - test/core/test_util/cmdline.cc - - test/core/test_util/fuzzer_util.cc - - test/core/test_util/grpc_profiler.cc - - test/core/test_util/histogram.cc - - test/core/test_util/mock_endpoint.cc - - test/core/test_util/parse_hexstring.cc - - test/core/test_util/resolve_localhost_ip46.cc - - test/core/test_util/slice_splitter.cc - - test/core/test_util/tracer_util.cc - deps: - - gtest - - grpc_test_util -- name: lock_free_event_test - gtest: true - build: test - language: c++ - headers: [] - src: - - test/core/event_engine/posix/lock_free_event_test.cc - deps: - - gtest - - benchmark - - grpc_test_util - args: - - --benchmark_min_time=0.001s - benchmark: true - defaults: benchmark - platforms: - - linux - - posix - uses_polling: false - name: log_too_many_open_files_test gtest: true build: test @@ -13464,23 +13025,10 @@ targets: - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - src/core/util/spinlock.h - test/core/promise/test_wakeup_schedulers.h - third_party/upb/upb/generated_code_support.h - - third_party/upb/upb/mini_descriptor/build_enum.h - - third_party/upb/upb/mini_descriptor/decode.h - - third_party/upb/upb/mini_descriptor/internal/base92.h - - third_party/upb/upb/mini_descriptor/internal/decoder.h - - third_party/upb/upb/mini_descriptor/internal/encode.h - - third_party/upb/upb/mini_descriptor/internal/encode.hpp - - third_party/upb/upb/mini_descriptor/internal/modifiers.h - - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/wire/decode.h - - third_party/upb/upb/wire/encode.h - - third_party/upb/upb/wire/internal/constants.h - - third_party/upb/upb/wire/internal/decode_fast.h - - third_party/upb/upb/wire/internal/decoder.h src: - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c @@ -13511,18 +13059,10 @@ targets: - src/core/lib/slice/slice_string_helpers.cc - src/core/util/latent_see.cc - test/core/promise/map_pipe_test.cc - - third_party/upb/upb/mini_descriptor/build_enum.c - - third_party/upb/upb/mini_descriptor/decode.c - - third_party/upb/upb/mini_descriptor/internal/base92.c - - third_party/upb/upb/mini_descriptor/internal/encode.c - - third_party/upb/upb/mini_descriptor/link.c - - third_party/upb/upb/wire/decode.c - - third_party/upb/upb/wire/encode.c - - third_party/upb/upb/wire/internal/decode_fast.c deps: - gtest - - utf8_range_lib - - upb_message_lib + - upb_mini_descriptor_lib + - upb_wire_lib - absl/base:config - absl/container:flat_hash_map - absl/functional:function_ref @@ -13572,18 +13112,6 @@ targets: deps: - gtest - grpc_test_util -- name: max_concurrent_streams_policy_test - gtest: true - build: test - language: c++ - headers: - - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h - src: - - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc - - test/core/transport/chttp2/max_concurrent_streams_policy_test.cc - deps: - - gtest - - gpr - name: max_concurrent_streams_test gtest: true build: test @@ -14040,6 +13568,7 @@ targets: - src/core/lib/promise/promise.h - src/core/lib/promise/wait_set.h - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - test/core/promise/poll_matcher.h src: - src/core/lib/debug/trace.cc @@ -14353,6 +13882,7 @@ targets: - src/core/lib/promise/observable.h - src/core/lib/promise/poll.h - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - test/core/promise/poll_matcher.h src: - src/core/lib/debug/trace.cc @@ -14691,6 +14221,7 @@ targets: - src/core/lib/gprpp/bitset.h - src/core/lib/gprpp/glob.h - src/core/lib/gprpp/manual_constructor.h + - src/core/lib/gprpp/per_cpu.h - src/core/lib/gprpp/status_helper.h - src/core/lib/gprpp/time.h - src/core/lib/iomgr/closure.h @@ -14705,22 +14236,10 @@ targets: - src/core/lib/slice/slice_internal.h - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h + - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - src/core/util/spinlock.h - third_party/upb/upb/generated_code_support.h - - third_party/upb/upb/mini_descriptor/build_enum.h - - third_party/upb/upb/mini_descriptor/decode.h - - third_party/upb/upb/mini_descriptor/internal/base92.h - - third_party/upb/upb/mini_descriptor/internal/decoder.h - - third_party/upb/upb/mini_descriptor/internal/encode.h - - third_party/upb/upb/mini_descriptor/internal/encode.hpp - - third_party/upb/upb/mini_descriptor/internal/modifiers.h - - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/wire/decode.h - - third_party/upb/upb/wire/encode.h - - third_party/upb/upb/wire/internal/constants.h - - third_party/upb/upb/wire/internal/decode_fast.h - - third_party/upb/upb/wire/internal/decoder.h src: - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c @@ -14729,6 +14248,7 @@ targets: - src/core/lib/experiments/config.cc - src/core/lib/experiments/experiments.cc - src/core/lib/gprpp/glob.cc + - src/core/lib/gprpp/per_cpu.cc - src/core/lib/gprpp/status_helper.cc - src/core/lib/gprpp/time.cc - src/core/lib/iomgr/closure.cc @@ -14741,19 +14261,12 @@ targets: - src/core/lib/slice/percent_encoding.cc - src/core/lib/slice/slice.cc - src/core/lib/slice/slice_string_helpers.cc + - src/core/util/latent_see.cc - test/core/resource_quota/periodic_update_test.cc - - third_party/upb/upb/mini_descriptor/build_enum.c - - third_party/upb/upb/mini_descriptor/decode.c - - third_party/upb/upb/mini_descriptor/internal/base92.c - - third_party/upb/upb/mini_descriptor/internal/encode.c - - third_party/upb/upb/mini_descriptor/link.c - - third_party/upb/upb/wire/decode.c - - third_party/upb/upb/wire/encode.c - - third_party/upb/upb/wire/internal/decode_fast.c deps: - gtest - - utf8_range_lib - - upb_message_lib + - upb_mini_descriptor_lib + - upb_wire_lib - absl/container:flat_hash_map - absl/functional:function_ref - absl/hash:hash @@ -15290,6 +14803,7 @@ targets: - src/core/lib/promise/promise_mutex.h - src/core/lib/promise/seq.h - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - test/core/promise/test_wakeup_schedulers.h src: - src/core/lib/debug/trace.cc @@ -18262,6 +17776,17 @@ targets: - grpc_authorization_provider - grpc_unsecure - grpc_test_util +- name: ring_buffer_test + gtest: true + build: test + language: c++ + headers: + - src/core/util/ring_buffer.h + src: + - test/core/util/ring_buffer_test.cc + deps: + - gtest + uses_polling: false - name: ring_hash_test gtest: true build: test @@ -20968,6 +20493,19 @@ targets: - absl/status:statusor - gpr uses_polling: false +- name: unique_ptr_with_bitset_test + gtest: true + build: test + language: c++ + headers: + - src/core/util/unique_ptr_with_bitset.h + src: + - test/core/util/unique_ptr_with_bitset_test.cc + deps: + - gtest + - absl/log:check + - absl/numeric:bits + uses_polling: false - name: unique_type_name_test gtest: true build: test @@ -21079,6 +20617,7 @@ targets: - src/core/lib/promise/poll.h - src/core/lib/promise/wait_for_callback.h - src/core/util/latent_see.h + - src/core/util/ring_buffer.h - test/core/promise/test_wakeup_schedulers.h src: - src/core/lib/debug/trace.cc @@ -21769,7 +21308,8 @@ targets: gtest: true build: test language: c++ - headers: [] + headers: + - test/core/test_util/scoped_env_var.h src: - src/proto/grpc/testing/xds/v3/address.proto - src/proto/grpc/testing/xds/v3/aggregate_cluster.proto @@ -21864,6 +21404,7 @@ targets: build: test language: c++ headers: + - test/core/test_util/scoped_env_var.h - test/cpp/util/cli_call.h - test/cpp/util/cli_credentials.h - test/cpp/util/config_grpc_cli.h @@ -22353,6 +21894,7 @@ targets: build: test language: c++ headers: + - test/core/test_util/scoped_env_var.h - test/cpp/util/cli_call.h - test/cpp/util/cli_credentials.h - test/cpp/util/config_grpc_cli.h @@ -22917,12 +22459,12 @@ targets: - mac external_proto_libraries: - destination: third_party/envoy-api - hash: 1ee20b3041a4f093cc393448ab022f770e70b509c8fe8399d6e83017067b2fc3 + hash: e525a6fb6e6ed3eef1eec6bef3da9b5708e471f0f9335a7604df14a4b386231e proto_prefix: third_party/envoy-api/ - strip_prefix: data-plane-api-091cfd044258312a56c632ae1860813b1c0c58bc + strip_prefix: data-plane-api-f8b75d1efa92bbf534596a013d9ca5873f79dd30 urls: - - https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/091cfd044258312a56c632ae1860813b1c0c58bc.tar.gz - - https://github.com/envoyproxy/data-plane-api/archive/091cfd044258312a56c632ae1860813b1c0c58bc.tar.gz + - https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/f8b75d1efa92bbf534596a013d9ca5873f79dd30.tar.gz + - https://github.com/envoyproxy/data-plane-api/archive/f8b75d1efa92bbf534596a013d9ca5873f79dd30.tar.gz - destination: third_party/googleapis hash: 5bb6b0253ccf64b53d6c7249625a7e3f6c3bc6402abd52d3778bfa48258703a0 proto_prefix: third_party/googleapis/ diff --git a/tools/run_tests/generated/tests.json b/tools/run_tests/generated/tests.json index 4f914307028b9..d4d8594268463 100644 --- a/tools/run_tests/generated/tests.json +++ b/tools/run_tests/generated/tests.json @@ -1,182 +1,6 @@ [ - { - "args": [ - "--benchmark_min_time=0.001s" - ], - "benchmark": true, - "ci_platforms": [ - "linux", - "posix" - ], - "cpu_cost": 1.0, - "exclude_configs": [], - "exclude_iomgrs": [], - "flaky": false, - "gtest": false, - "language": "c", - "name": "bm_call_spine", - "platforms": [ - "linux", - "posix" - ], - "uses_polling": false - }, - { - "args": [ - "--benchmark_min_time=0.001s" - ], - "benchmark": true, - "ci_platforms": [ - "linux", - "posix" - ], - "cpu_cost": 1.0, - "exclude_configs": [], - "exclude_iomgrs": [], - "flaky": false, - "gtest": false, - "language": "c", - "name": "bm_chaotic_good", - "platforms": [ - "linux", - "posix" - ], - "uses_polling": false - }, - { - "args": [ - "--benchmark_min_time=0.001s" - ], - "benchmark": true, - "ci_platforms": [ - "linux", - "posix" - ], - "cpu_cost": 1.0, - "exclude_configs": [], - "exclude_iomgrs": [], - "flaky": false, - "gtest": false, - "language": "c", - "name": "bm_client_call", - "platforms": [ - "linux", - "posix" - ], - "uses_polling": false - }, - { - "args": [ - "--benchmark_min_time=0.001s" - ], - "benchmark": true, - "ci_platforms": [ - "linux", - "posix" - ], - "cpu_cost": 1.0, - "exclude_configs": [], - "exclude_iomgrs": [], - "flaky": false, - "gtest": false, - "language": "c", - "name": "bm_client_channel", - "platforms": [ - "linux", - "posix" - ], - "uses_polling": false - }, - { - "args": [ - "--benchmark_min_time=0.001s" - ], - "benchmark": true, - "ci_platforms": [ - "linux", - "posix" - ], - "cpu_cost": 1.0, - "exclude_configs": [], - "exclude_iomgrs": [], - "flaky": false, - "gtest": false, - "language": "c", - "name": "bm_experiments", - "platforms": [ - "linux", - "posix" - ], - "uses_polling": false - }, - { - "args": [ - "--benchmark_min_time=0.001s" - ], - "benchmark": true, - "ci_platforms": [ - "linux", - "posix" - ], - "cpu_cost": 1.0, - "exclude_configs": [], - "exclude_iomgrs": [], - "flaky": false, - "gtest": false, - "language": "c", - "name": "bm_http_client_filter", - "platforms": [ - "linux", - "posix" - ], - "uses_polling": false - }, - { - "args": [ - "--benchmark_min_time=0.001s" - ], - "benchmark": true, - "ci_platforms": [ - "linux", - "posix" - ], - "cpu_cost": 1.0, - "exclude_configs": [], - "exclude_iomgrs": [], - "flaky": false, - "gtest": false, - "language": "c", - "name": "bm_inproc", - "platforms": [ - "linux", - "posix" - ], - "uses_polling": false - }, - { - "args": [ - "--benchmark_min_time=0.001s" - ], - "benchmark": true, - "ci_platforms": [ - "linux", - "posix" - ], - "cpu_cost": 1.0, - "exclude_configs": [], - "exclude_iomgrs": [], - "flaky": false, - "gtest": false, - "language": "c", - "name": "bm_party", - "platforms": [ - "linux", - "posix" - ], - "uses_polling": false - }, { "args": [], "benchmark": false, @@ -245,28 +69,6 @@ ], "uses_polling": true }, - { - "args": [ - "--benchmark_min_time=0.001s" - ], - "benchmark": true, - "ci_platforms": [ - "linux", - "posix" - ], - "cpu_cost": 1.0, - "exclude_configs": [], - "exclude_iomgrs": [], - "flaky": false, - "gtest": false, - "language": "c", - "name": "static_stride_scheduler_benchmark", - "platforms": [ - "linux", - "posix" - ], - "uses_polling": false - }, { "args": [], "benchmark": false, @@ -5929,52 +5731,6 @@ ], "uses_polling": false }, - { - "args": [], - "benchmark": false, - "ci_platforms": [ - "linux", - "mac", - "posix", - "windows" - ], - "cpu_cost": 1.0, - "exclude_configs": [], - "exclude_iomgrs": [], - "flaky": false, - "gtest": true, - "language": "c++", - "name": "local_security_connector_test", - "platforms": [ - "linux", - "mac", - "posix", - "windows" - ], - "uses_polling": true - }, - { - "args": [ - "--benchmark_min_time=0.001s" - ], - "benchmark": true, - "ci_platforms": [ - "linux", - "posix" - ], - "cpu_cost": 1.0, - "exclude_configs": [], - "exclude_iomgrs": [], - "flaky": false, - "gtest": true, - "language": "c++", - "name": "lock_free_event_test", - "platforms": [ - "linux", - "posix" - ], - "uses_polling": false - }, { "args": [], "benchmark": false, @@ -6093,30 +5849,6 @@ ], "uses_polling": true }, - { - "args": [], - "benchmark": false, - "ci_platforms": [ - "linux", - "mac", - "posix", - "windows" - ], - "cpu_cost": 1.0, - "exclude_configs": [], - "exclude_iomgrs": [], - "flaky": false, - "gtest": true, - "language": "c++", - "name": "max_concurrent_streams_policy_test", - "platforms": [ - "linux", - "mac", - "posix", - "windows" - ], - "uses_polling": true - }, { "args": [], "benchmark": false, @@ -9041,6 +8773,30 @@ ], "uses_polling": true }, + { + "args": [], + "benchmark": false, + "ci_platforms": [ + "linux", + "mac", + "posix", + "windows" + ], + "cpu_cost": 1.0, + "exclude_configs": [], + "exclude_iomgrs": [], + "flaky": false, + "gtest": true, + "language": "c++", + "name": "ring_buffer_test", + "platforms": [ + "linux", + "mac", + "posix", + "windows" + ], + "uses_polling": false + }, { "args": [], "benchmark": false, @@ -11663,6 +11419,30 @@ ], "uses_polling": false }, + { + "args": [], + "benchmark": false, + "ci_platforms": [ + "linux", + "mac", + "posix", + "windows" + ], + "cpu_cost": 1.0, + "exclude_configs": [], + "exclude_iomgrs": [], + "flaky": false, + "gtest": true, + "language": "c++", + "name": "unique_ptr_with_bitset_test", + "platforms": [ + "linux", + "mac", + "posix", + "windows" + ], + "uses_polling": false + }, { "args": [], "benchmark": false, From 2ffe8f2f7dcdaa25544a97f61f9221f804717c05 Mon Sep 17 00:00:00 2001 From: Andrey Ermolov Date: Thu, 8 Aug 2024 23:05:55 +0000 Subject: [PATCH 5/6] Style fix --- CMakeLists.txt | 52 ++++++++++++++++++++++++++++ build_autogenerated.yaml | 48 +++++++++++++++++++++++++ tools/run_tests/generated/tests.json | 46 ++++++++++++++++++++++++ 3 files changed, 146 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index da48ca9f836af..1e37f381e2087 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1215,6 +1215,7 @@ if(gRPC_BUILD_TESTS) endif() add_dependencies(buildtests_cxx load_config_test) add_dependencies(buildtests_cxx load_file_test) + add_dependencies(buildtests_cxx local_security_connector_test) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_dependencies(buildtests_cxx log_too_many_open_files_test) endif() @@ -19550,6 +19551,57 @@ target_link_libraries(load_file_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(local_security_connector_test + test/core/security/local_security_connector_test.cc + test/core/test_util/cmdline.cc + test/core/test_util/fuzzer_util.cc + test/core/test_util/grpc_profiler.cc + test/core/test_util/histogram.cc + test/core/test_util/mock_endpoint.cc + test/core/test_util/parse_hexstring.cc + test/core/test_util/resolve_localhost_ip46.cc + test/core/test_util/slice_splitter.cc + test/core/test_util/tracer_util.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(local_security_connector_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(local_security_connector_test PUBLIC cxx_std_14) +target_include_directories(local_security_connector_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(local_security_connector_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + grpc_test_util +) + + endif() if(gRPC_BUILD_TESTS) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) diff --git a/build_autogenerated.yaml b/build_autogenerated.yaml index b95f89cafd6db..dd56cb0f9d76b 100644 --- a/build_autogenerated.yaml +++ b/build_autogenerated.yaml @@ -12915,6 +12915,54 @@ targets: - gtest - grpc_test_util uses_polling: false +- name: local_security_connector_test + gtest: true + build: test + language: c++ + headers: + - test/core/test_util/cmdline.h + - test/core/test_util/evaluate_args_test_util.h + - test/core/test_util/fuzzer_util.h + - test/core/test_util/grpc_profiler.h + - test/core/test_util/histogram.h + - test/core/test_util/mock_endpoint.h + - test/core/test_util/parse_hexstring.h + - test/core/test_util/resolve_localhost_ip46.h + - test/core/test_util/slice_splitter.h + - test/core/test_util/tracer_util.h + src: + - test/core/security/local_security_connector_test.cc + - test/core/test_util/cmdline.cc + - test/core/test_util/fuzzer_util.cc + - test/core/test_util/grpc_profiler.cc + - test/core/test_util/histogram.cc + - test/core/test_util/mock_endpoint.cc + - test/core/test_util/parse_hexstring.cc + - test/core/test_util/resolve_localhost_ip46.cc + - test/core/test_util/slice_splitter.cc + - test/core/test_util/tracer_util.cc + deps: + - gtest + - grpc_test_util +- name: lock_free_event_test + gtest: true + build: test + language: c++ + headers: [] + src: + - test/core/event_engine/posix/lock_free_event_test.cc + deps: + - gtest + - benchmark + - grpc_test_util + args: + - --benchmark_min_time=0.001s + benchmark: true + defaults: benchmark + platforms: + - linux + - posix + uses_polling: false - name: log_too_many_open_files_test gtest: true build: test diff --git a/tools/run_tests/generated/tests.json b/tools/run_tests/generated/tests.json index d4d8594268463..be0c6d819aed5 100644 --- a/tools/run_tests/generated/tests.json +++ b/tools/run_tests/generated/tests.json @@ -5731,6 +5731,52 @@ ], "uses_polling": false }, + { + "args": [], + "benchmark": false, + "ci_platforms": [ + "linux", + "mac", + "posix", + "windows" + ], + "cpu_cost": 1.0, + "exclude_configs": [], + "exclude_iomgrs": [], + "flaky": false, + "gtest": true, + "language": "c++", + "name": "local_security_connector_test", + "platforms": [ + "linux", + "mac", + "posix", + "windows" + ], + "uses_polling": true + }, + { + "args": [ + "--benchmark_min_time=0.001s" + ], + "benchmark": true, + "ci_platforms": [ + "linux", + "posix" + ], + "cpu_cost": 1.0, + "exclude_configs": [], + "exclude_iomgrs": [], + "flaky": false, + "gtest": true, + "language": "c++", + "name": "lock_free_event_test", + "platforms": [ + "linux", + "posix" + ], + "uses_polling": false + }, { "args": [], "benchmark": false, From 0ac30ea5216e65d06c267f8882a0e18bd7ba9370 Mon Sep 17 00:00:00 2001 From: erm-g <110920239+erm-g@users.noreply.github.com> Date: Thu, 8 Aug 2024 23:28:06 +0000 Subject: [PATCH 6/6] Automated change: Fix sanity tests --- CMakeLists.txt | 869 ++++++++++++++++++++------- build_autogenerated.yaml | 700 ++++++++++++++++----- tools/run_tests/generated/tests.json | 270 +++++++-- 3 files changed, 1417 insertions(+), 422 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1e37f381e2087..00f7233800b1e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,11 +25,11 @@ cmake_minimum_required(VERSION 3.13) set(PACKAGE_NAME "grpc") -set(PACKAGE_VERSION "1.67.0-dev") -set(gRPC_CORE_VERSION "43.0.0") -set(gRPC_CORE_SOVERSION "43") -set(gRPC_CPP_VERSION "1.67.0-dev") -set(gRPC_CPP_SOVERSION "1.67") +set(PACKAGE_VERSION "1.66.0-dev") +set(gRPC_CORE_VERSION "42.0.0") +set(gRPC_CORE_SOVERSION "42") +set(gRPC_CPP_VERSION "1.66.0-dev") +set(gRPC_CPP_SOVERSION "1.66") set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") set(PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}") set(PACKAGE_BUGREPORT "https://github.com/grpc/grpc/issues/") @@ -397,18 +397,18 @@ if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/envoy-api AND gRPC_DOWNLO # Download the archive via HTTP, validate the checksum, and extract to third_party/envoy-api. download_archive( ${CMAKE_CURRENT_SOURCE_DIR}/third_party/envoy-api - https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/f8b75d1efa92bbf534596a013d9ca5873f79dd30.tar.gz - e525a6fb6e6ed3eef1eec6bef3da9b5708e471f0f9335a7604df14a4b386231e - data-plane-api-f8b75d1efa92bbf534596a013d9ca5873f79dd30 + https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/091cfd044258312a56c632ae1860813b1c0c58bc.tar.gz + 1ee20b3041a4f093cc393448ab022f770e70b509c8fe8399d6e83017067b2fc3 + data-plane-api-091cfd044258312a56c632ae1860813b1c0c58bc ) endif() if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/envoy-api AND gRPC_DOWNLOAD_ARCHIVES) # Download the archive via HTTP, validate the checksum, and extract to third_party/envoy-api. download_archive( ${CMAKE_CURRENT_SOURCE_DIR}/third_party/envoy-api - https://github.com/envoyproxy/data-plane-api/archive/f8b75d1efa92bbf534596a013d9ca5873f79dd30.tar.gz - e525a6fb6e6ed3eef1eec6bef3da9b5708e471f0f9335a7604df14a4b386231e - data-plane-api-f8b75d1efa92bbf534596a013d9ca5873f79dd30 + https://github.com/envoyproxy/data-plane-api/archive/091cfd044258312a56c632ae1860813b1c0c58bc.tar.gz + 1ee20b3041a4f093cc393448ab022f770e70b509c8fe8399d6e83017067b2fc3 + data-plane-api-091cfd044258312a56c632ae1860813b1c0c58bc ) endif() # Setup external proto library at third_party/googleapis with 2 download URLs @@ -886,6 +886,30 @@ protobuf_generate_grpc_cpp_with_import_path_correction( if(gRPC_BUILD_TESTS) add_custom_target(buildtests_c) + if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + add_dependencies(buildtests_c bm_call_spine) + endif() + if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + add_dependencies(buildtests_c bm_chaotic_good) + endif() + if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + add_dependencies(buildtests_c bm_client_call) + endif() + if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + add_dependencies(buildtests_c bm_client_channel) + endif() + if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + add_dependencies(buildtests_c bm_experiments) + endif() + if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + add_dependencies(buildtests_c bm_http_client_filter) + endif() + if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + add_dependencies(buildtests_c bm_inproc) + endif() + if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + add_dependencies(buildtests_c bm_party) + endif() if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_dependencies(buildtests_c fd_conservation_posix_test) endif() @@ -893,6 +917,9 @@ if(gRPC_BUILD_TESTS) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX OR _gRPC_PLATFORM_WINDOWS) add_dependencies(buildtests_c pollset_windows_starvation_test) endif() + if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + add_dependencies(buildtests_c static_stride_scheduler_benchmark) + endif() add_dependencies(buildtests_c test_core_iomgr_timer_list_test) add_custom_target(buildtests_cxx) @@ -1216,6 +1243,9 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx load_config_test) add_dependencies(buildtests_cxx load_file_test) add_dependencies(buildtests_cxx local_security_connector_test) + if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + add_dependencies(buildtests_cxx lock_free_event_test) + endif() if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_dependencies(buildtests_cxx log_too_many_open_files_test) endif() @@ -1223,6 +1253,7 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx map_pipe_test) add_dependencies(buildtests_cxx match_test) add_dependencies(buildtests_cxx matchers_test) + add_dependencies(buildtests_cxx max_concurrent_streams_policy_test) add_dependencies(buildtests_cxx max_concurrent_streams_test) add_dependencies(buildtests_cxx max_connection_age_test) add_dependencies(buildtests_cxx max_connection_idle_test) @@ -1373,7 +1404,6 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx retry_transparent_not_sent_on_wire_test) add_dependencies(buildtests_cxx retry_unref_before_finish_test) add_dependencies(buildtests_cxx retry_unref_before_recv_test) - add_dependencies(buildtests_cxx ring_buffer_test) add_dependencies(buildtests_cxx ring_hash_test) add_dependencies(buildtests_cxx rls_end2end_test) add_dependencies(buildtests_cxx rls_lb_config_parser_test) @@ -1528,7 +1558,6 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx try_join_test) add_dependencies(buildtests_cxx try_seq_metadata_test) add_dependencies(buildtests_cxx try_seq_test) - add_dependencies(buildtests_cxx unique_ptr_with_bitset_test) add_dependencies(buildtests_cxx unique_type_name_test) add_dependencies(buildtests_cxx unknown_frame_bad_client_test) add_dependencies(buildtests_cxx uri_parser_test) @@ -1909,6 +1938,7 @@ add_library(grpc src/core/ext/transport/chttp2/transport/hpack_parser_table.cc src/core/ext/transport/chttp2/transport/http2_settings.cc src/core/ext/transport/chttp2/transport/huffsyms.cc + src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc src/core/ext/transport/chttp2/transport/parsing.cc src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc src/core/ext/transport/chttp2/transport/ping_callbacks.cc @@ -3005,6 +3035,7 @@ add_library(grpc_unsecure src/core/ext/transport/chttp2/transport/hpack_parser_table.cc src/core/ext/transport/chttp2/transport/http2_settings.cc src/core/ext/transport/chttp2/transport/huffsyms.cc + src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc src/core/ext/transport/chttp2/transport/parsing.cc src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc src/core/ext/transport/chttp2/transport/ping_callbacks.cc @@ -3343,6 +3374,14 @@ add_library(grpc_unsecure src/core/util/json/json_reader.cc src/core/util/json/json_writer.cc src/core/util/latent_see.cc + third_party/upb/upb/mini_descriptor/build_enum.c + third_party/upb/upb/mini_descriptor/decode.c + third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c + third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/internal/decode_fast.c ${gRPC_ADDITIONAL_DLL_SRC} ) @@ -3386,8 +3425,8 @@ target_include_directories(grpc_unsecure ) target_link_libraries(grpc_unsecure ${_gRPC_ALLTARGETS_LIBRARIES} - upb_mini_descriptor_lib - upb_wire_lib + utf8_range_lib + upb_message_lib ${_gRPC_ZLIB_LIBRARIES} absl::algorithm_container absl::config @@ -3641,6 +3680,11 @@ add_library(upb_json_lib ${_gRPC_STATIC_WIN32} third_party/upb/upb/lex/strtod.c third_party/upb/upb/lex/unicode.c third_party/upb/upb/message/copy.c + third_party/upb/upb/mini_descriptor/build_enum.c + third_party/upb/upb/mini_descriptor/decode.c + third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c + third_party/upb/upb/mini_descriptor/link.c third_party/upb/upb/reflection/def_pool.c third_party/upb/upb/reflection/def_type.c third_party/upb/upb/reflection/desc_state.c @@ -3658,6 +3702,9 @@ add_library(upb_json_lib ${_gRPC_STATIC_WIN32} third_party/upb/upb/reflection/method_def.c third_party/upb/upb/reflection/oneof_def.c third_party/upb/upb/reflection/service_def.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/internal/decode_fast.c ) target_compile_features(upb_json_lib PUBLIC cxx_std_14) @@ -3693,8 +3740,8 @@ target_include_directories(upb_json_lib ) target_link_libraries(upb_json_lib ${_gRPC_ALLTARGETS_LIBRARIES} - upb_mini_descriptor_lib - upb_wire_lib + utf8_range_lib + upb_message_lib ) @@ -3828,73 +3875,17 @@ if(gRPC_INSTALL) endif() -add_library(upb_mini_descriptor_lib - third_party/upb/upb/hash/common.c - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c - third_party/upb/upb/mini_table/extension_registry.c - third_party/upb/upb/mini_table/internal/message.c - third_party/upb/upb/mini_table/message.c -) - -target_compile_features(upb_mini_descriptor_lib PUBLIC cxx_std_14) - -set_target_properties(upb_mini_descriptor_lib PROPERTIES - VERSION ${gRPC_CORE_VERSION} - SOVERSION ${gRPC_CORE_SOVERSION} -) - -if(WIN32 AND MSVC) - set_target_properties(upb_mini_descriptor_lib PROPERTIES COMPILE_PDB_NAME "upb_mini_descriptor_lib" - COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" - ) - if(gRPC_INSTALL) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/upb_mini_descriptor_lib.pdb - DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL - ) - endif() -endif() - -target_include_directories(upb_mini_descriptor_lib - PUBLIC $ $ - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} -) -target_link_libraries(upb_mini_descriptor_lib - ${_gRPC_ALLTARGETS_LIBRARIES} - upb_base_lib - upb_mem_lib -) - - - -if(gRPC_INSTALL) - install(TARGETS upb_mini_descriptor_lib EXPORT gRPCTargets - RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} - BUNDLE DESTINATION ${gRPC_INSTALL_BINDIR} - LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} - ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} - ) -endif() - - add_library(upb_textformat_lib ${_gRPC_STATIC_WIN32} third_party/upb/upb/lex/atoi.c third_party/upb/upb/lex/round_trip.c third_party/upb/upb/lex/strtod.c third_party/upb/upb/lex/unicode.c third_party/upb/upb/message/copy.c + third_party/upb/upb/mini_descriptor/build_enum.c + third_party/upb/upb/mini_descriptor/decode.c + third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c + third_party/upb/upb/mini_descriptor/link.c third_party/upb/upb/reflection/def_pool.c third_party/upb/upb/reflection/def_type.c third_party/upb/upb/reflection/desc_state.c @@ -3913,6 +3904,9 @@ add_library(upb_textformat_lib ${_gRPC_STATIC_WIN32} third_party/upb/upb/reflection/oneof_def.c third_party/upb/upb/reflection/service_def.c third_party/upb/upb/text/encode.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/internal/decode_fast.c ) target_compile_features(upb_textformat_lib PUBLIC cxx_std_14) @@ -3947,61 +3941,6 @@ target_include_directories(upb_textformat_lib ${_gRPC_ZLIB_INCLUDE_DIR} ) target_link_libraries(upb_textformat_lib - ${_gRPC_ALLTARGETS_LIBRARIES} - upb_mini_descriptor_lib - upb_wire_lib -) - - - -if(gRPC_INSTALL) - install(TARGETS upb_textformat_lib EXPORT gRPCTargets - RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} - BUNDLE DESTINATION ${gRPC_INSTALL_BINDIR} - LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} - ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} - ) -endif() - - -add_library(upb_wire_lib - third_party/upb/upb/wire/decode.c - third_party/upb/upb/wire/encode.c - third_party/upb/upb/wire/internal/decode_fast.c -) - -target_compile_features(upb_wire_lib PUBLIC cxx_std_14) - -set_target_properties(upb_wire_lib PROPERTIES - VERSION ${gRPC_CORE_VERSION} - SOVERSION ${gRPC_CORE_SOVERSION} -) - -if(WIN32 AND MSVC) - set_target_properties(upb_wire_lib PROPERTIES COMPILE_PDB_NAME "upb_wire_lib" - COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" - ) - if(gRPC_INSTALL) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/upb_wire_lib.pdb - DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL - ) - endif() -endif() - -target_include_directories(upb_wire_lib - PUBLIC $ $ - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} -) -target_link_libraries(upb_wire_lib ${_gRPC_ALLTARGETS_LIBRARIES} utf8_range_lib upb_message_lib @@ -4010,7 +3949,7 @@ target_link_libraries(upb_wire_lib if(gRPC_INSTALL) - install(TARGETS upb_wire_lib EXPORT gRPCTargets + install(TARGETS upb_textformat_lib EXPORT gRPCTargets RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} BUNDLE DESTINATION ${gRPC_INSTALL_BINDIR} LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} @@ -5511,6 +5450,14 @@ add_library(grpc_authorization_provider src/core/util/json/json_reader.cc src/core/util/json/json_writer.cc src/core/util/latent_see.cc + third_party/upb/upb/mini_descriptor/build_enum.c + third_party/upb/upb/mini_descriptor/decode.c + third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c + third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/internal/decode_fast.c ) target_compile_features(grpc_authorization_provider PUBLIC cxx_std_14) @@ -5553,8 +5500,8 @@ target_include_directories(grpc_authorization_provider ) target_link_libraries(grpc_authorization_provider ${_gRPC_ALLTARGETS_LIBRARIES} - upb_mini_descriptor_lib - upb_wire_lib + utf8_range_lib + upb_message_lib ${_gRPC_RE2_LIBRARIES} ${_gRPC_ZLIB_LIBRARIES} absl::config @@ -5898,6 +5845,330 @@ endif() endif() +if(gRPC_BUILD_TESTS) +if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + + add_executable(bm_call_spine + test/core/transport/bm_call_spine.cc + ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(bm_call_spine + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() + target_compile_features(bm_call_spine PUBLIC cxx_std_14) + target_include_directories(bm_call_spine + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + ) + + target_link_libraries(bm_call_spine + ${_gRPC_ALLTARGETS_LIBRARIES} + ${_gRPC_BENCHMARK_LIBRARIES} + grpc + ) + + +endif() +endif() +if(gRPC_BUILD_TESTS) +if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + + add_executable(bm_chaotic_good + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/lib/transport/promise_endpoint.cc + test/core/test_util/passthrough_endpoint.cc + test/core/transport/benchmarks/bm_chaotic_good.cc + ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(bm_chaotic_good + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() + target_compile_features(bm_chaotic_good PUBLIC cxx_std_14) + target_include_directories(bm_chaotic_good + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + ) + + target_link_libraries(bm_chaotic_good + ${_gRPC_ALLTARGETS_LIBRARIES} + ${_gRPC_BENCHMARK_LIBRARIES} + grpc + ) + + +endif() +endif() +if(gRPC_BUILD_TESTS) +if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + + add_executable(bm_client_call + test/core/call/bm_client_call.cc + ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(bm_client_call + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() + target_compile_features(bm_client_call PUBLIC cxx_std_14) + target_include_directories(bm_client_call + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + ) + + target_link_libraries(bm_client_call + ${_gRPC_ALLTARGETS_LIBRARIES} + ${_gRPC_BENCHMARK_LIBRARIES} + grpc + ) + + +endif() +endif() +if(gRPC_BUILD_TESTS) +if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + + add_executable(bm_client_channel + test/core/client_channel/bm_client_channel.cc + ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(bm_client_channel + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() + target_compile_features(bm_client_channel PUBLIC cxx_std_14) + target_include_directories(bm_client_channel + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + ) + + target_link_libraries(bm_client_channel + ${_gRPC_ALLTARGETS_LIBRARIES} + ${_gRPC_BENCHMARK_LIBRARIES} + grpc + ) + + +endif() +endif() +if(gRPC_BUILD_TESTS) +if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + + add_executable(bm_experiments + test/core/experiments/bm_experiments.cc + ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(bm_experiments + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() + target_compile_features(bm_experiments PUBLIC cxx_std_14) + target_include_directories(bm_experiments + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + ) + + target_link_libraries(bm_experiments + ${_gRPC_ALLTARGETS_LIBRARIES} + ${_gRPC_BENCHMARK_LIBRARIES} + grpc_test_util + ) + + +endif() +endif() +if(gRPC_BUILD_TESTS) +if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + + add_executable(bm_http_client_filter + test/core/filters/bm_http_client_filter.cc + ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(bm_http_client_filter + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() + target_compile_features(bm_http_client_filter PUBLIC cxx_std_14) + target_include_directories(bm_http_client_filter + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + ) + + target_link_libraries(bm_http_client_filter + ${_gRPC_ALLTARGETS_LIBRARIES} + ${_gRPC_BENCHMARK_LIBRARIES} + grpc + ) + + +endif() +endif() +if(gRPC_BUILD_TESTS) +if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + + add_executable(bm_inproc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/lib/transport/promise_endpoint.cc + test/core/test_util/passthrough_endpoint.cc + test/core/transport/benchmarks/bm_inproc.cc + ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(bm_inproc + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() + target_compile_features(bm_inproc PUBLIC cxx_std_14) + target_include_directories(bm_inproc + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + ) + + target_link_libraries(bm_inproc + ${_gRPC_ALLTARGETS_LIBRARIES} + ${_gRPC_BENCHMARK_LIBRARIES} + grpc + ) + + +endif() +endif() +if(gRPC_BUILD_TESTS) +if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + + add_executable(bm_party + test/core/promise/bm_party.cc + ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(bm_party + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() + target_compile_features(bm_party PUBLIC cxx_std_14) + target_include_directories(bm_party + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + ) + + target_link_libraries(bm_party + ${_gRPC_ALLTARGETS_LIBRARIES} + ${_gRPC_BENCHMARK_LIBRARIES} + grpc + ) + + +endif() +endif() if(gRPC_BUILD_TESTS) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) @@ -6017,6 +6288,47 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX OR _gRPC_PLATFORM_WINDOWS) ) +endif() +endif() +if(gRPC_BUILD_TESTS) +if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + + add_executable(static_stride_scheduler_benchmark + src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc + test/core/load_balancing/static_stride_scheduler_benchmark.cc + ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(static_stride_scheduler_benchmark + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() + endif() + target_compile_features(static_stride_scheduler_benchmark PUBLIC cxx_std_14) + target_include_directories(static_stride_scheduler_benchmark + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + ) + + target_link_libraries(static_stride_scheduler_benchmark + ${_gRPC_ALLTARGETS_LIBRARIES} + absl::algorithm_container + absl::span + ${_gRPC_BENCHMARK_LIBRARIES} + gpr + ) + + endif() endif() if(gRPC_BUILD_TESTS) @@ -8671,6 +8983,14 @@ add_executable(call_filters_test src/core/lib/transport/timeout_encoding.cc src/core/util/latent_see.cc test/core/transport/call_filters_test.cc + third_party/upb/upb/mini_descriptor/build_enum.c + third_party/upb/upb/mini_descriptor/decode.c + third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c + third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/internal/decode_fast.c ) if(WIN32 AND MSVC) if(BUILD_SHARED_LIBS) @@ -8703,8 +9023,8 @@ target_include_directories(call_filters_test target_link_libraries(call_filters_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - upb_mini_descriptor_lib - upb_wire_lib + utf8_range_lib + upb_message_lib absl::config absl::no_destructor absl::flat_hash_map @@ -9212,6 +9532,14 @@ add_executable(call_utils_test src/core/util/json/json_writer.cc src/core/util/latent_see.cc test/core/call/call_utils_test.cc + third_party/upb/upb/mini_descriptor/build_enum.c + third_party/upb/upb/mini_descriptor/decode.c + third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c + third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/internal/decode_fast.c ) if(WIN32 AND MSVC) if(BUILD_SHARED_LIBS) @@ -9244,8 +9572,8 @@ target_include_directories(call_utils_test target_link_libraries(call_utils_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - upb_mini_descriptor_lib - upb_wire_lib + utf8_range_lib + upb_message_lib ${_gRPC_ZLIB_LIBRARIES} absl::config absl::no_destructor @@ -9659,6 +9987,14 @@ add_executable(cancel_callback_test src/core/lib/slice/slice_string_helpers.cc src/core/util/latent_see.cc test/core/promise/cancel_callback_test.cc + third_party/upb/upb/mini_descriptor/build_enum.c + third_party/upb/upb/mini_descriptor/decode.c + third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c + third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/internal/decode_fast.c ) if(WIN32 AND MSVC) if(BUILD_SHARED_LIBS) @@ -9691,8 +10027,8 @@ target_include_directories(cancel_callback_test target_link_libraries(cancel_callback_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - upb_mini_descriptor_lib - upb_wire_lib + utf8_range_lib + upb_message_lib absl::config absl::flat_hash_map absl::function_ref @@ -10759,6 +11095,14 @@ add_executable(chunked_vector_test src/core/lib/slice/slice_string_helpers.cc src/core/util/latent_see.cc test/core/gprpp/chunked_vector_test.cc + third_party/upb/upb/mini_descriptor/build_enum.c + third_party/upb/upb/mini_descriptor/decode.c + third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c + third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/internal/decode_fast.c ) if(WIN32 AND MSVC) if(BUILD_SHARED_LIBS) @@ -10791,8 +11135,8 @@ target_include_directories(chunked_vector_test target_link_libraries(chunked_vector_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - upb_mini_descriptor_lib - upb_wire_lib + utf8_range_lib + upb_message_lib absl::config absl::flat_hash_map absl::function_ref @@ -14055,6 +14399,14 @@ add_executable(exec_ctx_wakeup_scheduler_test src/core/lib/slice/slice_string_helpers.cc src/core/util/latent_see.cc test/core/promise/exec_ctx_wakeup_scheduler_test.cc + third_party/upb/upb/mini_descriptor/build_enum.c + third_party/upb/upb/mini_descriptor/decode.c + third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c + third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/internal/decode_fast.c ) if(WIN32 AND MSVC) if(BUILD_SHARED_LIBS) @@ -14087,8 +14439,8 @@ target_include_directories(exec_ctx_wakeup_scheduler_test target_link_libraries(exec_ctx_wakeup_scheduler_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - upb_mini_descriptor_lib - upb_wire_lib + utf8_range_lib + upb_message_lib absl::config absl::flat_hash_map absl::hash @@ -14855,6 +15207,14 @@ add_executable(flow_control_test src/core/lib/transport/bdp_estimator.cc src/core/util/latent_see.cc test/core/transport/chttp2/flow_control_test.cc + third_party/upb/upb/mini_descriptor/build_enum.c + third_party/upb/upb/mini_descriptor/decode.c + third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c + third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/internal/decode_fast.c ) if(WIN32 AND MSVC) if(BUILD_SHARED_LIBS) @@ -14887,8 +15247,8 @@ target_include_directories(flow_control_test target_link_libraries(flow_control_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - upb_mini_descriptor_lib - upb_wire_lib + utf8_range_lib + upb_message_lib absl::config absl::flat_hash_map absl::function_ref @@ -14933,6 +15293,14 @@ add_executable(for_each_test src/core/lib/slice/slice_string_helpers.cc src/core/util/latent_see.cc test/core/promise/for_each_test.cc + third_party/upb/upb/mini_descriptor/build_enum.c + third_party/upb/upb/mini_descriptor/decode.c + third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c + third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/internal/decode_fast.c ) if(WIN32 AND MSVC) if(BUILD_SHARED_LIBS) @@ -14965,8 +15333,8 @@ target_include_directories(for_each_test target_link_libraries(for_each_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - upb_mini_descriptor_lib - upb_wire_lib + utf8_range_lib + upb_message_lib absl::config absl::flat_hash_map absl::function_ref @@ -18472,6 +18840,14 @@ add_executable(interceptor_list_test src/core/lib/slice/slice_string_helpers.cc src/core/util/latent_see.cc test/core/promise/interceptor_list_test.cc + third_party/upb/upb/mini_descriptor/build_enum.c + third_party/upb/upb/mini_descriptor/decode.c + third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c + third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/internal/decode_fast.c ) if(WIN32 AND MSVC) if(BUILD_SHARED_LIBS) @@ -18504,8 +18880,8 @@ target_include_directories(interceptor_list_test target_link_libraries(interceptor_list_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - upb_mini_descriptor_lib - upb_wire_lib + utf8_range_lib + upb_message_lib absl::config absl::flat_hash_map absl::function_ref @@ -19602,6 +19978,51 @@ target_link_libraries(local_security_connector_test ) +endif() +if(gRPC_BUILD_TESTS) +if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + + add_executable(lock_free_event_test + test/core/event_engine/posix/lock_free_event_test.cc + ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(lock_free_event_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() + target_compile_features(lock_free_event_test PUBLIC cxx_std_14) + target_include_directories(lock_free_event_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} + ) + + target_link_libraries(lock_free_event_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + ${_gRPC_BENCHMARK_LIBRARIES} + grpc_test_util + ) + + +endif() endif() if(gRPC_BUILD_TESTS) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) @@ -19726,6 +20147,14 @@ add_executable(map_pipe_test src/core/lib/slice/slice_string_helpers.cc src/core/util/latent_see.cc test/core/promise/map_pipe_test.cc + third_party/upb/upb/mini_descriptor/build_enum.c + third_party/upb/upb/mini_descriptor/decode.c + third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c + third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/internal/decode_fast.c ) if(WIN32 AND MSVC) if(BUILD_SHARED_LIBS) @@ -19758,8 +20187,8 @@ target_include_directories(map_pipe_test target_link_libraries(map_pipe_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - upb_mini_descriptor_lib - upb_wire_lib + utf8_range_lib + upb_message_lib absl::config absl::flat_hash_map absl::function_ref @@ -19853,6 +20282,48 @@ target_link_libraries(matchers_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(max_concurrent_streams_policy_test + src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc + test/core/transport/chttp2/max_concurrent_streams_policy_test.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(max_concurrent_streams_policy_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(max_concurrent_streams_policy_test PUBLIC cxx_std_14) +target_include_directories(max_concurrent_streams_policy_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(max_concurrent_streams_policy_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + gpr +) + + endif() if(gRPC_BUILD_TESTS) @@ -21941,7 +22412,6 @@ add_executable(periodic_update_test src/core/lib/experiments/config.cc src/core/lib/experiments/experiments.cc src/core/lib/gprpp/glob.cc - src/core/lib/gprpp/per_cpu.cc src/core/lib/gprpp/status_helper.cc src/core/lib/gprpp/time.cc src/core/lib/iomgr/closure.cc @@ -21954,8 +22424,15 @@ add_executable(periodic_update_test src/core/lib/slice/percent_encoding.cc src/core/lib/slice/slice.cc src/core/lib/slice/slice_string_helpers.cc - src/core/util/latent_see.cc test/core/resource_quota/periodic_update_test.cc + third_party/upb/upb/mini_descriptor/build_enum.c + third_party/upb/upb/mini_descriptor/decode.c + third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c + third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/internal/decode_fast.c ) if(WIN32 AND MSVC) if(BUILD_SHARED_LIBS) @@ -21988,8 +22465,8 @@ target_include_directories(periodic_update_test target_link_libraries(periodic_update_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - upb_mini_descriptor_lib - upb_wire_lib + utf8_range_lib + upb_message_lib absl::flat_hash_map absl::function_ref absl::hash @@ -26716,38 +27193,6 @@ target_link_libraries(retry_unref_before_recv_test ) -endif() -if(gRPC_BUILD_TESTS) - -add_executable(ring_buffer_test - test/core/util/ring_buffer_test.cc -) -target_compile_features(ring_buffer_test PUBLIC cxx_std_14) -target_include_directories(ring_buffer_test - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - third_party/googletest/googletest/include - third_party/googletest/googletest - third_party/googletest/googlemock/include - third_party/googletest/googlemock - ${_gRPC_PROTO_GENS_DIR} -) - -target_link_libraries(ring_buffer_test - ${_gRPC_ALLTARGETS_LIBRARIES} - gtest -) - - endif() if(gRPC_BUILD_TESTS) @@ -32537,40 +32982,6 @@ target_link_libraries(try_seq_test ) -endif() -if(gRPC_BUILD_TESTS) - -add_executable(unique_ptr_with_bitset_test - test/core/util/unique_ptr_with_bitset_test.cc -) -target_compile_features(unique_ptr_with_bitset_test PUBLIC cxx_std_14) -target_include_directories(unique_ptr_with_bitset_test - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - third_party/googletest/googletest/include - third_party/googletest/googletest - third_party/googletest/googlemock/include - third_party/googletest/googlemock - ${_gRPC_PROTO_GENS_DIR} -) - -target_link_libraries(unique_ptr_with_bitset_test - ${_gRPC_ALLTARGETS_LIBRARIES} - gtest - absl::check - absl::bits -) - - endif() if(gRPC_BUILD_TESTS) @@ -37632,7 +38043,7 @@ generate_pkgconfig( "absl_algorithm_container 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_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_optional absl_random_bit_gen_ref absl_random_distributions absl_random_random absl_span absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_type_traits absl_utility absl_variant gpr" "libcares openssl re2 zlib" "-lgrpc" - "-laddress_sorting -lupb_textformat_lib -lupb_json_lib -lupb_wire_lib -lupb_message_lib -lutf8_range_lib -lupb_mini_descriptor_lib -lupb_mem_lib -lupb_base_lib" + "-laddress_sorting -lupb_textformat_lib -lupb_json_lib -lupb_message_lib -lupb_mem_lib -lupb_base_lib -lutf8_range_lib" "grpc.pc") # grpc_unsecure .pc file @@ -37643,7 +38054,7 @@ generate_pkgconfig( "absl_algorithm_container 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_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_optional absl_random_bit_gen_ref absl_random_distributions absl_random_random absl_span absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_type_traits absl_utility absl_variant gpr" "libcares zlib" "-lgrpc_unsecure" - "-laddress_sorting -lupb_wire_lib -lupb_message_lib -lutf8_range_lib -lupb_mini_descriptor_lib -lupb_mem_lib -lupb_base_lib" + "-laddress_sorting -lupb_message_lib -lupb_mem_lib -lupb_base_lib -lutf8_range_lib" "grpc_unsecure.pc") # grpc++ .pc file @@ -37654,7 +38065,7 @@ generate_pkgconfig( "absl_absl_check absl_absl_log absl_algorithm_container 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_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_optional absl_random_bit_gen_ref absl_random_distributions absl_random_random absl_span absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_type_traits absl_utility absl_variant gpr grpc" "libcares openssl re2 zlib" "-lgrpc++" - "-laddress_sorting -lupb_textformat_lib -lupb_json_lib -lupb_wire_lib -lupb_message_lib -lutf8_range_lib -lupb_mini_descriptor_lib -lupb_mem_lib -lupb_base_lib" + "-laddress_sorting -lupb_textformat_lib -lupb_json_lib -lupb_message_lib -lupb_mem_lib -lupb_base_lib -lutf8_range_lib" "grpc++.pc") # grpc++_unsecure .pc file @@ -37665,7 +38076,7 @@ generate_pkgconfig( "absl_absl_check absl_absl_log absl_algorithm_container 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_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_optional absl_random_bit_gen_ref absl_random_distributions absl_random_random absl_span absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_type_traits absl_utility absl_variant gpr grpc_unsecure" "libcares zlib" "-lgrpc++_unsecure" - "-laddress_sorting -lupb_wire_lib -lupb_message_lib -lutf8_range_lib -lupb_mini_descriptor_lib -lupb_mem_lib -lupb_base_lib" + "-laddress_sorting -lupb_message_lib -lupb_mem_lib -lupb_base_lib -lutf8_range_lib" "grpc++_unsecure.pc") # grpcpp_otel_plugin .pc file @@ -37676,5 +38087,5 @@ generate_pkgconfig( "absl_absl_check absl_absl_log absl_algorithm_container 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_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_optional absl_random_bit_gen_ref absl_random_distributions absl_random_random absl_span absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_type_traits absl_utility absl_variant gpr grpc grpc++ opentelemetry_api" "libcares openssl re2 zlib" "-lgrpcpp_otel_plugin" - "-laddress_sorting -lupb_textformat_lib -lupb_json_lib -lupb_wire_lib -lupb_message_lib -lutf8_range_lib -lupb_mini_descriptor_lib -lupb_mem_lib -lupb_base_lib" + "-laddress_sorting -lupb_textformat_lib -lupb_json_lib -lupb_message_lib -lupb_mem_lib -lupb_base_lib -lutf8_range_lib" "grpcpp_otel_plugin.pc") diff --git a/build_autogenerated.yaml b/build_autogenerated.yaml index dd56cb0f9d76b..483e38026841e 100644 --- a/build_autogenerated.yaml +++ b/build_autogenerated.yaml @@ -290,6 +290,7 @@ libs: - src/core/ext/transport/chttp2/transport/huffsyms.h - src/core/ext/transport/chttp2/transport/internal.h - src/core/ext/transport/chttp2/transport/legacy_frame.h + - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h - src/core/ext/transport/chttp2/transport/ping_abuse_policy.h - src/core/ext/transport/chttp2/transport/ping_callbacks.h - src/core/ext/transport/chttp2/transport/ping_rate_policy.h @@ -1074,6 +1075,7 @@ libs: - src/core/lib/slice/slice_internal.h - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h + - src/core/lib/surface/api_trace.h - src/core/lib/surface/call.h - src/core/lib/surface/call_test_only.h - src/core/lib/surface/call_utils.h @@ -1217,9 +1219,7 @@ libs: - src/core/util/json/json_util.h - src/core/util/json/json_writer.h - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - src/core/util/spinlock.h - - src/core/util/unique_ptr_with_bitset.h - src/core/util/upb_utils.h - src/core/xds/grpc/certificate_provider_store.h - src/core/xds/grpc/file_watcher_certificate_provider_factory.h @@ -1320,6 +1320,7 @@ libs: - src/core/ext/transport/chttp2/transport/hpack_parser_table.cc - src/core/ext/transport/chttp2/transport/http2_settings.cc - src/core/ext/transport/chttp2/transport/huffsyms.cc + - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc - src/core/ext/transport/chttp2/transport/parsing.cc - src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc - src/core/ext/transport/chttp2/transport/ping_callbacks.cc @@ -2289,6 +2290,7 @@ libs: - src/core/ext/transport/chttp2/transport/huffsyms.h - src/core/ext/transport/chttp2/transport/internal.h - src/core/ext/transport/chttp2/transport/legacy_frame.h + - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h - src/core/ext/transport/chttp2/transport/ping_abuse_policy.h - src/core/ext/transport/chttp2/transport/ping_callbacks.h - src/core/ext/transport/chttp2/transport/ping_rate_policy.h @@ -2595,6 +2597,7 @@ libs: - src/core/lib/slice/slice_internal.h - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h + - src/core/lib/surface/api_trace.h - src/core/lib/surface/call.h - src/core/lib/surface/call_test_only.h - src/core/lib/surface/call_utils.h @@ -2704,11 +2707,23 @@ libs: - src/core/util/json/json_reader.h - src/core/util/json/json_writer.h - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - src/core/util/spinlock.h - - src/core/util/unique_ptr_with_bitset.h - src/core/util/upb_utils.h - third_party/upb/upb/generated_code_support.h + - third_party/upb/upb/mini_descriptor/build_enum.h + - third_party/upb/upb/mini_descriptor/decode.h + - third_party/upb/upb/mini_descriptor/internal/base92.h + - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp + - third_party/upb/upb/mini_descriptor/internal/modifiers.h + - third_party/upb/upb/mini_descriptor/internal/wire_constants.h + - third_party/upb/upb/mini_descriptor/link.h + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode_fast.h + - third_party/upb/upb/wire/internal/decoder.h src: - src/core/channelz/channel_trace.cc - src/core/channelz/channelz.cc @@ -2765,6 +2780,7 @@ libs: - src/core/ext/transport/chttp2/transport/hpack_parser_table.cc - src/core/ext/transport/chttp2/transport/http2_settings.cc - src/core/ext/transport/chttp2/transport/huffsyms.cc + - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc - src/core/ext/transport/chttp2/transport/parsing.cc - src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc - src/core/ext/transport/chttp2/transport/ping_callbacks.cc @@ -3103,9 +3119,17 @@ libs: - src/core/util/json/json_reader.cc - src/core/util/json/json_writer.cc - src/core/util/latent_see.cc + - third_party/upb/upb/mini_descriptor/build_enum.c + - third_party/upb/upb/mini_descriptor/decode.c + - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c + - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/internal/decode_fast.c deps: - - upb_mini_descriptor_lib - - upb_wire_lib + - utf8_range_lib + - upb_message_lib - z - absl/algorithm:container - absl/base:config @@ -3280,6 +3304,15 @@ libs: - third_party/upb/upb/lex/strtod.h - third_party/upb/upb/lex/unicode.h - third_party/upb/upb/message/copy.h + - third_party/upb/upb/mini_descriptor/build_enum.h + - third_party/upb/upb/mini_descriptor/decode.h + - third_party/upb/upb/mini_descriptor/internal/base92.h + - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp + - third_party/upb/upb/mini_descriptor/internal/modifiers.h + - third_party/upb/upb/mini_descriptor/internal/wire_constants.h + - third_party/upb/upb/mini_descriptor/link.h - third_party/upb/upb/reflection/common.h - third_party/upb/upb/reflection/def.h - third_party/upb/upb/reflection/def.hpp @@ -3314,6 +3347,11 @@ libs: - third_party/upb/upb/reflection/method_def.h - third_party/upb/upb/reflection/oneof_def.h - third_party/upb/upb/reflection/service_def.h + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode_fast.h + - third_party/upb/upb/wire/internal/decoder.h src: - third_party/upb/upb/json/decode.c - third_party/upb/upb/json/encode.c @@ -3322,6 +3360,11 @@ libs: - third_party/upb/upb/lex/strtod.c - third_party/upb/upb/lex/unicode.c - third_party/upb/upb/message/copy.c + - third_party/upb/upb/mini_descriptor/build_enum.c + - third_party/upb/upb/mini_descriptor/decode.c + - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c + - third_party/upb/upb/mini_descriptor/link.c - third_party/upb/upb/reflection/def_pool.c - third_party/upb/upb/reflection/def_type.c - third_party/upb/upb/reflection/desc_state.c @@ -3339,9 +3382,12 @@ libs: - third_party/upb/upb/reflection/method_def.c - third_party/upb/upb/reflection/oneof_def.c - third_party/upb/upb/reflection/service_def.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/internal/decode_fast.c deps: - - upb_mini_descriptor_lib - - upb_wire_lib + - utf8_range_lib + - upb_message_lib - name: upb_mem_lib build: all language: c @@ -3424,18 +3470,16 @@ libs: deps: - upb_base_lib - upb_mem_lib -- name: upb_mini_descriptor_lib +- name: upb_textformat_lib build: all language: c public_headers: [] headers: - - third_party/upb/upb/base/internal/endian.h - - third_party/upb/upb/base/internal/log2.h - - third_party/upb/upb/hash/common.h - - third_party/upb/upb/hash/int_table.h - - third_party/upb/upb/hash/str_table.h - - third_party/upb/upb/message/internal/map_entry.h - - third_party/upb/upb/message/internal/types.h + - third_party/upb/upb/lex/atoi.h + - third_party/upb/upb/lex/round_trip.h + - third_party/upb/upb/lex/strtod.h + - third_party/upb/upb/lex/unicode.h + - third_party/upb/upb/message/copy.h - third_party/upb/upb/mini_descriptor/build_enum.h - third_party/upb/upb/mini_descriptor/decode.h - third_party/upb/upb/mini_descriptor/internal/base92.h @@ -3445,43 +3489,6 @@ libs: - third_party/upb/upb/mini_descriptor/internal/modifiers.h - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/mini_table/enum.h - - third_party/upb/upb/mini_table/extension.h - - third_party/upb/upb/mini_table/extension_registry.h - - third_party/upb/upb/mini_table/field.h - - third_party/upb/upb/mini_table/file.h - - third_party/upb/upb/mini_table/internal/enum.h - - third_party/upb/upb/mini_table/internal/extension.h - - third_party/upb/upb/mini_table/internal/field.h - - third_party/upb/upb/mini_table/internal/file.h - - third_party/upb/upb/mini_table/internal/message.h - - third_party/upb/upb/mini_table/internal/size_log2.h - - third_party/upb/upb/mini_table/internal/sub.h - - third_party/upb/upb/mini_table/message.h - - third_party/upb/upb/mini_table/sub.h - src: - - third_party/upb/upb/hash/common.c - - third_party/upb/upb/mini_descriptor/build_enum.c - - third_party/upb/upb/mini_descriptor/decode.c - - third_party/upb/upb/mini_descriptor/internal/base92.c - - third_party/upb/upb/mini_descriptor/internal/encode.c - - third_party/upb/upb/mini_descriptor/link.c - - third_party/upb/upb/mini_table/extension_registry.c - - third_party/upb/upb/mini_table/internal/message.c - - third_party/upb/upb/mini_table/message.c - deps: - - upb_base_lib - - upb_mem_lib -- name: upb_textformat_lib - build: all - language: c - public_headers: [] - headers: - - third_party/upb/upb/lex/atoi.h - - third_party/upb/upb/lex/round_trip.h - - third_party/upb/upb/lex/strtod.h - - third_party/upb/upb/lex/unicode.h - - third_party/upb/upb/message/copy.h - third_party/upb/upb/reflection/common.h - third_party/upb/upb/reflection/def.h - third_party/upb/upb/reflection/def.hpp @@ -3517,12 +3524,22 @@ libs: - third_party/upb/upb/reflection/oneof_def.h - third_party/upb/upb/reflection/service_def.h - third_party/upb/upb/text/encode.h + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode_fast.h + - third_party/upb/upb/wire/internal/decoder.h src: - third_party/upb/upb/lex/atoi.c - third_party/upb/upb/lex/round_trip.c - third_party/upb/upb/lex/strtod.c - third_party/upb/upb/lex/unicode.c - third_party/upb/upb/message/copy.c + - third_party/upb/upb/mini_descriptor/build_enum.c + - third_party/upb/upb/mini_descriptor/decode.c + - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c + - third_party/upb/upb/mini_descriptor/link.c - third_party/upb/upb/reflection/def_pool.c - third_party/upb/upb/reflection/def_type.c - third_party/upb/upb/reflection/desc_state.c @@ -3541,20 +3558,6 @@ libs: - third_party/upb/upb/reflection/oneof_def.c - third_party/upb/upb/reflection/service_def.c - third_party/upb/upb/text/encode.c - deps: - - upb_mini_descriptor_lib - - upb_wire_lib -- name: upb_wire_lib - build: all - language: c - public_headers: [] - headers: - - third_party/upb/upb/wire/decode.h - - third_party/upb/upb/wire/encode.h - - third_party/upb/upb/wire/internal/constants.h - - third_party/upb/upb/wire/internal/decode_fast.h - - third_party/upb/upb/wire/internal/decoder.h - src: - third_party/upb/upb/wire/decode.c - third_party/upb/upb/wire/encode.c - third_party/upb/upb/wire/internal/decode_fast.c @@ -4688,6 +4691,7 @@ libs: - src/core/lib/slice/slice_internal.h - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h + - src/core/lib/surface/api_trace.h - src/core/lib/surface/call.h - src/core/lib/surface/call_test_only.h - src/core/lib/surface/call_utils.h @@ -4755,9 +4759,22 @@ libs: - src/core/util/json/json_reader.h - src/core/util/json/json_writer.h - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - src/core/util/spinlock.h - third_party/upb/upb/generated_code_support.h + - third_party/upb/upb/mini_descriptor/build_enum.h + - third_party/upb/upb/mini_descriptor/decode.h + - third_party/upb/upb/mini_descriptor/internal/base92.h + - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp + - third_party/upb/upb/mini_descriptor/internal/modifiers.h + - third_party/upb/upb/mini_descriptor/internal/wire_constants.h + - third_party/upb/upb/mini_descriptor/link.h + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode_fast.h + - third_party/upb/upb/wire/internal/decoder.h src: - src/core/channelz/channel_trace.cc - src/core/channelz/channelz.cc @@ -5024,9 +5041,17 @@ libs: - src/core/util/json/json_reader.cc - src/core/util/json/json_writer.cc - src/core/util/latent_see.cc + - third_party/upb/upb/mini_descriptor/build_enum.c + - third_party/upb/upb/mini_descriptor/decode.c + - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c + - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/internal/decode_fast.c deps: - - upb_mini_descriptor_lib - - upb_wire_lib + - utf8_range_lib + - upb_message_lib - re2 - z - absl/base:config @@ -5118,6 +5143,185 @@ libs: - grpc++ - opentelemetry-cpp::api targets: +- name: bm_call_spine + build: test + language: c + headers: + - test/core/transport/call_spine_benchmarks.h + src: + - test/core/transport/bm_call_spine.cc + deps: + - benchmark + - grpc + args: + - --benchmark_min_time=0.001s + benchmark: true + defaults: benchmark + platforms: + - linux + - posix + uses_polling: false +- name: bm_chaotic_good + build: test + language: c + headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h + - test/core/test_util/passthrough_endpoint.h + - test/core/transport/call_spine_benchmarks.h + src: + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/lib/transport/promise_endpoint.cc + - test/core/test_util/passthrough_endpoint.cc + - test/core/transport/benchmarks/bm_chaotic_good.cc + deps: + - benchmark + - grpc + args: + - --benchmark_min_time=0.001s + benchmark: true + defaults: benchmark + platforms: + - linux + - posix + uses_polling: false +- name: bm_client_call + build: test + language: c + headers: [] + src: + - test/core/call/bm_client_call.cc + deps: + - benchmark + - grpc + args: + - --benchmark_min_time=0.001s + benchmark: true + defaults: benchmark + platforms: + - linux + - posix + uses_polling: false +- name: bm_client_channel + build: test + language: c + headers: + - test/core/transport/call_spine_benchmarks.h + src: + - test/core/client_channel/bm_client_channel.cc + deps: + - benchmark + - grpc + args: + - --benchmark_min_time=0.001s + benchmark: true + defaults: benchmark + platforms: + - linux + - posix + uses_polling: false +- name: bm_experiments + build: test + language: c + headers: [] + src: + - test/core/experiments/bm_experiments.cc + deps: + - benchmark + - grpc_test_util + args: + - --benchmark_min_time=0.001s + benchmark: true + defaults: benchmark + platforms: + - linux + - posix + uses_polling: false +- name: bm_http_client_filter + build: test + language: c + headers: + - test/core/transport/call_spine_benchmarks.h + src: + - test/core/filters/bm_http_client_filter.cc + deps: + - benchmark + - grpc + args: + - --benchmark_min_time=0.001s + benchmark: true + defaults: benchmark + platforms: + - linux + - posix + uses_polling: false +- name: bm_inproc + build: test + language: c + headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h + - test/core/test_util/passthrough_endpoint.h + - test/core/transport/call_spine_benchmarks.h + src: + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/lib/transport/promise_endpoint.cc + - test/core/test_util/passthrough_endpoint.cc + - test/core/transport/benchmarks/bm_inproc.cc + deps: + - benchmark + - grpc + args: + - --benchmark_min_time=0.001s + benchmark: true + defaults: benchmark + platforms: + - linux + - posix + uses_polling: false +- name: bm_party + build: test + language: c + headers: [] + src: + - test/core/promise/bm_party.cc + deps: + - benchmark + - grpc + args: + - --benchmark_min_time=0.001s + benchmark: true + defaults: benchmark + platforms: + - linux + - posix + uses_polling: false - name: fd_conservation_posix_test build: test language: c @@ -5169,6 +5373,27 @@ targets: - linux - posix - windows +- name: static_stride_scheduler_benchmark + build: test + language: c + headers: + - src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h + src: + - src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc + - test/core/load_balancing/static_stride_scheduler_benchmark.cc + deps: + - absl/algorithm:container + - absl/types:span + - benchmark + - gpr + args: + - --benchmark_min_time=0.001s + benchmark: true + defaults: benchmark + platforms: + - linux + - posix + uses_polling: false - name: test_core_iomgr_timer_list_test build: test language: c @@ -5230,7 +5455,6 @@ targets: - src/core/lib/promise/seq.h - src/core/lib/promise/wait_set.h - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - test/core/promise/test_wakeup_schedulers.h src: - src/core/lib/debug/trace.cc @@ -6445,6 +6669,7 @@ targets: - src/core/lib/slice/slice_internal.h - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h + - src/core/lib/surface/api_trace.h - src/core/lib/surface/channel_stack_type.h - src/core/lib/transport/call_filters.h - src/core/lib/transport/call_final_info.h @@ -6461,10 +6686,23 @@ targets: - src/core/lib/transport/status_conversion.h - src/core/lib/transport/timeout_encoding.h - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - src/core/util/spinlock.h - test/core/promise/poll_matcher.h - third_party/upb/upb/generated_code_support.h + - third_party/upb/upb/mini_descriptor/build_enum.h + - third_party/upb/upb/mini_descriptor/decode.h + - third_party/upb/upb/mini_descriptor/internal/base92.h + - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp + - third_party/upb/upb/mini_descriptor/internal/modifiers.h + - third_party/upb/upb/mini_descriptor/internal/wire_constants.h + - third_party/upb/upb/mini_descriptor/link.h + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode_fast.h + - third_party/upb/upb/wire/internal/decoder.h src: - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c @@ -6511,10 +6749,18 @@ targets: - src/core/lib/transport/timeout_encoding.cc - src/core/util/latent_see.cc - test/core/transport/call_filters_test.cc + - third_party/upb/upb/mini_descriptor/build_enum.c + - third_party/upb/upb/mini_descriptor/decode.c + - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c + - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/internal/decode_fast.c deps: - gtest - - upb_mini_descriptor_lib - - upb_wire_lib + - utf8_range_lib + - upb_message_lib - absl/base:config - absl/base:no_destructor - absl/container:flat_hash_map @@ -6649,7 +6895,6 @@ targets: - src/core/lib/promise/status_flag.h - src/core/lib/transport/call_state.h - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - test/core/promise/poll_matcher.h src: - src/core/lib/debug/trace.cc @@ -6931,6 +7176,7 @@ targets: - src/core/lib/slice/slice_internal.h - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h + - src/core/lib/surface/api_trace.h - src/core/lib/surface/call.h - src/core/lib/surface/call_test_only.h - src/core/lib/surface/call_utils.h @@ -6994,9 +7240,22 @@ targets: - src/core/util/json/json_args.h - src/core/util/json/json_writer.h - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - src/core/util/spinlock.h - third_party/upb/upb/generated_code_support.h + - third_party/upb/upb/mini_descriptor/build_enum.h + - third_party/upb/upb/mini_descriptor/decode.h + - third_party/upb/upb/mini_descriptor/internal/base92.h + - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp + - third_party/upb/upb/mini_descriptor/internal/modifiers.h + - third_party/upb/upb/mini_descriptor/internal/wire_constants.h + - third_party/upb/upb/mini_descriptor/link.h + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode_fast.h + - third_party/upb/upb/wire/internal/decoder.h src: - src/core/channelz/channel_trace.cc - src/core/channelz/channelz.cc @@ -7233,10 +7492,18 @@ targets: - src/core/util/json/json_writer.cc - src/core/util/latent_see.cc - test/core/call/call_utils_test.cc + - third_party/upb/upb/mini_descriptor/build_enum.c + - third_party/upb/upb/mini_descriptor/decode.c + - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c + - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/internal/decode_fast.c deps: - gtest - - upb_mini_descriptor_lib - - upb_wire_lib + - utf8_range_lib + - upb_message_lib - z - absl/base:config - absl/base:no_destructor @@ -7648,9 +7915,22 @@ targets: - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - src/core/util/spinlock.h - third_party/upb/upb/generated_code_support.h + - third_party/upb/upb/mini_descriptor/build_enum.h + - third_party/upb/upb/mini_descriptor/decode.h + - third_party/upb/upb/mini_descriptor/internal/base92.h + - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp + - third_party/upb/upb/mini_descriptor/internal/modifiers.h + - third_party/upb/upb/mini_descriptor/internal/wire_constants.h + - third_party/upb/upb/mini_descriptor/link.h + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode_fast.h + - third_party/upb/upb/wire/internal/decoder.h src: - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c @@ -7681,10 +7961,18 @@ targets: - src/core/lib/slice/slice_string_helpers.cc - src/core/util/latent_see.cc - test/core/promise/cancel_callback_test.cc + - third_party/upb/upb/mini_descriptor/build_enum.c + - third_party/upb/upb/mini_descriptor/decode.c + - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c + - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/internal/decode_fast.c deps: - gtest - - upb_mini_descriptor_lib - - upb_wire_lib + - utf8_range_lib + - upb_message_lib - absl/base:config - absl/container:flat_hash_map - absl/functional:function_ref @@ -8444,9 +8732,22 @@ targets: - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - src/core/util/spinlock.h - third_party/upb/upb/generated_code_support.h + - third_party/upb/upb/mini_descriptor/build_enum.h + - third_party/upb/upb/mini_descriptor/decode.h + - third_party/upb/upb/mini_descriptor/internal/base92.h + - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp + - third_party/upb/upb/mini_descriptor/internal/modifiers.h + - third_party/upb/upb/mini_descriptor/internal/wire_constants.h + - third_party/upb/upb/mini_descriptor/link.h + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode_fast.h + - third_party/upb/upb/wire/internal/decoder.h src: - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c @@ -8477,10 +8778,18 @@ targets: - src/core/lib/slice/slice_string_helpers.cc - src/core/util/latent_see.cc - test/core/gprpp/chunked_vector_test.cc + - third_party/upb/upb/mini_descriptor/build_enum.c + - third_party/upb/upb/mini_descriptor/decode.c + - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c + - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/internal/decode_fast.c deps: - gtest - - upb_mini_descriptor_lib - - upb_wire_lib + - utf8_range_lib + - upb_message_lib - absl/base:config - absl/container:flat_hash_map - absl/functional:function_ref @@ -9993,9 +10302,22 @@ targets: - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - src/core/util/spinlock.h - third_party/upb/upb/generated_code_support.h + - third_party/upb/upb/mini_descriptor/build_enum.h + - third_party/upb/upb/mini_descriptor/decode.h + - third_party/upb/upb/mini_descriptor/internal/base92.h + - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp + - third_party/upb/upb/mini_descriptor/internal/modifiers.h + - third_party/upb/upb/mini_descriptor/internal/wire_constants.h + - third_party/upb/upb/mini_descriptor/link.h + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode_fast.h + - third_party/upb/upb/wire/internal/decoder.h src: - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c @@ -10020,10 +10342,18 @@ targets: - src/core/lib/slice/slice_string_helpers.cc - src/core/util/latent_see.cc - test/core/promise/exec_ctx_wakeup_scheduler_test.cc + - third_party/upb/upb/mini_descriptor/build_enum.c + - third_party/upb/upb/mini_descriptor/decode.c + - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c + - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/internal/decode_fast.c deps: - gtest - - upb_mini_descriptor_lib - - upb_wire_lib + - utf8_range_lib + - upb_message_lib - absl/base:config - absl/container:flat_hash_map - absl/hash:hash @@ -10544,9 +10874,22 @@ targets: - src/core/lib/transport/bdp_estimator.h - src/core/lib/transport/http2_errors.h - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - src/core/util/spinlock.h - third_party/upb/upb/generated_code_support.h + - third_party/upb/upb/mini_descriptor/build_enum.h + - third_party/upb/upb/mini_descriptor/decode.h + - third_party/upb/upb/mini_descriptor/internal/base92.h + - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp + - third_party/upb/upb/mini_descriptor/internal/modifiers.h + - third_party/upb/upb/mini_descriptor/internal/wire_constants.h + - third_party/upb/upb/mini_descriptor/link.h + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode_fast.h + - third_party/upb/upb/wire/internal/decoder.h src: - src/core/ext/transport/chttp2/transport/flow_control.cc - src/core/ext/transport/chttp2/transport/frame.cc @@ -10581,10 +10924,18 @@ targets: - src/core/lib/transport/bdp_estimator.cc - src/core/util/latent_see.cc - test/core/transport/chttp2/flow_control_test.cc + - third_party/upb/upb/mini_descriptor/build_enum.c + - third_party/upb/upb/mini_descriptor/decode.c + - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c + - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/internal/decode_fast.c deps: - gtest - - upb_mini_descriptor_lib - - upb_wire_lib + - utf8_range_lib + - upb_message_lib - absl/base:config - absl/container:flat_hash_map - absl/functional:function_ref @@ -10661,10 +11012,23 @@ targets: - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - src/core/util/spinlock.h - test/core/promise/test_wakeup_schedulers.h - third_party/upb/upb/generated_code_support.h + - third_party/upb/upb/mini_descriptor/build_enum.h + - third_party/upb/upb/mini_descriptor/decode.h + - third_party/upb/upb/mini_descriptor/internal/base92.h + - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp + - third_party/upb/upb/mini_descriptor/internal/modifiers.h + - third_party/upb/upb/mini_descriptor/internal/wire_constants.h + - third_party/upb/upb/mini_descriptor/link.h + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode_fast.h + - third_party/upb/upb/wire/internal/decoder.h src: - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c @@ -10695,10 +11059,18 @@ targets: - src/core/lib/slice/slice_string_helpers.cc - src/core/util/latent_see.cc - test/core/promise/for_each_test.cc + - third_party/upb/upb/mini_descriptor/build_enum.c + - third_party/upb/upb/mini_descriptor/decode.c + - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c + - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/internal/decode_fast.c deps: - gtest - - upb_mini_descriptor_lib - - upb_wire_lib + - utf8_range_lib + - upb_message_lib - absl/base:config - absl/container:flat_hash_map - absl/functional:function_ref @@ -12246,7 +12618,6 @@ targets: - src/core/lib/promise/poll.h - src/core/lib/promise/seq.h - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - test/core/promise/test_wakeup_schedulers.h src: - src/core/lib/debug/trace.cc @@ -12337,10 +12708,23 @@ targets: - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - src/core/util/spinlock.h - test/core/promise/test_context.h - third_party/upb/upb/generated_code_support.h + - third_party/upb/upb/mini_descriptor/build_enum.h + - third_party/upb/upb/mini_descriptor/decode.h + - third_party/upb/upb/mini_descriptor/internal/base92.h + - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp + - third_party/upb/upb/mini_descriptor/internal/modifiers.h + - third_party/upb/upb/mini_descriptor/internal/wire_constants.h + - third_party/upb/upb/mini_descriptor/link.h + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode_fast.h + - third_party/upb/upb/wire/internal/decoder.h src: - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c @@ -12371,10 +12755,18 @@ targets: - src/core/lib/slice/slice_string_helpers.cc - src/core/util/latent_see.cc - test/core/promise/interceptor_list_test.cc + - third_party/upb/upb/mini_descriptor/build_enum.c + - third_party/upb/upb/mini_descriptor/decode.c + - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c + - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/internal/decode_fast.c deps: - gtest - - upb_mini_descriptor_lib - - upb_wire_lib + - utf8_range_lib + - upb_message_lib - absl/base:config - absl/container:flat_hash_map - absl/functional:function_ref @@ -12810,7 +13202,6 @@ targets: - src/core/lib/promise/poll.h - src/core/lib/promise/seq.h - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - test/core/promise/test_wakeup_schedulers.h src: - src/core/lib/debug/trace.cc @@ -12962,7 +13353,7 @@ targets: platforms: - linux - posix - uses_polling: false + uses_polling: false - name: log_too_many_open_files_test gtest: true build: test @@ -13073,10 +13464,23 @@ targets: - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - src/core/util/spinlock.h - test/core/promise/test_wakeup_schedulers.h - third_party/upb/upb/generated_code_support.h + - third_party/upb/upb/mini_descriptor/build_enum.h + - third_party/upb/upb/mini_descriptor/decode.h + - third_party/upb/upb/mini_descriptor/internal/base92.h + - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp + - third_party/upb/upb/mini_descriptor/internal/modifiers.h + - third_party/upb/upb/mini_descriptor/internal/wire_constants.h + - third_party/upb/upb/mini_descriptor/link.h + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode_fast.h + - third_party/upb/upb/wire/internal/decoder.h src: - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c @@ -13107,10 +13511,18 @@ targets: - src/core/lib/slice/slice_string_helpers.cc - src/core/util/latent_see.cc - test/core/promise/map_pipe_test.cc + - third_party/upb/upb/mini_descriptor/build_enum.c + - third_party/upb/upb/mini_descriptor/decode.c + - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c + - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/internal/decode_fast.c deps: - gtest - - upb_mini_descriptor_lib - - upb_wire_lib + - utf8_range_lib + - upb_message_lib - absl/base:config - absl/container:flat_hash_map - absl/functional:function_ref @@ -13160,6 +13572,18 @@ targets: deps: - gtest - grpc_test_util +- name: max_concurrent_streams_policy_test + gtest: true + build: test + language: c++ + headers: + - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h + src: + - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc + - test/core/transport/chttp2/max_concurrent_streams_policy_test.cc + deps: + - gtest + - gpr - name: max_concurrent_streams_test gtest: true build: test @@ -13616,7 +14040,6 @@ targets: - src/core/lib/promise/promise.h - src/core/lib/promise/wait_set.h - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - test/core/promise/poll_matcher.h src: - src/core/lib/debug/trace.cc @@ -13930,7 +14353,6 @@ targets: - src/core/lib/promise/observable.h - src/core/lib/promise/poll.h - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - test/core/promise/poll_matcher.h src: - src/core/lib/debug/trace.cc @@ -14269,7 +14691,6 @@ targets: - src/core/lib/gprpp/bitset.h - src/core/lib/gprpp/glob.h - src/core/lib/gprpp/manual_constructor.h - - src/core/lib/gprpp/per_cpu.h - src/core/lib/gprpp/status_helper.h - src/core/lib/gprpp/time.h - src/core/lib/iomgr/closure.h @@ -14284,10 +14705,22 @@ targets: - src/core/lib/slice/slice_internal.h - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h - - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - src/core/util/spinlock.h - third_party/upb/upb/generated_code_support.h + - third_party/upb/upb/mini_descriptor/build_enum.h + - third_party/upb/upb/mini_descriptor/decode.h + - third_party/upb/upb/mini_descriptor/internal/base92.h + - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp + - third_party/upb/upb/mini_descriptor/internal/modifiers.h + - third_party/upb/upb/mini_descriptor/internal/wire_constants.h + - third_party/upb/upb/mini_descriptor/link.h + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode_fast.h + - third_party/upb/upb/wire/internal/decoder.h src: - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c @@ -14296,7 +14729,6 @@ targets: - src/core/lib/experiments/config.cc - src/core/lib/experiments/experiments.cc - src/core/lib/gprpp/glob.cc - - src/core/lib/gprpp/per_cpu.cc - src/core/lib/gprpp/status_helper.cc - src/core/lib/gprpp/time.cc - src/core/lib/iomgr/closure.cc @@ -14309,12 +14741,19 @@ targets: - src/core/lib/slice/percent_encoding.cc - src/core/lib/slice/slice.cc - src/core/lib/slice/slice_string_helpers.cc - - src/core/util/latent_see.cc - test/core/resource_quota/periodic_update_test.cc + - third_party/upb/upb/mini_descriptor/build_enum.c + - third_party/upb/upb/mini_descriptor/decode.c + - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c + - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/internal/decode_fast.c deps: - gtest - - upb_mini_descriptor_lib - - upb_wire_lib + - utf8_range_lib + - upb_message_lib - absl/container:flat_hash_map - absl/functional:function_ref - absl/hash:hash @@ -14851,7 +15290,6 @@ targets: - src/core/lib/promise/promise_mutex.h - src/core/lib/promise/seq.h - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - test/core/promise/test_wakeup_schedulers.h src: - src/core/lib/debug/trace.cc @@ -17824,17 +18262,6 @@ targets: - grpc_authorization_provider - grpc_unsecure - grpc_test_util -- name: ring_buffer_test - gtest: true - build: test - language: c++ - headers: - - src/core/util/ring_buffer.h - src: - - test/core/util/ring_buffer_test.cc - deps: - - gtest - uses_polling: false - name: ring_hash_test gtest: true build: test @@ -20541,19 +20968,6 @@ targets: - absl/status:statusor - gpr uses_polling: false -- name: unique_ptr_with_bitset_test - gtest: true - build: test - language: c++ - headers: - - src/core/util/unique_ptr_with_bitset.h - src: - - test/core/util/unique_ptr_with_bitset_test.cc - deps: - - gtest - - absl/log:check - - absl/numeric:bits - uses_polling: false - name: unique_type_name_test gtest: true build: test @@ -20665,7 +21079,6 @@ targets: - src/core/lib/promise/poll.h - src/core/lib/promise/wait_for_callback.h - src/core/util/latent_see.h - - src/core/util/ring_buffer.h - test/core/promise/test_wakeup_schedulers.h src: - src/core/lib/debug/trace.cc @@ -21356,8 +21769,7 @@ targets: gtest: true build: test language: c++ - headers: - - test/core/test_util/scoped_env_var.h + headers: [] src: - src/proto/grpc/testing/xds/v3/address.proto - src/proto/grpc/testing/xds/v3/aggregate_cluster.proto @@ -21452,7 +21864,6 @@ targets: build: test language: c++ headers: - - test/core/test_util/scoped_env_var.h - test/cpp/util/cli_call.h - test/cpp/util/cli_credentials.h - test/cpp/util/config_grpc_cli.h @@ -21942,7 +22353,6 @@ targets: build: test language: c++ headers: - - test/core/test_util/scoped_env_var.h - test/cpp/util/cli_call.h - test/cpp/util/cli_credentials.h - test/cpp/util/config_grpc_cli.h @@ -22507,12 +22917,12 @@ targets: - mac external_proto_libraries: - destination: third_party/envoy-api - hash: e525a6fb6e6ed3eef1eec6bef3da9b5708e471f0f9335a7604df14a4b386231e + hash: 1ee20b3041a4f093cc393448ab022f770e70b509c8fe8399d6e83017067b2fc3 proto_prefix: third_party/envoy-api/ - strip_prefix: data-plane-api-f8b75d1efa92bbf534596a013d9ca5873f79dd30 + strip_prefix: data-plane-api-091cfd044258312a56c632ae1860813b1c0c58bc urls: - - https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/f8b75d1efa92bbf534596a013d9ca5873f79dd30.tar.gz - - https://github.com/envoyproxy/data-plane-api/archive/f8b75d1efa92bbf534596a013d9ca5873f79dd30.tar.gz + - https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/091cfd044258312a56c632ae1860813b1c0c58bc.tar.gz + - https://github.com/envoyproxy/data-plane-api/archive/091cfd044258312a56c632ae1860813b1c0c58bc.tar.gz - destination: third_party/googleapis hash: 5bb6b0253ccf64b53d6c7249625a7e3f6c3bc6402abd52d3778bfa48258703a0 proto_prefix: third_party/googleapis/ diff --git a/tools/run_tests/generated/tests.json b/tools/run_tests/generated/tests.json index be0c6d819aed5..4f914307028b9 100644 --- a/tools/run_tests/generated/tests.json +++ b/tools/run_tests/generated/tests.json @@ -1,6 +1,182 @@ [ + { + "args": [ + "--benchmark_min_time=0.001s" + ], + "benchmark": true, + "ci_platforms": [ + "linux", + "posix" + ], + "cpu_cost": 1.0, + "exclude_configs": [], + "exclude_iomgrs": [], + "flaky": false, + "gtest": false, + "language": "c", + "name": "bm_call_spine", + "platforms": [ + "linux", + "posix" + ], + "uses_polling": false + }, + { + "args": [ + "--benchmark_min_time=0.001s" + ], + "benchmark": true, + "ci_platforms": [ + "linux", + "posix" + ], + "cpu_cost": 1.0, + "exclude_configs": [], + "exclude_iomgrs": [], + "flaky": false, + "gtest": false, + "language": "c", + "name": "bm_chaotic_good", + "platforms": [ + "linux", + "posix" + ], + "uses_polling": false + }, + { + "args": [ + "--benchmark_min_time=0.001s" + ], + "benchmark": true, + "ci_platforms": [ + "linux", + "posix" + ], + "cpu_cost": 1.0, + "exclude_configs": [], + "exclude_iomgrs": [], + "flaky": false, + "gtest": false, + "language": "c", + "name": "bm_client_call", + "platforms": [ + "linux", + "posix" + ], + "uses_polling": false + }, + { + "args": [ + "--benchmark_min_time=0.001s" + ], + "benchmark": true, + "ci_platforms": [ + "linux", + "posix" + ], + "cpu_cost": 1.0, + "exclude_configs": [], + "exclude_iomgrs": [], + "flaky": false, + "gtest": false, + "language": "c", + "name": "bm_client_channel", + "platforms": [ + "linux", + "posix" + ], + "uses_polling": false + }, + { + "args": [ + "--benchmark_min_time=0.001s" + ], + "benchmark": true, + "ci_platforms": [ + "linux", + "posix" + ], + "cpu_cost": 1.0, + "exclude_configs": [], + "exclude_iomgrs": [], + "flaky": false, + "gtest": false, + "language": "c", + "name": "bm_experiments", + "platforms": [ + "linux", + "posix" + ], + "uses_polling": false + }, + { + "args": [ + "--benchmark_min_time=0.001s" + ], + "benchmark": true, + "ci_platforms": [ + "linux", + "posix" + ], + "cpu_cost": 1.0, + "exclude_configs": [], + "exclude_iomgrs": [], + "flaky": false, + "gtest": false, + "language": "c", + "name": "bm_http_client_filter", + "platforms": [ + "linux", + "posix" + ], + "uses_polling": false + }, + { + "args": [ + "--benchmark_min_time=0.001s" + ], + "benchmark": true, + "ci_platforms": [ + "linux", + "posix" + ], + "cpu_cost": 1.0, + "exclude_configs": [], + "exclude_iomgrs": [], + "flaky": false, + "gtest": false, + "language": "c", + "name": "bm_inproc", + "platforms": [ + "linux", + "posix" + ], + "uses_polling": false + }, + { + "args": [ + "--benchmark_min_time=0.001s" + ], + "benchmark": true, + "ci_platforms": [ + "linux", + "posix" + ], + "cpu_cost": 1.0, + "exclude_configs": [], + "exclude_iomgrs": [], + "flaky": false, + "gtest": false, + "language": "c", + "name": "bm_party", + "platforms": [ + "linux", + "posix" + ], + "uses_polling": false + }, { "args": [], "benchmark": false, @@ -69,6 +245,28 @@ ], "uses_polling": true }, + { + "args": [ + "--benchmark_min_time=0.001s" + ], + "benchmark": true, + "ci_platforms": [ + "linux", + "posix" + ], + "cpu_cost": 1.0, + "exclude_configs": [], + "exclude_iomgrs": [], + "flaky": false, + "gtest": false, + "language": "c", + "name": "static_stride_scheduler_benchmark", + "platforms": [ + "linux", + "posix" + ], + "uses_polling": false + }, { "args": [], "benchmark": false, @@ -5895,6 +6093,30 @@ ], "uses_polling": true }, + { + "args": [], + "benchmark": false, + "ci_platforms": [ + "linux", + "mac", + "posix", + "windows" + ], + "cpu_cost": 1.0, + "exclude_configs": [], + "exclude_iomgrs": [], + "flaky": false, + "gtest": true, + "language": "c++", + "name": "max_concurrent_streams_policy_test", + "platforms": [ + "linux", + "mac", + "posix", + "windows" + ], + "uses_polling": true + }, { "args": [], "benchmark": false, @@ -8819,30 +9041,6 @@ ], "uses_polling": true }, - { - "args": [], - "benchmark": false, - "ci_platforms": [ - "linux", - "mac", - "posix", - "windows" - ], - "cpu_cost": 1.0, - "exclude_configs": [], - "exclude_iomgrs": [], - "flaky": false, - "gtest": true, - "language": "c++", - "name": "ring_buffer_test", - "platforms": [ - "linux", - "mac", - "posix", - "windows" - ], - "uses_polling": false - }, { "args": [], "benchmark": false, @@ -11465,30 +11663,6 @@ ], "uses_polling": false }, - { - "args": [], - "benchmark": false, - "ci_platforms": [ - "linux", - "mac", - "posix", - "windows" - ], - "cpu_cost": 1.0, - "exclude_configs": [], - "exclude_iomgrs": [], - "flaky": false, - "gtest": true, - "language": "c++", - "name": "unique_ptr_with_bitset_test", - "platforms": [ - "linux", - "mac", - "posix", - "windows" - ], - "uses_polling": false - }, { "args": [], "benchmark": false,