# 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_structuredheaders_structured_headers
  SRCS
    StructuredHeadersBuffer.cpp
  DEPS
    Folly::folly_base64
    Folly::folly_conv
    Folly::folly_try
    glog::glog
  EXPORTED_DEPS
    proxygen_http_structuredheaders_utils
    Folly::folly_range
)

proxygen_add_library(proxygen_http_structuredheaders_encoder
  SRCS
    StructuredHeadersEncoder.cpp
  DEPS
    Folly::folly_base64
    glog::glog
  EXPORTED_DEPS
    proxygen_http_structuredheaders_utils
)

proxygen_add_library(proxygen_http_structuredheaders_decoder
  SRCS
    StructuredHeadersDecoder.cpp
  EXPORTED_DEPS
    proxygen_http_structuredheaders_structured_headers
)

proxygen_add_library(proxygen_http_structuredheaders_structured_fields
  SRCS
    StructuredFieldsDecoder.cpp
    StructuredFieldsEncoder.cpp
  DEPS
    proxygen_utils_util_inl
    Folly::folly_base64
    Folly::folly_conv
)

proxygen_add_library(proxygen_http_structuredheaders_utils
  SRCS
    StructuredHeadersConstants.cpp
    StructuredHeadersUtilities.cpp
)

if(BUILD_TESTS)
  add_subdirectory(test)
endif()
