load( "//bazel:envoy_build_system.bzl", "envoy_cc_library", "envoy_package", ) licenses(["notice"]) # Apache 2 envoy_package() envoy_cc_library( name = "stats_lib", srcs = ["stats.cc"], hdrs = ["stats.h"], tcmalloc_dep = 1, deps = [ "//source/common/common:logger_lib", ], ) envoy_cc_library( name = "utils_lib", srcs = ["utils.cc"], hdrs = ["utils.h"], tcmalloc_dep = 1, deps = [ ":stats_lib", ], ) envoy_cc_library( name = "heap_shrinker_lib", srcs = ["heap_shrinker.cc"], hdrs = ["heap_shrinker.h"], deps = [ ":utils_lib", "//include/envoy/event:dispatcher_interface", "//include/envoy/server/overload:overload_manager_interface", "//include/envoy/stats:stats_interface", "//source/common/stats:symbol_table_lib", ], )