blob: a7d1aac2daa1c6886c81bb223eb4e0ff310eaaea [file] [log] [blame]
# Copyright 2019 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")
assert(current_toolchain == host_toolchain)
go_binary("protoc-gen-go") {
gopackage = "google.golang.org/protobuf/cmd/protoc-gen-go"
deps = [ "//third_party/golibs:google.golang.org/protobuf" ]
}
install_host_tools("host") {
deps = [ ":protoc-gen-go" ]
outputs = [ "protoc-gen-go" ]
}