@ -50,7 +50,6 @@ set(gRPC_BUILD_MSVC_MP_COUNT 0 CACHE STRING "The maximum number of processes for
option ( gRPC_BUILD_TESTS "Build tests" OFF )
option ( gRPC_BUILD_CODEGEN "Build codegen" ON )
option ( gRPC_DOWNLOAD_ARCHIVES "Download archives for empty 3rd party directories" ON )
option ( gRPC_BUILD_OPENTELEMETRY_PLUGIN "Build gRPC OpenTelemetry Plugin" OFF )
set ( gRPC_INSTALL_default ON )
if ( NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
@ -354,7 +353,8 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX)
set ( _gRPC_ALLTARGETS_LIBRARIES ${ _gRPC_ALLTARGETS_LIBRARIES } ${ _gRPC_SYSTEMD_LIBRARIES } )
endif ( )
if ( gRPC_BUILD_OPENTELEMETRY_PLUGIN )
option ( gRPC_BUILD_GRPCPP_OTEL_PLUGIN "Build grpcpp_otel_plugin" OFF )
if ( gRPC_BUILD_GRPCPP_OTEL_PLUGIN )
include ( cmake/opentelemetry-cpp.cmake )
endif ( )
@ -1620,7 +1620,6 @@ if(gRPC_INSTALL)
endif ( )
add_library ( gpr
s r c / c o r e / l i b / c o n f i g / c o n f i g _ v a r s . c c
s r c / c o r e / l i b / c o n f i g / c o n f i g _ v a r s _ n o n _ g e n e r a t e d . c c
@ -1785,7 +1784,6 @@ if(gRPC_INSTALL)
endif ( )
add_library ( grpc
s r c / c o r e / c l i e n t _ c h a n n e l / b a c k u p _ p o l l e r . c c
s r c / c o r e / c l i e n t _ c h a n n e l / c l i e n t _ c h a n n e l _ c h a n n e l z . c c
@ -2754,7 +2752,6 @@ endif()
if ( gRPC_BUILD_TESTS )
add_library ( grpc_test_util
t e s t / c o r e / e v e n t _ e n g i n e / t e s t _ i n i t . c c
t e s t / c o r e / u t i l / b u i l d . c c
@ -2821,7 +2818,6 @@ endif()
endif ( )
if ( gRPC_BUILD_TESTS )
add_library ( grpc_test_util_unsecure
t e s t / c o r e / e v e n t _ e n g i n e / t e s t _ i n i t . c c
t e s t / c o r e / u t i l / b u i l d . c c
@ -2886,7 +2882,6 @@ endif()
endif ( )
add_library ( grpc_unsecure
s r c / c o r e / c l i e n t _ c h a n n e l / b a c k u p _ p o l l e r . c c
s r c / c o r e / c l i e n t _ c h a n n e l / c l i e n t _ c h a n n e l _ c h a n n e l z . c c
@ -3461,7 +3456,6 @@ endif()
if ( gRPC_BUILD_TESTS )
add_library ( gtest
t h i r d _ p a r t y / g o o g l e t e s t / g o o g l e m o c k / s r c / g m o c k - c a r d i n a l i t i e s . c c
t h i r d _ p a r t y / g o o g l e t e s t / g o o g l e m o c k / s r c / g m o c k - i n t e r n a l - u t i l s . c c
@ -3534,7 +3528,6 @@ target_link_libraries(gtest
endif ( )
add_library ( upb_base_lib
t h i r d _ p a r t y / u p b / u p b / b a s e / s t a t u s . c
)
@ -3586,7 +3579,6 @@ if(gRPC_INSTALL)
endif ( )
add_library ( upb_json_lib ${ _gRPC_STATIC_WIN32 }
s r c / c o r e / e x t / u p b - g e n / g o o g l e / p r o t o b u f / d e s c r i p t o r . u p b _ m i n i t a b l e . c
t h i r d _ p a r t y / u p b / u p b / j s o n / d e c o d e . c
@ -3674,7 +3666,6 @@ if(gRPC_INSTALL)
endif ( )
add_library ( upb_mem_lib
t h i r d _ p a r t y / u p b / u p b / m e m / a l l o c . c
t h i r d _ p a r t y / u p b / u p b / m e m / a r e n a . c
@ -3727,7 +3718,6 @@ if(gRPC_INSTALL)
endif ( )
add_library ( upb_message_lib
t h i r d _ p a r t y / u p b / u p b / h a s h / c o m m o n . c
t h i r d _ p a r t y / u p b / u p b / m e s s a g e / a r r a y . c
@ -3788,7 +3778,6 @@ if(gRPC_INSTALL)
endif ( )
add_library ( upb_textformat_lib ${ _gRPC_STATIC_WIN32 }
s r c / c o r e / e x t / u p b - g e n / g o o g l e / p r o t o b u f / d e s c r i p t o r . u p b _ m i n i t a b l e . c
t h i r d _ p a r t y / u p b / u p b / l e x / a t o i . c
@ -3875,7 +3864,6 @@ if(gRPC_INSTALL)
endif ( )
add_library ( utf8_range_lib
t h i r d _ p a r t y / u t f 8 _ r a n g e / n a i v e . c
t h i r d _ p a r t y / u t f 8 _ r a n g e / r a n g e 2 - n e o n . c
@ -3931,7 +3919,6 @@ endif()
if ( gRPC_BUILD_TESTS )
if ( gRPC_BUILD_CODEGEN )
add_library ( benchmark_helpers ${ _gRPC_STATIC_WIN32 }
$ { _ g R P C _ P R O T O _ G E N S _ D I R } / s r c / p r o t o / g r p c / t e s t i n g / e c h o . p b . c c
$ { _ g R P C _ P R O T O _ G E N S _ D I R } / s r c / p r o t o / g r p c / t e s t i n g / e c h o . g r p c . p b . c c
@ -4014,7 +4001,6 @@ endif()
endif ( )
add_library ( grpc++
s r c / c o r e / e x t / t r a n s p o r t / b i n d e r / c l i e n t / b i n d e r _ c o n n e c t o r . c c
s r c / c o r e / e x t / t r a n s p o r t / b i n d e r / c l i e n t / c h a n n e l _ c r e a t e . c c
@ -4355,7 +4341,6 @@ if(gRPC_INSTALL)
endif ( )
add_library ( grpc++_alts
s r c / c p p / c o m m o n / a l t s _ c o n t e x t . c c
s r c / c p p / c o m m o n / a l t s _ u t i l . c c
@ -4429,7 +4414,6 @@ if(gRPC_INSTALL)
endif ( )
add_library ( grpc++_error_details
s r c / c p p / u t i l / e r r o r _ d e t a i l s . c c
)
@ -4502,7 +4486,6 @@ endif()
if ( gRPC_BUILD_CODEGEN )
add_library ( grpc++_reflection ${ _gRPC_STATIC_WIN32 }
$ { _ g R P C _ P R O T O _ G E N S _ D I R } / s r c / p r o t o / g r p c / r e f l e c t i o n / v 1 / r e f l e c t i o n . p b . c c
$ { _ g R P C _ P R O T O _ G E N S _ D I R } / s r c / p r o t o / g r p c / r e f l e c t i o n / v 1 / r e f l e c t i o n . g r p c . p b . c c
@ -4587,7 +4570,6 @@ endif()
endif ( )
if ( gRPC_BUILD_TESTS )
add_library ( grpc++_test
s r c / c p p / c l i e n t / c h a n n e l _ t e s t _ p e e r . c c
)
@ -4661,7 +4643,6 @@ endforeach()
endif ( )
if ( gRPC_BUILD_TESTS )
add_library ( grpc++_test_config
t e s t / c p p / u t i l / t e s t _ c o n f i g _ c c . c c
)
@ -4714,7 +4695,6 @@ target_link_libraries(grpc++_test_config
endif ( )
if ( gRPC_BUILD_TESTS )
add_library ( grpc++_test_util
s r c / c o r e / l i b / g p r / s u b p r o c e s s _ p o s i x . c c
s r c / c o r e / l i b / g p r / s u b p r o c e s s _ w i n d o w s . c c
@ -4787,7 +4767,6 @@ target_link_libraries(grpc++_test_util
endif ( )
add_library ( grpc++_unsecure
s r c / c p p / c l i e n t / c h a n n e l _ c c . c c
s r c / c p p / c l i e n t / c l i e n t _ c a l l b a c k . c c
@ -5096,7 +5075,6 @@ if(gRPC_INSTALL)
endif ( )
add_library ( grpc_authorization_provider
s r c / c o r e / e x t / u p b - g e n / g o o g l e / p r o t o b u f / a n y . u p b _ m i n i t a b l e . c
s r c / c o r e / e x t / u p b - g e n / g o o g l e / p r o t o b u f / d e s c r i p t o r . u p b _ m i n i t a b l e . c
@ -5534,7 +5512,6 @@ if(gRPC_INSTALL)
endif ( )
add_library ( grpc_plugin_support
s r c / c o m p i l e r / c p p _ g e n e r a t o r . c c
s r c / c o m p i l e r / c s h a r p _ g e n e r a t o r . c c
@ -5609,7 +5586,6 @@ endif()
# g r p c p p _ c h a n n e l z d o e s n ' t b u i l d w i t h p r o t o b u f - l i t e
# S e e h t t p s : / / g i t h u b . c o m / g r p c / g r p c / i s s u e s / 1 9 4 7 3
if ( gRPC_BUILD_CODEGEN AND NOT gRPC_USE_PROTO_LITE )
add_library ( grpcpp_channelz ${ _gRPC_STATIC_WIN32 }
$ { _ g R P C _ P R O T O _ G E N S _ D I R } / s r c / p r o t o / g r p c / c h a n n e l z / c h a n n e l z . p b . c c
$ { _ g R P C _ P R O T O _ G E N S _ D I R } / s r c / p r o t o / g r p c / c h a n n e l z / c h a n n e l z . g r p c . p b . c c
@ -5689,7 +5665,7 @@ if(gRPC_INSTALL AND NOT gRPC_USE_PROTO_LITE)
endif ( )
endif ( )
if ( gRPC_BUILD_GRPCPP_OTEL_PLUGIN )
add_library ( grpcpp_otel_plugin
s r c / c p p / e x t / o t e l / o t e l _ c l i e n t _ f i l t e r . c c
@ -5763,6 +5739,7 @@ if(gRPC_INSTALL)
)
endif ( )
endif ( )
if ( gRPC_BUILD_TESTS )
if ( _gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX )