blob: 7fcb39c4fc087021c27c30c86bb59fb6bb26cbe5 [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/components.gni")
import("//build/go/go_library.gni")
import("//build/go/go_test.gni")
go_library("routes") {
name = "go.fuchsia.dev/fuchsia/src/connectivity/network/netstack/routes"
deps = [
"//src/connectivity/network/netstack/sync",
"//src/connectivity/network/netstack/util",
"//src/lib/syslog/go",
"//third_party/golibs:gvisor.dev/gvisor",
]
sources = [
"routes.go",
"routes_test.go",
]
}
go_test("routes_test") {
gopackages =
[ "go.fuchsia.dev/fuchsia/src/connectivity/network/netstack/routes" ]
deps = [ ":routes" ]
}
fuchsia_unittest_package("netstack-routes-gotests") {
deps = [ ":routes_test" ]
}
group("tests") {
testonly = true
deps = [ ":netstack-routes-gotests" ]
}