| # Copyright 2020 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") |
| |
| go_library("common") { |
| sources = [ |
| "formatter.go", |
| "identifiers.go", |
| "identifiers_test.go", |
| "names.go", |
| "names_test.go", |
| "strings.go", |
| "strings_test.go", |
| ] |
| } |
| |
| go_test("fidlgen_common_test") { |
| gopackages = |
| [ "go.fuchsia.dev/fuchsia/garnet/go/src/fidl/compiler/backend/common" ] |
| |
| deps = [ |
| ":common", |
| "//third_party/golibs:github.com/google/go-cmp", |
| ] |
| } |