################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from           #
# runtime/src/iree/io/BUILD.bazel                                              #
#                                                                              #
# Use iree_cmake_extra_content from iree/build_defs.oss.bzl to add arbitrary   #
# CMake-only content.                                                          #
#                                                                              #
# To disable autogeneration for this file entirely, delete this header.        #
################################################################################

iree_add_all_subdirs()

iree_cc_library(
  NAME
    file_handle
  HDRS
    "file_handle.h"
  SRCS
    "file_handle.c"
  DEPS
    ::memory_stream
    ::stream
    iree::base
    iree::base::internal
  PUBLIC
)

iree_cc_library(
  NAME
    memory_stream
  HDRS
    "memory_stream.h"
  SRCS
    "memory_stream.c"
  DEPS
    ::stream
    iree::base
    iree::base::internal
  PUBLIC
)

iree_cc_test(
  NAME
    memory_stream_test
  SRCS
    "memory_stream_test.cc"
  DEPS
    ::memory_stream
    iree::base
    iree::testing::gtest
    iree::testing::gtest_main
)

iree_cc_library(
  NAME
    parameter_index
  HDRS
    "parameter_index.h"
  SRCS
    "parameter_index.c"
  DEPS
    ::file_handle
    iree::base
    iree::base::internal
    iree::base::internal::synchronization
  PUBLIC
)

iree_cc_library(
  NAME
    parameter_index_provider
  HDRS
    "parameter_index_provider.h"
  SRCS
    "parameter_index_provider.c"
  DEPS
    ::parameter_index
    ::parameter_provider
    iree::base
    iree::hal
    iree::hal::utils::file_cache
  PUBLIC
)

iree_cc_library(
  NAME
    parameter_provider
  HDRS
    "parameter_provider.h"
  SRCS
    "parameter_provider.c"
  DEPS
    iree::base
    iree::hal
  PUBLIC
)

iree_cc_library(
  NAME
    scope_map
  HDRS
    "scope_map.h"
  SRCS
    "scope_map.c"
  DEPS
    ::parameter_index
    iree::base
    iree::base::internal
  PUBLIC
)

iree_cc_library(
  NAME
    stdio_stream
  HDRS
    "stdio_stream.h"
  SRCS
    "stdio_stream.c"
  DEPS
    ::stream
    iree::base
    iree::base::internal
  PUBLIC
)

iree_cc_library(
  NAME
    stream
  HDRS
    "stream.h"
  SRCS
    "stream.c"
  DEPS
    iree::base
    iree::base::internal
  PUBLIC
)

iree_cc_library(
  NAME
    vec_stream
  HDRS
    "vec_stream.h"
  SRCS
    "vec_stream.c"
  DEPS
    ::stream
    iree::base
    iree::base::internal
  PUBLIC
)

iree_cc_test(
  NAME
    vec_stream_test
  SRCS
    "vec_stream_test.cc"
  DEPS
    ::vec_stream
    iree::base
    iree::testing::gtest
    iree::testing::gtest_main
)

### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###
