From 7b98cda1f4c4a3836d02b4be4018926f62aaf42b Mon Sep 17 00:00:00 2001 From: Esun Kim Date: Thu, 7 Mar 2024 10:23:45 -0800 Subject: [PATCH] No public description PiperOrigin-RevId: 613626993 --- Makefile | 2331 +++++------------------------ Rakefile | 1 - build_handwritten.yaml | 7 +- grpc.gyp | 12 + src/php/ext/grpc/config.m4 | 11 - src/ruby/ext/grpc/extconf.rb | 2 - templates/CMakeLists.txt.template | 25 +- templates/Makefile.template | 199 +-- tools/buildgen/_utils.py | 42 +- 9 files changed, 470 insertions(+), 2160 deletions(-) diff --git a/Makefile b/Makefile index 2fd360f7202..4bdbbec686f 100644 --- a/Makefile +++ b/Makefile @@ -268,49 +268,6 @@ ifndef VALID_CONFIG_$(CONFIG) $(error Invalid CONFIG value '$(CONFIG)') endif -ifeq ($(SYSTEM),Linux) -TMPOUT = /dev/null -else -TMPOUT = `mktemp /tmp/test-out-XXXXXX` -endif - -CHECK_NO_CXX14_COMPAT_WORKS_CMD = $(CC) -std=c++14 -Werror -Wno-c++14-compat -o $(TMPOUT) -c test/build/no-c++14-compat.cc -HAS_WORKING_NO_CXX14_COMPAT = $(shell $(CHECK_NO_CXX14_COMPAT_WORKS_CMD) 2> /dev/null && echo true || echo false) -ifeq ($(HAS_WORKING_NO_CXX14_COMPAT),true) -W_NO_CXX14_COMPAT=-Wno-c++14-compat -endif - -CHECK_EXTRA_SEMI_WORKS_CMD = $(CC) -std=c99 -Werror -Wextra-semi -o $(TMPOUT) -c test/build/extra-semi.c -HAS_WORKING_EXTRA_SEMI = $(shell $(CHECK_EXTRA_SEMI_WORKS_CMD) 2> /dev/null && echo true || echo false) -ifeq ($(HAS_WORKING_EXTRA_SEMI),true) -W_EXTRA_SEMI=-Wextra-semi -NO_W_EXTRA_SEMI=-Wno-extra-semi -endif -CHECK_NO_SHIFT_NEGATIVE_VALUE_WORKS_CMD = $(CC) -std=c99 -Werror -Wno-shift-negative-value -o $(TMPOUT) -c test/build/no-shift-negative-value.c -HAS_WORKING_NO_SHIFT_NEGATIVE_VALUE = $(shell $(CHECK_NO_SHIFT_NEGATIVE_VALUE_WORKS_CMD) 2> /dev/null && echo true || echo false) -ifeq ($(HAS_WORKING_NO_SHIFT_NEGATIVE_VALUE),true) -W_NO_SHIFT_NEGATIVE_VALUE=-Wno-shift-negative-value -NO_W_NO_SHIFT_NEGATIVE_VALUE=-Wshift-negative-value -endif -CHECK_NO_UNUSED_BUT_SET_VARIABLE_WORKS_CMD = $(CC) -std=c99 -Werror -Wno-unused-but-set-variable -o $(TMPOUT) -c test/build/no-unused-but-set-variable.c -HAS_WORKING_NO_UNUSED_BUT_SET_VARIABLE = $(shell $(CHECK_NO_UNUSED_BUT_SET_VARIABLE_WORKS_CMD) 2> /dev/null && echo true || echo false) -ifeq ($(HAS_WORKING_NO_UNUSED_BUT_SET_VARIABLE),true) -W_NO_UNUSED_BUT_SET_VARIABLE=-Wno-unused-but-set-variable -NO_W_NO_UNUSED_BUT_SET_VARIABLE=-Wunused-but-set-variable -endif -CHECK_NO_MAYBE_UNINITIALIZED_WORKS_CMD = $(CC) -std=c99 -Werror -Wno-maybe-uninitialized -o $(TMPOUT) -c test/build/no-maybe-uninitialized.c -HAS_WORKING_NO_MAYBE_UNINITIALIZED = $(shell $(CHECK_NO_MAYBE_UNINITIALIZED_WORKS_CMD) 2> /dev/null && echo true || echo false) -ifeq ($(HAS_WORKING_NO_MAYBE_UNINITIALIZED),true) -W_NO_MAYBE_UNINITIALIZED=-Wno-maybe-uninitialized -NO_W_NO_MAYBE_UNINITIALIZED=-Wmaybe-uninitialized -endif -CHECK_NO_UNKNOWN_WARNING_OPTION_WORKS_CMD = $(CC) -std=c99 -Werror -Wno-unknown-warning-option -o $(TMPOUT) -c test/build/no-unknown-warning-option.c -HAS_WORKING_NO_UNKNOWN_WARNING_OPTION = $(shell $(CHECK_NO_UNKNOWN_WARNING_OPTION_WORKS_CMD) 2> /dev/null && echo true || echo false) -ifeq ($(HAS_WORKING_NO_UNKNOWN_WARNING_OPTION),true) -W_NO_UNKNOWN_WARNING_OPTION=-Wno-unknown-warning-option -NO_W_NO_UNKNOWN_WARNING_OPTION=-Wunknown-warning-option -endif - # The HOST compiler settings are used to compile the protoc plugins. # In most cases, you won't have to change anything, but if you are # cross-compiling, you can override these variables from GNU make's @@ -321,14 +278,14 @@ HOST_CXX ?= $(CXX) HOST_LD ?= $(LD) HOST_LDXX ?= $(LDXX) -CFLAGS += -std=c11 $(W_EXTRA_SEMI) +CFLAGS += -std=c11 CXXFLAGS += -std=c++14 ifeq ($(SYSTEM),Darwin) CXXFLAGS += -stdlib=libc++ LDFLAGS += -framework CoreFoundation endif CFLAGS += -g -CPPFLAGS += -g -Wall -Wextra -DOSATOMIC_USE_INLINED=1 -Ithird_party/abseil-cpp -Ithird_party/re2 -Ithird_party/upb -Isrc/core/ext/upb-gen -Isrc/core/ext/upbdefs-gen -Ithird_party/utf8_range -Ithird_party/xxhash +CPPFLAGS += -g -Wall -Wextra -DOSATOMIC_USE_INLINED=1 -Ithird_party/abseil-cpp -Ithird_party/re2 -Ithird_party/upb -Isrc/core/ext/upb-gen -Isrc/core/ext/upbdefs-gen -Ithird_party/utf8_range -Ithird_party/xxhash -Ithird_party/cares/cares/include -Ithird_party/cares -Ithird_party/cares/cares -Ithird_party/address_sorting/include COREFLAGS += -fno-exceptions LDFLAGS += -g @@ -494,36 +451,6 @@ else LIBS += z endif -# Setup c-ares dependency - -ifeq ($(wildcard third_party/cares/cares/include/ares.h),) -HAS_EMBEDDED_CARES = false -else -HAS_EMBEDDED_CARES = true -endif - -ifeq ($(HAS_EMBEDDED_CARES),true) -EMBED_CARES ?= true -else -# only building with c-ares from submodule is supported -DEP_MISSING += cares -EMBED_CARES ?= broken -endif - -ifeq ($(EMBED_CARES),true) -CPPFLAGS := -Ithird_party/cares/cares/include -Ithird_party/cares -Ithird_party/cares/cares $(CPPFLAGS) -endif - -# Setup address_sorting dependency - -# TODO(jtattermusch): should the include be added elsewhere? -CPPFLAGS := -Ithird_party/address_sorting/include $(CPPFLAGS) - -# Setup abseil dependency - -GRPC_ABSEIL_DEP = $(LIBDIR)/$(CONFIG)/libgrpc_abseil.a -GRPC_ABSEIL_MERGE_LIBS = $(LIBDIR)/$(CONFIG)/libgrpc_abseil.a - # Setup boringssl dependency ifeq ($(wildcard third_party/boringssl-with-bazel/src/include/openssl/ssl.h),) @@ -558,10 +485,9 @@ ifeq ($(MAKECMDGOALS),clean) NO_DEPS = true endif -.SECONDARY = %.pb.h %.pb.cc - ifeq ($(DEP_MISSING),) all: static shared + dep_error: @echo "You shouldn't see this message - all of your dependencies are correct." else @@ -634,24 +560,23 @@ install_not_supported_error: install_not_supported_message stop stop: @false - run_dep_checks: @echo "run_dep_checks target has been deprecated." static: static_c static_cxx -static_c: cache.mk $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libre2.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a +static_c: cache.mk $(LIBDIR)/$(CONFIG)/libgrpc.a static_cxx: cache.mk shared: shared_c shared_cxx -shared_c: cache.mk $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)address_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)re2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)utf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) +shared_c: cache.mk $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) shared_cxx: cache.mk privatelibs: privatelibs_c privatelibs_cxx -privatelibs_c: $(LIBDIR)/$(CONFIG)/libz.a $(LIBDIR)/$(CONFIG)/libcares.a +privatelibs_c: $(LIBDIR)/$(CONFIG)/libcares.a $(LIBDIR)/$(CONFIG)/libz.a ifeq ($(EMBED_OPENSSL),true) privatelibs_cxx: else @@ -667,28 +592,8 @@ strip-shared: strip-shared_c strip-shared_cxx strip-static_c: static_c ifeq ($(CONFIG),opt) - $(E) "[STRIP] Stripping libaddress_sorting.a" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a - $(E) "[STRIP] Stripping libgpr.a" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgpr.a $(E) "[STRIP] Stripping libgrpc.a" $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc.a - $(E) "[STRIP] Stripping libgrpc_unsecure.a" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a - $(E) "[STRIP] Stripping libre2.a" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libre2.a - $(E) "[STRIP] Stripping libupb_base_lib.a" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libupb_base_lib.a - $(E) "[STRIP] Stripping libupb_json_lib.a" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libupb_json_lib.a - $(E) "[STRIP] Stripping libupb_mem_lib.a" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a - $(E) "[STRIP] Stripping libupb_message_lib.a" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libupb_message_lib.a - $(E) "[STRIP] Stripping libupb_textformat_lib.a" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a - $(E) "[STRIP] Stripping libutf8_range_lib.a" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a endif strip-static_cxx: static_cxx @@ -697,28 +602,8 @@ endif strip-shared_c: shared_c ifeq ($(CONFIG),opt) - $(E) "[STRIP] Stripping $(SHARED_PREFIX)address_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)address_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) - $(E) "[STRIP] Stripping $(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)" $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) - $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) - $(E) "[STRIP] Stripping $(SHARED_PREFIX)re2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)re2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) - $(E) "[STRIP] Stripping $(SHARED_PREFIX)upb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) - $(E) "[STRIP] Stripping $(SHARED_PREFIX)upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) - $(E) "[STRIP] Stripping $(SHARED_PREFIX)upb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) - $(E) "[STRIP] Stripping $(SHARED_PREFIX)upb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) - $(E) "[STRIP] Stripping $(SHARED_PREFIX)upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) - $(E) "[STRIP] Stripping $(SHARED_PREFIX)utf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)utf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) endif strip-shared_cxx: shared_cxx @@ -749,11 +634,6 @@ $(OBJDIR)/$(CONFIG)/src/core/%.o : src/core/%.cc $(Q) mkdir -p `dirname $@` $(Q) $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(COREFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $< -$(OBJDIR)/$(CONFIG)/test/core/%.o : test/core/%.cc - $(E) "[CXX] Compiling $<" - $(Q) mkdir -p `dirname $@` - $(Q) $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(COREFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $< - $(OBJDIR)/$(CONFIG)/%.o : %.cc $(E) "[CXX] Compiling $<" $(Q) mkdir -p `dirname $@` @@ -782,181 +662,9 @@ clean: # The various libraries -# start of build recipe for library "address_sorting" (generated by makelib(lib) template function) -# deps: [] -# transitive_deps: [] -LIBADDRESS_SORTING_SRC = \ - third_party/address_sorting/address_sorting.c \ - third_party/address_sorting/address_sorting_posix.c \ - third_party/address_sorting/address_sorting_windows.c \ - -PUBLIC_HEADERS_C += \ - -LIBADDRESS_SORTING_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBADDRESS_SORTING_SRC)))) - - -# static library for "address_sorting" -$(LIBDIR)/$(CONFIG)/libaddress_sorting.a: $(LIBADDRESS_SORTING_OBJS) - $(E) "[AR] Creating $@" - $(Q) mkdir -p `dirname $@` - $(Q) rm -f $(LIBDIR)/$(CONFIG)/libaddress_sorting.a - $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBADDRESS_SORTING_OBJS) -ifeq ($(SYSTEM),Darwin) - $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a -endif - -# shared library for "address_sorting" -ifeq ($(SYSTEM),MINGW32) -$(LIBDIR)/$(CONFIG)/address_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBADDRESS_SORTING_OBJS) - $(E) "[LD] Linking $@" - $(Q) mkdir -p `dirname $@` - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/address_sorting$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libaddress_sorting$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/address_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBADDRESS_SORTING_OBJS) $(LDLIBS) -else -$(LIBDIR)/$(CONFIG)/libaddress_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBADDRESS_SORTING_OBJS) - $(E) "[LD] Linking $@" - $(Q) mkdir -p `dirname $@` -ifeq ($(SYSTEM),Darwin) - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)address_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libaddress_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBADDRESS_SORTING_OBJS) $(LDLIBS) -else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libaddress_sorting.so.39 -o $(LIBDIR)/$(CONFIG)/libaddress_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBADDRESS_SORTING_OBJS) $(LDLIBS) - $(Q) ln -sf $(SHARED_PREFIX)address_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libaddress_sorting$(SHARED_VERSION_CORE).so.39 - $(Q) ln -sf $(SHARED_PREFIX)address_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libaddress_sorting$(SHARED_VERSION_CORE).so -endif -endif - -ifneq ($(NO_DEPS),true) --include $(LIBADDRESS_SORTING_OBJS:.o=.dep) -endif -# end of build recipe for library "address_sorting" - - -# start of build recipe for library "gpr" (generated by makelib(lib) template function) -# deps: ['grpc_abseil'] -# transitive_deps: ['grpc_abseil'] -LIBGPR_SRC = \ - src/core/lib/config/config_vars.cc \ - src/core/lib/config/config_vars_non_generated.cc \ - src/core/lib/config/load_config.cc \ - src/core/lib/event_engine/thread_local.cc \ - src/core/lib/gpr/alloc.cc \ - src/core/lib/gpr/android/log.cc \ - src/core/lib/gpr/atm.cc \ - src/core/lib/gpr/iphone/cpu.cc \ - src/core/lib/gpr/linux/cpu.cc \ - src/core/lib/gpr/linux/log.cc \ - src/core/lib/gpr/log.cc \ - src/core/lib/gpr/msys/tmpfile.cc \ - src/core/lib/gpr/posix/cpu.cc \ - src/core/lib/gpr/posix/log.cc \ - src/core/lib/gpr/posix/string.cc \ - src/core/lib/gpr/posix/sync.cc \ - src/core/lib/gpr/posix/time.cc \ - src/core/lib/gpr/posix/tmpfile.cc \ - src/core/lib/gpr/string.cc \ - src/core/lib/gpr/sync.cc \ - src/core/lib/gpr/sync_abseil.cc \ - src/core/lib/gpr/time.cc \ - src/core/lib/gpr/time_precise.cc \ - src/core/lib/gpr/windows/cpu.cc \ - src/core/lib/gpr/windows/log.cc \ - src/core/lib/gpr/windows/string.cc \ - src/core/lib/gpr/windows/string_util.cc \ - src/core/lib/gpr/windows/sync.cc \ - src/core/lib/gpr/windows/time.cc \ - src/core/lib/gpr/windows/tmpfile.cc \ - src/core/lib/gprpp/crash.cc \ - src/core/lib/gprpp/examine_stack.cc \ - src/core/lib/gprpp/fork.cc \ - src/core/lib/gprpp/host_port.cc \ - src/core/lib/gprpp/linux/env.cc \ - src/core/lib/gprpp/mpscq.cc \ - src/core/lib/gprpp/posix/env.cc \ - src/core/lib/gprpp/posix/stat.cc \ - src/core/lib/gprpp/posix/thd.cc \ - src/core/lib/gprpp/strerror.cc \ - src/core/lib/gprpp/tchar.cc \ - src/core/lib/gprpp/time_util.cc \ - src/core/lib/gprpp/windows/env.cc \ - src/core/lib/gprpp/windows/stat.cc \ - src/core/lib/gprpp/windows/thd.cc \ - -PUBLIC_HEADERS_C += \ - include/grpc/impl/call.h \ - include/grpc/impl/codegen/atm.h \ - include/grpc/impl/codegen/atm_gcc_atomic.h \ - include/grpc/impl/codegen/atm_gcc_sync.h \ - include/grpc/impl/codegen/atm_windows.h \ - include/grpc/impl/codegen/fork.h \ - include/grpc/impl/codegen/gpr_types.h \ - include/grpc/impl/codegen/log.h \ - include/grpc/impl/codegen/port_platform.h \ - include/grpc/impl/codegen/sync.h \ - include/grpc/impl/codegen/sync_abseil.h \ - include/grpc/impl/codegen/sync_custom.h \ - include/grpc/impl/codegen/sync_generic.h \ - include/grpc/impl/codegen/sync_posix.h \ - include/grpc/impl/codegen/sync_windows.h \ - include/grpc/support/alloc.h \ - include/grpc/support/atm.h \ - include/grpc/support/atm_gcc_atomic.h \ - include/grpc/support/atm_gcc_sync.h \ - include/grpc/support/atm_windows.h \ - include/grpc/support/cpu.h \ - include/grpc/support/json.h \ - include/grpc/support/log.h \ - include/grpc/support/log_windows.h \ - include/grpc/support/port_platform.h \ - include/grpc/support/string_util.h \ - include/grpc/support/sync.h \ - include/grpc/support/sync_abseil.h \ - include/grpc/support/sync_custom.h \ - include/grpc/support/sync_generic.h \ - include/grpc/support/sync_posix.h \ - include/grpc/support/sync_windows.h \ - include/grpc/support/thd_id.h \ - include/grpc/support/time.h \ - -LIBGPR_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGPR_SRC)))) - - -# static library for "gpr" -$(LIBDIR)/$(CONFIG)/libgpr.a: $(GRPC_ABSEIL_DEP) $(LIBGPR_OBJS) $(LIBGRPC_ABSEIL_OBJS) - $(E) "[AR] Creating $@" - $(Q) mkdir -p `dirname $@` - $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgpr.a - $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBGPR_OBJS) $(LIBGRPC_ABSEIL_OBJS) -ifeq ($(SYSTEM),Darwin) - $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libgpr.a -endif - -# shared library for "gpr" -ifeq ($(SYSTEM),MINGW32) -$(LIBDIR)/$(CONFIG)/gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGPR_OBJS) $(GRPC_ABSEIL_DEP) - $(E) "[LD] Linking $@" - $(Q) mkdir -p `dirname $@` - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/gpr$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGPR_OBJS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS) -else -$(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGPR_OBJS) $(GRPC_ABSEIL_DEP) - $(E) "[LD] Linking $@" - $(Q) mkdir -p `dirname $@` -ifeq ($(SYSTEM),Darwin) - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGPR_OBJS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS) -else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgpr.so.39 -o $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGPR_OBJS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS) - $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).so.39 - $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).so -endif -endif - -ifneq ($(NO_DEPS),true) --include $(LIBGPR_OBJS:.o=.dep) -endif -# end of build recipe for library "gpr" - - # start of build recipe for library "grpc" (generated by makelib(lib) template function) -# deps: ['upb_json_lib', 'upb_textformat_lib', 're2', 'z', 'grpc_abseil', 'cares', 'gpr', 'libssl', 'address_sorting'] -# transitive_deps: ['address_sorting', 'gpr', 'grpc_abseil', 'cares', 'z', 're2', 'upb_textformat_lib', 'upb_json_lib', 'utf8_range_lib', 'upb_message_lib', 'upb_mem_lib', 'upb_base_lib', 'libssl'] +# deps: ['cares', 'libssl', 'z'] +# transitive_deps: ['cares', 'libssl', 'z'] LIBGRPC_SRC = \ src/core/client_channel/backup_poller.cc \ src/core/client_channel/client_channel_channelz.cc \ @@ -1397,7 +1105,10 @@ LIBGRPC_SRC = \ src/core/lib/compression/compression.cc \ src/core/lib/compression/compression_internal.cc \ src/core/lib/compression/message_compress.cc \ + src/core/lib/config/config_vars.cc \ + src/core/lib/config/config_vars_non_generated.cc \ src/core/lib/config/core_configuration.cc \ + src/core/lib/config/load_config.cc \ src/core/lib/debug/event_log.cc \ src/core/lib/debug/histogram_view.cc \ src/core/lib/debug/stats.cc \ @@ -1435,6 +1146,7 @@ LIBGRPC_SRC = \ src/core/lib/event_engine/slice.cc \ src/core/lib/event_engine/slice_buffer.cc \ src/core/lib/event_engine/tcp_socket_utils.cc \ + src/core/lib/event_engine/thread_local.cc \ src/core/lib/event_engine/thread_pool/thread_count.cc \ src/core/lib/event_engine/thread_pool/thread_pool_factory.cc \ src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc \ @@ -1452,16 +1164,57 @@ LIBGRPC_SRC = \ src/core/lib/event_engine/work_queue/basic_work_queue.cc \ src/core/lib/experiments/config.cc \ src/core/lib/experiments/experiments.cc \ + src/core/lib/gpr/alloc.cc \ + src/core/lib/gpr/android/log.cc \ + src/core/lib/gpr/atm.cc \ + src/core/lib/gpr/iphone/cpu.cc \ + src/core/lib/gpr/linux/cpu.cc \ + src/core/lib/gpr/linux/log.cc \ + src/core/lib/gpr/log.cc \ + src/core/lib/gpr/msys/tmpfile.cc \ + src/core/lib/gpr/posix/cpu.cc \ + src/core/lib/gpr/posix/log.cc \ + src/core/lib/gpr/posix/string.cc \ + src/core/lib/gpr/posix/sync.cc \ + src/core/lib/gpr/posix/time.cc \ + src/core/lib/gpr/posix/tmpfile.cc \ + src/core/lib/gpr/string.cc \ + src/core/lib/gpr/sync.cc \ + src/core/lib/gpr/sync_abseil.cc \ + src/core/lib/gpr/time.cc \ + src/core/lib/gpr/time_precise.cc \ + src/core/lib/gpr/windows/cpu.cc \ + src/core/lib/gpr/windows/log.cc \ + src/core/lib/gpr/windows/string.cc \ + src/core/lib/gpr/windows/string_util.cc \ + src/core/lib/gpr/windows/sync.cc \ + src/core/lib/gpr/windows/time.cc \ + src/core/lib/gpr/windows/tmpfile.cc \ + src/core/lib/gprpp/crash.cc \ + src/core/lib/gprpp/examine_stack.cc \ + src/core/lib/gprpp/fork.cc \ + src/core/lib/gprpp/host_port.cc \ + src/core/lib/gprpp/linux/env.cc \ src/core/lib/gprpp/load_file.cc \ + src/core/lib/gprpp/mpscq.cc \ src/core/lib/gprpp/per_cpu.cc \ src/core/lib/gprpp/posix/directory_reader.cc \ + src/core/lib/gprpp/posix/env.cc \ + src/core/lib/gprpp/posix/stat.cc \ + src/core/lib/gprpp/posix/thd.cc \ src/core/lib/gprpp/ref_counted_string.cc \ src/core/lib/gprpp/status_helper.cc \ + src/core/lib/gprpp/strerror.cc \ + src/core/lib/gprpp/tchar.cc \ src/core/lib/gprpp/time.cc \ src/core/lib/gprpp/time_averaged_stats.cc \ + src/core/lib/gprpp/time_util.cc \ src/core/lib/gprpp/uuid_v4.cc \ src/core/lib/gprpp/validation_errors.cc \ src/core/lib/gprpp/windows/directory_reader.cc \ + src/core/lib/gprpp/windows/env.cc \ + src/core/lib/gprpp/windows/stat.cc \ + src/core/lib/gprpp/windows/thd.cc \ src/core/lib/gprpp/work_serializer.cc \ src/core/lib/handshaker/proxy_mapper_registry.cc \ src/core/lib/http/format_request.cc \ @@ -1760,52 +1513,249 @@ LIBGRPC_SRC = \ src/core/tsi/ssl_transport_security_utils.cc \ src/core/tsi/transport_security.cc \ src/core/tsi/transport_security_grpc.cc \ - -PUBLIC_HEADERS_C += \ - include/grpc/byte_buffer.h \ - include/grpc/byte_buffer_reader.h \ - include/grpc/census.h \ - include/grpc/compression.h \ - include/grpc/event_engine/endpoint_config.h \ - include/grpc/event_engine/event_engine.h \ - include/grpc/event_engine/extensible.h \ - include/grpc/event_engine/internal/memory_allocator_impl.h \ - include/grpc/event_engine/internal/slice_cast.h \ - include/grpc/event_engine/memory_allocator.h \ - include/grpc/event_engine/memory_request.h \ - include/grpc/event_engine/port.h \ - include/grpc/event_engine/slice.h \ - include/grpc/event_engine/slice_buffer.h \ - include/grpc/fork.h \ - include/grpc/grpc.h \ - include/grpc/grpc_audit_logging.h \ - include/grpc/grpc_crl_provider.h \ - include/grpc/grpc_posix.h \ - include/grpc/grpc_security.h \ - include/grpc/grpc_security_constants.h \ - include/grpc/impl/call.h \ - include/grpc/impl/channel_arg_names.h \ - include/grpc/impl/codegen/atm.h \ - include/grpc/impl/codegen/atm_gcc_atomic.h \ - include/grpc/impl/codegen/atm_gcc_sync.h \ - include/grpc/impl/codegen/atm_windows.h \ - include/grpc/impl/codegen/byte_buffer.h \ - include/grpc/impl/codegen/byte_buffer_reader.h \ - include/grpc/impl/codegen/compression_types.h \ - include/grpc/impl/codegen/connectivity_state.h \ - include/grpc/impl/codegen/fork.h \ - include/grpc/impl/codegen/gpr_types.h \ - include/grpc/impl/codegen/grpc_types.h \ - include/grpc/impl/codegen/log.h \ - include/grpc/impl/codegen/port_platform.h \ - include/grpc/impl/codegen/propagation_bits.h \ - include/grpc/impl/codegen/slice.h \ - include/grpc/impl/codegen/status.h \ - include/grpc/impl/codegen/sync.h \ - include/grpc/impl/codegen/sync_abseil.h \ - include/grpc/impl/codegen/sync_custom.h \ - include/grpc/impl/codegen/sync_generic.h \ - include/grpc/impl/codegen/sync_posix.h \ + third_party/abseil-cpp/absl/base/internal/cycleclock.cc \ + third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc \ + third_party/abseil-cpp/absl/base/internal/raw_logging.cc \ + third_party/abseil-cpp/absl/base/internal/spinlock.cc \ + third_party/abseil-cpp/absl/base/internal/spinlock_wait.cc \ + third_party/abseil-cpp/absl/base/internal/strerror.cc \ + third_party/abseil-cpp/absl/base/internal/sysinfo.cc \ + third_party/abseil-cpp/absl/base/internal/thread_identity.cc \ + third_party/abseil-cpp/absl/base/internal/throw_delegate.cc \ + third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc \ + third_party/abseil-cpp/absl/base/log_severity.cc \ + third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc \ + third_party/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc \ + third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc \ + third_party/abseil-cpp/absl/crc/crc32c.cc \ + third_party/abseil-cpp/absl/crc/internal/cpu_detect.cc \ + third_party/abseil-cpp/absl/crc/internal/crc.cc \ + third_party/abseil-cpp/absl/crc/internal/crc_cord_state.cc \ + third_party/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc \ + third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_arm_combined.cc \ + third_party/abseil-cpp/absl/crc/internal/crc_non_temporal_memcpy.cc \ + third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc \ + third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc \ + third_party/abseil-cpp/absl/debugging/internal/demangle.cc \ + third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc \ + third_party/abseil-cpp/absl/debugging/internal/vdso_support.cc \ + third_party/abseil-cpp/absl/debugging/stacktrace.cc \ + third_party/abseil-cpp/absl/debugging/symbolize.cc \ + third_party/abseil-cpp/absl/flags/commandlineflag.cc \ + third_party/abseil-cpp/absl/flags/internal/commandlineflag.cc \ + third_party/abseil-cpp/absl/flags/internal/flag.cc \ + third_party/abseil-cpp/absl/flags/internal/private_handle_accessor.cc \ + third_party/abseil-cpp/absl/flags/internal/program_name.cc \ + third_party/abseil-cpp/absl/flags/marshalling.cc \ + third_party/abseil-cpp/absl/flags/reflection.cc \ + third_party/abseil-cpp/absl/flags/usage_config.cc \ + third_party/abseil-cpp/absl/hash/internal/city.cc \ + third_party/abseil-cpp/absl/hash/internal/hash.cc \ + third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc \ + third_party/abseil-cpp/absl/numeric/int128.cc \ + third_party/abseil-cpp/absl/profiling/internal/exponential_biased.cc \ + third_party/abseil-cpp/absl/random/discrete_distribution.cc \ + third_party/abseil-cpp/absl/random/gaussian_distribution.cc \ + third_party/abseil-cpp/absl/random/internal/pool_urbg.cc \ + third_party/abseil-cpp/absl/random/internal/randen.cc \ + third_party/abseil-cpp/absl/random/internal/randen_detect.cc \ + third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc \ + third_party/abseil-cpp/absl/random/internal/randen_round_keys.cc \ + third_party/abseil-cpp/absl/random/internal/randen_slow.cc \ + third_party/abseil-cpp/absl/random/internal/seed_material.cc \ + third_party/abseil-cpp/absl/random/seed_gen_exception.cc \ + third_party/abseil-cpp/absl/random/seed_sequences.cc \ + third_party/abseil-cpp/absl/status/internal/status_internal.cc \ + third_party/abseil-cpp/absl/status/status.cc \ + third_party/abseil-cpp/absl/status/status_payload_printer.cc \ + third_party/abseil-cpp/absl/status/statusor.cc \ + third_party/abseil-cpp/absl/strings/ascii.cc \ + third_party/abseil-cpp/absl/strings/charconv.cc \ + third_party/abseil-cpp/absl/strings/cord.cc \ + third_party/abseil-cpp/absl/strings/cord_analysis.cc \ + third_party/abseil-cpp/absl/strings/cord_buffer.cc \ + third_party/abseil-cpp/absl/strings/escaping.cc \ + third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc \ + third_party/abseil-cpp/absl/strings/internal/charconv_parse.cc \ + third_party/abseil-cpp/absl/strings/internal/cord_internal.cc \ + third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc \ + third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc \ + third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc \ + third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc \ + third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc \ + third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc \ + third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc \ + third_party/abseil-cpp/absl/strings/internal/cordz_info.cc \ + third_party/abseil-cpp/absl/strings/internal/damerau_levenshtein_distance.cc \ + third_party/abseil-cpp/absl/strings/internal/escaping.cc \ + third_party/abseil-cpp/absl/strings/internal/memutil.cc \ + third_party/abseil-cpp/absl/strings/internal/ostringstream.cc \ + third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc \ + third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc \ + third_party/abseil-cpp/absl/strings/internal/str_format/extension.cc \ + third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc \ + third_party/abseil-cpp/absl/strings/internal/str_format/output.cc \ + third_party/abseil-cpp/absl/strings/internal/str_format/parser.cc \ + third_party/abseil-cpp/absl/strings/internal/stringify_sink.cc \ + third_party/abseil-cpp/absl/strings/internal/utf8.cc \ + third_party/abseil-cpp/absl/strings/match.cc \ + third_party/abseil-cpp/absl/strings/numbers.cc \ + third_party/abseil-cpp/absl/strings/str_cat.cc \ + third_party/abseil-cpp/absl/strings/str_replace.cc \ + third_party/abseil-cpp/absl/strings/str_split.cc \ + third_party/abseil-cpp/absl/strings/string_view.cc \ + third_party/abseil-cpp/absl/strings/substitute.cc \ + third_party/abseil-cpp/absl/synchronization/barrier.cc \ + third_party/abseil-cpp/absl/synchronization/blocking_counter.cc \ + third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc \ + third_party/abseil-cpp/absl/synchronization/internal/futex_waiter.cc \ + third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc \ + third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.cc \ + third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc \ + third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.cc \ + third_party/abseil-cpp/absl/synchronization/internal/sem_waiter.cc \ + third_party/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.cc \ + third_party/abseil-cpp/absl/synchronization/internal/waiter_base.cc \ + third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.cc \ + third_party/abseil-cpp/absl/synchronization/mutex.cc \ + third_party/abseil-cpp/absl/synchronization/notification.cc \ + third_party/abseil-cpp/absl/time/civil_time.cc \ + third_party/abseil-cpp/absl/time/clock.cc \ + third_party/abseil-cpp/absl/time/duration.cc \ + third_party/abseil-cpp/absl/time/format.cc \ + third_party/abseil-cpp/absl/time/internal/cctz/src/civil_time_detail.cc \ + third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc \ + third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc \ + third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc \ + third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc \ + third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc \ + third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc \ + third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc \ + third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc \ + third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc \ + third_party/abseil-cpp/absl/time/time.cc \ + third_party/abseil-cpp/absl/types/bad_optional_access.cc \ + third_party/abseil-cpp/absl/types/bad_variant_access.cc \ + third_party/address_sorting/address_sorting.c \ + third_party/address_sorting/address_sorting_posix.c \ + third_party/address_sorting/address_sorting_windows.c \ + third_party/re2/re2/bitstate.cc \ + third_party/re2/re2/compile.cc \ + third_party/re2/re2/dfa.cc \ + third_party/re2/re2/filtered_re2.cc \ + third_party/re2/re2/mimics_pcre.cc \ + third_party/re2/re2/nfa.cc \ + third_party/re2/re2/onepass.cc \ + third_party/re2/re2/parse.cc \ + third_party/re2/re2/perl_groups.cc \ + third_party/re2/re2/prefilter.cc \ + third_party/re2/re2/prefilter_tree.cc \ + third_party/re2/re2/prog.cc \ + third_party/re2/re2/re2.cc \ + third_party/re2/re2/regexp.cc \ + third_party/re2/re2/set.cc \ + third_party/re2/re2/simplify.cc \ + third_party/re2/re2/stringpiece.cc \ + third_party/re2/re2/tostring.cc \ + third_party/re2/re2/unicode_casefold.cc \ + third_party/re2/re2/unicode_groups.cc \ + third_party/re2/util/rune.cc \ + third_party/re2/util/strutil.cc \ + third_party/upb/upb/base/status.c \ + third_party/upb/upb/hash/common.c \ + third_party/upb/upb/json/decode.c \ + third_party/upb/upb/json/encode.c \ + 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/mem/alloc.c \ + third_party/upb/upb/mem/arena.c \ + third_party/upb/upb/message/accessors.c \ + third_party/upb/upb/message/array.c \ + third_party/upb/upb/message/map.c \ + third_party/upb/upb/message/map_sorter.c \ + third_party/upb/upb/message/message.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 \ + third_party/upb/upb/reflection/def_pool.c \ + third_party/upb/upb/reflection/def_type.c \ + third_party/upb/upb/reflection/desc_state.c \ + third_party/upb/upb/reflection/enum_def.c \ + third_party/upb/upb/reflection/enum_reserved_range.c \ + third_party/upb/upb/reflection/enum_value_def.c \ + third_party/upb/upb/reflection/extension_range.c \ + third_party/upb/upb/reflection/field_def.c \ + third_party/upb/upb/reflection/file_def.c \ + third_party/upb/upb/reflection/internal/def_builder.c \ + third_party/upb/upb/reflection/internal/strdup2.c \ + third_party/upb/upb/reflection/message.c \ + third_party/upb/upb/reflection/message_def.c \ + third_party/upb/upb/reflection/message_reserved_range.c \ + 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/text/encode.c \ + third_party/upb/upb/wire/decode.c \ + third_party/upb/upb/wire/decode_fast.c \ + third_party/upb/upb/wire/encode.c \ + third_party/upb/upb/wire/eps_copy_input_stream.c \ + third_party/upb/upb/wire/reader.c \ + third_party/utf8_range/naive.c \ + third_party/utf8_range/range2-neon.c \ + third_party/utf8_range/range2-sse.c \ + +PUBLIC_HEADERS_C += \ + include/grpc/byte_buffer.h \ + include/grpc/byte_buffer_reader.h \ + include/grpc/census.h \ + include/grpc/compression.h \ + include/grpc/event_engine/endpoint_config.h \ + include/grpc/event_engine/event_engine.h \ + include/grpc/event_engine/extensible.h \ + include/grpc/event_engine/internal/memory_allocator_impl.h \ + include/grpc/event_engine/internal/slice_cast.h \ + include/grpc/event_engine/memory_allocator.h \ + include/grpc/event_engine/memory_request.h \ + include/grpc/event_engine/port.h \ + include/grpc/event_engine/slice.h \ + include/grpc/event_engine/slice_buffer.h \ + include/grpc/fork.h \ + include/grpc/grpc.h \ + include/grpc/grpc_audit_logging.h \ + include/grpc/grpc_crl_provider.h \ + include/grpc/grpc_posix.h \ + include/grpc/grpc_security.h \ + include/grpc/grpc_security_constants.h \ + include/grpc/impl/call.h \ + include/grpc/impl/channel_arg_names.h \ + include/grpc/impl/codegen/atm.h \ + include/grpc/impl/codegen/atm_gcc_atomic.h \ + include/grpc/impl/codegen/atm_gcc_sync.h \ + include/grpc/impl/codegen/atm_windows.h \ + include/grpc/impl/codegen/byte_buffer.h \ + include/grpc/impl/codegen/byte_buffer_reader.h \ + include/grpc/impl/codegen/compression_types.h \ + include/grpc/impl/codegen/connectivity_state.h \ + include/grpc/impl/codegen/fork.h \ + include/grpc/impl/codegen/gpr_types.h \ + include/grpc/impl/codegen/grpc_types.h \ + include/grpc/impl/codegen/log.h \ + include/grpc/impl/codegen/port_platform.h \ + include/grpc/impl/codegen/propagation_bits.h \ + include/grpc/impl/codegen/slice.h \ + include/grpc/impl/codegen/status.h \ + include/grpc/impl/codegen/sync.h \ + include/grpc/impl/codegen/sync_abseil.h \ + include/grpc/impl/codegen/sync_custom.h \ + include/grpc/impl/codegen/sync_generic.h \ + include/grpc/impl/codegen/sync_posix.h \ include/grpc/impl/codegen/sync_windows.h \ include/grpc/impl/compression_types.h \ include/grpc/impl/connectivity_state.h \ @@ -1850,29 +1800,29 @@ $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE else # static library for "grpc" -$(LIBDIR)/$(CONFIG)/libgrpc.a: $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libre2.a $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(OPENSSL_DEP) $(LIBGRPC_OBJS) $(LIBADDRESS_SORTING_OBJS) $(LIBGPR_OBJS) $(LIBGRPC_ABSEIL_OBJS) $(LIBCARES_OBJS) $(ZLIB_MERGE_OBJS) $(LIBRE2_OBJS) $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBUPB_JSON_LIB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBUPB_MEM_LIB_OBJS) $(LIBUPB_BASE_LIB_OBJS) $(OPENSSL_MERGE_OBJS) +$(LIBDIR)/$(CONFIG)/libgrpc.a: $(LIBDIR)/$(CONFIG)/libcares.a $(OPENSSL_DEP) $(ZLIB_DEP) $(LIBGRPC_OBJS) $(LIBCARES_OBJS) $(OPENSSL_MERGE_OBJS) $(ZLIB_MERGE_OBJS) $(E) "[AR] Creating $@" $(Q) mkdir -p `dirname $@` $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc.a - $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBGRPC_OBJS) $(LIBADDRESS_SORTING_OBJS) $(LIBGPR_OBJS) $(LIBGRPC_ABSEIL_OBJS) $(LIBCARES_OBJS) $(ZLIB_MERGE_OBJS) $(LIBRE2_OBJS) $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBUPB_JSON_LIB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBUPB_MEM_LIB_OBJS) $(LIBUPB_BASE_LIB_OBJS) $(OPENSSL_MERGE_OBJS) + $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBGRPC_OBJS) $(LIBCARES_OBJS) $(OPENSSL_MERGE_OBJS) $(ZLIB_MERGE_OBJS) ifeq ($(SYSTEM),Darwin) $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libgrpc.a endif # shared library for "grpc" ifeq ($(SYSTEM),MINGW32) -$(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libre2.a $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(OPENSSL_DEP) +$(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libcares.a $(OPENSSL_DEP) $(ZLIB_DEP) $(E) "[LD] Linking $@" $(Q) mkdir -p `dirname $@` - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libre2.a $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(LDLIBS) + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libcares.a $(OPENSSL_MERGE_LIBS) $(ZLIB_MERGE_LIBS) $(LDLIBS_SECURE) $(LDLIBS) else -$(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libre2.a $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(OPENSSL_DEP) +$(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libcares.a $(OPENSSL_DEP) $(ZLIB_DEP) $(E) "[LD] Linking $@" $(Q) mkdir -p `dirname $@` ifeq ($(SYSTEM),Darwin) - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libre2.a $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(LDLIBS) + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libcares.a $(OPENSSL_MERGE_LIBS) $(ZLIB_MERGE_LIBS) $(LDLIBS_SECURE) $(LDLIBS) else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc.so.39 -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libre2.a $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(LDLIBS) + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc.so.39 -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libcares.a $(OPENSSL_MERGE_LIBS) $(ZLIB_MERGE_LIBS) $(LDLIBS_SECURE) $(LDLIBS) $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).so.39 $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).so endif @@ -1888,994 +1838,6 @@ endif # end of build recipe for library "grpc" -# start of build recipe for library "grpc_unsecure" (generated by makelib(lib) template function) -# deps: ['upb_message_lib', 'utf8_range_lib', 'z', 'grpc_abseil', 'cares', 'gpr', 'address_sorting'] -# transitive_deps: ['address_sorting', 'gpr', 'grpc_abseil', 'cares', 'z', 'utf8_range_lib', 'upb_message_lib', 'upb_mem_lib', 'upb_base_lib'] -LIBGRPC_UNSECURE_SRC = \ - src/core/client_channel/backup_poller.cc \ - src/core/client_channel/client_channel_channelz.cc \ - src/core/client_channel/client_channel_factory.cc \ - src/core/client_channel/client_channel_filter.cc \ - src/core/client_channel/client_channel_plugin.cc \ - src/core/client_channel/client_channel_service_config.cc \ - src/core/client_channel/config_selector.cc \ - src/core/client_channel/dynamic_filters.cc \ - src/core/client_channel/global_subchannel_pool.cc \ - src/core/client_channel/http_proxy_mapper.cc \ - src/core/client_channel/local_subchannel_pool.cc \ - src/core/client_channel/retry_filter.cc \ - src/core/client_channel/retry_filter_legacy_call_data.cc \ - src/core/client_channel/retry_service_config.cc \ - src/core/client_channel/retry_throttle.cc \ - src/core/client_channel/subchannel.cc \ - src/core/client_channel/subchannel_pool_interface.cc \ - src/core/client_channel/subchannel_stream_client.cc \ - src/core/ext/filters/backend_metrics/backend_metric_filter.cc \ - src/core/ext/filters/census/grpc_context.cc \ - src/core/ext/filters/channel_idle/channel_idle_filter.cc \ - src/core/ext/filters/channel_idle/idle_filter_state.cc \ - src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc \ - src/core/ext/filters/deadline/deadline_filter.cc \ - src/core/ext/filters/fault_injection/fault_injection_filter.cc \ - src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc \ - src/core/ext/filters/http/client/http_client_filter.cc \ - src/core/ext/filters/http/client_authority_filter.cc \ - src/core/ext/filters/http/http_filters_plugin.cc \ - src/core/ext/filters/http/message_compress/compression_filter.cc \ - src/core/ext/filters/http/message_compress/legacy_compression_filter.cc \ - src/core/ext/filters/http/server/http_server_filter.cc \ - src/core/ext/filters/message_size/message_size_filter.cc \ - src/core/ext/transport/chttp2/client/chttp2_connector.cc \ - src/core/ext/transport/chttp2/server/chttp2_server.cc \ - src/core/ext/transport/chttp2/transport/bin_decoder.cc \ - src/core/ext/transport/chttp2/transport/bin_encoder.cc \ - src/core/ext/transport/chttp2/transport/chttp2_transport.cc \ - src/core/ext/transport/chttp2/transport/decode_huff.cc \ - src/core/ext/transport/chttp2/transport/flow_control.cc \ - src/core/ext/transport/chttp2/transport/frame.cc \ - src/core/ext/transport/chttp2/transport/frame_data.cc \ - src/core/ext/transport/chttp2/transport/frame_goaway.cc \ - src/core/ext/transport/chttp2/transport/frame_ping.cc \ - src/core/ext/transport/chttp2/transport/frame_rst_stream.cc \ - src/core/ext/transport/chttp2/transport/frame_settings.cc \ - src/core/ext/transport/chttp2/transport/frame_window_update.cc \ - src/core/ext/transport/chttp2/transport/hpack_encoder.cc \ - src/core/ext/transport/chttp2/transport/hpack_encoder_table.cc \ - src/core/ext/transport/chttp2/transport/hpack_parse_result.cc \ - src/core/ext/transport/chttp2/transport/hpack_parser.cc \ - 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/http_trace.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 \ - src/core/ext/transport/chttp2/transport/ping_rate_policy.cc \ - src/core/ext/transport/chttp2/transport/stream_lists.cc \ - src/core/ext/transport/chttp2/transport/varint.cc \ - src/core/ext/transport/chttp2/transport/write_size_policy.cc \ - src/core/ext/transport/chttp2/transport/writing.cc \ - src/core/ext/transport/inproc/inproc_plugin.cc \ - src/core/ext/transport/inproc/inproc_transport.cc \ - src/core/ext/transport/inproc/legacy_inproc_transport.cc \ - src/core/ext/upb-gen/google/api/annotations.upb_minitable.c \ - src/core/ext/upb-gen/google/api/http.upb_minitable.c \ - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c \ - src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c \ - src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c \ - src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c \ - src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c \ - src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c \ - src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c \ - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c \ - src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c \ - src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c \ - src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c \ - src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c \ - src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c \ - src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c \ - src/core/ext/upb-gen/validate/validate.upb_minitable.c \ - src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c \ - src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c \ - src/core/lib/address_utils/parse_address.cc \ - src/core/lib/address_utils/sockaddr_utils.cc \ - src/core/lib/backoff/backoff.cc \ - src/core/lib/backoff/random_early_detection.cc \ - src/core/lib/channel/call_tracer.cc \ - src/core/lib/channel/channel_args.cc \ - src/core/lib/channel/channel_args_preconditioning.cc \ - src/core/lib/channel/channel_stack.cc \ - src/core/lib/channel/channel_stack_builder.cc \ - src/core/lib/channel/channel_stack_builder_impl.cc \ - src/core/lib/channel/channel_stack_trace.cc \ - src/core/lib/channel/channel_trace.cc \ - src/core/lib/channel/channelz.cc \ - src/core/lib/channel/channelz_registry.cc \ - src/core/lib/channel/connected_channel.cc \ - src/core/lib/channel/metrics.cc \ - src/core/lib/channel/promise_based_filter.cc \ - src/core/lib/channel/server_call_tracer_filter.cc \ - src/core/lib/channel/status_util.cc \ - src/core/lib/compression/compression.cc \ - src/core/lib/compression/compression_internal.cc \ - src/core/lib/compression/message_compress.cc \ - src/core/lib/config/core_configuration.cc \ - src/core/lib/debug/event_log.cc \ - src/core/lib/debug/histogram_view.cc \ - src/core/lib/debug/stats.cc \ - src/core/lib/debug/stats_data.cc \ - src/core/lib/debug/trace.cc \ - src/core/lib/event_engine/ares_resolver.cc \ - src/core/lib/event_engine/cf_engine/cf_engine.cc \ - src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc \ - src/core/lib/event_engine/cf_engine/dns_service_resolver.cc \ - src/core/lib/event_engine/channel_args_endpoint_config.cc \ - src/core/lib/event_engine/default_event_engine.cc \ - src/core/lib/event_engine/default_event_engine_factory.cc \ - src/core/lib/event_engine/event_engine.cc \ - src/core/lib/event_engine/forkable.cc \ - src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc \ - src/core/lib/event_engine/posix_engine/ev_poll_posix.cc \ - src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc \ - src/core/lib/event_engine/posix_engine/internal_errqueue.cc \ - src/core/lib/event_engine/posix_engine/lockfree_event.cc \ - src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc \ - src/core/lib/event_engine/posix_engine/posix_endpoint.cc \ - src/core/lib/event_engine/posix_engine/posix_engine.cc \ - src/core/lib/event_engine/posix_engine/posix_engine_listener.cc \ - src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc \ - src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc \ - src/core/lib/event_engine/posix_engine/timer.cc \ - src/core/lib/event_engine/posix_engine/timer_heap.cc \ - src/core/lib/event_engine/posix_engine/timer_manager.cc \ - src/core/lib/event_engine/posix_engine/traced_buffer_list.cc \ - src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc \ - src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc \ - src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.cc \ - src/core/lib/event_engine/resolved_address.cc \ - src/core/lib/event_engine/shim.cc \ - src/core/lib/event_engine/slice.cc \ - src/core/lib/event_engine/slice_buffer.cc \ - src/core/lib/event_engine/tcp_socket_utils.cc \ - src/core/lib/event_engine/thread_pool/thread_count.cc \ - src/core/lib/event_engine/thread_pool/thread_pool_factory.cc \ - src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc \ - src/core/lib/event_engine/thready_event_engine/thready_event_engine.cc \ - src/core/lib/event_engine/time_util.cc \ - src/core/lib/event_engine/trace.cc \ - src/core/lib/event_engine/utils.cc \ - src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc \ - src/core/lib/event_engine/windows/iocp.cc \ - src/core/lib/event_engine/windows/native_windows_dns_resolver.cc \ - src/core/lib/event_engine/windows/win_socket.cc \ - src/core/lib/event_engine/windows/windows_endpoint.cc \ - src/core/lib/event_engine/windows/windows_engine.cc \ - src/core/lib/event_engine/windows/windows_listener.cc \ - src/core/lib/event_engine/work_queue/basic_work_queue.cc \ - src/core/lib/experiments/config.cc \ - src/core/lib/experiments/experiments.cc \ - src/core/lib/gprpp/load_file.cc \ - src/core/lib/gprpp/per_cpu.cc \ - src/core/lib/gprpp/ref_counted_string.cc \ - src/core/lib/gprpp/status_helper.cc \ - src/core/lib/gprpp/time.cc \ - src/core/lib/gprpp/time_averaged_stats.cc \ - src/core/lib/gprpp/uuid_v4.cc \ - src/core/lib/gprpp/validation_errors.cc \ - src/core/lib/gprpp/work_serializer.cc \ - src/core/lib/handshaker/proxy_mapper_registry.cc \ - src/core/lib/http/format_request.cc \ - src/core/lib/http/httpcli.cc \ - src/core/lib/http/parser.cc \ - src/core/lib/iomgr/buffer_list.cc \ - src/core/lib/iomgr/call_combiner.cc \ - src/core/lib/iomgr/cfstream_handle.cc \ - src/core/lib/iomgr/closure.cc \ - src/core/lib/iomgr/combiner.cc \ - src/core/lib/iomgr/dualstack_socket_posix.cc \ - src/core/lib/iomgr/endpoint.cc \ - src/core/lib/iomgr/endpoint_cfstream.cc \ - src/core/lib/iomgr/endpoint_pair_posix.cc \ - src/core/lib/iomgr/endpoint_pair_windows.cc \ - src/core/lib/iomgr/error.cc \ - src/core/lib/iomgr/error_cfstream.cc \ - src/core/lib/iomgr/ev_apple.cc \ - src/core/lib/iomgr/ev_epoll1_linux.cc \ - src/core/lib/iomgr/ev_poll_posix.cc \ - src/core/lib/iomgr/ev_posix.cc \ - src/core/lib/iomgr/ev_windows.cc \ - src/core/lib/iomgr/event_engine_shims/closure.cc \ - src/core/lib/iomgr/event_engine_shims/endpoint.cc \ - src/core/lib/iomgr/event_engine_shims/tcp_client.cc \ - src/core/lib/iomgr/exec_ctx.cc \ - src/core/lib/iomgr/executor.cc \ - src/core/lib/iomgr/fork_posix.cc \ - src/core/lib/iomgr/fork_windows.cc \ - src/core/lib/iomgr/gethostname_fallback.cc \ - src/core/lib/iomgr/gethostname_host_name_max.cc \ - src/core/lib/iomgr/gethostname_sysconf.cc \ - src/core/lib/iomgr/grpc_if_nametoindex_posix.cc \ - src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc \ - src/core/lib/iomgr/internal_errqueue.cc \ - src/core/lib/iomgr/iocp_windows.cc \ - src/core/lib/iomgr/iomgr.cc \ - src/core/lib/iomgr/iomgr_internal.cc \ - src/core/lib/iomgr/iomgr_posix.cc \ - src/core/lib/iomgr/iomgr_posix_cfstream.cc \ - src/core/lib/iomgr/iomgr_windows.cc \ - src/core/lib/iomgr/lockfree_event.cc \ - src/core/lib/iomgr/polling_entity.cc \ - src/core/lib/iomgr/pollset.cc \ - src/core/lib/iomgr/pollset_set.cc \ - src/core/lib/iomgr/pollset_set_windows.cc \ - src/core/lib/iomgr/pollset_windows.cc \ - src/core/lib/iomgr/resolve_address.cc \ - src/core/lib/iomgr/resolve_address_posix.cc \ - src/core/lib/iomgr/resolve_address_windows.cc \ - src/core/lib/iomgr/sockaddr_utils_posix.cc \ - src/core/lib/iomgr/socket_factory_posix.cc \ - src/core/lib/iomgr/socket_mutator.cc \ - src/core/lib/iomgr/socket_utils_common_posix.cc \ - src/core/lib/iomgr/socket_utils_linux.cc \ - src/core/lib/iomgr/socket_utils_posix.cc \ - src/core/lib/iomgr/socket_utils_windows.cc \ - src/core/lib/iomgr/socket_windows.cc \ - src/core/lib/iomgr/systemd_utils.cc \ - src/core/lib/iomgr/tcp_client.cc \ - src/core/lib/iomgr/tcp_client_cfstream.cc \ - src/core/lib/iomgr/tcp_client_posix.cc \ - src/core/lib/iomgr/tcp_client_windows.cc \ - src/core/lib/iomgr/tcp_posix.cc \ - src/core/lib/iomgr/tcp_server.cc \ - src/core/lib/iomgr/tcp_server_posix.cc \ - src/core/lib/iomgr/tcp_server_utils_posix_common.cc \ - src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc \ - src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc \ - src/core/lib/iomgr/tcp_server_windows.cc \ - src/core/lib/iomgr/tcp_windows.cc \ - src/core/lib/iomgr/timer.cc \ - src/core/lib/iomgr/timer_generic.cc \ - src/core/lib/iomgr/timer_heap.cc \ - src/core/lib/iomgr/timer_manager.cc \ - src/core/lib/iomgr/unix_sockets_posix.cc \ - src/core/lib/iomgr/unix_sockets_posix_noop.cc \ - src/core/lib/iomgr/vsock.cc \ - src/core/lib/iomgr/wakeup_fd_eventfd.cc \ - src/core/lib/iomgr/wakeup_fd_nospecial.cc \ - src/core/lib/iomgr/wakeup_fd_pipe.cc \ - src/core/lib/iomgr/wakeup_fd_posix.cc \ - src/core/lib/json/json_object_loader.cc \ - src/core/lib/json/json_reader.cc \ - src/core/lib/json/json_writer.cc \ - src/core/lib/promise/activity.cc \ - src/core/lib/promise/party.cc \ - src/core/lib/promise/sleep.cc \ - src/core/lib/promise/trace.cc \ - src/core/lib/resource_quota/api.cc \ - src/core/lib/resource_quota/arena.cc \ - src/core/lib/resource_quota/memory_quota.cc \ - src/core/lib/resource_quota/periodic_update.cc \ - src/core/lib/resource_quota/resource_quota.cc \ - src/core/lib/resource_quota/thread_quota.cc \ - src/core/lib/resource_quota/trace.cc \ - src/core/lib/security/authorization/authorization_policy_provider_vtable.cc \ - src/core/lib/security/authorization/evaluate_args.cc \ - src/core/lib/security/authorization/grpc_server_authz_filter.cc \ - src/core/lib/security/certificate_provider/certificate_provider_registry.cc \ - src/core/lib/security/context/security_context.cc \ - src/core/lib/security/credentials/alts/check_gcp_environment.cc \ - src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc \ - src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc \ - src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc \ - src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc \ - src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc \ - src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc \ - src/core/lib/security/credentials/call_creds_util.cc \ - src/core/lib/security/credentials/composite/composite_credentials.cc \ - src/core/lib/security/credentials/credentials.cc \ - src/core/lib/security/credentials/fake/fake_credentials.cc \ - src/core/lib/security/credentials/insecure/insecure_credentials.cc \ - src/core/lib/security/credentials/plugin/plugin_credentials.cc \ - src/core/lib/security/credentials/tls/tls_utils.cc \ - src/core/lib/security/security_connector/fake/fake_security_connector.cc \ - src/core/lib/security/security_connector/insecure/insecure_security_connector.cc \ - src/core/lib/security/security_connector/load_system_roots_fallback.cc \ - src/core/lib/security/security_connector/load_system_roots_supported.cc \ - src/core/lib/security/security_connector/load_system_roots_windows.cc \ - src/core/lib/security/security_connector/security_connector.cc \ - src/core/lib/security/transport/client_auth_filter.cc \ - src/core/lib/security/transport/legacy_server_auth_filter.cc \ - src/core/lib/security/transport/secure_endpoint.cc \ - src/core/lib/security/transport/security_handshaker.cc \ - src/core/lib/security/transport/server_auth_filter.cc \ - src/core/lib/security/transport/tsi_error.cc \ - src/core/lib/security/util/json_util.cc \ - src/core/lib/slice/b64.cc \ - src/core/lib/slice/percent_encoding.cc \ - src/core/lib/slice/slice.cc \ - src/core/lib/slice/slice_buffer.cc \ - src/core/lib/slice/slice_refcount.cc \ - src/core/lib/slice/slice_string_helpers.cc \ - src/core/lib/surface/api_trace.cc \ - src/core/lib/surface/byte_buffer.cc \ - src/core/lib/surface/byte_buffer_reader.cc \ - src/core/lib/surface/call.cc \ - src/core/lib/surface/call_details.cc \ - src/core/lib/surface/call_log_batch.cc \ - src/core/lib/surface/channel.cc \ - src/core/lib/surface/channel_create.cc \ - src/core/lib/surface/channel_init.cc \ - src/core/lib/surface/channel_stack_type.cc \ - src/core/lib/surface/completion_queue.cc \ - src/core/lib/surface/completion_queue_factory.cc \ - src/core/lib/surface/event_string.cc \ - src/core/lib/surface/init.cc \ - src/core/lib/surface/init_internally.cc \ - src/core/lib/surface/lame_client.cc \ - src/core/lib/surface/legacy_channel.cc \ - src/core/lib/surface/metadata_array.cc \ - src/core/lib/surface/server.cc \ - src/core/lib/surface/validate_metadata.cc \ - src/core/lib/surface/version.cc \ - src/core/lib/surface/wait_for_cq_end_op.cc \ - src/core/lib/transport/batch_builder.cc \ - src/core/lib/transport/bdp_estimator.cc \ - src/core/lib/transport/call_factory.cc \ - src/core/lib/transport/call_filters.cc \ - src/core/lib/transport/call_final_info.cc \ - src/core/lib/transport/call_size_estimator.cc \ - src/core/lib/transport/call_spine.cc \ - src/core/lib/transport/connectivity_state.cc \ - src/core/lib/transport/error_utils.cc \ - src/core/lib/transport/handshaker.cc \ - src/core/lib/transport/handshaker_registry.cc \ - src/core/lib/transport/http_connect_handshaker.cc \ - src/core/lib/transport/message.cc \ - src/core/lib/transport/metadata.cc \ - src/core/lib/transport/metadata_batch.cc \ - src/core/lib/transport/metadata_info.cc \ - src/core/lib/transport/parsed_metadata.cc \ - src/core/lib/transport/status_conversion.cc \ - src/core/lib/transport/tcp_connect_handshaker.cc \ - src/core/lib/transport/timeout_encoding.cc \ - src/core/lib/transport/transport.cc \ - src/core/lib/transport/transport_op_string.cc \ - src/core/lib/uri/uri_parser.cc \ - src/core/load_balancing/address_filtering.cc \ - src/core/load_balancing/backend_metric_parser.cc \ - src/core/load_balancing/child_policy_handler.cc \ - src/core/load_balancing/endpoint_list.cc \ - src/core/load_balancing/grpclb/client_load_reporting_filter.cc \ - src/core/load_balancing/grpclb/grpclb.cc \ - src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc \ - src/core/load_balancing/grpclb/grpclb_client_stats.cc \ - src/core/load_balancing/grpclb/load_balancer_api.cc \ - src/core/load_balancing/health_check_client.cc \ - src/core/load_balancing/lb_policy.cc \ - src/core/load_balancing/lb_policy_registry.cc \ - src/core/load_balancing/oob_backend_metric.cc \ - src/core/load_balancing/outlier_detection/outlier_detection.cc \ - src/core/load_balancing/pick_first/pick_first.cc \ - src/core/load_balancing/priority/priority.cc \ - src/core/load_balancing/rls/rls.cc \ - src/core/load_balancing/round_robin/round_robin.cc \ - src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc \ - src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc \ - src/core/load_balancing/weighted_target/weighted_target.cc \ - src/core/plugin_registry/grpc_plugin_registry.cc \ - src/core/plugin_registry/grpc_plugin_registry_noextra.cc \ - src/core/resolver/binder/binder_resolver.cc \ - src/core/resolver/dns/c_ares/dns_resolver_ares.cc \ - src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc \ - src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc \ - src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc \ - src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc \ - src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc \ - src/core/resolver/dns/dns_resolver_plugin.cc \ - src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc \ - src/core/resolver/dns/event_engine/service_config_helper.cc \ - src/core/resolver/dns/native/dns_resolver.cc \ - src/core/resolver/endpoint_addresses.cc \ - src/core/resolver/fake/fake_resolver.cc \ - src/core/resolver/polling_resolver.cc \ - src/core/resolver/resolver.cc \ - src/core/resolver/resolver_registry.cc \ - src/core/resolver/sockaddr/sockaddr_resolver.cc \ - src/core/service_config/service_config_channel_arg_filter.cc \ - src/core/service_config/service_config_impl.cc \ - src/core/service_config/service_config_parser.cc \ - src/core/tsi/alts/handshaker/transport_security_common_api.cc \ - src/core/tsi/fake_transport_security.cc \ - src/core/tsi/local_transport_security.cc \ - src/core/tsi/transport_security.cc \ - src/core/tsi/transport_security_grpc.cc \ - third_party/upb/upb/message/accessors.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/wire/decode.c \ - third_party/upb/upb/wire/decode_fast.c \ - third_party/upb/upb/wire/encode.c \ - third_party/upb/upb/wire/eps_copy_input_stream.c \ - third_party/upb/upb/wire/reader.c \ - -PUBLIC_HEADERS_C += \ - include/grpc/byte_buffer.h \ - include/grpc/byte_buffer_reader.h \ - include/grpc/census.h \ - include/grpc/compression.h \ - include/grpc/event_engine/endpoint_config.h \ - include/grpc/event_engine/event_engine.h \ - include/grpc/event_engine/extensible.h \ - include/grpc/event_engine/internal/memory_allocator_impl.h \ - include/grpc/event_engine/internal/slice_cast.h \ - include/grpc/event_engine/memory_allocator.h \ - include/grpc/event_engine/memory_request.h \ - include/grpc/event_engine/port.h \ - include/grpc/event_engine/slice.h \ - include/grpc/event_engine/slice_buffer.h \ - include/grpc/fork.h \ - include/grpc/grpc.h \ - include/grpc/grpc_audit_logging.h \ - include/grpc/grpc_crl_provider.h \ - include/grpc/grpc_posix.h \ - include/grpc/grpc_security.h \ - include/grpc/grpc_security_constants.h \ - include/grpc/impl/call.h \ - include/grpc/impl/channel_arg_names.h \ - include/grpc/impl/codegen/atm.h \ - include/grpc/impl/codegen/atm_gcc_atomic.h \ - include/grpc/impl/codegen/atm_gcc_sync.h \ - include/grpc/impl/codegen/atm_windows.h \ - include/grpc/impl/codegen/byte_buffer.h \ - include/grpc/impl/codegen/byte_buffer_reader.h \ - include/grpc/impl/codegen/compression_types.h \ - include/grpc/impl/codegen/connectivity_state.h \ - include/grpc/impl/codegen/fork.h \ - include/grpc/impl/codegen/gpr_types.h \ - include/grpc/impl/codegen/grpc_types.h \ - include/grpc/impl/codegen/log.h \ - include/grpc/impl/codegen/port_platform.h \ - include/grpc/impl/codegen/propagation_bits.h \ - include/grpc/impl/codegen/slice.h \ - include/grpc/impl/codegen/status.h \ - include/grpc/impl/codegen/sync.h \ - include/grpc/impl/codegen/sync_abseil.h \ - include/grpc/impl/codegen/sync_custom.h \ - include/grpc/impl/codegen/sync_generic.h \ - include/grpc/impl/codegen/sync_posix.h \ - include/grpc/impl/codegen/sync_windows.h \ - include/grpc/impl/compression_types.h \ - include/grpc/impl/connectivity_state.h \ - include/grpc/impl/grpc_types.h \ - include/grpc/impl/propagation_bits.h \ - include/grpc/impl/slice_type.h \ - include/grpc/load_reporting.h \ - include/grpc/slice.h \ - include/grpc/slice_buffer.h \ - include/grpc/status.h \ - include/grpc/support/alloc.h \ - include/grpc/support/atm_gcc_atomic.h \ - include/grpc/support/atm_gcc_sync.h \ - include/grpc/support/atm_windows.h \ - include/grpc/support/cpu.h \ - include/grpc/support/json.h \ - include/grpc/support/log.h \ - include/grpc/support/log_windows.h \ - include/grpc/support/port_platform.h \ - include/grpc/support/string_util.h \ - include/grpc/support/sync.h \ - include/grpc/support/sync_abseil.h \ - include/grpc/support/sync_custom.h \ - include/grpc/support/sync_generic.h \ - include/grpc/support/sync_posix.h \ - include/grpc/support/sync_windows.h \ - include/grpc/support/thd_id.h \ - include/grpc/support/time.h \ - include/grpc/support/workaround_list.h \ - -LIBGRPC_UNSECURE_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_UNSECURE_SRC)))) - - -# static library for "grpc_unsecure" -$(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a: $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LIBGRPC_UNSECURE_OBJS) $(LIBADDRESS_SORTING_OBJS) $(LIBGPR_OBJS) $(LIBGRPC_ABSEIL_OBJS) $(LIBCARES_OBJS) $(ZLIB_MERGE_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBUPB_MEM_LIB_OBJS) $(LIBUPB_BASE_LIB_OBJS) - $(E) "[AR] Creating $@" - $(Q) mkdir -p `dirname $@` - $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a - $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBGRPC_UNSECURE_OBJS) $(LIBADDRESS_SORTING_OBJS) $(LIBGPR_OBJS) $(LIBGRPC_ABSEIL_OBJS) $(LIBCARES_OBJS) $(ZLIB_MERGE_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBUPB_MEM_LIB_OBJS) $(LIBUPB_BASE_LIB_OBJS) -ifeq ($(SYSTEM),Darwin) - $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a -endif - -# shared library for "grpc_unsecure" -ifeq ($(SYSTEM),MINGW32) -$(LIBDIR)/$(CONFIG)/grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a - $(E) "[LD] Linking $@" - $(Q) mkdir -p `dirname $@` - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc_unsecure$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) -else -$(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a - $(E) "[LD] Linking $@" - $(Q) mkdir -p `dirname $@` -ifeq ($(SYSTEM),Darwin) - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) -else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_unsecure.so.39 -o $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) - $(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).so.39 - $(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).so -endif -endif - -ifneq ($(NO_DEPS),true) --include $(LIBGRPC_UNSECURE_OBJS:.o=.dep) -endif -# end of build recipe for library "grpc_unsecure" - - -# start of build recipe for library "re2" (generated by makelib(lib) template function) -# deps: [] -# transitive_deps: [] -LIBRE2_SRC = \ - third_party/re2/re2/bitstate.cc \ - third_party/re2/re2/compile.cc \ - third_party/re2/re2/dfa.cc \ - third_party/re2/re2/filtered_re2.cc \ - third_party/re2/re2/mimics_pcre.cc \ - third_party/re2/re2/nfa.cc \ - third_party/re2/re2/onepass.cc \ - third_party/re2/re2/parse.cc \ - third_party/re2/re2/perl_groups.cc \ - third_party/re2/re2/prefilter.cc \ - third_party/re2/re2/prefilter_tree.cc \ - third_party/re2/re2/prog.cc \ - third_party/re2/re2/re2.cc \ - third_party/re2/re2/regexp.cc \ - third_party/re2/re2/set.cc \ - third_party/re2/re2/simplify.cc \ - third_party/re2/re2/stringpiece.cc \ - third_party/re2/re2/tostring.cc \ - third_party/re2/re2/unicode_casefold.cc \ - third_party/re2/re2/unicode_groups.cc \ - third_party/re2/util/rune.cc \ - third_party/re2/util/strutil.cc \ - -PUBLIC_HEADERS_C += \ - -LIBRE2_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBRE2_SRC)))) - - -# static library for "re2" -$(LIBDIR)/$(CONFIG)/libre2.a: $(LIBRE2_OBJS) - $(E) "[AR] Creating $@" - $(Q) mkdir -p `dirname $@` - $(Q) rm -f $(LIBDIR)/$(CONFIG)/libre2.a - $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libre2.a $(LIBRE2_OBJS) -ifeq ($(SYSTEM),Darwin) - $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libre2.a -endif - -# shared library for "re2" -ifeq ($(SYSTEM),MINGW32) -$(LIBDIR)/$(CONFIG)/re2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBRE2_OBJS) - $(E) "[LD] Linking $@" - $(Q) mkdir -p `dirname $@` - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/re2$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libre2$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/re2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBRE2_OBJS) $(LDLIBS) -else -$(LIBDIR)/$(CONFIG)/libre2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBRE2_OBJS) - $(E) "[LD] Linking $@" - $(Q) mkdir -p `dirname $@` -ifeq ($(SYSTEM),Darwin) - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)re2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libre2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBRE2_OBJS) $(LDLIBS) -else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libre2.so.39 -o $(LIBDIR)/$(CONFIG)/libre2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBRE2_OBJS) $(LDLIBS) - $(Q) ln -sf $(SHARED_PREFIX)re2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libre2$(SHARED_VERSION_CORE).so.39 - $(Q) ln -sf $(SHARED_PREFIX)re2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libre2$(SHARED_VERSION_CORE).so -endif -endif - -ifneq ($(NO_DEPS),true) --include $(LIBRE2_OBJS:.o=.dep) -endif -# end of build recipe for library "re2" - - -# start of build recipe for library "upb_base_lib" (generated by makelib(lib) template function) -# deps: [] -# transitive_deps: [] -LIBUPB_BASE_LIB_SRC = \ - third_party/upb/upb/base/status.c \ - -PUBLIC_HEADERS_C += \ - -LIBUPB_BASE_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBUPB_BASE_LIB_SRC)))) - - -# static library for "upb_base_lib" -$(LIBDIR)/$(CONFIG)/libupb_base_lib.a: $(LIBUPB_BASE_LIB_OBJS) - $(E) "[AR] Creating $@" - $(Q) mkdir -p `dirname $@` - $(Q) rm -f $(LIBDIR)/$(CONFIG)/libupb_base_lib.a - $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LIBUPB_BASE_LIB_OBJS) -ifeq ($(SYSTEM),Darwin) - $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libupb_base_lib.a -endif - -# shared library for "upb_base_lib" -ifeq ($(SYSTEM),MINGW32) -$(LIBDIR)/$(CONFIG)/upb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_BASE_LIB_OBJS) - $(E) "[LD] Linking $@" - $(Q) mkdir -p `dirname $@` - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/upb_base_lib$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libupb_base_lib$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/upb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_BASE_LIB_OBJS) $(LDLIBS) -else -$(LIBDIR)/$(CONFIG)/libupb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_BASE_LIB_OBJS) - $(E) "[LD] Linking $@" - $(Q) mkdir -p `dirname $@` -ifeq ($(SYSTEM),Darwin) - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)upb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libupb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_BASE_LIB_OBJS) $(LDLIBS) -else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libupb_base_lib.so.39 -o $(LIBDIR)/$(CONFIG)/libupb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_BASE_LIB_OBJS) $(LDLIBS) - $(Q) ln -sf $(SHARED_PREFIX)upb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_base_lib$(SHARED_VERSION_CORE).so.39 - $(Q) ln -sf $(SHARED_PREFIX)upb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_base_lib$(SHARED_VERSION_CORE).so -endif -endif - -ifneq ($(NO_DEPS),true) --include $(LIBUPB_BASE_LIB_OBJS:.o=.dep) -endif -# end of build recipe for library "upb_base_lib" - - -# start of build recipe for library "upb_json_lib" (generated by makelib(lib) template function) -# deps: ['upb_message_lib', 'utf8_range_lib'] -# transitive_deps: ['utf8_range_lib', 'upb_message_lib', 'upb_mem_lib', 'upb_base_lib'] -LIBUPB_JSON_LIB_SRC = \ - src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c \ - third_party/upb/upb/json/decode.c \ - third_party/upb/upb/json/encode.c \ - 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/accessors.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 \ - third_party/upb/upb/reflection/enum_def.c \ - third_party/upb/upb/reflection/enum_reserved_range.c \ - third_party/upb/upb/reflection/enum_value_def.c \ - third_party/upb/upb/reflection/extension_range.c \ - third_party/upb/upb/reflection/field_def.c \ - third_party/upb/upb/reflection/file_def.c \ - third_party/upb/upb/reflection/internal/def_builder.c \ - third_party/upb/upb/reflection/internal/strdup2.c \ - third_party/upb/upb/reflection/message.c \ - third_party/upb/upb/reflection/message_def.c \ - third_party/upb/upb/reflection/message_reserved_range.c \ - 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/decode_fast.c \ - third_party/upb/upb/wire/encode.c \ - third_party/upb/upb/wire/eps_copy_input_stream.c \ - third_party/upb/upb/wire/reader.c \ - -PUBLIC_HEADERS_C += \ - -LIBUPB_JSON_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBUPB_JSON_LIB_SRC)))) - - -# static library for "upb_json_lib" -$(LIBDIR)/$(CONFIG)/libupb_json_lib.a: $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LIBUPB_JSON_LIB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBUPB_MEM_LIB_OBJS) $(LIBUPB_BASE_LIB_OBJS) - $(E) "[AR] Creating $@" - $(Q) mkdir -p `dirname $@` - $(Q) rm -f $(LIBDIR)/$(CONFIG)/libupb_json_lib.a - $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBUPB_JSON_LIB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBUPB_MEM_LIB_OBJS) $(LIBUPB_BASE_LIB_OBJS) -ifeq ($(SYSTEM),Darwin) - $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libupb_json_lib.a -endif - -# shared library for "upb_json_lib" -ifeq ($(SYSTEM),MINGW32) -$(LIBDIR)/$(CONFIG)/upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_JSON_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a - $(E) "[LD] Linking $@" - $(Q) mkdir -p `dirname $@` - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/upb_json_lib$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libupb_json_lib$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_JSON_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) -else -$(LIBDIR)/$(CONFIG)/libupb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_JSON_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a - $(E) "[LD] Linking $@" - $(Q) mkdir -p `dirname $@` -ifeq ($(SYSTEM),Darwin) - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libupb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_JSON_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) -else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libupb_json_lib.so.39 -o $(LIBDIR)/$(CONFIG)/libupb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_JSON_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) - $(Q) ln -sf $(SHARED_PREFIX)upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_json_lib$(SHARED_VERSION_CORE).so.39 - $(Q) ln -sf $(SHARED_PREFIX)upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_json_lib$(SHARED_VERSION_CORE).so -endif -endif - -ifneq ($(NO_DEPS),true) --include $(LIBUPB_JSON_LIB_OBJS:.o=.dep) -endif -# end of build recipe for library "upb_json_lib" - - -# start of build recipe for library "upb_mem_lib" (generated by makelib(lib) template function) -# deps: [] -# transitive_deps: [] -LIBUPB_MEM_LIB_SRC = \ - third_party/upb/upb/mem/alloc.c \ - third_party/upb/upb/mem/arena.c \ - -PUBLIC_HEADERS_C += \ - -LIBUPB_MEM_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBUPB_MEM_LIB_SRC)))) - - -# static library for "upb_mem_lib" -$(LIBDIR)/$(CONFIG)/libupb_mem_lib.a: $(LIBUPB_MEM_LIB_OBJS) - $(E) "[AR] Creating $@" - $(Q) mkdir -p `dirname $@` - $(Q) rm -f $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a - $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBUPB_MEM_LIB_OBJS) -ifeq ($(SYSTEM),Darwin) - $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a -endif - -# shared library for "upb_mem_lib" -ifeq ($(SYSTEM),MINGW32) -$(LIBDIR)/$(CONFIG)/upb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_MEM_LIB_OBJS) - $(E) "[LD] Linking $@" - $(Q) mkdir -p `dirname $@` - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/upb_mem_lib$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libupb_mem_lib$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/upb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_MEM_LIB_OBJS) $(LDLIBS) -else -$(LIBDIR)/$(CONFIG)/libupb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_MEM_LIB_OBJS) - $(E) "[LD] Linking $@" - $(Q) mkdir -p `dirname $@` -ifeq ($(SYSTEM),Darwin) - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)upb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libupb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_MEM_LIB_OBJS) $(LDLIBS) -else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libupb_mem_lib.so.39 -o $(LIBDIR)/$(CONFIG)/libupb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_MEM_LIB_OBJS) $(LDLIBS) - $(Q) ln -sf $(SHARED_PREFIX)upb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_mem_lib$(SHARED_VERSION_CORE).so.39 - $(Q) ln -sf $(SHARED_PREFIX)upb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_mem_lib$(SHARED_VERSION_CORE).so -endif -endif - -ifneq ($(NO_DEPS),true) --include $(LIBUPB_MEM_LIB_OBJS:.o=.dep) -endif -# end of build recipe for library "upb_mem_lib" - - -# start of build recipe for library "upb_message_lib" (generated by makelib(lib) template function) -# deps: ['upb_base_lib', 'upb_mem_lib'] -# transitive_deps: ['upb_mem_lib', 'upb_base_lib'] -LIBUPB_MESSAGE_LIB_SRC = \ - third_party/upb/upb/hash/common.c \ - third_party/upb/upb/message/array.c \ - third_party/upb/upb/message/map.c \ - third_party/upb/upb/message/map_sorter.c \ - third_party/upb/upb/message/message.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 \ - -PUBLIC_HEADERS_C += \ - -LIBUPB_MESSAGE_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBUPB_MESSAGE_LIB_SRC)))) - - -# static library for "upb_message_lib" -$(LIBDIR)/$(CONFIG)/libupb_message_lib.a: $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBUPB_MEM_LIB_OBJS) $(LIBUPB_BASE_LIB_OBJS) - $(E) "[AR] Creating $@" - $(Q) mkdir -p `dirname $@` - $(Q) rm -f $(LIBDIR)/$(CONFIG)/libupb_message_lib.a - $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBUPB_MEM_LIB_OBJS) $(LIBUPB_BASE_LIB_OBJS) -ifeq ($(SYSTEM),Darwin) - $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libupb_message_lib.a -endif - -# shared library for "upb_message_lib" -ifeq ($(SYSTEM),MINGW32) -$(LIBDIR)/$(CONFIG)/upb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a - $(E) "[LD] Linking $@" - $(Q) mkdir -p `dirname $@` - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/upb_message_lib$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libupb_message_lib$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/upb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) -else -$(LIBDIR)/$(CONFIG)/libupb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a - $(E) "[LD] Linking $@" - $(Q) mkdir -p `dirname $@` -ifeq ($(SYSTEM),Darwin) - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)upb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libupb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) -else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libupb_message_lib.so.39 -o $(LIBDIR)/$(CONFIG)/libupb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) - $(Q) ln -sf $(SHARED_PREFIX)upb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_message_lib$(SHARED_VERSION_CORE).so.39 - $(Q) ln -sf $(SHARED_PREFIX)upb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_message_lib$(SHARED_VERSION_CORE).so -endif -endif - -ifneq ($(NO_DEPS),true) --include $(LIBUPB_MESSAGE_LIB_OBJS:.o=.dep) -endif -# end of build recipe for library "upb_message_lib" - - -# start of build recipe for library "upb_textformat_lib" (generated by makelib(lib) template function) -# deps: ['upb_message_lib', 'utf8_range_lib'] -# transitive_deps: ['utf8_range_lib', 'upb_message_lib', 'upb_mem_lib', 'upb_base_lib'] -LIBUPB_TEXTFORMAT_LIB_SRC = \ - src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c \ - 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/accessors.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 \ - third_party/upb/upb/reflection/enum_def.c \ - third_party/upb/upb/reflection/enum_reserved_range.c \ - third_party/upb/upb/reflection/enum_value_def.c \ - third_party/upb/upb/reflection/extension_range.c \ - third_party/upb/upb/reflection/field_def.c \ - third_party/upb/upb/reflection/file_def.c \ - third_party/upb/upb/reflection/internal/def_builder.c \ - third_party/upb/upb/reflection/internal/strdup2.c \ - third_party/upb/upb/reflection/message.c \ - third_party/upb/upb/reflection/message_def.c \ - third_party/upb/upb/reflection/message_reserved_range.c \ - 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/text/encode.c \ - third_party/upb/upb/wire/decode.c \ - third_party/upb/upb/wire/decode_fast.c \ - third_party/upb/upb/wire/encode.c \ - third_party/upb/upb/wire/eps_copy_input_stream.c \ - third_party/upb/upb/wire/reader.c \ - -PUBLIC_HEADERS_C += \ - -LIBUPB_TEXTFORMAT_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBUPB_TEXTFORMAT_LIB_SRC)))) - - -# static library for "upb_textformat_lib" -$(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a: $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBUPB_MEM_LIB_OBJS) $(LIBUPB_BASE_LIB_OBJS) - $(E) "[AR] Creating $@" - $(Q) mkdir -p `dirname $@` - $(Q) rm -f $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a - $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBUPB_MEM_LIB_OBJS) $(LIBUPB_BASE_LIB_OBJS) -ifeq ($(SYSTEM),Darwin) - $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a -endif - -# shared library for "upb_textformat_lib" -ifeq ($(SYSTEM),MINGW32) -$(LIBDIR)/$(CONFIG)/upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a - $(E) "[LD] Linking $@" - $(Q) mkdir -p `dirname $@` - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/upb_textformat_lib$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libupb_textformat_lib$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) -else -$(LIBDIR)/$(CONFIG)/libupb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a - $(E) "[LD] Linking $@" - $(Q) mkdir -p `dirname $@` -ifeq ($(SYSTEM),Darwin) - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libupb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) -else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libupb_textformat_lib.so.39 -o $(LIBDIR)/$(CONFIG)/libupb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) - $(Q) ln -sf $(SHARED_PREFIX)upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_textformat_lib$(SHARED_VERSION_CORE).so.39 - $(Q) ln -sf $(SHARED_PREFIX)upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_textformat_lib$(SHARED_VERSION_CORE).so -endif -endif - -ifneq ($(NO_DEPS),true) --include $(LIBUPB_TEXTFORMAT_LIB_OBJS:.o=.dep) -endif -# end of build recipe for library "upb_textformat_lib" - - -# start of build recipe for library "utf8_range_lib" (generated by makelib(lib) template function) -# deps: [] -# transitive_deps: [] -LIBUTF8_RANGE_LIB_SRC = \ - third_party/utf8_range/naive.c \ - third_party/utf8_range/range2-neon.c \ - third_party/utf8_range/range2-sse.c \ - -PUBLIC_HEADERS_C += \ - -LIBUTF8_RANGE_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBUTF8_RANGE_LIB_SRC)))) - - -# static library for "utf8_range_lib" -$(LIBDIR)/$(CONFIG)/libutf8_range_lib.a: $(LIBUTF8_RANGE_LIB_OBJS) - $(E) "[AR] Creating $@" - $(Q) mkdir -p `dirname $@` - $(Q) rm -f $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a - $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBUTF8_RANGE_LIB_OBJS) -ifeq ($(SYSTEM),Darwin) - $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a -endif - -# shared library for "utf8_range_lib" -ifeq ($(SYSTEM),MINGW32) -$(LIBDIR)/$(CONFIG)/utf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUTF8_RANGE_LIB_OBJS) - $(E) "[LD] Linking $@" - $(Q) mkdir -p `dirname $@` - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/utf8_range_lib$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libutf8_range_lib$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/utf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUTF8_RANGE_LIB_OBJS) $(LDLIBS) -else -$(LIBDIR)/$(CONFIG)/libutf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUTF8_RANGE_LIB_OBJS) - $(E) "[LD] Linking $@" - $(Q) mkdir -p `dirname $@` -ifeq ($(SYSTEM),Darwin) - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)utf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libutf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUTF8_RANGE_LIB_OBJS) $(LDLIBS) -else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libutf8_range_lib.so.39 -o $(LIBDIR)/$(CONFIG)/libutf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUTF8_RANGE_LIB_OBJS) $(LDLIBS) - $(Q) ln -sf $(SHARED_PREFIX)utf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libutf8_range_lib$(SHARED_VERSION_CORE).so.39 - $(Q) ln -sf $(SHARED_PREFIX)utf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libutf8_range_lib$(SHARED_VERSION_CORE).so -endif -endif - -ifneq ($(NO_DEPS),true) --include $(LIBUTF8_RANGE_LIB_OBJS:.o=.dep) -endif -# end of build recipe for library "utf8_range_lib" - - -# start of build recipe for library "z" (generated by makelib(lib) template function) -# deps: [] -# transitive_deps: [] -LIBZ_SRC = \ - third_party/zlib/adler32.c \ - third_party/zlib/compress.c \ - third_party/zlib/crc32.c \ - third_party/zlib/deflate.c \ - third_party/zlib/infback.c \ - third_party/zlib/inffast.c \ - third_party/zlib/inflate.c \ - third_party/zlib/inftrees.c \ - third_party/zlib/trees.c \ - third_party/zlib/uncompr.c \ - third_party/zlib/zutil.c \ - -PUBLIC_HEADERS_C += \ - -LIBZ_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBZ_SRC)))) - -$(LIBZ_OBJS): CFLAGS += -fvisibility=hidden -$(LIBZ_OBJS): CPPFLAGS += -DHAVE_UNISTD_H - -# static library for "z" -$(LIBDIR)/$(CONFIG)/libz.a: $(ZLIB_MERGE_OBJS) - $(E) "[AR] Creating $@" - $(Q) mkdir -p `dirname $@` - $(Q) rm -f $(LIBDIR)/$(CONFIG)/libz.a - $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libz.a $(LIBZ_OBJS) -ifeq ($(SYSTEM),Darwin) - $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libz.a -endif - -# shared library for "z" - -ifneq ($(NO_DEPS),true) --include $(LIBZ_OBJS:.o=.dep) -endif -# end of build recipe for library "z" - - # start of build recipe for library "boringssl" (generated by makelib(lib) template function) # deps: [] # transitive_deps: [] @@ -3179,66 +2141,66 @@ endif # deps: [] # transitive_deps: [] LIBCARES_SRC = \ - third_party/cares/cares/src/lib/ares__read_line.c \ - third_party/cares/cares/src/lib/ares__get_hostent.c \ + third_party/cares/cares/src/lib/ares__addrinfo2hostent.c \ + third_party/cares/cares/src/lib/ares__addrinfo_localhost.c \ third_party/cares/cares/src/lib/ares__close_sockets.c \ + third_party/cares/cares/src/lib/ares__get_hostent.c \ + third_party/cares/cares/src/lib/ares__parse_into_addrinfo.c \ + third_party/cares/cares/src/lib/ares__read_line.c \ + third_party/cares/cares/src/lib/ares__readaddrinfo.c \ + third_party/cares/cares/src/lib/ares__sortaddrinfo.c \ third_party/cares/cares/src/lib/ares__timeval.c \ - third_party/cares/cares/src/lib/ares_gethostbyaddr.c \ - third_party/cares/cares/src/lib/ares_getenv.c \ - third_party/cares/cares/src/lib/ares_free_string.c \ - third_party/cares/cares/src/lib/ares_free_hostent.c \ - third_party/cares/cares/src/lib/ares_fds.c \ - third_party/cares/cares/src/lib/ares_expand_string.c \ - third_party/cares/cares/src/lib/ares_create_query.c \ - third_party/cares/cares/src/lib/ares_cancel.c \ third_party/cares/cares/src/lib/ares_android.c \ - third_party/cares/cares/src/lib/ares_parse_txt_reply.c \ - third_party/cares/cares/src/lib/ares_parse_srv_reply.c \ - third_party/cares/cares/src/lib/ares_parse_soa_reply.c \ - third_party/cares/cares/src/lib/ares_parse_ptr_reply.c \ - third_party/cares/cares/src/lib/ares_parse_ns_reply.c \ - third_party/cares/cares/src/lib/ares_parse_naptr_reply.c \ - third_party/cares/cares/src/lib/ares_parse_mx_reply.c \ - third_party/cares/cares/src/lib/ares_parse_caa_reply.c \ - third_party/cares/cares/src/lib/ares_options.c \ - third_party/cares/cares/src/lib/ares_nowarn.c \ - third_party/cares/cares/src/lib/ares_mkquery.c \ - third_party/cares/cares/src/lib/ares_llist.c \ - third_party/cares/cares/src/lib/ares_getsock.c \ + third_party/cares/cares/src/lib/ares_cancel.c \ + third_party/cares/cares/src/lib/ares_create_query.c \ + third_party/cares/cares/src/lib/ares_data.c \ + third_party/cares/cares/src/lib/ares_destroy.c \ + third_party/cares/cares/src/lib/ares_expand_name.c \ + third_party/cares/cares/src/lib/ares_expand_string.c \ + third_party/cares/cares/src/lib/ares_fds.c \ + third_party/cares/cares/src/lib/ares_free_hostent.c \ + third_party/cares/cares/src/lib/ares_free_string.c \ + third_party/cares/cares/src/lib/ares_freeaddrinfo.c \ + third_party/cares/cares/src/lib/ares_getaddrinfo.c \ + third_party/cares/cares/src/lib/ares_getenv.c \ + third_party/cares/cares/src/lib/ares_gethostbyaddr.c \ + third_party/cares/cares/src/lib/ares_gethostbyname.c \ third_party/cares/cares/src/lib/ares_getnameinfo.c \ - third_party/cares/cares/src/lib/bitncmp.c \ - third_party/cares/cares/src/lib/ares_writev.c \ - third_party/cares/cares/src/lib/ares_version.c \ - third_party/cares/cares/src/lib/ares_timeout.c \ - third_party/cares/cares/src/lib/ares_strerror.c \ - third_party/cares/cares/src/lib/ares_strcasecmp.c \ - third_party/cares/cares/src/lib/ares_search.c \ - third_party/cares/cares/src/lib/ares_platform.c \ - third_party/cares/cares/src/lib/windows_port.c \ - third_party/cares/cares/src/lib/inet_ntop.c \ - third_party/cares/cares/src/lib/ares__sortaddrinfo.c \ - third_party/cares/cares/src/lib/ares__readaddrinfo.c \ - third_party/cares/cares/src/lib/ares_parse_uri_reply.c \ - third_party/cares/cares/src/lib/ares__parse_into_addrinfo.c \ + third_party/cares/cares/src/lib/ares_getsock.c \ + third_party/cares/cares/src/lib/ares_init.c \ + third_party/cares/cares/src/lib/ares_library_init.c \ + third_party/cares/cares/src/lib/ares_llist.c \ + third_party/cares/cares/src/lib/ares_mkquery.c \ + third_party/cares/cares/src/lib/ares_nowarn.c \ + third_party/cares/cares/src/lib/ares_options.c \ third_party/cares/cares/src/lib/ares_parse_a_reply.c \ third_party/cares/cares/src/lib/ares_parse_aaaa_reply.c \ - third_party/cares/cares/src/lib/ares_library_init.c \ - third_party/cares/cares/src/lib/ares_init.c \ - third_party/cares/cares/src/lib/ares_gethostbyname.c \ - third_party/cares/cares/src/lib/ares_getaddrinfo.c \ - third_party/cares/cares/src/lib/ares_freeaddrinfo.c \ - third_party/cares/cares/src/lib/ares_expand_name.c \ - third_party/cares/cares/src/lib/ares_destroy.c \ - third_party/cares/cares/src/lib/ares_data.c \ - third_party/cares/cares/src/lib/ares__addrinfo_localhost.c \ - third_party/cares/cares/src/lib/ares__addrinfo2hostent.c \ - third_party/cares/cares/src/lib/inet_net_pton.c \ - third_party/cares/cares/src/lib/ares_strsplit.c \ - third_party/cares/cares/src/lib/ares_strdup.c \ - third_party/cares/cares/src/lib/ares_send.c \ - third_party/cares/cares/src/lib/ares_rand.c \ - third_party/cares/cares/src/lib/ares_query.c \ + third_party/cares/cares/src/lib/ares_parse_caa_reply.c \ + third_party/cares/cares/src/lib/ares_parse_mx_reply.c \ + third_party/cares/cares/src/lib/ares_parse_naptr_reply.c \ + third_party/cares/cares/src/lib/ares_parse_ns_reply.c \ + third_party/cares/cares/src/lib/ares_parse_ptr_reply.c \ + third_party/cares/cares/src/lib/ares_parse_soa_reply.c \ + third_party/cares/cares/src/lib/ares_parse_srv_reply.c \ + third_party/cares/cares/src/lib/ares_parse_txt_reply.c \ + third_party/cares/cares/src/lib/ares_parse_uri_reply.c \ + third_party/cares/cares/src/lib/ares_platform.c \ third_party/cares/cares/src/lib/ares_process.c \ + third_party/cares/cares/src/lib/ares_query.c \ + third_party/cares/cares/src/lib/ares_rand.c \ + third_party/cares/cares/src/lib/ares_search.c \ + third_party/cares/cares/src/lib/ares_send.c \ + third_party/cares/cares/src/lib/ares_strcasecmp.c \ + third_party/cares/cares/src/lib/ares_strdup.c \ + third_party/cares/cares/src/lib/ares_strerror.c \ + third_party/cares/cares/src/lib/ares_strsplit.c \ + third_party/cares/cares/src/lib/ares_timeout.c \ + third_party/cares/cares/src/lib/ares_version.c \ + third_party/cares/cares/src/lib/ares_writev.c \ + third_party/cares/cares/src/lib/bitncmp.c \ + third_party/cares/cares/src/lib/inet_net_pton.c \ + third_party/cares/cares/src/lib/inet_ntop.c \ + third_party/cares/cares/src/lib/windows_port.c \ LIBCARES_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBCARES_SRC)))) @@ -3264,573 +2226,48 @@ endif # end of build recipe for library "cares" -# Add private ABSEIL target which contains all sources used by all baselib libraries. - - -# start of build recipe for library "grpc_abseil" (generated by makelib(lib) template function) +# start of build recipe for library "z" (generated by makelib(lib) template function) # deps: [] # transitive_deps: [] -LIBGRPC_ABSEIL_SRC = \ - third_party/abseil-cpp/absl/base/internal/cycleclock.cc \ - third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc \ - third_party/abseil-cpp/absl/base/internal/raw_logging.cc \ - third_party/abseil-cpp/absl/base/internal/spinlock.cc \ - third_party/abseil-cpp/absl/base/internal/spinlock_wait.cc \ - third_party/abseil-cpp/absl/base/internal/strerror.cc \ - third_party/abseil-cpp/absl/base/internal/sysinfo.cc \ - third_party/abseil-cpp/absl/base/internal/thread_identity.cc \ - third_party/abseil-cpp/absl/base/internal/throw_delegate.cc \ - third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc \ - third_party/abseil-cpp/absl/base/log_severity.cc \ - third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc \ - third_party/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc \ - third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc \ - third_party/abseil-cpp/absl/crc/crc32c.cc \ - third_party/abseil-cpp/absl/crc/internal/cpu_detect.cc \ - third_party/abseil-cpp/absl/crc/internal/crc.cc \ - third_party/abseil-cpp/absl/crc/internal/crc_cord_state.cc \ - third_party/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc \ - third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_arm_combined.cc \ - third_party/abseil-cpp/absl/crc/internal/crc_non_temporal_memcpy.cc \ - third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc \ - third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc \ - third_party/abseil-cpp/absl/debugging/internal/demangle.cc \ - third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc \ - third_party/abseil-cpp/absl/debugging/internal/vdso_support.cc \ - third_party/abseil-cpp/absl/debugging/stacktrace.cc \ - third_party/abseil-cpp/absl/debugging/symbolize.cc \ - third_party/abseil-cpp/absl/flags/commandlineflag.cc \ - third_party/abseil-cpp/absl/flags/internal/commandlineflag.cc \ - third_party/abseil-cpp/absl/flags/internal/flag.cc \ - third_party/abseil-cpp/absl/flags/internal/private_handle_accessor.cc \ - third_party/abseil-cpp/absl/flags/internal/program_name.cc \ - third_party/abseil-cpp/absl/flags/marshalling.cc \ - third_party/abseil-cpp/absl/flags/reflection.cc \ - third_party/abseil-cpp/absl/flags/usage_config.cc \ - third_party/abseil-cpp/absl/hash/internal/city.cc \ - third_party/abseil-cpp/absl/hash/internal/hash.cc \ - third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc \ - third_party/abseil-cpp/absl/numeric/int128.cc \ - third_party/abseil-cpp/absl/profiling/internal/exponential_biased.cc \ - third_party/abseil-cpp/absl/random/discrete_distribution.cc \ - third_party/abseil-cpp/absl/random/gaussian_distribution.cc \ - third_party/abseil-cpp/absl/random/internal/pool_urbg.cc \ - third_party/abseil-cpp/absl/random/internal/randen.cc \ - third_party/abseil-cpp/absl/random/internal/randen_detect.cc \ - third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc \ - third_party/abseil-cpp/absl/random/internal/randen_round_keys.cc \ - third_party/abseil-cpp/absl/random/internal/randen_slow.cc \ - third_party/abseil-cpp/absl/random/internal/seed_material.cc \ - third_party/abseil-cpp/absl/random/seed_gen_exception.cc \ - third_party/abseil-cpp/absl/random/seed_sequences.cc \ - third_party/abseil-cpp/absl/status/internal/status_internal.cc \ - third_party/abseil-cpp/absl/status/status.cc \ - third_party/abseil-cpp/absl/status/status_payload_printer.cc \ - third_party/abseil-cpp/absl/status/statusor.cc \ - third_party/abseil-cpp/absl/strings/ascii.cc \ - third_party/abseil-cpp/absl/strings/charconv.cc \ - third_party/abseil-cpp/absl/strings/cord.cc \ - third_party/abseil-cpp/absl/strings/cord_analysis.cc \ - third_party/abseil-cpp/absl/strings/cord_buffer.cc \ - third_party/abseil-cpp/absl/strings/escaping.cc \ - third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc \ - third_party/abseil-cpp/absl/strings/internal/charconv_parse.cc \ - third_party/abseil-cpp/absl/strings/internal/cord_internal.cc \ - third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc \ - third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc \ - third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc \ - third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc \ - third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc \ - third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc \ - third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc \ - third_party/abseil-cpp/absl/strings/internal/cordz_info.cc \ - third_party/abseil-cpp/absl/strings/internal/damerau_levenshtein_distance.cc \ - third_party/abseil-cpp/absl/strings/internal/escaping.cc \ - third_party/abseil-cpp/absl/strings/internal/memutil.cc \ - third_party/abseil-cpp/absl/strings/internal/ostringstream.cc \ - third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc \ - third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc \ - third_party/abseil-cpp/absl/strings/internal/str_format/extension.cc \ - third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc \ - third_party/abseil-cpp/absl/strings/internal/str_format/output.cc \ - third_party/abseil-cpp/absl/strings/internal/str_format/parser.cc \ - third_party/abseil-cpp/absl/strings/internal/stringify_sink.cc \ - third_party/abseil-cpp/absl/strings/internal/utf8.cc \ - third_party/abseil-cpp/absl/strings/match.cc \ - third_party/abseil-cpp/absl/strings/numbers.cc \ - third_party/abseil-cpp/absl/strings/str_cat.cc \ - third_party/abseil-cpp/absl/strings/str_replace.cc \ - third_party/abseil-cpp/absl/strings/str_split.cc \ - third_party/abseil-cpp/absl/strings/string_view.cc \ - third_party/abseil-cpp/absl/strings/substitute.cc \ - third_party/abseil-cpp/absl/synchronization/barrier.cc \ - third_party/abseil-cpp/absl/synchronization/blocking_counter.cc \ - third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc \ - third_party/abseil-cpp/absl/synchronization/internal/futex_waiter.cc \ - third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc \ - third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.cc \ - third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc \ - third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.cc \ - third_party/abseil-cpp/absl/synchronization/internal/sem_waiter.cc \ - third_party/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.cc \ - third_party/abseil-cpp/absl/synchronization/internal/waiter_base.cc \ - third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.cc \ - third_party/abseil-cpp/absl/synchronization/mutex.cc \ - third_party/abseil-cpp/absl/synchronization/notification.cc \ - third_party/abseil-cpp/absl/time/civil_time.cc \ - third_party/abseil-cpp/absl/time/clock.cc \ - third_party/abseil-cpp/absl/time/duration.cc \ - third_party/abseil-cpp/absl/time/format.cc \ - third_party/abseil-cpp/absl/time/internal/cctz/src/civil_time_detail.cc \ - third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc \ - third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc \ - third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc \ - third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc \ - third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc \ - third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc \ - third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc \ - third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc \ - third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc \ - third_party/abseil-cpp/absl/time/time.cc \ - third_party/abseil-cpp/absl/types/bad_optional_access.cc \ - third_party/abseil-cpp/absl/types/bad_variant_access.cc \ +LIBZ_SRC = \ + third_party/zlib/adler32.c \ + third_party/zlib/compress.c \ + third_party/zlib/crc32.c \ + third_party/zlib/deflate.c \ + third_party/zlib/infback.c \ + third_party/zlib/inffast.c \ + third_party/zlib/inflate.c \ + third_party/zlib/inftrees.c \ + third_party/zlib/trees.c \ + third_party/zlib/uncompr.c \ + third_party/zlib/zutil.c \ +PUBLIC_HEADERS_C += \ -LIBGRPC_ABSEIL_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_ABSEIL_SRC)))) +LIBZ_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBZ_SRC)))) -$(LIBGRPC_ABSEIL_OBJS): CPPFLAGS += -g -Ithird_party/abseil-cpp +$(LIBZ_OBJS): CFLAGS += -fvisibility=hidden +$(LIBZ_OBJS): CPPFLAGS += -DHAVE_UNISTD_H -# static library for "grpc_abseil" -$(LIBDIR)/$(CONFIG)/libgrpc_abseil.a: $(LIBGRPC_ABSEIL_OBJS) +# static library for "z" +$(LIBDIR)/$(CONFIG)/libz.a: $(ZLIB_MERGE_OBJS) $(E) "[AR] Creating $@" $(Q) mkdir -p `dirname $@` - $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_abseil.a - $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libgrpc_abseil.a $(LIBGRPC_ABSEIL_OBJS) + $(Q) rm -f $(LIBDIR)/$(CONFIG)/libz.a + $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libz.a $(LIBZ_OBJS) ifeq ($(SYSTEM),Darwin) - $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libgrpc_abseil.a + $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libz.a endif -# shared library for "grpc_abseil" +# shared library for "z" ifneq ($(NO_DEPS),true) --include $(LIBGRPC_ABSEIL_OBJS:.o=.dep) -endif -# end of build recipe for library "grpc_abseil" - - - - -# TODO(jtattermusch): is there a way to get around this hack? -ifneq ($(OPENSSL_DEP),) -# This is to ensure the embedded OpenSSL is built beforehand, properly -# installing headers to their final destination on the drive. We need this -# otherwise parallel compilation will fail if a source is compiled first. -src/core/ext/filters/rbac/rbac_filter.cc: $(OPENSSL_DEP) -src/core/ext/filters/rbac/rbac_service_config_parser.cc: $(OPENSSL_DEP) -src/core/ext/filters/server_config_selector/server_config_selector_filter.cc: $(OPENSSL_DEP) -src/core/ext/filters/stateful_session/stateful_session_filter.cc: $(OPENSSL_DEP) -src/core/ext/filters/stateful_session/stateful_session_service_config_parser.cc: $(OPENSSL_DEP) -src/core/ext/gcp/metadata_query.cc: $(OPENSSL_DEP) -src/core/ext/transport/chttp2/alpn/alpn.cc: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/google/api/http.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/validate/validate.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/xds/certificate_provider_store.cc: $(OPENSSL_DEP) -src/core/ext/xds/file_watcher_certificate_provider_factory.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_api.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_audit_logger_registry.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_bootstrap.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_bootstrap_grpc.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_certificate_provider.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_channel_stack_modifier.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_client.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_client_grpc.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_client_stats.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_cluster.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_cluster_specifier_plugin.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_common_types.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_endpoint.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_health_status.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_http_fault_filter.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_http_filters.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_http_rbac_filter.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_http_stateful_session_filter.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_lb_policy_registry.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_listener.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_route_config.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_routing.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_server_config_fetcher.cc: $(OPENSSL_DEP) -src/core/ext/xds/xds_transport_grpc.cc: $(OPENSSL_DEP) -src/core/lib/gprpp/posix/directory_reader.cc: $(OPENSSL_DEP) -src/core/lib/gprpp/windows/directory_reader.cc: $(OPENSSL_DEP) -src/core/lib/http/httpcli_security_connector.cc: $(OPENSSL_DEP) -src/core/lib/json/json_util.cc: $(OPENSSL_DEP) -src/core/lib/matchers/matchers.cc: $(OPENSSL_DEP) -src/core/lib/security/authorization/audit_logging.cc: $(OPENSSL_DEP) -src/core/lib/security/authorization/grpc_authorization_engine.cc: $(OPENSSL_DEP) -src/core/lib/security/authorization/matchers.cc: $(OPENSSL_DEP) -src/core/lib/security/authorization/rbac_policy.cc: $(OPENSSL_DEP) -src/core/lib/security/authorization/stdout_logger.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/alts/alts_credentials.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/channel_creds_registry_init.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/external/aws_external_account_credentials.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/external/aws_request_signer.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/external/external_account_credentials.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/external/file_external_account_credentials.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/external/url_external_account_credentials.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/google_default/credentials_generic.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/google_default/google_default_credentials.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/iam/iam_credentials.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/jwt/json_token.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/jwt/jwt_credentials.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/jwt/jwt_verifier.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/local/local_credentials.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/oauth2/oauth2_credentials.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/ssl/ssl_credentials.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/tls/grpc_tls_certificate_match.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/tls/tls_credentials.cc: $(OPENSSL_DEP) -src/core/lib/security/credentials/xds/xds_credentials.cc: $(OPENSSL_DEP) -src/core/lib/security/security_connector/alts/alts_security_connector.cc: $(OPENSSL_DEP) -src/core/lib/security/security_connector/local/local_security_connector.cc: $(OPENSSL_DEP) -src/core/lib/security/security_connector/ssl/ssl_security_connector.cc: $(OPENSSL_DEP) -src/core/lib/security/security_connector/ssl_utils.cc: $(OPENSSL_DEP) -src/core/lib/security/security_connector/tls/tls_security_connector.cc: $(OPENSSL_DEP) -src/core/load_balancing/ring_hash/ring_hash.cc: $(OPENSSL_DEP) -src/core/load_balancing/xds/cds.cc: $(OPENSSL_DEP) -src/core/load_balancing/xds/xds_cluster_impl.cc: $(OPENSSL_DEP) -src/core/load_balancing/xds/xds_cluster_manager.cc: $(OPENSSL_DEP) -src/core/load_balancing/xds/xds_override_host.cc: $(OPENSSL_DEP) -src/core/load_balancing/xds/xds_wrr_locality.cc: $(OPENSSL_DEP) -src/core/plugin_registry/grpc_plugin_registry_extra.cc: $(OPENSSL_DEP) -src/core/resolver/google_c2p/google_c2p_resolver.cc: $(OPENSSL_DEP) -src/core/resolver/xds/xds_dependency_manager.cc: $(OPENSSL_DEP) -src/core/resolver/xds/xds_resolver.cc: $(OPENSSL_DEP) -src/core/resolver/xds/xds_resolver_trace.cc: $(OPENSSL_DEP) -src/core/tsi/alts/crypt/aes_gcm.cc: $(OPENSSL_DEP) -src/core/tsi/alts/crypt/gsec.cc: $(OPENSSL_DEP) -src/core/tsi/alts/frame_protector/alts_counter.cc: $(OPENSSL_DEP) -src/core/tsi/alts/frame_protector/alts_crypter.cc: $(OPENSSL_DEP) -src/core/tsi/alts/frame_protector/alts_frame_protector.cc: $(OPENSSL_DEP) -src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.cc: $(OPENSSL_DEP) -src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc: $(OPENSSL_DEP) -src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc: $(OPENSSL_DEP) -src/core/tsi/alts/frame_protector/frame_handler.cc: $(OPENSSL_DEP) -src/core/tsi/alts/handshaker/alts_handshaker_client.cc: $(OPENSSL_DEP) -src/core/tsi/alts/handshaker/alts_shared_resource.cc: $(OPENSSL_DEP) -src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc: $(OPENSSL_DEP) -src/core/tsi/alts/handshaker/alts_tsi_utils.cc: $(OPENSSL_DEP) -src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc: $(OPENSSL_DEP) -src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc: $(OPENSSL_DEP) -src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc: $(OPENSSL_DEP) -src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc: $(OPENSSL_DEP) -src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc: $(OPENSSL_DEP) -src/core/tsi/ssl/key_logging/ssl_key_logging.cc: $(OPENSSL_DEP) -src/core/tsi/ssl/session_cache/ssl_session_boringssl.cc: $(OPENSSL_DEP) -src/core/tsi/ssl/session_cache/ssl_session_cache.cc: $(OPENSSL_DEP) -src/core/tsi/ssl/session_cache/ssl_session_openssl.cc: $(OPENSSL_DEP) -src/core/tsi/ssl_transport_security.cc: $(OPENSSL_DEP) -src/core/tsi/ssl_transport_security_utils.cc: $(OPENSSL_DEP) +-include $(LIBZ_OBJS:.o=.dep) endif +# end of build recipe for library "z" + + + .PHONY: all strip tools dep_error openssl_dep_error openssl_dep_message git_update stop buildtests buildtests_c buildtests_cxx test test_c test_cxx install install_c install_cxx install-static install-certs strip strip-shared strip-static strip_c strip-shared_c strip-static_c strip_cxx strip-shared_cxx strip-static_cxx dep_c dep_cxx bins_dep_c bins_dep_cxx clean diff --git a/Rakefile b/Rakefile index b3b67b1a39e..acd9df2db78 100755 --- a/Rakefile +++ b/Rakefile @@ -109,7 +109,6 @@ task 'dlls', [:plat] do |t, args| env += 'SYSTEM=MINGW32 ' env += 'EMBED_ZLIB=true ' env += 'EMBED_OPENSSL=true ' - env += 'EMBED_CARES=true ' env += 'BUILDDIR=/tmp ' env += "V=#{verbose} " env += "GRPC_RUBY_BUILD_PROCS=#{nproc_override} " diff --git a/build_handwritten.yaml b/build_handwritten.yaml index 6282f4993dc..82e9226e270 100644 --- a/build_handwritten.yaml +++ b/build_handwritten.yaml @@ -129,10 +129,6 @@ configs: test_environ: UBSAN_OPTIONS: halt_on_error=1:print_stacktrace=1:suppressions=test/core/util/ubsan_suppressions.txt defaults: - abseil: - CPPFLAGS: -g -Ithird_party/abseil-cpp - benchmark: - CPPFLAGS: -Ithird_party/benchmark/include -DHAVE_POSIX_REGEX boringssl: CFLAGS: -g CPPFLAGS: -Ithird_party/boringssl-with-bazel/src/include -fvisibility=hidden -DOPENSSL_NO_ASM @@ -150,7 +146,8 @@ defaults: COREFLAGS: -fno-exceptions CPPFLAGS: -g -Wall -Wextra -DOSATOMIC_USE_INLINED=1 -Ithird_party/abseil-cpp -Ithird_party/re2 -Ithird_party/upb -Isrc/core/ext/upb-gen -Isrc/core/ext/upbdefs-gen -Ithird_party/utf8_range - -Ithird_party/xxhash + -Ithird_party/xxhash -Ithird_party/cares/cares/include -Ithird_party/cares -Ithird_party/cares/cares + -Ithird_party/address_sorting/include LDFLAGS: -g zlib: CFLAGS: -fvisibility=hidden diff --git a/grpc.gyp b/grpc.gyp index bb844663ee0..233e3be63a5 100644 --- a/grpc.gyp +++ b/grpc.gyp @@ -62,6 +62,10 @@ '-Isrc/core/ext/upbdefs-gen', '-Ithird_party/utf8_range', '-Ithird_party/xxhash', + '-Ithird_party/cares/cares/include', + '-Ithird_party/cares', + '-Ithird_party/cares/cares', + '-Ithird_party/address_sorting/include', ], 'ldflags': [ '-g', @@ -143,6 +147,10 @@ '-Isrc/core/ext/upbdefs-gen', '-Ithird_party/utf8_range', '-Ithird_party/xxhash', + '-Ithird_party/cares/cares/include', + '-Ithird_party/cares', + '-Ithird_party/cares/cares', + '-Ithird_party/address_sorting/include', ], 'OTHER_CPLUSPLUSFLAGS': [ '-g', @@ -156,6 +164,10 @@ '-Isrc/core/ext/upbdefs-gen', '-Ithird_party/utf8_range', '-Ithird_party/xxhash', + '-Ithird_party/cares/cares/include', + '-Ithird_party/cares', + '-Ithird_party/cares/cares', + '-Ithird_party/address_sorting/include', '-stdlib=libc++', '-std=c++14', '-Wno-error=deprecated-declarations', diff --git a/src/php/ext/grpc/config.m4 b/src/php/ext/grpc/config.m4 index 5600df34ccf..bfef03e3b55 100755 --- a/src/php/ext/grpc/config.m4 +++ b/src/php/ext/grpc/config.m4 @@ -60,17 +60,6 @@ if test "$PHP_GRPC" != "no"; then PHP_ADD_LIBPATH($GRPC_LIBDIR) - PHP_CHECK_LIBRARY(gpr,gpr_now, - [ - PHP_ADD_LIBRARY(gpr,,GRPC_SHARED_LIBADD) - PHP_ADD_LIBRARY(gpr) - AC_DEFINE(HAVE_GPRLIB,1,[ ]) - ],[ - AC_MSG_ERROR([wrong gpr lib version or lib not found]) - ],[ - -L$GRPC_LIBDIR - ]) - PHP_CHECK_LIBRARY(grpc,grpc_channel_destroy, [ PHP_ADD_LIBRARY(grpc,,GRPC_SHARED_LIBADD) diff --git a/src/ruby/ext/grpc/extconf.rb b/src/ruby/ext/grpc/extconf.rb index 18e8a919c53..ba53b0f50a0 100644 --- a/src/ruby/ext/grpc/extconf.rb +++ b/src/ruby/ext/grpc/extconf.rb @@ -100,8 +100,6 @@ ENV['EMBED_OPENSSL'] = (RUBY_ENGINE != 'truffleruby').to_s # Don't embed on TruffleRuby (the system zlib is already linked for the zlib C extension, slow build times) ENV['EMBED_ZLIB'] = (RUBY_ENGINE != 'truffleruby').to_s -ENV['EMBED_CARES'] = 'true' - ENV['ARCH_FLAGS'] = RbConfig::CONFIG['ARCH_FLAG'] if apple_toolchain && !cross_compiling if RUBY_PLATFORM =~ /arm64/ diff --git a/templates/CMakeLists.txt.template b/templates/CMakeLists.txt.template index 08cab68e7f4..4362aa44878 100644 --- a/templates/CMakeLists.txt.template +++ b/templates/CMakeLists.txt.template @@ -197,19 +197,6 @@ deps.append(d) return deps - def get_all_deps(target_dict, all_libs): - ret = set() - get_all_deps_recurse(target_dict, all_libs, ret) - return ret - - def get_all_deps_recurse(target_dict, all_libs, all_deps): - for d in target_dict.get('deps', []): - if not d in all_deps: - all_deps.add(d) - for other_lib in all_libs: - if other_lib.name == d: - get_all_deps_recurse(other_lib, all_libs, all_deps) - def is_generate_cmake_target(lib_or_target): """Returns True if a cmake target should be generated for given library/target.""" # TODO(jtattermusch): extract the metadata to a centralized location. @@ -844,11 +831,11 @@ dll_annotations.append("GRPC_DLL_EXPORTS") if lib.name in grpcxx_libs: dll_annotations.append("GRPCXX_DLL_EXPORTS") - if set(gpr_libs) & set(get_all_deps(lib, libs)): + if set(gpr_libs) & set(lib.transitive_deps): dll_annotations.append("GPR_DLL_IMPORTS") - if set(grpc_libs) & set(get_all_deps(lib, libs)): + if set(grpc_libs) & set(lib.transitive_deps): dll_annotations.append("GRPC_DLL_IMPORTS") - if set(grpcxx_libs) & set(get_all_deps(lib, libs)): + if set(grpcxx_libs) & set(lib.transitive_deps): dll_annotations.append("GRPCXX_DLL_IMPORTS") %> % if dll_annotations: @@ -945,11 +932,11 @@ % endfor )<% dll_annotations = [] - if set(gpr_libs) & set(get_all_deps(tgt, libs)): + if set(gpr_libs) & set(tgt.transitive_deps): dll_annotations.append("GPR_DLL_IMPORTS") - if set(grpc_libs) & set(get_all_deps(tgt, libs)): + if set(grpc_libs) & set(tgt.transitive_deps): dll_annotations.append("GRPC_DLL_IMPORTS") - if set(grpcxx_libs) & set(get_all_deps(tgt, libs)): + if set(grpcxx_libs) & set(tgt.transitive_deps): dll_annotations.append("GRPCXX_DLL_IMPORTS") %> % if dll_annotations: diff --git a/templates/Makefile.template b/templates/Makefile.template index 490b3d0fb53..5095da45394 100644 --- a/templates/Makefile.template +++ b/templates/Makefile.template @@ -24,31 +24,11 @@ import re import os - def is_absl_lib(target_name): - """Returns True if the target name is one of the abseil libraries.""" - return target_name.startswith("absl/") - - - def collapse_absl_deps(deps): - """Replace first occurrence of absl dependency with grpc_abseil and remove the remaining absl dependencies.""" - result = [] - absl_dep_added = False - for dep in deps: - if is_absl_lib(dep): - if not absl_dep_added: - result.append('grpc_abseil') - absl_dep_added = True - else: - result.append(dep) - return result - def get_dep_expression(dep): """For given dependency, return the expression to be used in Makefile rule dependencies.""" if dep == 'z': return "$(ZLIB_DEP)" - elif dep == 'grpc_abseil': - return "$(GRPC_ABSEIL_DEP)" elif dep == 'libssl': return "$(OPENSSL_DEP)" else: @@ -59,8 +39,6 @@ """For given dependency, return the lib archive expression to be used when linking.""" if dep == 'z': return "$(ZLIB_MERGE_LIBS)" - elif dep == 'grpc_abseil': - return "$(GRPC_ABSEIL_MERGE_LIBS)" elif dep == 'libssl': return "$(OPENSSL_MERGE_LIBS)" else: @@ -71,8 +49,6 @@ """For given dependency, return the expression with variable that has list of all object files.""" if dep == 'z': return "$(ZLIB_MERGE_OBJS)" - elif dep == 'grpc_abseil': - return "$(LIBGRPC_ABSEIL_OBJS)" elif dep == 'libssl': return "$(OPENSSL_MERGE_OBJS)" else: @@ -83,8 +59,7 @@ """Generate make rule dependency list for given library, when building as static.""" make_rule_deps = [] - - collapsed_deps = collapse_absl_deps(lib.get('transitive_deps', [])) + collapsed_deps = lib.get('transitive_deps', []) # depend on static libraries for dep in collapsed_deps: @@ -103,7 +78,7 @@ def get_merge_objs_for_deps(lib): """Get list of merge objs for all deps of a given library.""" result = [] - collapsed_deps = collapse_absl_deps(lib.get('transitive_deps', [])) + collapsed_deps = lib.get('transitive_deps', []) for dep in collapsed_deps: result.append(get_objs_expression(dep)) @@ -115,7 +90,7 @@ """Generate make rule dependency list given library, when built as shared.""" make_rule_deps = [] - collapsed_deps = collapse_absl_deps(lib.get('transitive_deps', [])) + collapsed_deps = lib.get('transitive_deps', []) # depend of obj files of this library itself make_rule_deps.append(get_objs_expression(lib.name)) @@ -131,7 +106,7 @@ """Generate list of libraries to link given library, when built as shared.""" result = [] - collapsed_deps = collapse_absl_deps(lib.get('transitive_deps', [])) + collapsed_deps = lib.get('transitive_deps', []) # depend of obj files of this library itself result.append(get_objs_expression(lib.name)) @@ -148,37 +123,31 @@ return " ".join(result) - sources_that_need_openssl = set() - sources_that_don_t_need_openssl = set() - - # warnings we'd like, but that don't exist in all compilers - PREFERRED_WARNINGS=['extra-semi'] - CHECK_WARNINGS=PREFERRED_WARNINGS + ['no-shift-negative-value', 'no-unused-but-set-variable', 'no-maybe-uninitialized', 'no-unknown-warning-option'] - - def warning_var(fmt, warning): - return fmt % warning.replace('-', '_').replace('+', 'X').upper() - - def neg_warning(warning): - if warning[0:3] == 'no-': - return warning[3:] - else: - return 'no-' + warning - lang_to_var = { 'c': 'CORE', 'c++': 'CPP', } %> <% + lib_maps = {lib.name: lib for lib in libs} + sys_libs = ['boringssl', 'cares', 'libssl', 'z'] + + # Build a new gRPC target which embeds sources of all dependencies except system libraries such as libz + grpc_lib = lib_maps.get('grpc', None) + for dep in set(grpc_lib.transitive_deps) - set(sys_libs): + dep_lib = lib_maps.get(dep, None) + if dep_lib: + grpc_lib.src += dep_lib.src + grpc_lib.headers += dep_lib.headers + grpc_lib.src = list(sorted(set(grpc_lib.src))) + grpc_lib.headers = list(sorted(set(grpc_lib.headers))) + grpc_lib.deps = list(sorted(list(set(grpc_lib.deps) & set(sys_libs)))) + grpc_lib.transitive_deps = list(sorted(list(set(grpc_lib.transitive_deps) & set(sys_libs)))) + # Makefile is only intended for internal needs (building distribution artifacts etc.) # so we can restrict the number of libraries/targets that are buildable using the Makefile. # Other targets can be built with cmake or bazel. - # TODO(jtattermusch): Figure out how to avoid the need to list the dependencies explicitly. - # Currently it is necessary because some dependencies are marked as "build: private" in build.yaml - # (which itself is correct, as they are not "public" libraries from our perspective and cmake - # needs to have them marked as such) - filtered_libs = [lib for lib in libs if (lib.build in ['all'] and lib.language != 'c++') or lib.name in ['cares', 'boringssl', 'z']] - filtered_targets = [tgt for tgt in targets if tgt.build in ['all'] and lib.language != 'c++'] + filtered_libs = [grpc_lib, ] + [lib_maps[lib] for lib in sys_libs if lib != 'libssl'] %> comma := , @@ -317,27 +286,6 @@ $(error Invalid CONFIG value '$(CONFIG)') endif - ifeq ($(SYSTEM),Linux) - TMPOUT = /dev/null - else - TMPOUT = `mktemp /tmp/test-out-XXXXXX` - endif - - CHECK_NO_CXX14_COMPAT_WORKS_CMD = $(CC) -std=c++14 -Werror -Wno-c++14-compat -o $(TMPOUT) -c test/build/no-c++14-compat.cc - HAS_WORKING_NO_CXX14_COMPAT = $(shell $(CHECK_NO_CXX14_COMPAT_WORKS_CMD) 2> /dev/null && echo true || echo false) - ifeq ($(HAS_WORKING_NO_CXX14_COMPAT),true) - W_NO_CXX14_COMPAT=-Wno-c++14-compat - endif - - %for warning in CHECK_WARNINGS: - ${warning_var('CHECK_%s_WORKS_CMD', warning)} = $(CC) -std=c99 -Werror -W${warning} -o $(TMPOUT) -c test/build/${warning}.c - ${warning_var('HAS_WORKING_%s', warning)} = $(shell $(${warning_var('CHECK_%s_WORKS_CMD', warning)}) 2> /dev/null && echo true || echo false) - ifeq ($(${warning_var('HAS_WORKING_%s', warning)}),true) - ${warning_var('W_%s', warning)}=-W${warning} - ${warning_var('NO_W_%s', warning)}=-W${neg_warning(warning)} - endif - %endfor - # The HOST compiler settings are used to compile the protoc plugins. # In most cases, you won't have to change anything, but if you are # cross-compiling, you can override these variables from GNU make's @@ -348,7 +296,7 @@ HOST_LD ?= $(LD) HOST_LDXX ?= $(LDXX) - CFLAGS += -std=c11 ${' '.join(warning_var('$(W_%s)', warning) for warning in PREFERRED_WARNINGS)} + CFLAGS += -std=c11 CXXFLAGS += -std=c++14 ifeq ($(SYSTEM),Darwin) CXXFLAGS += -stdlib=libc++ @@ -519,36 +467,6 @@ LIBS += z endif - # Setup c-ares dependency - - ifeq ($(wildcard third_party/cares/cares/include/ares.h),) - HAS_EMBEDDED_CARES = false - else - HAS_EMBEDDED_CARES = true - endif - - ifeq ($(HAS_EMBEDDED_CARES),true) - EMBED_CARES ?= true - else - # only building with c-ares from submodule is supported - DEP_MISSING += cares - EMBED_CARES ?= broken - endif - - ifeq ($(EMBED_CARES),true) - CPPFLAGS := -Ithird_party/cares/cares/include -Ithird_party/cares -Ithird_party/cares/cares $(CPPFLAGS) - endif - - # Setup address_sorting dependency - - # TODO(jtattermusch): should the include be added elsewhere? - CPPFLAGS := -Ithird_party/address_sorting/include $(CPPFLAGS) - - # Setup abseil dependency - - GRPC_ABSEIL_DEP = $(LIBDIR)/$(CONFIG)/libgrpc_abseil.a - GRPC_ABSEIL_MERGE_LIBS = $(LIBDIR)/$(CONFIG)/libgrpc_abseil.a - # Setup boringssl dependency ifeq ($(wildcard third_party/boringssl-with-bazel/src/include/openssl/ssl.h),) @@ -576,22 +494,15 @@ LIBS_SECURE = $(OPENSSL_LIBS) endif # DISABLE_ALPN endif # EMBED_OPENSSL - + LDLIBS_SECURE += $(addprefix -l, $(LIBS_SECURE)) ifeq ($(MAKECMDGOALS),clean) NO_DEPS = true endif - .SECONDARY = %.pb.h %.pb.cc - ifeq ($(DEP_MISSING),) - all: static shared\ - % for tgt in filtered_targets: - % if tgt.build == 'all': - $(BINDIR)/$(CONFIG)/${tgt.name}\ - % endif - % endfor + all: static shared dep_error: @echo "You shouldn't see this message - all of your dependencies are correct." @@ -665,10 +576,6 @@ stop: @false - % for tgt in filtered_targets: - ${tgt.name}: $(BINDIR)/$(CONFIG)/${tgt.name} - % endfor - run_dep_checks: @echo "run_dep_checks target has been deprecated." @@ -839,11 +746,6 @@ $(Q) mkdir -p `dirname $@` $(Q) $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(COREFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $< - $(OBJDIR)/$(CONFIG)/test/core/%.o : test/core/%.cc - $(E) "[CXX] Compiling $<" - $(Q) mkdir -p `dirname $@` - $(Q) $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(COREFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $< - $(OBJDIR)/$(CONFIG)/%.o : %.cc $(E) "[CXX] Compiling $<" $(Q) mkdir -p `dirname $@` @@ -877,41 +779,13 @@ % endif % endfor - # Add private ABSEIL target which contains all sources used by all baselib libraries. - <% - # Collect all abseil source and header files used by gpr, grpc, so on. - used_abseil_rules = set() - for lib in libs: - if lib.get("baselib"): - for dep in lib.transitive_deps: - if is_absl_lib(dep): - used_abseil_rules.add(dep) - used_abseil_srcs = [] - used_abseil_hdrs = [] - for lib in libs: - if lib.name in used_abseil_rules: - used_abseil_srcs.extend(lib.get("src", [])) - used_abseil_hdrs.extend(lib.get("hdr", [])) - # Create `grpc_abseil` rule with collected files. - lib_type = type(libs[0]) - grpc_abseil_lib = lib_type({ - "name": "grpc_abseil", - "build": "private", - "language": "c", - "defaults": "abseil", - "src": sorted(used_abseil_srcs), - "hdr": sorted(used_abseil_hdrs), - }) - %> - ${makelib(grpc_abseil_lib)} - <%def name="makelib(lib)"> # start of build recipe for library "${lib.name}" (generated by makelib(lib) template function) - # deps: ${collapse_absl_deps(lib.get('deps', []))} - # transitive_deps: ${collapse_absl_deps(lib.get('transitive_deps', []))} + # deps: ${lib.get('deps', [])} + # transitive_deps: ${lib.get('transitive_deps', [])} LIB${lib.name.upper()}_SRC = \\ - % for src in lib.src: + % for src in sorted(lib.src): ${src} \\ % endfor @@ -924,7 +798,7 @@ PUBLIC_HEADERS_C += \\ % endif - % for hdr in lib.public_headers: + % for hdr in sorted(lib.public_headers): ${hdr} \\ % endfor @@ -972,13 +846,6 @@ ldflags = '$(LDFLAGS)' if lib.get('LDFLAGS', None): ldflags += ' ' + lib['LDFLAGS'] - - if 'libssl' in lib.get('transitive_deps', []): - for src in lib.src: - sources_that_need_openssl.add(src) - else: - for src in lib.src: - sources_that_don_t_need_openssl.add(src) %> # shared library for "${lib.name}" % if lib.build == "all": @@ -1019,18 +886,6 @@ # end of build recipe for library "${lib.name}" - # TODO(jtattermusch): is there a way to get around this hack? - ifneq ($(OPENSSL_DEP),) - # This is to ensure the embedded OpenSSL is built beforehand, properly - # installing headers to their final destination on the drive. We need this - # otherwise parallel compilation will fail if a source is compiled first. - % for src in sorted(sources_that_need_openssl): - % if src not in sources_that_don_t_need_openssl: - ${src}: $(OPENSSL_DEP) - % endif - % endfor - endif - .PHONY: all strip tools \ dep_error openssl_dep_error openssl_dep_message git_update stop \ buildtests buildtests_c buildtests_cxx \ diff --git a/tools/buildgen/_utils.py b/tools/buildgen/_utils.py index e6634e8a417..66373176e9f 100755 --- a/tools/buildgen/_utils.py +++ b/tools/buildgen/_utils.py @@ -34,9 +34,45 @@ def import_python_module(path: str) -> types.ModuleType: class Bunch(dict): """Allows dot-accessible dictionaries.""" - def __init__(self, d: Mapping): - dict.__init__(self, d) - self.__dict__.update(d) + def __contains__(self, k): + try: + return dict.__contains__(self, k) or hasattr(self, k) + except: + return False + + def __getattr__(self, k): + try: + # Throws exception if not in prototype chain + return object.__getattribute__(self, k) + except AttributeError: + try: + return self[k] + except KeyError: + raise AttributeError(k) + + def __setattr__(self, k, v): + try: + # Throws exception if not in prototype chain + object.__getattribute__(self, k) + except AttributeError: + try: + self[k] = v + except: + raise AttributeError(k) + else: + object.__setattr__(self, k, v) + + def __delattr__(self, k): + try: + # Throws exception if not in prototype chain + object.__getattribute__(self, k) + except AttributeError: + try: + del self[k] + except KeyError: + raise AttributeError(k) + else: + object.__delattr__(self, k) def to_bunch(var: Any) -> Any: