# Copyright 2022 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") | |
assert(is_host, "GIDL only runs on host") | |
go_library("main") { | |
deps = [ | |
"//tools/fidl/gidl/lib/config", | |
"//tools/fidl/gidl/lib/ir", | |
"//tools/fidl/gidl/lib/parser", | |
] | |
sources = [ "main.go" ] | |
} | |
go_binary("gidl_audit") { | |
library = ":main" | |
} |