folly/folly/experimental/coro/BUCK

load("@fbcode_macros//build_defs:cpp_library.bzl", "cpp_library")

oncall("fbcode_entropy_wardens_folly")

cpp_library(
    name = "accumulate",
    headers = [
        "Accumulate.h",
        "Accumulate-inl.h",
    ],
    exported_deps = [
        "//folly/coro:accumulate",
    ],
)

cpp_library(
    name = "async_generator",
    headers = [
        "AsyncGenerator.h",
    ],
    exported_deps = [
        "//folly/coro:async_generator",
    ],
)

cpp_library(
    name = "async_pipe",
    headers = [
        "AsyncPipe.h",
    ],
    exported_deps = [
        "//folly/coro:async_pipe",
    ],
)

cpp_library(
    name = "async_scope",
    headers = [
        "AsyncScope.h",
    ],
    exported_deps = [
        "//folly/coro:async_scope",
    ],
)

cpp_library(
    name = "async_stack",
    headers = [
        "AsyncStack.h",
    ],
    exported_deps = [
        "//folly/coro:async_stack",
    ],
)

cpp_library(
    name = "baton",
    headers = [
        "Baton.h",
    ],
    exported_deps = [
        "//folly/coro:baton",
    ],
)

cpp_library(
    name = "blocking_wait",
    headers = [
        "BlockingWait.h",
    ],
    exported_deps = [
        "//folly/coro:blocking_wait",
    ],
)

cpp_library(
    name = "collect",
    headers = [
        "Collect.h",
        "Collect-inl.h",
    ],
    exported_deps = [
        "//folly/coro:collect",
    ],
)

cpp_library(
    name = "concat",
    headers = [
        "Concat.h",
        "Concat-inl.h",
    ],
    exported_deps = [
        "//folly/coro:concat",
    ],
)

cpp_library(
    name = "coroutine",
    headers = [
        "Coroutine.h",
    ],
    exported_deps = [
        "//folly/coro:coroutine",
    ],
)

cpp_library(
    name = "current_executor",
    headers = [
        "CurrentExecutor.h",
    ],
    exported_deps = [
        "//folly/coro:current_executor",
    ],
)

cpp_library(
    name = "detach_on_cancel",
    headers = [
        "DetachOnCancel.h",
    ],
    exported_deps = [
        "//folly/coro:detach_on_cancel",
    ],
)

cpp_library(
    name = "detail_barrier",
    headers = [
        "detail/Barrier.h",
    ],
    exported_deps = [
        "//folly/coro:detail_barrier",
    ],
)

cpp_library(
    name = "detail_barrier_task",
    headers = [
        "detail/BarrierTask.h",
    ],
    exported_deps = [
        "//folly/coro:detail_barrier_task",
    ],
)

cpp_library(
    name = "detail_current_async_frame",
    headers = [
        "detail/CurrentAsyncFrame.h",
    ],
    exported_deps = [
        "//folly/coro:detail_current_async_frame",
    ],
)

cpp_library(
    name = "detail_helpers",
    headers = [
        "detail/Helpers.h",
    ],
    exported_deps = [
        "//folly/coro:detail_helpers",
    ],
)

cpp_library(
    name = "detail_malloc",
    headers = [
        "detail/Malloc.h",
    ],
    exported_deps = [
        "//folly/coro:detail_malloc",
    ],
)

cpp_library(
    name = "detail_manual_lifetime",
    headers = [
        "detail/ManualLifetime.h",
    ],
    exported_deps = [
        "//folly/coro:detail_manual_lifetime",
    ],
)

cpp_library(
    name = "detail_traits",
    headers = [
        "detail/Traits.h",
    ],
    exported_deps = [
        "//folly/coro:detail_traits",
    ],
)

cpp_library(
    name = "filter",
    headers = [
        "Filter.h",
        "Filter-inl.h",
    ],
    exported_deps = [
        "//folly/coro:filter",
    ],
)

cpp_library(
    name = "future_util",
    headers = [
        "FutureUtil.h",
    ],
    exported_deps = [
        "//folly/coro:future_util",
    ],
)

cpp_library(
    name = "generator",
    headers = [
        "Generator.h",
    ],
    exported_deps = [
        "//folly/coro:generator",
    ],
)

cpp_library(
    name = "gmock_helpers",
    headers = [
        "GmockHelpers.h",
    ],
    exported_deps = [
        "//folly/coro:gmock_helpers",
    ],
)

cpp_library(
    name = "gtest_helpers",
    headers = [
        "GtestHelpers.h",
    ],
    exported_deps = [
        "//folly/coro:gtest_helpers",
    ],
)

cpp_library(
    name = "inline_task",
    headers = [
        "detail/InlineTask.h",
    ],
    exported_deps = [
        "//folly/coro:inline_task",
    ],
)

