# 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_transport_qmux_qmux_framer
  SRCS
    QmuxFramer.cpp
  DEPS
    proxygen_http_codec_varint_utils
    mvfst::mvfst_codec_types
    mvfst::mvfst_folly_utils
  EXPORTED_DEPS
    proxygen_http_codec_capsule_codec
    proxygen_http_codec_webtransport_webtransport_framer
    Folly::folly_expected
    Folly::folly_io_iobuf
    Folly::folly_optional
    Folly::folly_utility
)

proxygen_add_library(proxygen_transport_qmux_qmux_codec
  SRCS
    QmuxCodec.cpp
  DEPS
    mvfst::mvfst_folly_utils
  EXPORTED_DEPS
    proxygen_http_webtransport_wt_util
    proxygen_transport_qmux_qmux_framer
    Folly::folly_io_iobuf
)

proxygen_add_library(proxygen_transport_qmux_qmux_session
  SRCS
    QmuxSession.cpp
  DEPS
    proxygen_transport_qmux_qmux_codec
    Folly::folly_io_coro_socket
    Folly::folly_logging_logging
  EXPORTED_DEPS
    proxygen_http_coro_util_CoroWtSession
    proxygen_http_webtransport_wt_stream_manager
    proxygen_http_webtransport_wt_util
    proxygen_transport_qmux_qmux_framer
    Folly::folly_io_async_async_base
)

proxygen_add_library(proxygen_transport_qmux_qmux_connector
  SRCS
    QmuxConnector.cpp
  DEPS
    mvfst::mvfst_folly_utils
    Folly::folly_coro_timeout
    Folly::folly_futures_core
    Folly::folly_io_coro_socket
    Folly::folly_io_iobuf
    Folly::folly_logging_logging
    fmt::fmt
  EXPORTED_DEPS
    proxygen_http_webtransport_wt_stream_manager
    proxygen_transport_qmux_qmux_framer
    proxygen_transport_qmux_qmux_session
    Folly::folly_coro_task
)

if(BUILD_TESTS)
  add_subdirectory(test)
endif()
