blob: 2bc64e02e5d7db7da1b9b0c6eef8dc1c8a3a5209 [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_binary.gni")
import("//build/host.gni")
import("//build/package.gni")
go_binary("bin") {
output_name = "traceutil"
gopackage = "traceutil"
go_dependencies = [
{
package = "traceutil"
},
{
package = "github.com/golang/glog"
source = "//third_party/golibs/github.com/golang/glog"
},
{
package = "github.com/google/subcommands"
source = "//third_party/golibs/github.com/google/subcommands"
},
{
package = "github.com/kr/fs"
source = "//third_party/golibs/github.com/kr/fs"
},
{
package = "github.com/pkg/errors"
source = "//third_party/golibs/github.com/pkg/errors"
},
{
package = "github.com/pkg/sftp"
source = "//third_party/golibs/github.com/pkg/sftp"
},
{
package = "golang.org/x/crypto"
source = "//third_party/golang/crypto"
},
]
}
install_host_tools("traceutil") {
deps = [
":bin",
]
outputs = [
"traceutil",
]
}