cpp_library(
    name = "invoke",
    headers = [
        "Invoke.h",
    ],
    exported_deps = [
        "//folly/coro:invoke",
    ],
)

cpp_library(
    name = "merge",
    headers = [
        "Merge.h",
        "Merge-inl.h",
    ],
    exported_deps = [
        "//folly/coro:merge",
    ],
)

cpp_library(
    name = "mutex",
    headers = [
        "Mutex.h",
    ],
    exported_deps = [
        "//folly/coro:mutex",
    ],
)

cpp_library(
    name = "promise",
    headers = [
        "Promise.h",
    ],
    exported_deps = [
        "//folly/coro:promise",
    ],
)

cpp_library(
    name = "result",
    headers = [
        "Result.h",
    ],
    exported_deps = [
        "//folly/coro:result",
    ],
)

cpp_library(
    name = "retry",
    headers = [
        "Retry.h",
    ],
    exported_deps = [
        "//folly/coro:retry",
    ],
)

cpp_library(
    name = "rust_adaptors",
    headers = [
        "RustAdaptors.h",
    ],
    exported_deps = [
        "//folly/coro:rust_adaptors",
    ],
)

cpp_library(
    name = "scope_exit",
    headers = [
        "ScopeExit.h",
    ],
    exported_deps = [
        "//folly/coro:scope_exit",
    ],
)

cpp_library(
    name = "shared_lock",
    headers = [
        "SharedLock.h",
    ],
    exported_deps = [
        "//folly/coro:shared_lock",
    ],
)

cpp_library(
    name = "shared_mutex",
    headers = [
        "SharedMutex.h",
    ],
    exported_deps = [
        "//folly/coro:shared_mutex",
    ],
)

cpp_library(
    name = "sleep",
    headers = [
        "Sleep.h",
        "Sleep-inl.h",
    ],
    exported_deps = [
        "//folly/coro:sleep",
    ],
)

cpp_library(
    name = "small_unbounded_queue",
    headers = [
        "SmallUnboundedQueue.h",
    ],
    exported_deps = [
        "//folly/coro:small_unbounded_queue",
    ],
)

cpp_library(
    name = "task",
    headers = [
        "Task.h",
    ],
    exported_deps = [
        "//folly/coro:task",
    ],
)

cpp_library(
    name = "timed_wait",
    headers = [
        "TimedWait.h",
    ],
    exported_deps = [
        "//folly/coro:timed_wait",
    ],
)

cpp_library(
    name = "timeout",
    headers = [
        "Timeout.h",
        "Timeout-inl.h",
    ],
    exported_deps = [
        "//folly/coro:timeout",
    ],
)

cpp_library(
    name = "traits",
    headers = [
        "Traits.h",
    ],
    exported_deps = [
        "//folly/coro:traits",
    ],
)

cpp_library(
    name = "transform",
    headers = [
        "Transform.h",
        "Transform-inl.h",
    ],
    exported_deps = [
        "//folly/coro:transform",
    ],
)

cpp_library(
    name = "unbounded_queue",
    headers = [
        "UnboundedQueue.h",
    ],
    exported_deps = [
        "//folly/coro:unbounded_queue",
    ],
)

cpp_library(
    name = "via_if_async",
    headers = [
        "ViaIfAsync.h",
    ],
    exported_deps = [
        "//folly/coro:via_if_async",
    ],
)

cpp_library(
    name = "with_async_stack",
    headers = [
        "WithAsyncStack.h",
    ],
    exported_deps = [
        "//folly/coro:with_async_stack",
    ],
)

cpp_library(
    name = "with_cancellation",
    headers = [
        "WithCancellation.h",
    ],
    exported_deps = [
        "//folly/coro:with_cancellation",
    ],
)

cpp_library(
    name = "bounded_queue",
    headers = [
        "BoundedQueue.h",
    ],
    exported_deps = [
        "//folly/coro:bounded_queue",
    ],
)

cpp_library(
    name = "shared_promise",
    headers = [
        "SharedPromise.h",
    ],
    exported_deps = [
        "//folly/coro:shared_promise",
    ],
)

cpp_library(
    name = "cleanup",
    headers = [
        "Cleanup.h",
    ],
    exported_deps = [
        "//folly/coro:cleanup",
    ],
)

cpp_library(
    name = "auto_cleanup_fwd",
    headers = [
        "AutoCleanup-fwd.h",
    ],
    exported_deps = [
        "//folly/coro:auto_cleanup_fwd",
    ],
)

cpp_library(
    name = "auto_cleanup",
    headers = [
        "AutoCleanup.h",
    ],
    exported_deps = [
        "//folly/coro:auto_cleanup",
    ],
)