blob: 33e628900f351007f44f81afab98366691710fbe [file] [log] [blame]
# Copyright 2018 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/test/test_package.gni")
source_set("sync_service") {
sources = [
"bus.cc",
"bus.h",
"callback_watch.h",
"counter_barrier.cc",
"counter_barrier.h",
"sync_manager.cc",
"sync_manager.h",
]
public_deps = [
"//src/connectivity/network/testing/netemul/lib/fidl:sync",
"//src/lib/fxl",
"//zircon/public/lib/async-default",
"//zircon/public/lib/fbl",
"//zircon/public/lib/fdio",
"//zircon/public/lib/fzl",
"//zircon/public/lib/zx",
]
}
executable("sync_test_bin") {
testonly = true
output_name = "sync_test"
sources = [
"barrier_unittest.cc",
"bus_unittest.cc",
]
deps = [
":sync_service",
"//sdk/lib/sys/cpp/testing:integration",
"//src/lib/fxl/test:gtest_main",
"//src/lib/testing/predicates",
"//zircon/public/lib/fzl",
]
}