# 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_codec_compress_fast_header_name
  EXPORTED_DEPS
    proxygen_http_http_headers
    Folly::folly_string
    glog::glog
)

proxygen_add_library(proxygen_http_codec_compress_hpack
  SRCS
    HPACKCodec.cpp
    HPACKContext.cpp
    HPACKDecodeBuffer.cpp
    HPACKDecoder.cpp
    HPACKDecoderBase.cpp
    HPACKEncodeBuffer.cpp
    HPACKEncoder.cpp
    HPACKEncoderBase.cpp
    HPACKHeader.cpp
    HeaderIndexingStrategy.cpp
    HeaderTable.cpp
    Huffman.cpp
    Logging.cpp
    NoPathIndexingStrategy.cpp
    StaticHeaderTable.cpp
  DEPS
    proxygen_http_codec_util
    proxygen_http_header_constants
    proxygen_http_message
    proxygen_utils_logging
    Folly::folly_c_portability
    Folly::folly_container_reserve
    Folly::folly_indestructible
    Folly::folly_portability_sockets
    Folly::folly_thread_local
  EXPORTED_DEPS
    proxygen_http_codec_compress_compression_info
    proxygen_http_codec_compress_fast_header_name
    proxygen_http_codec_compress_header_codec
    proxygen_http_codec_direction
    proxygen_http_http_headers
    Folly::folly_container_f14_hash
    Folly::folly_conv
    Folly::folly_fbstring
    Folly::folly_io_iobuf
    Folly::folly_small_vector
    glog::glog
)

proxygen_add_library(proxygen_http_codec_compress_qpack
  SRCS
    QPACKCodec.cpp
    QPACKContext.cpp
    QPACKDecoder.cpp
    QPACKEncoder.cpp
    QPACKHeaderTable.cpp
    QPACKStaticHeaderTable.cpp
  DEPS
    proxygen_http_codec_util
    proxygen_http_header_constants
    proxygen_http_message
    Folly::folly_indestructible
  EXPORTED_DEPS
    proxygen_http_codec_compress_header_codec
    proxygen_http_codec_compress_hpack
    proxygen_http_codec_direction
    proxygen_http_http_headers
    Folly::folly_io_async_destructor_check
    Folly::folly_io_iobuf
    glog::glog
)

proxygen_add_library(proxygen_http_codec_compress_compression_info)

proxygen_add_library(proxygen_http_codec_compress_header_codec
  EXPORTED_DEPS
    proxygen_http_http_header_size
    proxygen_http_http_headers
    Folly::folly_expected
    Folly::folly_fbstring
    Folly::folly_range
    glog::glog
)

if(BUILD_TESTS)
  add_subdirectory(test)
endif()
