| # 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_library.gni") |
| import("//build/go/go_test.gni") |
| import("//build/package.gni") |
| import("//build/test/test_package.gni") |
| |
| go_library("inspect") { |
| sources = [ |
| "block.go", |
| "block.tmpl", |
| "blockgen.go", |
| "doc.go", |
| "heap.go", |
| "inspect_test.go", |
| ] |
| } |
| |
| go_test("go_inspect_test") { |
| gopackages = [ "go.fuchsia.dev/fuchsia/garnet/go/src/inspect" ] |
| deps = [ ":inspect" ] |
| } |
| |
| test_package("go_inspect_tests") { |
| deps = [ ":go_inspect_test" ] |
| |
| tests = [ |
| { |
| name = "go_inspect_test" |
| }, |
| ] |
| } |