| # 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_binary.gni") |
| import("//build/go/toolchain.gni") |
| |
| go_binary("ifinfo") { |
| gopackage = "netstack/ifinfo" |
| |
| go_dependencies = [ |
| { |
| package = "netstack" |
| source = "//garnet/go/src/netstack" |
| }, |
| { |
| package = "github.com/google/netstack" |
| source = "//third_party/netstack" |
| }, |
| ] |
| |
| extra_dependencies = [ |
| "//garnet/public/lib/app/fidl($go_toolchain)", |
| "//garnet/public/lib/netstack/fidl($go_toolchain)", |
| "//garnet/public/lib/app/go/src/app", |
| "//garnet/public/lib/fidl/go/src/fidl/bindings", |
| ] |
| } |