blob: 87546ef3806c5907b1d7c2c5115945608e1b11cf [file] [log] [blame]
# Copyright 2017 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.
visibility = [ "//src/ledger/*" ]
source_set("coroutine") {
sources = [
"coroutine.h",
"coroutine_impl.cc",
"coroutine_impl.h",
"coroutine_manager.h",
"coroutine_waiter.h",
]
public_deps = [
"//src/ledger/lib/callback",
"//src/ledger/lib/logging",
"//src/ledger/lib/memory",
"//third_party/abseil-cpp",
]
deps = [
"//src/ledger/lib/callback",
"//src/ledger/lib/coroutine/context",
]
configs += [ "//src/ledger:ledger_config" ]
}
source_set("unittests") {
testonly = true
sources = [
"coroutine_manager_unittest.cc",
"coroutine_unittest.cc",
"coroutine_waiter_unittest.cc",
]
deps = [
":coroutine",
"//src/ledger/lib/callback",
"//src/ledger/lib/logging",
"//third_party/googletest:gmock",
"//third_party/googletest:gtest",
]
configs += [ "//src/ledger:ledger_config" ]
}