blob: 6fd74cce4a9d3649e174fa9f22b0dfb9f3e7e8cd [file] [log] [blame]
# 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_library.gni")
import("//build/go/go_test.gni")
assert(is_host, "GIDL only runs on host")
go_library("golang") {
deps = [
"//tools/fidl/gidl/lib/config",
"//tools/fidl/gidl/lib/ir",
"//tools/fidl/gidl/lib/mixer",
"//tools/fidl/lib/fidlgen",
]
sources = [
"benchmarks.go",
"benchmarks.tmpl",
"common.go",
"conformance.go",
"conformance.tmpl",
"equality_builder.go",
"golang_test.go",
]
}
go_test("gidl_golang_tests") {
library = ":golang"
}