blob: 888aa404fc68058ccbd42c09ba5b9f7fddc7605b [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") {
deps = [
"//src/connectivity/network/netstack/fidlconv",
"//src/connectivity/network/netstack/routetypes",
"//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") {
library = ":routes"
}
fuchsia_unittest_package("netstack-routes-gotests") {
deps = [ ":routes_test" ]
}
group("tests") {
testonly = true
deps = [ ":netstack-routes-gotests" ]
}