# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

# Auto-generated by proxygen/facebook/generate_cmake.py - DO NOT EDIT MANUALLY

proxygen_add_library(proxygen_http_connpool_session_holder
  SRCS
    SessionHolder.cpp
  DEPS
    Folly::folly_io_async_async_socket
    Folly::folly_random
  EXPORTED_DEPS
    proxygen_error
    proxygen_http_session_session
    Folly::folly_intrusive_list
    Folly::folly_network_address
)

proxygen_add_library(proxygen_http_connpool
  SRCS
    ServerIdleSessionController.cpp
    SessionPool.cpp
    ThreadIdleSessionController.cpp
  DEPS
    Folly::folly_io_async_event_base_manager
  EXPORTED_DEPS
    proxygen_http_connpool_session_holder
    Folly::folly_futures_core
    Folly::folly_io_async_async_base
)

if(BUILD_TESTS)
  add_subdirectory(test)
endif()
