blob: 4e90762b7bd0e1befa85cde5f533f767ada0fe02 [file] [log] [blame] [edit]
# Copyright 2023 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/cpp/sdk_source_set.gni")
sdk_source_set("cpp") {
category = "internal"
sdk_name = "async_patterns_cpp"
include_base = "//sdk"
sources = [
"callback.h",
"dispatcher_bound.h",
"function.h",
"internal/dispatcher_bound_storage.cc",
"internal/dispatcher_bound_storage.h",
"internal/receiver_base.cc",
"internal/receiver_base.h",
"internal/sendable.h",
"internal/task_queue.cc",
"internal/task_queue.h",
"receiver.h",
"sendable.h",
"task_scope.cc",
"task_scope.h",
]
public_deps = [
"//sdk/lib/fit",
"//sdk/lib/stdcompat",
"//zircon/system/ulib/async",
"//zircon/system/ulib/async:async-cpp",
"//zircon/system/ulib/sync:sync-cpp",
]
public_configs = [ "//sdk/config" ]
}
group("tests") {
testonly = true
deps = [ "tests" ]
}