blob: fe95d768964646e3b7863dfafd9941620b1461fe [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("ethertap") {
sources = [
"ethernet_client.cc",
"ethernet_client.h",
"ethertap_client.cc",
"ethertap_client.h",
"ethertap_types.h",
]
deps = [
"//zircon/public/fidl/zircon-ethernet",
"//zircon/public/lib/async-default",
"//zircon/public/lib/fbl",
"//zircon/public/lib/fdio",
"//zircon/public/lib/fzl",
"//zircon/public/lib/zx",
]
public_deps = []
}
executable("network_test_bin") {
testonly = true
output_name = "network_test"
sources = [
"ethertap_client_unittest.cc",
]
deps = [
":ethertap",
"//garnet/public/lib/component/cpp/testing",
"//garnet/public/lib/fxl/test:gtest_main",
"//zircon/public/lib/fzl",
]
}
package("netemul_network_test") {
testonly = true
deps = [
":network_test_bin",
]
tests = [
{
name = "network_test"
},
]
}