blob: 047ef7852c3c085b5f4cf2911b75820c79e1e6a1 [file] [log] [blame]
# Copyright 2017 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/go/go_library.gni")
import("//build/go/go_test.gni")
import("//build/go/toolchain.gni")
import("//src/sys/build/fuchsia_unittest_package.gni")
go_library("ifconfig_lib") {
name = "ifconfig_lib"
deps = [
"../:netstack_lib",
"//sdk/fidl/fuchsia.netstack($go_toolchain)",
"//sdk/fidl/fuchsia.sys($go_toolchain)",
"//src/lib/component",
]
sources = [
"ifconfig.go",
"ifconfig_test.go",
]
}
go_test("netstack_ifconfig_test") {
gopackages =
[ "go.fuchsia.dev/fuchsia/src/connectivity/network/netstack/ifconfig" ]
deps = [ ":ifconfig_lib" ]
}
fuchsia_unittest_package("netstack-ifconfig-gotests") {
deps = [ ":netstack_ifconfig_test" ]
manifest = "meta/netstack_ifconfig_test.cmx"
}