# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

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

wangle_add_library(wangle_acceptor_acceptor_core
  SRCS
    SecureTransportType.cpp
    TransportInfo.cpp
  DEPS
    wangle_util_logging
    Folly::folly_io_async_async_socket
  EXPORTED_DEPS
    wangle_ssl_ssl_util
    Folly::folly_network_address
    Folly::folly_optional
    Folly::folly_portability_sockets
    Folly::folly_string
)

wangle_add_library(wangle_acceptor
  SRCS
    Acceptor.cpp
    AcceptorHandshakeManager.cpp
    EvbHandshakeHelper.cpp
    FizzAcceptorHandshakeHelper.cpp
    FizzConfigUtil.cpp
    LoadShedConfiguration.cpp
    SSLAcceptorHandshakeHelper.cpp
    SocketOptions.cpp
    TLSPlaintextPeekingCallback.cpp
  DEPS
    Folly::folly_conv
    Folly::folly_glog
    Folly::folly_io_async_async_base
    Folly::folly_io_async_fdsock_async_fd_socket
    Folly::folly_portability_gflags
    Folly::folly_portability_openssl
    Folly::folly_portability_sockets
    Folly::folly_portability_unistd
    fmt::fmt
  EXPORTED_DEPS
    wangle_acceptor_acceptor_core
    wangle_acceptor_managed
    wangle_ssl
    wangle_ssl_ssl_config
    wangle_ssl_ssl_context_config
    wangle_ssl_ssl_util
    wangle_util_logging
    fizz::fizz
    Folly::folly_exception_wrapper
    Folly::folly_io_async_async_io_uring_socket
    Folly::folly_io_async_async_socket
    Folly::folly_io_async_async_ssl_socket
    Folly::folly_io_async_async_transport
    Folly::folly_io_async_async_udp_server_socket
    Folly::folly_io_async_server_socket
    Folly::folly_io_async_ssl_context
    Folly::folly_io_iobuf
    Folly::folly_io_socket_option_map
    Folly::folly_network_address
    Folly::folly_optional
    Folly::folly_random
    Folly::folly_range
    Folly::folly_string
)

wangle_add_library(wangle_acceptor_accept_observer
  EXPORTED_DEPS
    wangle_acceptor_acceptor_core
)

wangle_add_library(wangle_acceptor_connection_counter
  EXPORTED_DEPS
    wangle_acceptor_acceptor_core
)

wangle_add_library(wangle_acceptor_managed
  SRCS
    ConnectionManager.cpp
    ManagedConnection.cpp
  EXPORTED_DEPS
    wangle_util_logging
    Folly::folly_constexpr_math
    Folly::folly_intrusive_list
    Folly::folly_io_async_async_base
    Folly::folly_io_async_delayed_destruction
    Folly::folly_memory
    Folly::folly_network_address
)

wangle_add_library(wangle_acceptor_network_address
  EXPORTED_DEPS
    wangle_acceptor_acceptor_core
)

wangle_add_library(wangle_acceptor_secure_transport_type
  EXPORTED_DEPS
    wangle_acceptor_acceptor_core
)

wangle_add_library(wangle_acceptor_transport_info
  EXPORTED_DEPS
    wangle_acceptor_acceptor_core
)

wangle_add_library(wangle_acceptor_util
  EXPORTED_DEPS
    wangle_acceptor_acceptor_core
)

wangle_add_library(wangle_acceptor_evb_handshake_helper
  EXPORTED_DEPS
    wangle_acceptor
)

wangle_add_library(wangle_acceptor_fizz_config
  EXPORTED_DEPS
    wangle_acceptor
)

wangle_add_library(wangle_acceptor_fizz_config_util
  EXPORTED_DEPS
    wangle_acceptor
)

wangle_add_library(wangle_acceptor_load_shed_configuration
  EXPORTED_DEPS
    wangle_acceptor
)

wangle_add_library(wangle_acceptor_server_socket_config
  EXPORTED_DEPS
    wangle_acceptor
)

wangle_add_library(wangle_acceptor_shared_ssl_context_manager
  EXPORTED_DEPS
    wangle_acceptor
)

wangle_add_library(wangle_acceptor_socket_options
  EXPORTED_DEPS
    wangle_acceptor
)

wangle_add_library(wangle_acceptor_socket_peeker
  EXPORTED_DEPS
    wangle_acceptor
)
