| # Copyright 2021 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") |
| |
| if (is_host) { |
| go_library("chrometrace") { |
| sources = [ |
| "chrometrace.go", |
| "chrometrace_test.go", |
| ] |
| } |
| |
| go_test("chrometrace_test") { |
| gopackages = [ "go.fuchsia.dev/fuchsia/tools/build/ninjago/chrometrace" ] |
| deps = [ |
| ":chrometrace", |
| "//third_party/golibs:github.com/google/go-cmp", |
| ] |
| } |
| } |