# 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/go/go_binary.gni") | |
import("//build/go/go_library.gni") | |
import("//build/host.gni") | |
go_library("fidl_lib") { | |
name = "fidl" | |
} | |
go_binary("fidlgen") { | |
gopackage = "fidl/compiler/backend" | |
sdk_category = "partner" | |
deps = [ ":fidl_lib" ] | |
} | |
install_host_tools("fidl") { | |
deps = [ | |
":fidlgen", | |
] | |
outputs = [ | |
"fidlgen", | |
] | |
} |