################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from           #
# runtime/src/iree/async/cts/core/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
    error_propagation_test
  SRCS
    "error_propagation_test.cc"
  DEPS
    iree::async
    iree::async::cts::util::registry
    iree::async::cts::util::socket_test_base
  TESTONLY
  ALWAYSLINK
  PUBLIC
)

iree_cc_library(
  NAME
    lifecycle_test
  SRCS
    "lifecycle_test.cc"
  DEPS
    iree::async
    iree::async::cts::util::registry
    iree::async::cts::util::test_base
  TESTONLY
  ALWAYSLINK
  PUBLIC
)

iree_cc_library(
  NAME
    nop_test
  SRCS
    "nop_test.cc"
  DEPS
    iree::async
    iree::async::cts::util::registry
    iree::async::cts::util::test_base
  TESTONLY
  ALWAYSLINK
  PUBLIC
)

iree_cc_library(
  NAME
    resource_exhaustion_test
  SRCS
    "resource_exhaustion_test.cc"
  DEPS
    iree::async
    iree::async::cts::util::registry
    iree::async::cts::util::test_base
  TESTONLY
  ALWAYSLINK
  PUBLIC
)

iree_cc_library(
  NAME
    sequence_test
  SRCS
    "sequence_test.cc"
  DEPS
    iree::async
    iree::async::cts::util::registry
    iree::async::cts::util::socket_test_base
  TESTONLY
  ALWAYSLINK
  PUBLIC
)

iree_cc_library(
  NAME
    timer_test
  SRCS
    "timer_test.cc"
  DEPS
    iree::async
    iree::async::cts::util::registry
    iree::async::cts::util::test_base
  TESTONLY
  ALWAYSLINK
  PUBLIC
)

iree_cc_library(
  NAME
    tsan_bridge_test
  SRCS
    "tsan_bridge_test.cc"
  DEPS
    iree::async
    iree::async::cts::util::registry
    iree::async::cts::util::test_base
    iree::base::internal
  TESTONLY
  ALWAYSLINK
  PUBLIC
)

iree_cc_library(
  NAME
    all_tests
  DEPS
    ::error_propagation_test
    ::lifecycle_test
    ::nop_test
    ::resource_exhaustion_test
    ::sequence_test
    ::timer_test
    ::tsan_bridge_test
  TESTONLY
  PUBLIC
)

iree_cc_library(
  NAME
    dispatch_scalability_benchmark
  SRCS
    "dispatch_scalability_benchmark.cc"
  DEPS
    benchmark
    iree::async
    iree::async::cts::util::benchmark_base
    iree::async::cts::util::registry
    iree::base
  TESTONLY
  ALWAYSLINK
  PUBLIC
)

iree_cc_library(
  NAME
    sequence_benchmark
  SRCS
    "sequence_benchmark.cc"
  DEPS
    benchmark
    iree::async
    iree::async::cts::util::benchmark_base
    iree::async::cts::util::registry
    iree::base
  TESTONLY
  ALWAYSLINK
  PUBLIC
)

iree_cc_library(
  NAME
    all_benchmarks
  DEPS
    ::dispatch_scalability_benchmark
    ::sequence_benchmark
  TESTONLY
  PUBLIC
)

### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###
