blob: ef4e62dd2677313ca0ba565b71f188ceb7228a18 [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 = [ "//peridot/bin/ledger/*" ]
source_set("context") {
sources = [
"context.cc",
"context.h",
"stack.cc",
"stack.h",
]
deps = [
"//garnet/public/lib/fxl",
"//peridot/bin/ledger/coroutine/context/$target_cpu",
]
public_deps = [
"//zircon/public/lib/zx",
]
configs += [ "//peridot/bin/ledger:ledger_config" ]
}
source_set("unittests") {
testonly = true
sources = [
"context_unittest.cc",
]
deps = [
":context",
"//garnet/public/lib/fxl",
"//third_party/googletest:gtest",
"//zircon/public/lib/fit",
]
configs += [ "//peridot/bin/ledger:ledger_config" ]
}