blob: d957584939514d9f52bac40ead18f53107ff6939 [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/public/lib/backoff",
"//garnet/public/lib/callback",
"//sdk/fidl/fuchsia.net.oldhttp",
"//src/lib/fxl",
"//zircon/public/lib/fit",
]
}
source_set("fake") {
testonly = true
sources = [
"fake_network_wrapper.cc",
"fake_network_wrapper.h",
]
public_deps = [
":network_wrapper",
"//zircon/public/lib/async-default",
]
deps = [
"//garnet/public/lib/fsl",
"//sdk/lib/fidl/cpp",
]
}
source_set("unittests") {
testonly = true
sources = [
"network_wrapper_impl_unittest.cc",
]
deps = [
":network_wrapper",
"//garnet/public/lib/backoff/testing",
"//garnet/public/lib/fsl",
"//garnet/public/lib/gtest",
"//sdk/fidl/fuchsia.netstack",
"//third_party/googletest:gtest",
]
}