################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from           #
# runtime/src/iree/hal/drivers/webgpu/cts/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_wasm_entry(
  NAME
    cts_main
  MAIN
    "webgpu_cts_main.mjs"
  PUBLIC
)

if(IREE_ARCH STREQUAL "wasm_32")
iree_cc_library(
  NAME
    backends
  SRCS
    "backends.cc"
  DEPS
    ::cts_main
    iree::hal
    iree::hal::cts::util::registry
    iree::hal::drivers::webgpu::registration
  TESTONLY
  ALWAYSLINK
  PUBLIC
)
endif()

iree_hal_cts_test_suite(
  BACKENDS_LIB
    ::backends
)

### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###
