blob: 76ef3b9c875c4a96df3556923719db874fd5c25b [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.
group("cpp") {
testonly = true
deps = [
":future",
":future_unittest",
":operation",
":operation_unittest",
":unittests",
]
}
source_set("future") {
sources = [
"future.cc",
"future.h",
]
public_deps = [
"//src/lib/fxl",
"//zircon/public/lib/async-cpp",
"//zircon/public/lib/async-default",
]
}
source_set("operation") {
sources = [
"operation.cc",
"operation.h",
]
public_deps = [
":future",
"//src/lib/fxl",
"//zircon/public/lib/async-cpp",
]
deps = [ "//zircon/public/lib/trace" ]
}
group("unittests") {
testonly = true
deps = [
":future_unittest",
":operation_unittest",
]
}
source_set("future_unittest") {
testonly = true
sources = [ "future_unittest.cc" ]
deps = [
":future",
"//third_party/googletest:gtest",
"//zircon/public/lib/async-testing",
]
}
source_set("operation_unittest") {
testonly = true
sources = [ "operation_unittest.cc" ]
deps = [
":operation",
"//garnet/public/lib/gtest",
"//src/lib/fxl",
"//third_party/googletest:gtest",
]
}