blob: 0299aed8fa800eddc22e0065f8aceab807a6f218 [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.
source_set("network_wrapper") {
sources = [
"network_wrapper.h",
"network_wrapper_impl.cc",
"network_wrapper_impl.h",
]
public_deps = [
"//garnet/lib/backoff",
"//garnet/lib/callback",
"//garnet/public/lib/fxl",
"//garnet/public/lib/network/fidl",
"//zircon/public/lib/zx",
]
}
source_set("fake") {
testonly = true
sources = [
"fake_network_wrapper.cc",
"fake_network_wrapper.h",
]
public_deps = [
":network_wrapper",
"//garnet/public/lib/fxl",
]
deps = [
"//garnet/public/lib/fsl",
]
}
source_set("unittests") {
testonly = true
sources = [
"network_wrapper_impl_unittest.cc",
]
deps = [
":network_wrapper",
"//garnet/lib/gtest",
"//garnet/public/lib/fsl",
"//garnet/public/lib/netstack/fidl:net_address",
"//third_party/googletest:gtest",
]
}